<?session_start();?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
<meta forua="true" http-equiv="Cache-Control" content="no-cache,no-store,must-revalidate"/>
<link rel="shortcut icon" href="ico1.ico" type="image/x-icon" />
</head>
<link rel="stylesheet" href="styleN.css" type="text/css" />

<?
$d=date("H:i");

######################################
#   Made by Astorix                  #
#      2011 г.                       #
#    все права защищенны             #
#      Мрак Подземелья               #
######################################






$NICK = $_GET['NICK'];
$pass = $_GET['pass'];
$recepts = $_GET['recepts'];

//подключаем файл базы db.php
include("db.php");
$db->openDB();
$vremya=time();
$nnick=mysql_query("SELECT * FROM users WHERE NICK=\"$_SESSION[s]\"");
$nnick2=mysql_fetch_assoc($nnick);
if($vremya-$nnick2[gametime]>600){
include ("accaunt.php");

$AC->ACCAUNT();//Проверка Аккаунта
}
$LVLP=mysql_query("SELECT * FROM USER_PROF WHERE PROF_NICK=\"$_SESSION[s]\" AND PROF_LVL AND PROF_CLASS=\"gd\"");
$LVLP2=mysql_fetch_assoc($LVLP);
?>

<table border="1" width="450" align="center">
<tr>
  <td height="31" align="center" bgcolor="#A23232"><b><font color="#FFE7BA">Профессии</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA" style="border: 2px dotted #A23232">
  <div class="menu">
  <a href="game.php">
  <b><font color="#A23232"><img src="img/attck.png" width="24" height="24"> В игру</font></b></a>
  </div>
</td>
</tr>

<tr>
  <td height="31" align="left" bgcolor="#FFE7BA" style="border: 2px dotted #A23232">
  <div class="menu">
  <a href="pers.php">
  <b><font color="#A23232"><img src="img/grup.png" width="24" height="24"> Персонаж</font></b>
  </a>
  </div>
  </td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/ank.png" width="24" height="24"> Мои рецепты</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/shief.png" width="24" height="24"> Карманик</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/ostor.png" width="24" height="24"> Осторожность</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/spirit.png" width="24" height="24"> Спиритизм</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/lekar.png" width="24" height="24"> Лекарь</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/alxim.png" width="24" height="24"> Алхимик</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/rudakop.png" width="24" height="24"> Рудокоп 
  УР. <?echo $LVLP2[PROF_LVL];?> (<?

if($LVLP2[PROF_LVL]==1){$EXP=20;}
if($LVLP2[PROF_LVL]==2){$EXP=40;}
if($LVLP2[PROF_LVL]==3){$EXP=80;}
if($LVLP2[PROF_LVL]==4){$EXP=200;}
if($LVLP2[PROF_LVL]==5){$EXP=400;}
if($LVLP2[PROF_LVL]==6){$EXP=800;}
if($LVLP2[PROF_LVL]==7){$EXP=1600;}
if($LVLP2[PROF_LVL]==8){$EXP=3200;}
if($LVLP2[PROF_LVL]==9){$EXP=6400;}
echo $LVLP2[PROF_MIN_EXP].'/'.$EXP;
?>)</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/kuznec.png" width="24" height="24"> Кузнец</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/lesorub.png" width="24" height="24"> Лесоруб</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/arrowa.png" width="24" height="24"> Плотник</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/rinf.png" width="24" height="24"> Ювелир</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/fish.png" width="24" height="24"> Рыболов</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/povar.png" width="24" height="24"> Повар</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/sad.png" width="24" height="24"> Садовник</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/hun.png" width="24" height="24"> Охотник</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/cherep.png" width="24" height="24"> Некромант</font></b></td>
</tr>
<tr>
  <td height="31" align="left" bgcolor="#FFE7BA"><b><font color="#A23232"><img src="img/vzlom.png" width="24" height="24"> Взломщик</font></b>
  
  </td>

  </tr><tr><td>
  <?include("refresh.php");?>
  <?include("footer.php");?></td></tr>
</table>

</body>
</html>

