File size: 1.44Kb
<?
header ("Content-type:text/vnd.wap.wml; charset=utf-8");
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
$id=@mysql_escape_string($id);
$pass=@mysql_escape_string($pass);
$login=@mysql_escape_string($login);
?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml><head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>
<card title="">
<p align="center">
<?
include "config2.php";
include "config3.php";
$linkk=mysql_pconnect ($DB_HOST, $DB_USER, $DB_PASS);
mysql_select_db($DB_NAME);
$q_u=mysql_query("select * from users where id='".$id."';");
$data=mysql_fetch_array($q_u);
$titles = $data['title'];
$pass = $data['pass'];
if ($adm==$password) {
print "Его пароль : $pass<br/>";
print "ты уверен что надо удалить<br/>
<b>$titles</b><br/>";
print "<a href=\"del.php?adm=$password&id=$id\">Абсолютно</a><br/>";
print "<a href=\"top.php?adm=$password\">Сорри, попутал</a>";
} else {
print "Доступ закрыт";
}
?>
</p>
</card>
</wml>
<?
mysql_close($linkk);
?>