Файл: include/darena.php
Строк: 41
<?
/////////////////////////////////////////////////////
$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/xtotutarena.php";
echo '</br><a href="privat.php?'.$sd.'">Почта</a>I';
echo'<a href="inventar.php?'.$sd.'">Рюкзак</a>|';
echo'<a href="town.php?'.$sd.'">Город</a>|';
echo '<a href="okrestnosti.php?'.$sd.'">Окра</a>|';
if(!empty($udata[23])){echo'<a href="clanroom.php?'.$sd.'">Клан-Room</a>|';}
if(@file("MySql/base123/ali/names/$udata[23].dat") || @file("MySql/base123/ali/$log.dat")){echo'<a href="aliroom.php?'.$sd.'">Альянс-Room</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>|<br/>";
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";
list($msec,$sec)=explode(chr(32),microtime());
echo "<small>[".round((($sec+$msec)-$gtime),4)." секунд]</small>"; }
echo'</div><div class = "foot" >';
echo "</body></html>";
?>