<?php
include("head.php");
//////////////////////////////////////////Quick BB post
if($action=="bbpost"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Quick Posting","");
echo "<card id=\"main\" title=\"Quick BB\">";
$qut = $_GET["qut"];
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=\"postbb.php?action=post2&tid=$tid\">Game BB</option>";
echo "<option value=\"postbb.php?action=post3&tid=$tid\">App BB</option>";
echo "<option value=\"postbb.php?action=post4&tid=$tid\">Music BB</option>";
echo "<option value=\"postbb.php?action=post5&tid=$tid\">Video BB</option>";
echo "<option value=\"postbb.php?action=post6&tid=$tid\">Theme BB</option>";
echo "<option value=\"postbb.php?action=post7&tid=$tid\">Pic BB</option>";
echo "<option value=\"postbb.php?action=post8&tid=$tid\">Ebook BB</option>";
echo "<option value=\"postbb.php?action=post9&tid=$tid\">Flash BB</option>";
echo "<option value=\"postbb.php?action=post0&tid=$tid\">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=\"postbb.php?action=bb1&tid=$tid\">Bold BB</option>";
echo "<option value=\"postbb.php?action=bb2&tid=$tid\">Italic BB</option>";
echo "<option value=\"postbb.php?action=bb3&tid=$tid\">Underlined BB</option>";
echo "<option value=\"postbb.php?action=bb4&tid=$tid\">Big BB</option>";
echo "<option value=\"postbb.php?action=bb5&tid=$tid\">Small BB</option>";
echo "<option value=\"postbb.php?action=bb6&tid=$tid\">Image BB</option>";
echo "<option value=\"postbb.php?action=bb7&tid=$tid\">Url BB</option>";
echo "<option value=\"postbb.php?action=bb8&tid=$tid\">Break BB</option>";
echo "<option value=\"postbb.php?action=bb9&tid=$tid\">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=\"postbb.php?action=adbb0&tid=$tid\">Url BB</option>";
echo "<option value=\"postbb.php?action=adbb1&tid=$tid\">Game BB</option>";
echo "<option value=\"postbb.php?action=adbb2&tid=$tid\">App BB</option>";
echo "<option value=\"postbb.php?action=adbb3&tid=$tid\">Music BB</option>";
echo "<option value=\"postbb.php?action=adbb4&tid=$tid\">Video BB</option>";
echo "<option value=\"postbb.php?action=adbb5&tid=$tid\">Pic BB</option>";
echo "<option value=\"postbb.php?action=adbb6&tid=$tid\">Theme BB</option>";
echo "<option value=\"postbb.php?action=adbb7&tid=$tid\">Ebook BB</option>";
echo "<option value=\"postbb.php?action=adbb8&tid=$tid\">Flash BB</option>";
echo "<option value=\"postbb.php?action=adbb9&tid=$tid\">XXX BB</option>";
echo "</select>";
echo "</form>";
echo "<br/>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Game Download
else if($action=="post2"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Game","");
echo "<card id=\"main\" title=\"Add Game\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[g]]Download[/g]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding App Download
else if($action=="post3"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding App","");
echo "<card id=\"main\" title=\"Add App\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[a]]Download[/a]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Music Download
else if($action=="post4"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Music","");
echo "<card id=\"main\" title=\"Add Music\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[m]]Download[/m]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Video Download
else if($action=="post5"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Video","");
echo "<card id=\"main\" title=\"Add video\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[v]]Download[/v]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Theme Download
else if($action=="post6"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Theme","");
echo "<card id=\"main\" title=\"Add Theme\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[t]]Download[/t]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Pic Download
else if($action=="post7"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Pic","");
echo "<card id=\"main\" title=\"Add Pic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[pic][/pic]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Ebook Download
else if($action=="post8"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Ebook","");
echo "<card id=\"main\" title=\"Add Ebook\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[e]]Download[/e]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Flash Download
else if($action=="post9"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Flash","");
echo "<card id=\"main\" title=\"Add Flash\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[f]]Download[/f]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Adult Download
else if($action=="post0"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding ???","");
echo "<card id=\"main\" title=\"Add XXX\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[x]]Download[/x]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Bold BB
else if($action=="bb1"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Posting Reply","");
echo "<card id=\"main\" title=\"Post Reply\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[b][/b]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Italic BB
else if($action=="bb2"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Posting Reply","");
echo "<card id=\"main\" title=\"Post Reply\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[i][/i]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Underlined BB
else if($action=="bb3"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Posting Reply","");
echo "<card id=\"main\" title=\"Post Reply\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[u][/u]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Big BB
else if($action=="bb4"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Posting Reply","");
echo "<card id=\"main\" title=\"Post Reply\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[big][/big]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Small BB
else if($action=="bb5"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Posting Reply","");
echo "<card id=\"main\" title=\"Post Reply\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[small][/small]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Image BB
else if($action=="bb6"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Posting Reply","");
echo "<card id=\"main\" title=\"Post Reply\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[img]http://[/img]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Url BB
else if($action=="bb7"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Posting Reply","");
echo "<card id=\"main\" title=\"Post Reply\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[url=http://][/url]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Line break BB
else if($action=="bb8"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Posting Reply","");
echo "<card id=\"main\" title=\"Post Reply\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[br/][br/]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Topic BB
else if($action=="bb9"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Posting Reply","");
echo "<card id=\"main\" title=\"Post Reply\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[topic=][/topic]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Advanced Url
else if($action=="adbb0"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding \download","");
echo "<card id=\"main\" title=\"Add App\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[br/][b][/b][br/]Size: b [url=http://]Download[/url]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Advanced Game BB
else if($action=="adbb1"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Game","");
echo "<card id=\"main\" title=\"Add Game\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[br/][b][/b][br/]Size: b [g]]Download[/g]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Advanced App BB
else if($action=="adbb2"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding App","");
echo "<card id=\"main\" title=\"Add App\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[br/][b][/b][br/]Size: b [a]]Download[/a]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Advanced Music BB
else if($action=="adbb3"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Music","");
echo "<card id=\"main\" title=\"Add Music\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[br/][b][/b][br/]Size: b [m]]Download[/m]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Advanced Vid BB
else if($action=="adbb4"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Video","");
echo "<card id=\"main\" title=\"Add Video\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[br/][b][/b][br/]Size: b [v]]Download[/v]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Advanced Pic BB
else if($action=="adbb5"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Picture","");
echo "<card id=\"main\" title=\"Add Pic\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[br/][pic][/pic][br/][p]]Download[/p]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Advanced Theme BB
else if($action=="adbb6"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Theme","");
echo "<card id=\"main\" title=\"Add Theme\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[br/][b][/b][br/]Size: b [t]]Download[/t]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Advanced Ebook BB
else if($action=="adbb7"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Ebook","");
echo "<card id=\"main\" title=\"Add Ebook\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[br/][b][/b][br/]Size: b [e]]Download[/e]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Advanced Flash BB
else if($action=="adbb8"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding Flash","");
echo "<card id=\"main\" title=\"Add Flash\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[br/][b][/b][br/]Size: b [f]]Download[/f]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>";
}
//////////////////////////////////////////Adding Advanced XXX BB
else if($action=="adbb9"){
$tid = $_GET["tid"];
$tfid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));
$fid = $tfid[0];
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),"Adding ???","");
echo "<card id=\"main\" title=\"Add XXX\">";
echo "<onevent type=\"onenterforward\">";
echo "<refresh>
<setvar name=\"reptxt\" value=\"[br/][b][/b][br/]Size: b [x]]Download[/x]\"/>
<setvar name=\"qut\" value=\"\"/>
";
echo "</refresh></onevent>";
$qut = $_GET["qut"];
echo "<p align=\"center\">";
echo "Text: <input name=\"reptxt\" maxlength=\"500\"/><br/>";
echo "<anchor>Reply";
echo "
<go href=\"genproc.php?action=post\" method=\"post\">
<postfield name=\"tid\" value=\"$tid\"/>
<postfield name=\"reptxt\" value=\"$(reptxt)\"/>
<postfield name=\"qut\" value=\"$qut\"/>
</go>";
echo "</anchor>";
$fid = getfid($tid);
$fname = getfname($fid);
echo "<br/><br/><a href=\"index.php?action=viewtpc&tid=$tid\">";
echo "Back to Topic</a>";
echo "<br/><a href=\"index.php?action=viewfrm&fid=$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>