Файл: files/zagreg.php
Строк: 50
<?php
include_once"files/ini.php";
include_once"files/data.php";
include_once"files/gzip.php";
$them_dir = $udata47;
$them_dir = $udata47;
echo'
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta forua="true" http-equiv="Cache-Control" content="no-cache,no-store,must-revalidate"/><title>LineageII</title></head>
<link rel="stylesheet" href="dizain/style.css" type="text/css" />
<center>
';
echo'</head>
<body>
<table>
<tr>
<td class="lt1"></td>
<td class="t1"><div><b>LineageII</b></div></td>
<td class="rt1"></td>
</tr>
<tr>
<td class="l"></td>
<td class="centertd"><div class="a">';
$sql_inj = array("'", ";", "/**/", "/UNION/", "/SELECT/", "AS ", "EVAL","<?",'"',"$",'..');
foreach($sql_inj as $res)
{
if(stristr($_SERVER['QUERY_STRING'], $res)) die("SQL-inj....");
}
function _performEscape($s, $isIdent=false)
{
if (!$isIdent) {
return "'" . mysql_real_escape_string($s, $this->link) . "'";
} else {
return "`" . str_replace('`', '“', $s) . "`";
}
}
include_once"files/opiti.dat";
if($udata37==TWI){
$kkk=time()-86400;
if($udata52<=$kkk){
mysql_query("UPDATE `users` SET `udata37`='' WHERE `udata0`='$log'");
}
}
//Перевод секунд в минуты, часы, дни. Добавил 20.03.10
function sec2day($sec=NULL)
{
$days = floor($sec/86400);
$hours = floor(($sec/3600)-$days*24);
$minuts = floor(($sec-$hours*3600-$days*86400)/60);
$seconds = $sec-($minuts*60+$hours*3600+$days*86400);
if ($days!=0)$days = $days.' дн. ';
else $days = NULL;
if ($hours!=0)$hours = $hours.' ч. ';
else $hours = NULL;
if ($minuts!=0)$minuts = $minuts.' мин. ';
else $minuts = NULL;
$sectoday = $days.''.$hours.''.$minuts.''.$seconds.' сек.';
return $sectoday;
}
if($udata34=="0"){
//echo"<small><a href="pers.php?log=$log&pas=$pas">$log - $udata9 уровень. </a></small><br/>";
//echo"<img src="hp.php?log=$log&pas=$pas" alt="HP: $udata16/$udata17"/><br/>";
//echo"<img src="mp.php?log=$log&pas=$pas" alt="MP: $udata29/$udata30"/><br/>";
//echo"<img src="exp.php?log=$log&pas=$pas" alt="EXP: $exp %"/><br/>";
}else{
}
?>