Пример #1
0
?>
 <b>[</b><?php 
echo $functions->GetUserAccSold($_SESSION['user_name']);
?>
 Sold<b>]</b> | <img src='images/actions/user.png' style="vertical-align: middle; margin-bottom: 3px;" /> <a href='user.php'>My Profile</a> | <img src='images/actions/add.png' style="vertical-align: middle; margin-bottom: 3px;" /> <a href='add.php'>Add Steam Account</a> | <img src='images/actions/cart.png' style='vertical-align: middle; margin-bottom: 3px' /> <a href='store.php'>Store</a> | <img src='images/actions/message.png' style="vertical-align: middle; margin-bottom: 3px;" /> <a href='updatemsg.php'>Set/Disable Message</a> | <img src='images/actions/stats.png' style="vertical-align: middle; margin-bottom: 3px;" /> <a href='stats.php'>Sale Statistics</a> | <img src='images/actions/out.png' style="vertical-align: middle; margin-bottom: 3px;" /> <a href='?logout'>Logout</a></span><br />
<!-- END MENU -->
<img src="images/style/login_logo.png" style="margin-left: 25px" />
<b><div class='motd'><div class='motdbackground'><div class='motdinner'><span style='color: white'><?php 
echo $_SESSION['user_name'];
?>
 :: Profile</span></b><br /><br />
<img src='<?php 
echo $functions->GetUserAvatar();
?>
' style='width: 128px; height: 128px;' /><br /><span style=''><b>j0rpi [<?php 
echo $functions->GetUserLevel();
?>
]</b><br />
<h1></h1>
<?php 
if ((int) $functions->GetUserAccSold($_SESSION['user_name']) == 0) {
    echo '
	      <b>Rating:</b> 0/0 <img src="images/account/0Star.png" style="width: 48px; height: 12px; vertical-align: middle;margin-bottom:  3px;" />
		 ';
} elseif ((int) $functions->GetUserAccSold($_SESSION['user_name']) == 1 || (int) $functions->GetUserAccSold($_SESSION['user_name']) == 2 || (int) $functions->GetUserAccSold($_SESSION['user_name']) == 3 || (int) $functions->GetUserAccSold($_SESSION['user_name']) == 4) {
    echo '
	      <b>Rating:</b> 1/5 <img src="images/account/1Star.png" style="width: 48px; height: 12px; vertical-align: middle;margin-bottom:  3px;" />
		 ';
} elseif ((int) $functions->GetUserAccSold($_SESSION['user_name']) == 5 || (int) $functions->GetUserAccSold($_SESSION['user_name']) == 6 || (int) $functions->GetUserAccSold($_SESSION['user_name']) == 7 || (int) $functions->GetUserAccSold($_SESSION['user_name']) == 8 || (int) $functions->GetUserAccSold($_SESSION['user_name']) == 9) {
    echo '
	      <b>Rating:</b> 2/5 <img src="images/account/2Star.png" style="width: 48px; height: 12px; vertical-align: middle;margin-bottom:  3px;" />