File size: 1.02Kb
<?
/////////////////////////////////////////////////////
$text = @file("data/reg/$log.dat");
if ($text!=""){
$udata = explode(":||:",$text[0]);
$login=trim($udata[0]);
$password=trim($udata[1]);}
////////////////////////////////////////////////////////
if (md5($pas)==$password && $log==$login && $log!=="" && md5($pas)!=="") {
$self = $_SERVER['SCRIPT_NAME'];
include_once"files/newsreg.php";
include_once"files/xtotut.php";
if(@file("data/tmp/$log.dat")){echo"<small><br/>- - -<br/>» <a href=\"chat.php?log=$log&pas=$pas\">Комната чата</a></small><br/>";}else{echo"<br/><small>- - -</small><br/>";}
echo"<small><br/>» <a href=\"main.php?log=$log&pas=$pas\">Меню чата</a></small><br/>";
include_once"files/online.php";
include_once("files/regeneration.php");
echo"<br/><small>[Сжатие: вкл.]</small><br/>";
list($msec,$sec)=explode(chr(32),microtime());
echo "<small>[".round((($sec+$msec)-$gtime),4)." секунд]</small>"; }
echo "</p></card></wml>";
?>