Real Name |
".stripslashes($row["name"])." |
";
if($usr) echo "
Email |
".stripslashes($row["email"])." |
";
if($row["url"]) echo"
Home Page |
".stripslashes($row["url"])." |
";
if($row["blog"]) echo"
Weblog |
".stripslashes($row["blog"])." |
";
echo "
No. Of Posts |
".$row["no_posts"]." |
Last Access |
".$row["last_use"]." |
";
if($admin) $query = mysql_query("select thr.title, thr.ref_id, DATE_FORMAT(pst.post_time, '%a %D %b %\'%y %l%:%i%p') as post_time from thread thr, post pst where pst.user_id = $user_id and thr.ref_id = pst.ref_id order by pst.post_time desc limit 0,1") or die(mysql_error());
elseif($usr) $query = mysql_query("select thr.title, thr.ref_id,DATE_FORMAT(pst.post_time, '%a %D %b %\'%y %l%:%i%p') as post_time from thread thr, post pst, board frm where pst.user_id = $user_id and thr.ref_id = pst.ref_id and thr.board_id = frm.board_id and frm.view != 'admin' order by pst.post_time desc limit 0,1") or die(mysql_error());
else $query = mysql_query("select thr.title, thr.ref_id, DATE_FORMAT(pst.post_time, '%a %D %b %\'%y %l%:%i%p') as post_time from thread thr, post pst, board frm where pst.user_id = $user_id and thr.ref_id = pst.ref_id and thr.board_id = frm.board_id and frm.view = 'all' order by pst.post_time desc limit 0,1") or die(mysql_error());
if($last = mysql_fetch_array($query))
{
echo "
Last Post To |
".stripslashes($last["title"])." |
Last Post Time |
".$last["post_time"]." |
";
}
echo "
Date Of Birth |
".$row["dob"]." |
Date Registered |
".$row["reg_date"]." |
";
if($row["avatar"]) echo"
Avatar |
 |
";
if($row["sig"]) echo"
Signature |
".stripslashes(nl2br($row["sig"]))." |
";
echo "
";
if(!$row["ct_lock"])
{
$query1 = mysql_query("select ct_lock, ct_allow from users where user_id = $usr") or die(mysql_error());
$row1 = mysql_fetch_array($query1);
if(!$row1["ct_lock"] && $row1["ct_allow"])
{
echo "