Просмотр файла wofh/speak1.php

Размер файла: 1.03Kb
<?
if ($to) $to.=", ";
		$stmp="$to";
if ($player['style']!=='0'){
		$stmp.="<form action=\"$PHP_SELF?sid=$sid&say=to\" method=\"post\"><p>";
		$tossp=$to;
		$stmp.="<input name=\"skaz\" emptyok=\"true\" type=\"text\" maxlength=\"250\" value=\"$to\" class=\"inup\"/>\n
		<br/><small><b>Транслит:</b></small>\n<br/>
<select name=\"tran\" title=\"translit\" class=\"inup\">
<option value=\"0\">выкл.</option>
<option value=\"1\">вкл.</option>
</select><br/>
<input type=\"submit\" value=\"Сказать\" class=\"btn\"></form>";
} else {
		$stmp.="\n<br/><input name=\"skaz\" maxlength=\"250\" value=\"$to\"/>\n<br/>
		Транслит<br/>
    <select name=\"tran\" value=\"0\">
<option value=\"0\">Выкл</option>
<option value=\"1\">Вкл</option>
</select><br/>";
    $stmp.="<anchor>Сказать<go method=\"post\" href=\"$PHP_SELF?sid=$sid&say=to\">
	<postfield name=\"skaz\" value=\"$(skaz)\"/>
	<postfield name=\"tran\" value=\"$(tran)\"/></go></anchor>";
}
		msg($stmp,"Сказать",1,"","to",$to);
		?>