View file book/index.php

File size: 3.99Kb
<?
///////////////////////////////////////////////////////////////////////////////////////////
/////        
/////                        Made by   :  АХХХУЕННЫЙ ЧУВАК VANTUZ
/////                          E-mail  :  [email protected]        
/////                        WEB-site  :  http://www.pizdec.ru
/////                        WAP-site  :  http://wap.pizdec.ru
/////                          
//////////////////////////////////////////////////////////////////////////////////////////////
include "config.php";
$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\">
<title>$zag</title></head><body bgcolor=\"#000000\"><p align=\"center\">";
$random =rand(0,99);                                                     
print"<b><font color=\"#33FF33\">$currTime</font></b><br/><small><font color=\"#FF0033\">$currDate</font></small></p><p>

<a href=\"say.php?log=$log&amp;pas=$pas\"><font color=\"#FF9900\">Написать </font></a>  
<a href=\"index.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]);
          $from=trim($utex[6]);
          $hostex=trim($utex[7]);
          $email=trim($utex[8]);
           $messs=trim($utex[9]);
          
          
          $messs = str_replace("$messs","<br/><font color=\"#FF0033\">Ответ Админа: $messs</font>",$messs);
          $email = str_replace("$email","<br/><font color=\"#FFFFFF\">E-mail: $email</font>",$email);
        if($text!=""){
  if($log==$admin){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] </font></small>$messs";
        if($log==$admin){print"<small><font color=\"#33FF99\"> <br/>[ $u2, $ip, $from, $hostex ]</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>";}

include "online.php";
print"<a href=\"$gl\"><font color=\"#FF0033\">На главную</font></a><br/>
</p></body></html>";

?>