File size: 2Kb
<?
Error_Reporting(E_ALL & ~E_NOTICE);
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.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">
<wml>
<card id=\"tes\" title=\"Наш чат\">
<p>
<a href=\"index.wml\">На главную</a><br/>
Сообщение ";
$mess=="";
if ($obr !=="") print "для $obr";
print "
:<br/>
<input name=\"mess\" maxlength=\"255\" value=\"\"/><br/>
<anchor>Отправить
<go href=\"guest.php?obr=$obr\" method=\"post\">
<postfield name=\"mess\" value=\"$(mess)\"/>
<postfield name=\"login\" value=\"$(login)\"/>
<postfield name=\"met\" value=\"bz\"/>
<postfield name=\"obr2\" value=\"$(login)\"/>
</go>
</anchor>
<br/>
<anchor>Отправить транслит
<go href=\"guest.php?obr=$obr\" method=\"post\">
<postfield name=\"mess\" value=\"$(mess)\"/>
<postfield name=\"login\" value=\"$(login)\"/>
<postfield name=\"met\" value=\"bz\"/>
<postfield name=\"obr2\" value=\"$(login)\"/>
<postfield name=\"tr\" value=\"5\"/>
</go>
</anchor>
<br/>
<a href=\"guest.php?login=$login&new=$id\">Чат</a><br/>
<a href=\"dwap.php?dwap=smile&login=$login&new=$id\">Справка по смайлам</a><br/>
<a href=\"dwap.php?dwap=tr&login=$login&new=$id\">Правила транслита</a><br/>
</p>
</card>
</wml>";
?>