File size: 1.51Kb
<?php
Error_Reporting(E_ALL & ~E_NOTICE);
//посылаем заголовки
header ("Content-type:text/vnd.wap.wml; charset=utf-8");
//вывод в браузер
print '<?xml version="1.0" encoding="utf-8"?>';
print '<!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>';
include "./ini.php";
print '<card title="'.$lang['add_vyvod'].'">'.
'<p align="center">';
if(!empty($login))
$q = @mysql_query("select `id` from `".$px.$utable."` where `login`='".$login."';");
if(empty($id)) {
$data = @mysql_fetch_array($q);
$id = $data['id'];
}
$login = autorize();
if($login) {
include "./ban.php";
/////////////////////////////////
$loginid=mysql_fetch_array(mysql_query("SELECT * FROM `chat_users` WHERE `id`='$id'"));
$log_db=$loginid['login'];
$pozdr=mysql_query("SELECT * FROM `chat_meets` WHERE `login`='$log_db'");
while($poz=mysql_fetch_array($pozdr)){
$title=$poz['title'];
$did=$poz['id'];
echo $title.'<br/><a href="del.php?id='.$id.'&pass='.$pass.'&did='.$did.'">del</a><br/>-----<br/>';
}
print "</p><p><a href=\"./add.php?id=$id&pass=$pass\">".$lang['modering']."</a>";
print "<br/><a href=\"./enter.php?id=$id&pass=$pass&mod=addmeet\">".$lang['pozd']."</a>";
//////////////////////////////
} else { print $lang['not_loged']; }
print '</p>'.
'</card>'.
'</wml>';
@mysql_close();
?>