Размер файла: 1.22Kb
<? header("Content-Type: text/vnd.wap.wml");
header("Cache-Control: no-cache");
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>
<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";?>
<? include "config.inc.php";
include "function.php";
include "valid.php";
echo "<wml><card title=\"Paзбaнить\">";
echo "<p> ID:<br/><input type=\"text\" name=\"to\" maxlength=\"6\" emptyok=\"false\"/><br/>
<anchor>
Paзбaнить
<go href=\"razban.php?id=$id&pass=$pass\" method=\"get\">
<postfield name=\"kol\" value=\"$(to)\"/>
</go>
</anchor><br/></p>";
if ($kol>0) {
mysql_query('update `index` set `banned`=0 where `id`='.$kol);
echo "<p>ok<br/>
<a href=\"adm.php?id=$id&pass=$pass\">Aдмин-Пaнeль</a><br/>";
echo "
<a href=\"admforum.php?id=$id&pass=$pass\">Упpaвлeниe Фopyмoм</a><br/>
<a href=\"ent.php?id=$id&pass=$pass\">B пaнeль</a><br/></p>
";
echo "</card></wml>";}
?>