<?php
include("head.php");
//////////////////////////////////bb new topic
if($action=="bbnewtopic"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<p align=\"center\">";
echo "<br/>Download BB<br/>";
echo "<form>";
echo "<select name=\"URL\" onchange=\"window.location.href= this.form.URL.options[this.form.URL.selectedIndex].value\">";
echo "<option value=\"\">Choose a BB</option>";
echo "<option value=\"topicbb.php?action=newtopic2&fid=$fid\">Game BB</option>";
echo "<option value=\"topicbb.php?action=newtopic3&fid=$fid\">App BB</option>";
echo "<option value=\"topicbb.php?action=newtopic4&fid=$fid\">Music BB</option>";
echo "<option value=\"topicbb.php?action=newtopic5&fid=$fid\">Video BB</option>";
echo "<option value=\"topicbb.php?action=newtopic6&fid=$fid\">Theme BB</option>";
echo "<option value=\"topicbb.php?action=newtopic7&fid=$fid\">Pic BB</option>";
echo "<option value=\"topicbb.php?action=newtopic8&fid=$fid\">Ebook BB</option>";
echo "<option value=\"topicbb.php?action=newtopic9&fid=$fid\">Flash BB</option>";
echo "<option value=\"topicbb.php?action=newtopic0&fid=$fid\">XXX BB</option>";
echo "</select>";
echo "</form>";
echo "<br/>";
echo "<br/>Basic BB<br/>";
echo "<form>";
echo "<select name=\"URL\" onchange=\"window.location.href= this.form.URL.options[this.form.URL.selectedIndex].value\">";
echo "<option value=\"\">Choose a BB</option>";
echo "<option value=\"topicbb.php?action=basic1&fid=$fid\">Bold BB</option>";
echo "<option value=\"topicbb.php?action=basic2&fid=$fid\">Italic BB</option>";
echo "<option value=\"topicbb.php?action=basic3&fid=$fid\">Underlined BB</option>";
echo "<option value=\"topicbb.php?action=basic4&fid=$fid\">Big BB</option>";
echo "<option value=\"topicbb.php?action=basic5&fid=$fid\">Small BB</option>";
echo "<option value=\"topicbb.php?action=basic6&fid=$fid\">Image BB</option>";
echo "<option value=\"topicbb.php?action=basic7&fid=$fid\">Url BB</option>";
echo "<option value=\"topicbb.php?action=basic8&fid=$fid\">Break BB</option>";
echo "<option value=\"topicbb.php?action=basic9&fid=$fid\">Topic BB</option>";
echo "</select>";
echo "</form>";
echo "<br/>";
echo "<br/>Advanced BB<br/>";
echo "<form>";
echo "<select name=\"URL\" onchange=\"window.location.href= this.form.URL.options[this.form.URL.selectedIndex].value\">";
echo "<option value=\"\">Choose a BB</option>";
echo "<option value=\"topicbb.php?action=adv0&fid=$fid\">Url BB</option>";
echo "<option value=\"topicbb.php?action=adv1&fid=$fid\">Game BB</option>";
echo "<option value=\"topicbb.php?action=adv2&fid=$fid\">App BB</option>";
echo "<option value=\"topicbb.php?action=adv3&fid=$fid\">Music BB</option>";
echo "<option value=\"topicbb.php?action=adv4&fid=$fid\">Video BB</option>";
echo "<option value=\"topicbb.php?action=adv5&fid=$fid\">Theme BB</option>";
echo "<option value=\"topicbb.php?action=adv6&fid=$fid\">Pic BB</option>";
echo "<option value=\"topicbb.php?action=adv7&fid=$fid\">Ebook BB</option>";
echo "<option value=\"topicbb.php?action=adv8&fid=$fid\">Flash BB</option>";
echo "<option value=\"topicbb.php?action=adv9&fid=$fid\">XXX BB</option>";
echo "</select>";
echo "</form>";
echo "<br/>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
///////////////////////////////////Downloads
//////////////////////////////////newtopic2 games
else if($action=="newtopic2"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[g]]Download[/g]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////newtopic3 app
else if($action=="newtopic3"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[a]]Download[/a]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////newtopic4 music
else if($action=="newtopic4"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[m]]Download[/m]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////newtopic5 video
else if($action=="newtopic5"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[v]]Download[/v]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////newtopic6 Theme
else if($action=="newtopic6"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[t]]Download[/t]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////newtopic7 pic
else if($action=="newtopic7"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[pic][/pic]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////newtopic8 ebooks
else if($action=="newtopic8"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[e]]Download[/e]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////newtopic9 flash
else if($action=="newtopic9"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[f]]Download[/f]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////newtopic0 xxx
else if($action=="newtopic0"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[x]]Download[/x]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
///////////////////////////////////////BASIC
//////////////////////////////////1 bold
else if($action=="basic1"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[b][/b]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////2 italic
else if($action=="basic2"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[i][/i]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////3 underlined
else if($action=="basic3"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[u][/u]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////4 big
else if($action=="basic4"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[big][/big]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////5 small
else if($action=="basic5"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[small][/small]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////6 image
else if($action=="basic6"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[img]http://[/img]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////7 url
else if($action=="basic7"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[url=http://][/url]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////8 break
else if($action=="basic8"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[br/][br/]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////9 topic
else if($action=="basic9"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[topic=][/topic]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////ADVANCED
/////////////////////////////////ADV Url 0
else if($action=="adv0"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[br/][b][/b][br/]Size: b [url=http://]Download[/url]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////ADV games 1
else if($action=="adv1"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[br/][b][/b][br/]Size: b [g]]Download[/g]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////ADV app 2
else if($action=="adv2"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[br/][b][/b][br/]Size: b [a]]Download[/a]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////ADV music 3
else if($action=="adv3"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[br/][b][/b][br/]Size: b [m]]Download[/m]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////ADV vid 4
else if($action=="adv4"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[br/][b][/b][br/]Size: b [v]]Download[/v]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////ADV theme 5
else if($action=="adv5"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[br/][b][/b][br/]Size: b [t]]Download[/t]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////ADV pic 6
else if($action=="adv6"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[br/][pic][/pic][br/][p]]Download[/p]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////ADV ebooks 7
else if($action=="adv7"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[br/][b][/b][br/]Size: b [e]]Download[/e]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////ADV flash 8
else if($action=="adv8"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[br/][b][/b][br/]Size: b [f]]Download[/f]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
//////////////////////////////////ADV xxx 9
else if($action=="adv9"){
$fid = $_GET["fid"];
if(!canaccess(getuid_sid($sid), $fid)){
echo "<card id=\"main\" title=\"$sitename\">";
echo "<p align=\"center\">";
echo "You Don't Have Permission To View The Contents Of This Forum<br/><br/>";
echo "<a href=\"index.php?action=main\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
}
addonline(getuid_sid($sid),"Creating New Topic","index.php?action=online");
echo "<card id=\"main\" title=\"New Topic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh><setvar name=\"tpctxt\" value=\"[br/][b][/b][br/]Size: b [x]]Download[/x]\"/>";
echo "</refresh></onevent>";
echo "<p align=\"center\">";
echo "Title: <input name=\"ntitle\" maxlength=\"30\"/><br/>";
echo "Text: <input name=\"tpctxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Create";
echo "
<go href=\"genproc.php?action=newtopic\" method=\"post\">
<postfield name=\"fid\" value=\"$fid\"/>
<postfield name=\"ntitle\" value=\"$(ntitle)\"/>
<postfield name=\"tpctxt\" value=\"$(tpctxt)\"/>
</go>
";
echo "</anchor>";
echo "<br/><br/><a href=\"index.php?action=viewfrm&fid=$fid\">";
$fname = getfname($fid);
echo "$fname</a><br/>";
echo "<a href=\"index.php?action=main\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
?>
</wml>