Файл: inc/shapka.php
Строк: 223
<?php
include 'inc/mysql.php';
include 'inc/check.php';
include ("inc/head.php");
if(isset($_SESSION['auth']) && $_SESSION['auth']==1){
include 'inc/account.php';
include 'inc/func.php';
include 'inc/regeneration.php';
include_once ("inc/gradient.php");
include 'inc/hacked.php';
include ("inc/exp.php");
$req = mysql_query("SELECT * FROM `proffa` WHERE `id_account`= '$account[id]' and `id_proffa`='3' ");
$avto=mysql_num_rows($req);
if($avto>=1){
$mag= mysql_fetch_array($req);
$boy=40+$mag[priz];
}else{
$boy=40;
}
echo "<div class='foot'>";
echo " <center>";
if($account['status']=="gm"){
$nik = gradient(''.$account[login].'','00FF00', '00CC00');
echo "<img src='pic/main/$account[sex].png' alt='*'/> $nik <img src='/pic/main/up.png' alt='*'/> $account[lvl] <img src='/pic/main/progress.gif' alt='*'/> $exp % <img src='/pic/main/hp.png' alt='*'/> ".number_format ($account[hp])." <img src='/pic/main/mp.png' alt='*'/> ".number_format ($account[mp])." <img src='/pic/main/money.gif' alt='*'/> ".number_format ($account[money])." <img src='/pic/main/fermany.png' alt='*'/>".number_format ($account[kamen])." <img src='/pic/main/zoloto.gif' alt='*'/> ".number_format ($account[zoloto])."";
echo " <img src='/pic/nastavnik/arena.png' alt='*'/> $account[boy]/$boy";
}else{
if($account['status']=="moder"){
$nik = gradient(''.$account[login].'','0066CC', 'AB82FF');
echo "<img src='pic/main/$account[sex].png' alt='*'/> $nik <img src='/pic/main/up.png' alt='*'/> $account[lvl] <img src='/pic/main/progress.gif' alt='*'/> $exp % <img src='/pic/main/hp.png' alt='*'/> ".number_format ($account[hp])." <img src='/pic/main/mp.png' alt='*'/> ".number_format ($account[mp])." <img src='/pic/main/money.gif' alt='*'/> ".number_format ($account[money])." <img src='/pic/main/fermany.png' alt='*'/>".number_format ($account[kamen])." <img src='/pic/main/zoloto.gif' alt='*'/> ".number_format ($account[zoloto])."";
echo " <img src='/pic/nastavnik/arena.png' alt='*'/> $account[boy]/$boy";
}else{
if($account['status']=="bot"){
$nik = gradient(''.$account[login].'','FFCC00', 'FF9933');
echo "<img src='pic/main/$account[sex].png' alt='*'/> $nik <img src='/pic/main/up.png' alt='*'/> $account[lvl] <img src='/pic/main/progress.gif' alt='*'/> $exp % <img src='/pic/main/hp.png' alt='*'/> ".number_format ($account[hp])." <img src='/pic/main/mp.png' alt='*'/> ".number_format ($account[mp])." <img src='/pic/main/money.gif' alt='*'/> ".number_format ($account[money])." <img src='/pic/main/fermany.png' alt='*'/>".number_format ($account[kamen])." <img src='/pic/main/zoloto.gif' alt='*'/> ".number_format ($account[zoloto])."";
echo " <img src='/pic/nastavnik/arena.png' alt='*'/> $account[boy]/$boy";
}else{
echo "<img src='pic/main/$account[sex].png' alt='*'/> $account[login] <img src='/pic/main/up.png' alt='*'/> $account[lvl] <img src='/pic/main/progress.gif' alt='*'/> $exp % <img src='/pic/main/hp.png' alt='*'/> ".number_format ($account[hp])." <img src='/pic/main/mp.png' alt='*'/> ".number_format ($account[mp])." <img src='/pic/main/money.gif' alt='*'/> ".number_format ($account[money])." <img src='/pic/main/fermany.png' alt='*'/>".number_format ($account[kamen])." <img src='/pic/main/zoloto.gif' alt='*'/> ".number_format ($account[zoloto])."";
echo " <img src='/pic/nastavnik/arena.png' alt='*'/> $account[boy]/$boy";
}}}
echo "</center>";
echo "</div>";
include 'inc/banda_ap.php';
include 'inc/lvl_ap.php';
include 'inc/bonus.php';
include 'inc/podval.php';
include 'inc/rabota.php';
include 'inc/zadanye.php';
include 'inc/dosyujen.php';
include 'inc/referal.php';
if($account[aktivations]=="0"){
echo'<div class="ssl">';
echo"<a href="aktivatoin.php">  <img src="pic/main/!.png"> Сохранись и получи 100 <img src="pic/main/fermany.png"></a></div>";
}
if (mysql_result(mysql_query("SELECT COUNT(*) FROM `mail` WHERE `to`='".$account['id']."' AND `read`='0'"),0) && !isset($mail)){
echo'<div class="ssl">';
echo"<a href="mails.php?act=new">  <img src="pic/main/mail.png"> У вас есть новые сообщения</a></div>";
}
}else{
header ("Location: index.php"); exit;
}
?>