<?php

/*---------------------------------------------
  MAIAN EVENTS v2.0
  Written by David Ian Bennett
  E-Mail: support@maianscriptworld.co.uk
  Website: www.maianscriptworld.co.uk
  This File: Administration Header
----------------------------------------------*/

if (!defined('PARENT')) {
  exit;
} 

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php echo $charset; ?>" />
<title><?php echo $script.' '.$script2.' '.$header.' - '.$pageTitle; ?></title>
<script type="text/javascript">
    var GB_ROOT_DIR = "<?php echo $SETTINGS->folder; ?>/admin/greybox/";
</script>
<script type="text/javascript" src="greybox/AJS.js"></script>
<script type="text/javascript" src="greybox/gb_scripts.js"></script>
<script type="text/javascript" src="js/js_code.js"></script>
<script type="text/javascript" src="js/overlib.js"><!-- overLIB (c) Erik Bosrup --></script>
<script type="text/javascript" src="js/calendar.js.php"></script>
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" />
<link href="greybox/gb_styles.css" rel="stylesheet" type="text/css" />
<link href="css/calendar.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<div id="wrapper">
	<div id="header">
		<div id="menu">
			<ul>
			  <?php
        if ($cmd!='login')
        {
        ?>
				<li<?php echo ($cmd=='home' ? ' class="active"' : ''); ?>><a href="index.php" title="<?php echo $header3; ?>"><?php echo $header3; ?></a></li>
				<li<?php echo ($cmd=='settings' ? ' class="active"' : ''); ?>><a href="index.php?cmd=settings" title="<?php echo $header4; ?>"><?php echo $header4; ?></a></li>
				<li><a href="javascript:toggle_box('event_menu')" title="<?php echo $header2; ?>"><?php echo $header2; ?></a></li>
				<li<?php echo ($cmd=='logout' ? ' class="active"' : ''); ?>><a href="index.php?cmd=logout" title="<?php echo $header5; ?>"><?php echo $header5; ?></a></li>
				<?php
        }
				?>
			</ul>
		</div>
		<!-- end div#menu -->
	</div>
	<!-- end div#header -->
	<div id="page">
		<div id="content">
		<div id="event_menu" style="display:none">
		<table width="100%" cellspacing="0" cellpadding="0">
    <tr>
      <td class="eventMenuCell1"><a href="index.php?cmd=add" title="<?php echo $header6; ?>"><?php echo $header6; ?></a></td>
      <td class="eventMenuCell2"><a href="index.php?cmd=manage" title="<?php echo $header7; ?>"><?php echo $header7; ?></a></td>
      <td class="eventMenuCell3"><a href="index.php?cmd=comments" title="<?php echo $header8; ?>"><?php echo $header8; ?></a></td>
      <td class="eventMenuCell4"><a href="index.php?cmd=search" title="<?php echo $header9; ?>"><?php echo $header9; ?></a></td>
    </tr>
    </table>
	  </div>
		<table width="100%" cellspacing="0" cellpadding="0">
    <!-- LOAD TEMPLATE -->
