Файл: DarkAge/4room.php
Строк: 29
<?
list($msec,$sec)=explode(chr(32),microtime());
$gtime=$sec+$msec;
$rand=rand(100,1000000);
Error_Reporting(E_ALL & ~E_NOTICE);
ob_start('ob_gzhandler',9);
$log = htmlspecialchars(stripslashes(addslashes($_GET['log'])));
$pas = htmlspecialchars(stripslashes(addslashes($_GET['pas'])));
/////////////////////////////////////////////////////
$text = @file("data/reg/$log.dat");
if ($text!=""){
$udata = explode(":||:",$text[0]);
$login=trim($udata[0]);
$password=trim($udata[1]);}
////////////////////////////////////////////////////////
include_once"files/img.php";
////////////////////////////////////////////////////////
$them_dir = $udata[50];
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">';
echo "<html>n";
echo '<head>
<meta http-equiv="Cache-Control" charset="utf-8" content="no-cache" forua="true"/>
<title>DarkWorlds '.$log.'</title>
<link href="themes/'.$them_dir.'/style.css" rel="stylesheet" type="text/css">
</head>
<body>';
////////////////////////////////////////////////////////
echo'<div id="up">';
include "files/hp-mp.php";
echo'</div>';
echo'<div id="telo">';
if (md5($pas)==$password && $log==$login && $log!=="" && md5($pas)!=="") {
$rand = rand(100,999);
if (isset($_GET['page'])){$page = (int)$_GET['page'];} else {$page = 0;}
if (isset($_GET['event'])){$event = $_GET['event'];} else {$event = "";}
echo '<div id="menu6">Форум Игры<br /></div>';
}else{echo"Пароль или логин неверен!";}
include_once "files/down.php";
?>