Post by bass5098 on Apr 4, 2007 15:21:10 GMT -5
This is my first version of a code database.
Threads Board Header
<script type="text/javascript">
<!--
if (location.href.match(/thread=1175712174/i)) {
window.location = "/index.cgi?board=test";
}
//-->
</script>
Code Index Board Header
<center><table width="60%" class="bordercolor" align="center"><tr><td colspan="4" width="100%" class="titlebg" align="center" valign="middle">
<script type="text/javascript">
<!--
var cdn = "Code Database" // The name of the code database
document.write('<b>'+cdn+'</b>')
//-->
</script>
</td></tr><tr><tr><td width="100%" class="windowbg" align="center" colspan="3">
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='';">Featured Codes</a> | <a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='';document.getElementById('ind_fe').style.display='none';">About</a></td></tr><tr><td class="windowbg2" width="30%">
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Admin CP</a><BR>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Main Page/Sub Boards</a><BR>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Mini Profile/Profile</a><br>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Posting Page</a><br>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Threads / Quick Reply</a><BR>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Welcome Table</a><BR>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Global / Misc.</a></td><td class="windowbg2" width="70%"><div id="ind_1" style="display:none"><!-- Admin CP Codes Here -->Admin Control Panel Codes [0] <!-- --></div><div id="ind_2" style="display:none"><!-- Main Page / Sub Boards Codes Here --> Main Page / Sub Board Codes - [0] <!-- --></div><div id="ind_3" style="display:none"><!-- Mini Profile / Profile Codes Here -->Mini Profile / Profile Codes - [0] <!-- --></div><div id="ind_4" style="display:none"><!-- Posting Page Codes Here --> Posting Page Codes - [0] <!-- --></div><div id="ind_5" style="display:none"><!-- Thread / Quick Reply Codes Here --> Thread / Quick Reply Codes - [0] <!-- --></div><div id="ind_6" style="display:none"><!-- Welcome Table Codes Here --> Welcome Table Codes - [0] <!-- --></div><div id="ind_7" style="display:none"><!-- Global / Misc. Codes Here --> Global / Misc. Codes - [0] <!-- --></div><div id="ind_fe">Featured Codes - [0] <!-- --></div><div id="ind_ab" style="display:none"> This database was coded by Bass5098. It Can Be Reposted Anywhere As Long As The Javascript Is Left Intact.</div></td></tr></table></center><div style="display:none:">
Code Index Board Footer
</div>
------------------------------------------------------------------------------------------------------------------------------------------
EDITING
------------------------------------------------------------------------------------------------------------------------------------------
Green: Thread Number Of Where you index thread is located
Blue: The Board Where You Want The Index To Be
Red: Replace this with the codes
-------------------------------------------------------------------------------------------------------------------------------------------
NOTES
-------------------------------------------------------------------------------------------------------------------------------------------
The index MUST be located in a seperate hidden board from the index thread. There can be NO other sections added on currently. I will add a part for that is v2.
FEATURES
- Multiple Sections
- Different Sections For Different Types Of Codes
- Featured Codes Page
- About The Database Page (NO Editing It)
- Different Sections For Different Types Of Codes
- Put In a Single Board
- Thread Redirection
Threads Board Header
<script type="text/javascript">
<!--
if (location.href.match(/thread=1175712174/i)) {
window.location = "/index.cgi?board=test";
}
//-->
</script>
Code Index Board Header
<center><table width="60%" class="bordercolor" align="center"><tr><td colspan="4" width="100%" class="titlebg" align="center" valign="middle">
<script type="text/javascript">
<!--
var cdn = "Code Database" // The name of the code database
document.write('<b>'+cdn+'</b>')
//-->
</script>
</td></tr><tr><tr><td width="100%" class="windowbg" align="center" colspan="3">
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='';">Featured Codes</a> | <a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='';document.getElementById('ind_fe').style.display='none';">About</a></td></tr><tr><td class="windowbg2" width="30%">
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Admin CP</a><BR>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Main Page/Sub Boards</a><BR>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Mini Profile/Profile</a><br>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Posting Page</a><br>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Threads / Quick Reply</a><BR>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='';document.getElementById('ind_7').style.display='none';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Welcome Table</a><BR>
<a href="javascript:void(0)" onClick="document.getElementById('ind_1').style.display='none';document.getElementById('ind_2').style.display='none';document.getElementById('ind_3').style.display='none';document.getElementById('ind_4').style.display='none';document.getElementById('ind_5').style.display='none';document.getElementById('ind_6').style.display='none';document.getElementById('ind_7').style.display='';document.getElementById('ind_ab').style.display='none';document.getElementById('ind_fe').style.display='none';">Global / Misc.</a></td><td class="windowbg2" width="70%"><div id="ind_1" style="display:none"><!-- Admin CP Codes Here -->Admin Control Panel Codes [0] <!-- --></div><div id="ind_2" style="display:none"><!-- Main Page / Sub Boards Codes Here --> Main Page / Sub Board Codes - [0] <!-- --></div><div id="ind_3" style="display:none"><!-- Mini Profile / Profile Codes Here -->Mini Profile / Profile Codes - [0] <!-- --></div><div id="ind_4" style="display:none"><!-- Posting Page Codes Here --> Posting Page Codes - [0] <!-- --></div><div id="ind_5" style="display:none"><!-- Thread / Quick Reply Codes Here --> Thread / Quick Reply Codes - [0] <!-- --></div><div id="ind_6" style="display:none"><!-- Welcome Table Codes Here --> Welcome Table Codes - [0] <!-- --></div><div id="ind_7" style="display:none"><!-- Global / Misc. Codes Here --> Global / Misc. Codes - [0] <!-- --></div><div id="ind_fe">Featured Codes - [0] <!-- --></div><div id="ind_ab" style="display:none"> This database was coded by Bass5098. It Can Be Reposted Anywhere As Long As The Javascript Is Left Intact.</div></td></tr></table></center><div style="display:none:">
Code Index Board Footer
</div>
------------------------------------------------------------------------------------------------------------------------------------------
EDITING
------------------------------------------------------------------------------------------------------------------------------------------
Green: Thread Number Of Where you index thread is located
Blue: The Board Where You Want The Index To Be
Red: Replace this with the codes
-------------------------------------------------------------------------------------------------------------------------------------------
NOTES
-------------------------------------------------------------------------------------------------------------------------------------------
The index MUST be located in a seperate hidden board from the index thread. There can be NO other sections added on currently. I will add a part for that is v2.