Файл: include/down.php
Строк: 29
<?
/////////////////////////////////////////////////////
$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>I<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>|';
echo "<a href="chat.php?$sd">Чат</a>|<a href="forum.php?$sd">Форум</a>|<a href="tradechat.php?$sd">Таверна</a>|<a href="pers.php?$sd">Экипировка</a>|";
if($udata[26]=="gnom"){echo '<a href="craft.php?'.$sd.'">Крафтить</a>|';}
include_once"include/online.php";
include_once("include/regeneration.php");
}
echo'<hr>Official Server Mod Bipyc</div><div class = "foot" >';
echo "</body></html>";
?>