Файл: include/downmain.php
Строк: 32
<?
/////////////////////////////////////////////////////
$text = @file("MySql/base123/reg/$log.dat");
if ($text!=""){
$udata = explode(":||:",$text[0]);
$login=trim($udata[0]);
$password=trim($udata[1]);}
////////////////////////////////////////////////////////
include_once("include/sesi.php");
if (isset($user)) {
$self = $_SERVER['SCRIPT_NAME'];
include_once"include/chat.php";
echo"<hr>";
include_once"include/xtotut.php";
if(@file("MySql/base123/tmp/$log.dat")){echo"<br/>- - -<br/>[<a href="ok.php?$sd">Вернуться в бой</a>]<br/>";}else{echo"<br/>- - -<br/>";}
echo"<a href="privat.php?$sd">Почта</a> [$udata[22]/$totals]|";
echo'<a href="inventar.php?'.$sd.'">Инвентарь</a>|';
echo'<a href="town.php?'.$sd.'">Город</a>|';
if(!empty($udata[98])){echo'<a href="okrestnosti.php?'.$sd.'">Дота</a>|';}
if(!empty($udata[23])){echo'<a href="clanroom.php?'.$sd.'">Комната Клана</a>|';}
if(@file("MySql/base123/ali/names/$udata[23].dat") || @file("MySql/base123/ali/$log.dat")){echo'<a href="aliroom.php?'.$sd.'">Комната Альянса</a>|';}
echo'<a href="main.php?'.$sd.'">Хижина</a>|';
$chat = sizeof(file('MySql/base123/chat.dat'));
$trade = sizeof(file('MySql/base123/trade.dat'));
echo"<a href="chat.php?$sd">Чат</a> [$chat]|<a href="forum.php?$sd">Форум</a> [7]|<a href="tradechat.php?$sd">Таверна</a> [$trade]|<a href="pers.php?$sd">Экипировка</a>|";
if($udata[26]=="gnom"){echo '<a href="craft.php?'.$sd.'">Крафтить</a>|';}
echo"<a href="themes.php?$sd">WML</a>|<a href="themes.php?$sd&go=html">HTML</a>|<br/>";
echo'<hr>Official Server Mod Bipyc<br/>';
include_once"include/online.php";
include_once("include/regeneration.php");
include_once"include/check2.php";
}
echo'</div><div class = "foot" >';
echo "</body></html>";
?>