File size: 1.35Kb
<?php
Error_Reporting(E_ALL & ~E_NOTICE);
Error_Reporting (ERROR | WARNING);
include ("config.php");
echo"<html><head><LINK REL=STYLESHEET TYPE=\"text/css\" HREF=skin/$wthemes></head><body>";
list($msec,$sec)=explode(chr(32),microtime());
$headtime=$sec+$msec;
if($logo=="1")
{
echo"<img src=$image>";
}
if($news=="1")
{
echo'<div class="a"><img src=img/online.gif>новости ';
if($time=="1")
{
echo'<font color=black>время-';
include"modul/time.php";
echo'</font>';
}
echo'</div><div class="b">';
include"db/news.txt";
echo'</div>';
}
if($_GET[papka] && $_GET[file])
{
if(!eregi("[^a-z0-9_-]",$_GET['papka']) && (!eregi("[^a-z0-9_-]",$_GET['file'])))
{
include "$_GET[papka]/$_GET[file].$atrib";
}
else
echo"<p align=\"center\">EROR </p>";
}
if($reclam=="1")
{
echo'<div class="a"><img src=img/board.gif>реклама</div><div class="b">';
include"db/reclam.txt";
echo'</div>';
}
if($links=="1")
{
echo'<div class="a"><img src=img/menu.gif>навигация</div><div class="b">';
include"db/links.txt";
echo'</div>';
echo"<a href=st_zakaz/>стол заказов</a>";
}
include"modul/niz.php";
?>
<a href=admin.php>__</a>
</body></html>