<?php
/* PHP Link Directory Copyright 2011 Robert Rook */
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title><?php
echo (isset($page_title)?$page_title." : ":"").$site_title;
?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="AdvanceByDesign">
<link rel="stylesheet" type="text/css" href="adminstyles.css">
<?php
if(isset($header_code)) {
echo $header_code;
}
?>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="750px" align="center">
<tr><td rowspan="2" width="10px" height="100%" class="page_side_l"></td>
<td width="746px" height="91px"><img width="746px" height="91px" alt="Admin Header" border="0" src="imgs/admin_header.jpg"></td>
<td rowspan="2" width="10px" height="100%" class="page_side_r"></td></tr>
<tr><td>
<div class="mainlinks">
<a href="admin.php">Admin Home</a>
<?php
if($userinf['badmin']>=3) {
echo "<a href=\"admin_link.php\">Links management</a>\n";
if($userinf['badmin']>=6) {
echo "<a href=\"admin_cat.php\">Categories</a>\n";
if($userinf['badmin']>=9) {
echo "<a href=\"admin_config.php\">Website Configuration</a>\n";
echo "<a href=\"admin_user.php\">Admin accounts</a>\n";
}
}
}
?>
<a href="logout.php">Log out</a>
</div>
<table border="0" cellpadding="6px" cellspacing="0" width="100%">
<tr><td>