Просмотр файла magforum/writeT.php

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

$r = GetRandom();

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



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

echo "<anchor>- ".utf(45);
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=\"$ThemeType\"/>\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=\"dispT.php?p=$r&amp;login=$login&amp;pass=$pass&amp;lev1=$lev1&amp;lev2=$lev2&amp;page=1\">- ".utf(44)."</a>\n";
echo "<br/><a href=\"forums.php?p=$r&amp;login=$login&amp;pass=$pass\">- ".utf(18)."</a>\n";

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

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