Файл: include/downgorod.php
Строк: 38
<?
/////////////////////////////////////////////////////
$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/xtotutgorod.php";
echo"<br/>- - -";
echo'<br/><a href="privat.php?'.$sd.'">Почта</a>I<a href="inventar.php?'.$sd.'">Инвентарь</a>|';
echo'<a href="town.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>|';}
echo'<hr>Official Server Mod Bipyc<br/>';
include_once"include/online.php";
include_once("include/regeneration.php");
include_once("include/regeneration.php");
include_once"include/online.php";
}
echo'</div><div class = "foot" >';
echo "</body></html>";
?>