File size: 1.61Kb
<?
require("functionChat.ssp");
$r = GetRandom();
$tonick = GetReplyID($num);
openDB();
$sqlSel="select * from forum where num='$num'";
$result=mysql_query($sqlSel) or die(mysql_error());
$CountUsers=mysql_num_rows($result);
If ($CountUsers != 1) LogResult(utf(4),utf(28),"index.php?p=$r");
$Tmess = mysql_result($result,0, "messtext");
mysql_close();
require("headerwml.ssp");
echo "<card id=\"$MagForum\" title=\"".utf(43)."\">\n";
echo "<onevent type=\"onenterforward\">\n";
echo "<refresh>\n";
echo "<setvar name=\"mymess\" value=\"\"/>\n";
echo "</refresh>\n";
echo "</onevent>\n";
echo "<p align=\"center\">";
echo win2utf($Tmess);
echo "<br/><input name=\"mymess\" maxlength=\"200\" emptyok=\"true\" title=\"=\" type=\"text\"/></p><p>\n";
echo "<anchor>- ".utf(47);
echo "<go method=\"post\" href=\"addMess.php?p=$r&login=$login&pass=$pass&num=$num\">\n";
echo "<postfield name=\"log\" value=\"next\"/>\n";
echo "<postfield name=\"messtype\" value=\"$ReplyType\"/>\n";
echo "<postfield name=\"tonick\" value=\"$tonick\"/>\n";
echo "<postfield name=\"mymess\" value=\"$(mymess)\"/>\n";
echo "</go>\n";
echo "</anchor>\n";
echo "<br/><a href=\"dispR.php?p=$r&login=$login&pass=$pass&num=$num&page=old\">- ".utf(48)."</a>\n";
echo "<br/><a href=\"forums.php?p=$r&login=$login&pass=$pass\">- ".utf(18)."</a>\n";
echo "<do type=\"prev\" label=\"".utf(48)."\">\n";
echo "<go href=\"dispR.php?p=$r&login=$login&pass=$pass&num=$num&page=old\"/>\n";
echo "</do>\n";
echo "</p>";
include ("bottom.inc");
?>