File size: 1.39Kb
<?
include 'dan.php';
include 'ver.php';
$name_modul=@file("name_mod");
$zag="$name_modul[0]";
if($ver=="wml"){include 'wapzag.php';} else{include 'webzag.php';}
include'avt.php';
if($ver!="wml"){print"<form method=\"post\" action=\"adpost.php?ver=$ver&pas=$pas&login=$login\" name=\"tema\">";}
if($login==""){print"Имя: <input name=\"iname\" maxlength=\"10\"/><br/>";}
if($ver=="wml"){print"
Сообщение: <input name=\"post$time\" maxlength=\"1000\"";
if($obr!=""){print" value=\"$obr, \" ";}
print"/><br/>";}
else{print"Сообщение: <input name=\"post\" maxlength=\"1000\"";
if($obr!=""){print" value=\"$obr, \" ";} print"/><br/>";}
print"Транслит: <select name=\"trans\" title=\"mail\"> <option value=\"no\">нет</option> <option value=\"yes\">да</option></select><br/>";
if($ver=="wml"){print"<anchor title=\"ok\">Добавить
<go href=\"adpost.php?ver=$ver&pas=$pas&login=$login\" method=\"post\">
<postfield name=\"iname\" value=\"$(iname)\"/>
<postfield name=\"post\" value=\"$(post$time)\"/>
<postfield name=\"trans\" value=\"$(trans)\"/>
</go>
</anchor><br/>";
} else {
print"<input class=\"button\" type=\"submit\" value=\"Добавить\"/></form>";}
$text_niz="<a href=\"index.php?ver=$ver&pas=$pas&login=$login\">Вернутся в гостевую</a><br/>";
$link_her="say.php?pas=$pas&login=$login";
include 'niz2.php';
?>