466
SMF For Free Codes and Support / Re: [Code] Lottery Number Picker
« on: August 26, 2008, 04:30:14 pm »
What is it for?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<script>
var Section = new Array(); var Links = new Array(); var n = 0;
Section = ["Admin","Config","Maintenance","Other"];
Links[n++] = ["Admin","Admin Center","http://froforums.freesmfhosting.com/index.php?action=admin"];
Links[n++] = ["Admin","Edit Forum News","http://froforums.freesmfhosting.com/index.php?action=news"];
Links[n++] = ["Config","Manage Styles","http://froforums.freesmfhosting.com/index.php?action=style;sa=admin;sesc=14523356769ce16630a61b3651ba2f46"];
Links[n++] = ["Config","Headers & Footers","http://froforums.freesmfhosting.com/index.php?action=style;sa=headers"];
Links[n++] = ["Maintenance","Forum Maintenance","http://froforums.freesmfhosting.com/index.php?action=maintain"];
Links[n++] = ["Maintenance","Generate Reports","http://froforums.freesmfhosting.com/index.php?action=reports"];
Links[n++] = ["Other","AddOns","http://froforums.freesmfhosting.com/index.php?action=addons"];
Links[n++] = ["Other","Code Panel","http://froforums.freesmfhosting.com/index.php?action=codepanel"];
if($(".maintab_back:contains(Admin)")){
//Created by Agent Moose (8/24/2008)
$(".maintab_back:contains(Admin)").each(function(){$(this).html("<a href='javascript:open_quickies()'>Admin</a>");});
$("#upshrinkHeader2").parent().next().after("<div id='work'></div>");
//Created by Agent Moose (smcodes.smfforfree3.com)
$("#work").after('<div id="admin_quickies" style="display:none; position:absolute;"><table width="200" class="tborder"><tbody><tr class="catbg"><td>Admin Quickies - <a href="javascript:open_quickies();">Close</a></td></tr><span id="Stuff" width="200px"></span></tbody></table></div>');
for(i=0;i<Section.length;i++){
var Name = Section[i];
if(Section[i].match(/ /i)) var ID1 = Section[i].split(" ").join(""); else var ID1 = Section[i];
document.getElementById("Stuff").innerHTML += "<tr class='catbg' width='200px'><td width='200px'>" + Name + "</td></tr><tr class='windowbg' width='200px'><td class='smalltext' style='line-height: 1.3; padding:3px;' id='" + ID1 + "' width='200px'></td></tr>";
for(x=0;x<Links.length;x++){
if(ID1 == Links[x][0].split(" ").join("")) document.getElementById(ID1).innerHTML += "<a href='" + Links[x][2] + "'>" + Links[x][1] + "</a><br />";
};};}; function open_quickies(){$("#admin_quickies").toggle();};
</script>