Вход Регистрация
Файл: openlogm.php
Строк: 64
<?php
##################################################################################################
##                        Version  :  4.0 (28.04.2007)                                                                                                                                                                                                                  ##
##                       Made by  :  Neformat                                                                                                                              ##
##                             ICQ  :  209534802                                                                                                                           ##
## По вопросам приобритения скрипта или обновлений для него обращатьтся на вышеуказанные данные.                                                                            ##
## Распространение скрипта другими лицами запрешено. Скрипт защищён законом об авторском праве.                                         ##                                         
##################################################################################################
header("Cache-Control: no-cache");
if (
$ver=="wml")header ("Content-type:text/vnd.wap.wml; charset=utf-8");
else 
header("Content-Type:text/html; charset=UTF-8");

require(
"inc.php");
$link connect_db();
list(
$row$id$ps$fsize1$fsize2) = check_login($link);      
require(
"version.php");

if(
$row["level"] < 7) {
if (
$ver=="wml"){
echo 
$xml;
echo 
$dtd;
echo 
"<wml>n";
echo 
"<card id="error" title="Ошибка доступа" ontimer="enter.php?$ses&amp;ref=$ref"><timer value="15"/>";
echo 
"<p align="center">n";
}else{
echo 
"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">";
echo "<html xmlns="http://www.w3.org/1999/xhtml">";
echo "<head><link rel="stylesheet" type="text/css" href="css/css.css"/>";
echo 
"<title>Ошибка доступа</title>";
echo 
"<META HTTP-EQUIV="Refresh" CONTENT="2URL=enter.php?$ses&amp;ref=$ref">";
echo 
"<meta http-equiv="Content-Type" content="text/htmlcharset=utf-8"/></head><body>";
echo 
"<div align="center">";
}
echo 
$fsize1;
echo 
"У вас нет прав доступа!n";
echo 
$fsize1;
if (
$ver=="wml")echo "</p></card></wml>";
else echo 
"</div></body></html>";
mysql_close ($link);
exit;
}

$us=$row["user"];  
$signs="999";
function 
gettime()
{
    
$part_time explode(' 'microtime());
    
$real_time $part_time[1].substr($part_time[0], 1);
    return 
$real_time;
}

if (
$ver=="wml"){
echo 
$xml;
echo 
$dtd;
echo 
"<wml>";
echo 
"<card title="Логи Модерки">";
echo 
"<p>";
}else{
echo 
"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">";
echo "<html xmlns="http://www.w3.org/1999/xhtml">";
echo "<head><link rel="stylesheet" type="text/css" href="css/css.css"/>";
echo 
"<title>Логи Модерки</title>";
echo 
"<meta http-equiv="Content-Type" content="text/htmlcharset=utf-8"/></head><body>";
echo 
"<div align="left">";
}
echo 
$fsize1;
echo 
"<b>Логи Модерки</b><br/>";
$start gettime();

$log file("log/stlog.dat");
$log array_reverse($log);
$text = @implode("",$log);
$string substr("$text"$n$signs);
$m=$n+$signs;

echo 
"".$string."";
if (
$string !=""){echo "<br/>".$divide."<a href="openlogm.php?n=$m&amp;$ses&amp;ref=$ref">Далее</a><br/>";};
echo 
"<a href="./apanel.php?$ses&amp;ref=$ref">Админка</a><br/>";
echo 
"<a href="./enter.php?$ses&amp;ref=$ref">Прихожая</a><br/>";
echo 
$fsize2;
if (
$ver=="wml")echo "</p></card></wml>";
else echo 
"</div></body></html>";
mysql_close ($link);
?>
Онлайн: 0
Реклама