View file wapp_antifront.com/chat/seon.php

File size: 2.15Kb
<?

Error_Reporting(E_ALL & ~E_NOTICE);          /////////////// игнорируем ошибки
header("Content-type:text/vnd.wap.wml;charset=utf-8");      //////// тип и кодировка документа

include 'dan.php';
include 'uzdan.php';




print "<?xml version=\"1.0\" encoding=\"utf-8\"?>
        <!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">
        <wml><card id=\"mas\" title=\"&#x041E;&#x043D;&#x043B;&#x0430;&#x0439;&#x043D;\"><p>";

$lokpo="onr";
include 'online.php';
include 'zagrum.php';
print"&#x0421;&#x0435;&#x0439;&#x0447;&#x0430;&#x0441; &#x0432; &#x043A;&#x043E;&#x043C;&#x043D;&#x0430;&#x0442;&#x0435; \"$zar\":<br/><br/>";

$ttime=time();
$ofti=$ttime-200;
$ss = @file("$rek/online.txt");
$strok = sizeof($ss);
$nko=0;
$tpo=0;
while($nko<=$strok){
$text=@file("$rek/online.txt");
$text=explode(":||:",$text[$nko]);
$tza=trim($text[0]);
$logoni=trim($text[1]);
$meo=trim($text[2]);
$komo=trim($text[3]);
if($tza>$ofti & $meo=="chat" & $komo==$nr & $logoni!=""){
print"<anchor title=\"$nik\">$logoni
<go href=\"say.php\" method=\"post\">
<postfield name=\"login\" value=\"$login\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"nr\" value=\"$nr\"/>
<postfield name=\"obr\" value=\"$logoni\"/>
<postfield name=\"key\" value=\"$key\"/>
</go></anchor><br/>";
}
$nko=$nko+1;}


print"<br/>========<br/><anchor title=\"ok\">&#x0412; &#x043A;&#x043E;&#x043C;&#x043D;&#x0430;&#x0442;&#x0443;
<go href=\"chat.php\" method=\"post\">
<postfield name=\"login\" value=\"$login\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"nr\" value=\"$nr\"/>
<postfield name=\"key\" value=\"$key\"/>
</go></anchor>


<br/><anchor title=\"ok\">&#x041A; &#x0441;&#x043F;&#x0438;&#x0441;&#x043A;&#x0443; &#x043A;&#x043E;&#x043C;&#x043D;&#x0430;&#x0442;
<go href=\"rum.php\" method=\"post\">
<postfield name=\"login\" value=\"$login\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"key\" value=\"$key\"/>
</go>
</anchor>
";



print "
<br/><br/><a href=\"$gl\">&#x041D;&#x0430; &#x0433;&#x043B;&#x0430;&#x0432;&#x043D;&#x0443;&#x044E;</a><br/>
</p></card></wml>";

?>