Post by bass5098 on Apr 5, 2007 19:01:07 GMT -5
Way better than the first version
Board Header
Board Footer
EDIT
EDIT WHERE IT SAYS
Board Header
<script type="text/javascript"><!--
/* Code Index V2 By Bass5098
This header must stay intact at alll times
DO NO REPOST */
// Begin Admin Editable Codes
var index1t = "Total Codes" // The Total Amount of Admin Editable Codes
var index1Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Admin Editable Codes
// Begin Main Page / Sub Board Codes
var index2t = "Total Codes" // The Total Amount of Main Page / Sub Board Codes
var index2Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Min Page / Sub Board Codes
// Begin Mini Profile / Profile Codes
var index3t = "Total Codes" // The Total Amount of Mini Profile / Profile Codes
var index3Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Mini Profile / Profile Codes
// Begin Posting Page Codes
var index4t = "Total Codes" // The Total Amount of Posting Page Codes
var index4Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Posting Page Codes
// Begin Threads / Quick Reply Codes
var index5t = "Total Codes" // The Total Amount of Posting Page Codes
var index5Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Threads / Quick Reply Codes
// Begin Welcome Table Codes
var index6t = "Total Codes" // The Total Amount of Posting Page Codes
var index6Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Welcome Table Codes
// Begin Global / Misc. Codes
var index7t = "Total Codes" // The Total Amount of Posting Page Codes
var index7Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Global / Misc. Codes
// DO NOT EDIT BELOW
function index1()
{
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';
}
function index2()
{
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';
}
function index3()
{
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';
}
function index4()
{
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';
}
function index5()
{
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';
}
function index6()
{
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';
}
function index7()
{
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';
}
function about()
{
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='';
}
if (location.href.match(/thread=INDEX THREAD NUMBER/i)) {
// DO NOT EDIT
document.write('<table width="92%" align="center" valign="middle" class="bordercolor"><tr><td class="titlebg" colspan="2" align="center">Code Index</td></tr><tr><td width="100%"colspan="2" class="windowbg" align="center"><a href="javascript:about();void(0);">About</a></td></tr><tr><td width="20%" class="windowbg2"><a href="javascript:index1();void(0);">Admin CP</a><br><a href="javascript:index2();void(0);">Main Page/Sub Boards</a><BR><a href="javascript:index3();void(0);">Mini Profile/Profile</a><br><a href="javascript:index4();void(0);">Posting Page</a><br><a href="javascript:index5();void(0);">Threads / Quick Reply</a><BR><a href="javascript:index6();void(0);">Welcome Table</a><BR><a href="javascript:index7();void(0);">Global / Misc.</a></td>')
document.write('<td width="80%" class="windowbg"><div id="ind_1" style="display:none">Admin Control Panel Codes ['+index1t+']<br><hr>');
for (i=0; i<index1Array.length; i++) {
document.write('<a href="' + index1Array[i][1] + '">' + index1Array[i][0] + '</a> By <a href="' + index1Array[i][3] + '">' + index1Array[i][2] + '</a><br>');
}
document.write('</div><div id="ind_2" style="display:none">Main Page / Sub Board Codes ['+index2t+']<br><hr>');
for (i=0; i<index2Array.length; i++) {
document.write('<a href="' + index2Array[i][1] + '">' + index2Array[i][0] + '</a> By <a href="' + index2Array[i][3] + '">' + index2Array[i][2] + '</a><br>');
}
document.write('</div><div id="ind_3" style="display:none">Mini Profile / Profile Codes ['+index3t+']<br><hr>');
for (i=0; i<index3Array.length; i++) {
document.write('<a href="' + index3Array[i][1] + '">' + index3Array[i][0] + '</a> By <a href="' + index3Array[i][3] + '">' + index3Array[i][2] + '</a><br>');
}
document.write('</div><div id="ind_4" style="display:none">Posting Page Codes ['+index4t+']<br><hr>');
for (i=0; i<index4Array.length; i++) {
document.write('<a href="' + index4Array[i][1] + '">' + index4Array[i][0] + '</a> By <a href="' + index4Array[i][3] + '">' + index4Array[i][2] + '</a><br>');
}
document.write('</div><div id="ind_5" style="display:none">Threads / Quick Reply Codes ['+index5t+']<br><hr>');
for (i=0; i<index5Array.length; i++) {
document.write('<a href="' + index5Array[i][1] + '">' + index5Array[i][0] + '</a> By <a href="' + index5Array[i][3] + '">' + index5Array[i][2] + '</a><br>');
}
document.write('</div><div id="ind_6" style="display:none">Welcome Table Codes ['+index6t+']<br><hr>');
for (i=0; i<index6Array.length; i++) {
document.write('<a href="' + index6Array[i][1] + '">' + index6Array[i][0] + '</a> By <a href="' + index6Array[i][3] + '">' + index6Array[i][2] + '</a><br>');
}
document.write('</div><div id="ind_7" style="display:none">Global / Misc. Codes ['+index7t+']<br><hr>');
for (i=0; i<index7Array.length; i++) {
document.write('<a href="' + index7Array[i][1] + '">' + index7Array[i][0] + '</a> By <a href="' + index7Array[i][3] + '">' + index7Array[i][2] + '</a><br>');
}
document.write('</div><div id="ind_ab" style="display:none">About This Database<br><hr>This database was coded by Bass5098. This section of the code may not be removed. This code may be reposted anywhere as long as the code remains intact. If code is reposted the code may not be edited.');
document.write('</div></td></tr></table>');
document.write('<div style="display:none">
}
//-->
</script>
Board Footer
</div>
EDIT
// Begin Admin Editable Codes
var index1t = "Total Codes" // The Total Amount of Admin Editable Codes
var index1Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Admin Editable Codes
// Begin Main Page / Sub Board Codes
var index2t = "Total Codes" // The Total Amount of Main Page / Sub Board Codes
var index2Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Min Page / Sub Board Codes
// Begin Mini Profile / Profile Codes
var index3t = "Total Codes" // The Total Amount of Mini Profile / Profile Codes
var index3Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Mini Profile / Profile Codes
// Begin Posting Page Codes
var index4t = "Total Codes" // The Total Amount of Posting Page Codes
var index4Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Posting Page Codes
// Begin Threads / Quick Reply Codes
var index5t = "Total Codes" // The Total Amount of Posting Page Codes
var index5Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Threads / Quick Reply Codes
// Begin Welcome Table Codes
var index6t = "Total Codes" // The Total Amount of Posting Page Codes
var index6Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Welcome Table Codes
// Begin Global / Misc. Codes
var index7t = "Total Codes" // The Total Amount of Posting Page Codes
var index7Array = [
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"],
["Code Name","Thread URL","Creator Name","Creator Profile URL"]
];
// End Global / Misc. Codes
// DO NOT EDIT BELOW
function index1()
{
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';
}
function index2()
{
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';
}
function index3()
{
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';
}
function index4()
{
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';
}
function index5()
{
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';
}
function index6()
{
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';
}
function index7()
{
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';
}
function about()
{
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='';
}
if (location.href.match(/thread=INDEX THREAD NUMBER/i)) {
EDIT WHERE IT SAYS