D:\WEBSITES\testbed\cgi-bin\yabb252\Templates\yabb25\AdminCentre.template D:\WEBSITES\testbed\cgi-bin\yabb252\Templates\yabb24\AdminCentre.template
############################################################################### ###############################################################################
# AdminCentre.template                                                        # # AdminCentre.template                                                        #
############################################################################### ###############################################################################
# YaBB: Yet another Bulletin Board                                            # # YaBB: Yet another Bulletin Board                                            #
# Open-Source Community Software for Webmasters                               # # Open-Source Community Software for Webmasters                               #
# Version:        YaBB 2.5.2                                                  # # Version:        YaBB 2.4                                                    #
# Packaged:       July 04, 2010                                               # # Packaged:       April 12, 2009                                              #
# Distributed by: http://www.yabbforum.com                                    # # Distributed by: http://www.yabbforum.com                                    #
# =========================================================================== # # =========================================================================== #
# Copyright (c) 2000-2012 YaBB (www.yabbforum.com) - All Rights Reserved.     # # Copyright (c) 2000-2009 YaBB (www.yabbforum.com) - All Rights Reserved.     #
# Software by:  The YaBB Development Team                                     # # Software by:  The YaBB Development Team                                     #
#               with assistance from the YaBB community.                      # #               with assistance from the YaBB community.                      #
  # Sponsored by: Xnull Internet Media, Inc. - http://www.ximinc.com            #  
  #               Your source for web hosting, web design, and domains.         #  
############################################################################### ###############################################################################
# $Revision: 1.8.2.1 $ # $Revision: 1.8 $
   
$header = qq~<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?> $header = qq~<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <head>
<title>{yabb title}</title> <title>{yabb title}</title>
<meta http-equiv="Content-Type" content="text/html; charset={yabb charset}" /> <meta http-equiv="Content-Type" content="text/html; charset={yabb charset}" />
<meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="pragma" content="no-cache" />
{yabb style} {yabb style}
<script language="JavaScript" type="text/javascript"> <script language="JavaScript" type="text/javascript">
<!-- <!--
   function toggleList(e){    function toggleList(e){
       element = document.getElementById(e).style;        element = document.getElementById(e).style;
   
       if (element.display == "") {        if (element.display == "") {
           element.display = "none"            element.display = "none"
           setcookie("admin_center" + e, "1", new Date().getTime() + 525600 * 60007);            setcookie("admin_center" + e, "1", new Date().getTime() + 525600 * 60007);
       } else {        } else {
           element.display = ""            element.display = ""
           setcookie("admin_center" + e, "0", new Date());            setcookie("admin_center" + e, "0", new Date());
       }        }
   }    }
   
   function setcookie(name, value, expire){    function setcookie(name, value, expire){
       var theDate = new Date();        var theDate = new Date();
       theDate.setTime(expire);        theDate.setTime(expire);
   
       if (expire) {        if (expire) {
           document.cookie = name + "=" + escape(value) + "; expires=" + theDate.toGMTString();            document.cookie = name + "=" + escape(value) + "; expires=" + theDate.toGMTString();
       } else {        } else {
           document.cookie = name + "=" + escape(value);            document.cookie = name + "=" + escape(value);
       }        }
   }    }
   
   function getcookie(name){    function getcookie(name){
       var cookies = document.cookie.split(/[;][ ]?/), temp;        var cookies = document.cookie.split(/[;][ ]?/), temp;
   
       for(var i = 0; i < cookies.length; i++)        for(var i = 0; i < cookies.length; i++)
       {        {
           temp = cookies[i].split("=");            temp = cookies[i].split("=");
           if (temp[0] == name)            if (temp[0] == name)
               return temp[1];                return temp[1];
       }        }
       return;        return;
   }    }
   
   function AdminCheck(){    function AdminCheck(){
       var bars = ["a1", "a2", "a3", "a4", "a5", "a6", "a7", "a8", "a9"];        var bars = ["a1", "a2", "a3", "a4", "a5", "a6", "a7", "a8", "a9"];
   
       for(var i = 0; i < bars.length; i++)        for(var i = 0; i < bars.length; i++)
       {        {
           if (getcookie("admin_center" + bars[i]) == "1")            if (getcookie("admin_center" + bars[i]) == "1")
               toggleList(bars[i]);                toggleList(bars[i]);
       }        }
   }    }
   {yabb javascript}    {yabb javascript}
--> -->
</script> </script>
</head> </head>
~; ~;
   
$leftmenutop = qq~ $leftmenutop = qq~
<body> <body>
<img src="{yabb images}/adminlogo.gif" id="adminlogo" alt="Yet Another Bulletin Board"/> <img src="{yabb images}/adminlogo.gif" id="adminlogo" alt="Yet Another Bulletin Board"/>
   
<div id="menu"> <div id="menu">
{yabb maintenance} {yabb maintenance}
~; ~;
   
$leftmenubottom = qq~ $leftmenubottom = qq~
</div> </div>
<script language="JavaScript" type="text/javascript"><!-- <script language="JavaScript" type="text/javascript"><!--
   setTimeout("AdminCheck()", 80);    setTimeout("AdminCheck()", 80);
// --> // -->
</script> </script>
~; ~;
   
$topnav = qq~ $topnav = qq~
<div id="ql"> <div id="ql">
<table> <table>
   <tr>    <tr>
       <td width="190">&nbsp;</td>        <td width="190">&nbsp;</td>
       <td align="center">{yabb topmenu_one}</td>        <td align="center">{yabb topmenu_one}</td>
       <td>&nbsp;|&nbsp;</td>        <td>&nbsp;|&nbsp;</td>
       <td align="center">{yabb topmenu_two}</td>        <td align="center">{yabb topmenu_two}</td>
       <td align="center">&nbsp;|&nbsp;</td>        <td align="center">&nbsp;|&nbsp;</td>
       <td align="center">{yabb topmenu_tree}</td>        <td align="center">{yabb topmenu_tree}</td>
       <td>&nbsp;|&nbsp;</td>        <td>&nbsp;|&nbsp;</td>
       <td align="center">{yabb topmenu_four}</td>        <td align="center">{yabb topmenu_four}</td>
   </tr>    </tr>
</table> </table>
</div> </div>
~; ~;
   
$mainbody = qq~ $mainbody = qq~
<div id="content"> <div id="content">
{yabb main} {yabb main}
<br /> <br />
<br /> <br />
<div align="center">{yabb_admin debug}</div> <div align="center">{yabb_admin debug}</div>
<br /> <br />
<br /> <br />
</div> </div>
</body> </body>
</html> </html>
~; ~;