Просмотр файла say.php

Размер файла: 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&amp;pas=$pas&amp;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&amp;pas=$pas&amp;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&amp;pas=$pas&amp;login=$login\">Вернутся в гостевую</a><br/>";
$link_her="say.php?pas=$pas&amp;login=$login";
include 'niz2.php';

?>