Просмотр файла magboard/addAdv.php

Размер файла: 1.39Kb
<?
                    
require("functionChat.ssp");

$r = GetRandom();

if (!isset($board[$lev1][$lev2])) LogResult(utf(4),utf(10),"index.php?p=$r&amp;login=$login&amp;pass=$pass"); 
$tonick = GetBoardID($lev1,$lev2);



require("headerwml.ssp");
echo "<card id=\"$MagBoard\" title=\"$login:".utf(6)."\">\n";
echo "<p align=\"center\">";
echo win2utf($board[$lev1][0]).":".win2utf($board[$lev1][$lev2]);
   
echo "<br/><input name=\"mymess\" maxlength=\"200\" emptyok=\"true\" title=\"=\" type=\"text\"/></p><p>\n";   

echo "<anchor>- ".utf(6);
echo "<go method=\"post\" href=\"addMess.php?p=$r&amp;login=$login&amp;pass=$pass&amp;lev1=$lev1&amp;lev2=$lev2\">\n";
echo "<postfield name=\"log\" value=\"next\"/>\n";
echo "<postfield name=\"messtype\" value=\"$BoardType\"/>\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=\"dispMess.php?p=$r&amp;login=$login&amp;pass=$pass&amp;lev1=$lev1&amp;lev2=$lev2&amp;page=old\">- ".utf(9)."</a>\n";
echo "<br/><a href=\"boards.php?p=$r&amp;login=$login&amp;pass=$pass\">- ".utf(18)."</a>\n";

echo "<do type=\"prev\" label=\"".utf(9)."\">\n";
echo "<go href=\"dispMess.php?p=$r&amp;login=$login&amp;pass=$pass&amp;lev1=$lev1&amp;lev2=$lev2&amp;page=old\"/>\n";
echo "</do>\n";

echo "</p>";
include ("bottom.inc");
?>