File size: 2.03Kb
<?php
ERROR_REPORTING(0);
?>
<div class="page_wrapper">
<?php
if(isloggedin())
{
?>
<?php
$username=user_info($user, username);
$uid=user_info($user, userID);
$coins=user_info($user, coins);
$level=user_info($user, level);
$position=user_info($user, position);
$school=user_info($user, school);
$pm=mysql_num_rows(mysql_query("SELECT * FROM b_pms WHERE reciever='$username' AND hasread=0"));
$uid=user_info($username, userID);
$lv =user_info($username, level);
if($lv==0) { $rnk='<img style="vertical-align:middle" src="/images/novice.png"/>'; }
elseif($lv==1) {
$rnk= '<img style="vertical-align:middle" src="/images/crown2.png" />'; }
elseif($lv==2) {
$rnk= '<img style="vertical-align:middle" src="/images/crown3.png" />'; }
echo"<div class='d_board' style='padding: 13px;'>
<span class=''>Hi, $rnk<a href='../profile/$username'> <font color='aqua'><b>$username</b></font></a> | </span>
<span class='d_board_right'><a href='../index.php'><font color='pink'><b>Home</b></font></a> | <a href='../member/settings.php'> <font color='cyan'><b>Edit Profile</b></font> </a> | <a href='../member/admin_panel.php'> <font color='white'><b>Site Admin</font></b></a> | <a href='../member/female_online.php'><b>Ladies Online</b></a> | <a href='../member/male_online.php'><b>Guy Online</b></a> | <a href='../chat'><font color='pink'><b>Chat Room</b></font></a> | <a href='../member/fcomment.php'> <font color='yellow'><b>Recent Replies</b></font> </a> | <a href='../member/online_staff.php'><font color='yellow'><b>Admin Online</b></font> </a> | <a href='../mail/inbox.php'><font color='pink'><b>Inbox</b></font> (<font color='#ffcc33'><b>$pm</b></font>)</a> | <a href='../logout.php'> <font color='pink'><b>Log Out</b></font></a></div></span>";
echo"<a href='http://facebook.com/joyloaded'>Like Our Facebook Fanpage For superb Updates & Jokes</a>";
//SHOUTBOX
shoutbox(0);
echo" ";
?><?php } else {
?> Welcome <b> Guest,</b> Please <a href='../register.php'> <b>Register</b></a> OR <a href='../index.php'><b>Login</b></a> To View Hidden Items.
<?php } ?>