Размер файла: 1.9Kb
<?
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=\"$zag\"><p>";
///////////// выводим вмл заголовок
if($login != ""){if($statys=="admin" || $forst=="moder"){
$ss = @file("$rek/banip.zap");
$strok = sizeof($ss);
if($tbs=="") {$tbs=0;}
$ktbs=$tbs+20;
$textb=@file("$rek/banip.zap");
while($tbs<$ktbs & $tbs<$strok)
{$text=@explode(":||:",$textb[$tbs]);
print"<anchor title=\"ok\">$text[0] / $text[1]
<go href=\"razbanip.php\" method=\"post\">
<postfield name=\"login\" value=\"$login\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"nomber\" value=\"$tbs\"/>
<postfield name=\"key\" value=\"$key\"/>
</go>
</anchor><br/>";
$tbs=$tbs+1;}
if($tbs<$strok){print"<br/><br/><anchor title=\"ok\">Далее
<go href=\"banlistip.php\" method=\"post\">
<postfield name=\"login\" value=\"$login\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"tbs\" value=\"$tbs\"/>
<postfield name=\"key\" value=\"$key\"/>
</go>
</anchor><br/>";}
print"<br/><anchor title=\"ok\">К списку комнат
<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\">На главную</a><br/>
</p></card></wml>";
?>