Размер файла: 1.62Kb
<?
error_reporting(E_ALL ^ E_NOTICE); //<--
session_start();
require ('../data/config.php');
require ('../data/mysql.php');
require ('../data/functions.php');
if (!authenticateUser( $cookie_user, $cookie_passwd))
{
header("Location:/index.php?err=falce");
exit();
}
header ("Content-type:text/vnd.wap.wml; charset=utf-8");
print '<?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">
<wml>'; ?>
<card title="<?print " $site_title";?>">
<p>
<?require ('../html/up_user.php');?>
<? /* <?require ('left.tpl');?> */
$find_user=mysql_query("SELECT * FROM accounts WHERE user_login='$cookie_user'");
$row=mysql_fetch_array($find_user);
$login=$row['user_login'];
$id=$row['id'];
echo "<small>\n";
?>
Кому(ID):<br/>
<input type="text" maxlength="15" name="to" value="<? print $to; ?>"/><br/>
Тема:<br/>
<input type="text" maxlength="15" name="subject"/><br/>
Письмо:<br/>
<input type="text" maxlength="155" name="letter"/><br/>
<anchor>Отправить<go href="send.php" method="get">
<postfield name="id" value="<? print $id; ?>"/>
<postfield name="to" value="$(to)"/>
<postfield name="subject" value="$(subject)"/>
<postfield name="letter" value="$(letter)"/>
</go></anchor><br/>
<?
?>
<a href="index.php">Управление аккаунтом</a> <br/>
</small> </p>
<?require ('../html/down.php');?>
</card>
</wml>