Просмотр файла book/adminka/site.php

Размер файла: 4.88Kb
<?
///////////////////////////////////////////////////////////////////////////////////////////
/////        
/////                        Made by   :  АХХХУЕННЫЙ ЧУВАК VANTUZ
/////                          E-mail  :  [email protected]        
/////                        WEB-site  :  http://www.pizdec.ru
/////                        WAP-site  :  http://wap.pizdec.ru
/////                          
//////////////////////////////////////////////////////////////////////////////////////////////
Error_Reporting(E_ALL & ~E_NOTICE);
require "adminconfig.php";
include "../config.php";
 if ($admin ==$log   && $parad ==$pas){ 
list($msec,$sec)=explode(chr(32),microtime()); 
$HeadTime=$sec+$msec; 
$currHour=date("H",time());///////////   
$currDate=date("d F Y", time());
$curr=date("i:s", time());
$currTime=date("$currHour:i:s", time());
  
 $currDate = str_replace("January","Января",$currDate);
$currDate = str_replace("February","Февраля",$currDate);
$currDate = str_replace("March","Марта",$currDate);
$currDate = str_replace("April","Апреля",$currDate);
$currDate = str_replace("May","Мая",$currDate);
$currDate = str_replace("June","Июня",$currDate);
$currDate = str_replace("July","Июля",$currDate);
$currDate = str_replace("August","Августа",$currDate);
$currDate = str_replace("September","Сентября",$currDate);
$currDate = str_replace("October","Октября",$currDate);
$currDate = str_replace("November","Ноября",$currDate);
$currDate = str_replace("December","Декабря",$currDate); 
if($parad!=$pas) {$log="";}
header("Content-type:text/html; charset=utf-8");
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head>";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
<link rel=\"shortcut icon\" href=\"../../logo/icon.php\"><title>$zag</title>
<style type=\"text/css\">
body { font-weight: normal; font-size: normal; font-family: georgia; color: #FFFF00; background-color: #000033 }
a:link,a:active,a:visited { text-decoration: underline; color : #FF00FF }
a:hover { text-decoration: none; color : #FFFF00 }
div { margin: 1px 0px 1px 0px; padding: 5px 5px 5px 5px; font-weight: bold;}
div.black{ background-color: #3333FF; padding-top: 3px; padding-bottom: 3px; padding-left: 4px;  border: 1px solid;  text-align: center;}
div.blue{ background-color: #000066;    text-align: left;}
a {font-weight: bold;}</style></head>
<body>";
$random =rand(0,99);                                                     
print"<div class=\"black\"><b><font color=\"#33FF33\">$currTime</font></b><br/><small><font color=\"#FF0033\">$currDate</font></small></div><div align=\"left\">

<a href=\"say.php?log=$log&amp;pas=$pas\"><font color=\"#FF9900\">Написать </font></a>  
<a href=\"site.php?log=$log&amp;pas=$pas&amp;$random\">|<font color=\"#FF9900\"> Обновить</font></a><br/><br/>";


$vsego = file("../vsego.shet");
$vsego=$vsego[0];
if($nmes=="") {$nmes=$vsego;}
$kp=1;

while($kp <= 7)
        {$tex=@file("../zapis/$nmes.mess");
        $utex=explode(":||:",$tex[0]);
        $obr=trim($utex[0]);
        $vrem=trim($utex[1]);
        $text=trim($utex[2]);
        $brayz=trim($utex[3]);
          $u2=trim($utex[4]);
          $ip=trim($utex[5]);
          $email=trim($utex[6]);
           $nomer=trim($utex[7]);
           $messs=trim($utex[8]);
          
          
          $messs = str_replace("$messs","<br/><font color=\"#FF0033\">Ответ: $messs</font>",$messs);
          $email = str_replace("$email","<br/><font color=\"#FFFFFF\">E-mail:</font> <a href=\"mailto:$email\"><font color=\"#00FFFF\">$email</font></a>",$email);
      if($text!=""){
  print"<a href=\"del.php?log=$log&amp;pas=$pas&amp;nmes=$nmes\"><font color=\"#33FF33\">[Del]</font></a><a href=\"otv.php?log=$log&amp;pas=$pas&amp;nmes=$nmes\"><font color=\"#33FF33\"> [Ответ]</font></a><br/>"; 
  
                echo"<img src=\"edit.gif\" alt=\"\"/>
         <b><a href=\"say.php?log=$log&amp;pas=$pas&amp;obr=$obr\"><font color=\"#33FF33\"> $obr</font></a></b>";
	   

       print" <small><font color=\"#33FF99\">($vrem)</font><br/></small><font color=\"#FFFF33\">$text</font>$email";
        print"<br/><small><font color=\"#CC00CC\">[$brayz, $ip] </font></small>$messs";
        print"<small><font color=\"#33FF99\"> <br/>[ $u2  $nomer ]</font></small>";
        print"<br/>$prom<br/>";
        $kp=$kp+1;}
        $nmes=$nmes-1;
        if($nmes<0){$kp=20;}}


if($nmes>0){print"<br/><a href=\"index.php?nmes=$nmes&amp;log=$log&amp;pas=$pas\"><font color=\"#FFFF33\">Далее</font></a><br/>";}


print"<a href=\"$gl\"><font color=\"#FF0033\">На главную</font></a><br/>";
list($msec,$sec)=explode(chr(32),microtime());  
echo "<small><font color=\"#FFFFFF\">".round((($sec+$msec)-$HeadTime)*10,2)." мc.</font></small>
</div></body></html>";}
?>