Файл: files/zagreg.php
Строк: 65
<?php
include_once"files/ini.php";
include_once"files/data.php";
$them_dir = $udata47;
$them_dir = $udata47;
echo '<title>haogame.ru</title>';
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link rel="stylesheet" type="text/css" href="css/new/style.css?"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta content="noindex, nofollow" name="robots" />';
echo "<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-38152348-1']);
_gaq.push(['_setDomainName', 'l2mo.ru']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>";
echo '</head><body><table>
<tr>
<td class="lt1"></td><td class="t1"><div><b>Wap LineAge</b></div></td><td class="rt1"></td>
</tr>
<tr>
<td class="l"></td>
<td class="centertd">';
$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;
}
echo '<div class="page"><div class="block_2">';
?>