File size: 1.54Kb
<?
include "../config.php";
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=\"Рассылка\">";
$parol="$password";
if($par!=$parol){print"Ведите пароль:<br/>
<input title=\"par\" name=\"par\" value=\"\"/><br/>
<anchor title=\"Ok\">Войти
<go href=\"admin.php\" method=\"post\">
<postfield name=\"par\" value=\"$(par)\"/>
</go>
</anchor>
";}
if($par==$parol){
print"
<p>
E-mail отправителя
<br/>
<input title=\"bote\" name=\"bote\"/>
<br/>
Тема рассылки
<br/>
<input title=\"theame\" name=\"theame\"/>
<br/>
Текст рассылки
<br/>
<input title=\"mess\" name=\"mess\"/>
<br/>
<anchor title=\"Ok\">Отправить
<go href=\"rass.php\" method=\"post\">
<postfield name=\"bote\" value=\"$(bote)\"/>
<postfield name=\"theame\" value=\"$(theame)\"/>
<postfield name=\"mess\" value=\"$(mess)\"/>
</go>
</anchor>
</p>
";}
print "</card></wml>";
?>