<?php
if (!defined('WEB_ROOT')) {
	exit;
}

$self = WEB_ROOT . 'admin/index.php';
?>
<html>
<head>
<title><?php echo $pageTitle; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="<?php echo WEB_ROOT;?>admin/include/admin.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript" src="<?php echo WEB_ROOT;?>admin/library/table-effect.js"></script>
<?php
$n = count($script);
for ($i = 0; $i < $n; $i++) {
	if ($script[$i] != '') {
		echo '<script language="JavaScript" type="text/javascript" src="' . WEB_ROOT. 'admin/library/' . $script[$i]. '"></script>';
	}
}
?>
<style type="text/css">

#dropmenudiv{
position:absolute;
background-color: #F2F2F2;
border:1px solid black;
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
}

#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
}

#dropmenudiv a:hover{ /*hover background color*/
background-color: #71A5E1;
}

/* Sample CSS definition for the example list. Remove if desired */
.navlist li {
list-style-type: square;
width: 100px;
background-color: #71A5E1;
}


</style>
</head>
<body>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="636" valign="top" id="mainCenterBg"><table width="970" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="200" align="center" valign="middle"><table width="650" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="156" align="center" valign="middle" id="companyLogo">&nbsp;</td>
          </tr>
        </table></td>
        </tr>
      <tr>
        <td><table width="970" border="0" align="center" cellpadding="0" cellspacing="0">
         
          <tr>
            <td width="160" align="left" valign="top"><table width="150" border="0" align="center" cellpadding="0" cellspacing="0">
                                </table>
                <table width="160" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="32" class="heading" id="navHeader" style="padding-left:15px">
                    	<strong>Admin Menu</strong>                    </td>
                  </tr>
                  <tr>
                    <td align="center" valign="top" id="navBg"><table width="158" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td height="10"></td>
                      </tr>
                      <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="26"><a href="<?php echo WEB_ROOT; ?>admin/" class="leftnav">&nbsp;  &nbsp; Home </a> </td>
                      </tr>
                       <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="26"><a href="<?php echo WEB_ROOT; ?>admin/modHome/" class="leftnav">&nbsp;  &nbsp; Home Text </a> </td>
                      </tr>
                       <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="26" style="margin-left:20px"><a href="<?php echo WEB_ROOT; ?>admin/modProduct/" class="leftnav"> &nbsp; &nbsp; Our Products</a> </td>
                      </tr>
                       <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="26" style="margin-left:20px"><a href="<?php echo WEB_ROOT; ?>admin/ourservices/" class="leftnav"> &nbsp; &nbsp; Our Services </a> </td>
                      </tr>
                        <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="26" style="margin-left:20px"><a href="<?php echo WEB_ROOT; ?>admin/solar_works/" class="leftnav"> &nbsp; &nbsp;Solar Works</a> </td>
                      </tr>
                       <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="26" style="margin-left:20px"><a href="<?php echo WEB_ROOT; ?>admin/whySolar/" class="leftnav"> &nbsp; &nbsp;Why Solar</a> </td>
                      </tr>
                        <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="26" style="margin-left:20px"><a href="<?php echo WEB_ROOT; ?>admin/govrebate/" class="leftnav"> &nbsp; &nbsp;Gov Rebate</a> </td>
                      </tr>
                       <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="26" style="margin-left:20px"><a href="<?php echo WEB_ROOT; ?>admin/Contact/" class="leftnav"> &nbsp; &nbsp;Contact</a> </td>
                      </tr>
                      <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="26" style="margin-left:20px"><a href="<?php echo WEB_ROOT; ?>admin/faq/" class="leftnav"> &nbsp; &nbsp;Faq</a> </td>
                      </tr>
                        <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="26" style="margin-left:20px"><a href="<?php echo WEB_ROOT; ?>admin/testimonials/" class="leftnav"> &nbsp; &nbsp;Testimonials</a> </td>
                      </tr>
                        <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="26" style="margin-left:20px"><a href="<?php echo WEB_ROOT; ?>admin/user/" class="leftnav"> &nbsp; &nbsp; User</a> </td>
                      </tr>
                      <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      
                      <tr>
                        <td height="26"><a href="<?php echo $self; ?>?logout" class="leftnav"> &nbsp; &nbsp; Logout</a> </td>
                      </tr>
                      <tr>
                        <td height="2" id="navSeperater"></td>
                      </tr>
                      <tr>
                        <td height="20">&nbsp;</td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td id="navFooter">&nbsp;</td>
                  </tr>
                </table></td>
            <td width="810" valign="top"><table width="779" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="30" id="navTableHeader"><table width="739" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="380" class="heading"><b><? echo $pageTitle; ?></b></td>
                        <td width="379" align="right"><? echo $icon; ?></td>
                      </tr>
                    </table></td>
              </tr>
              <tr>
                <td height="300" align="center" valign="middle" bgcolor="#F1F2F2" class="mainTableBorder"><table width="750" border="0" align="center" cellpadding="0" cellspacing="0">

                    <tr>
                      <td align="center"><?php
require_once $content;	 
?></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        </tr>
      <tr>
        <td>&nbsp;</td>
        </tr>
    </table>
      <p>&nbsp;</p>
<p class="footerText" align="center">
	&copy;  Australian Solar Network<br />
	Site designed and developed by: Alkamay Technologies
 </p>
</td></tr></table>
</body>
</html>
