<?php
include("_confirm.php");
global $pageInfo, $userInfo;
?>
<html>
<head>
<title><?php echo $pageInfo['sitename']; ?> - <?php echo $pageInfo['title']; ?></title>
<link rel="stylesheet" type="text/css" href="templates/<?php echo MAIN_THEME; ?>/style.css">
<script type="text/javascript" language="JavaScript">
var templateDir = "templates/<?php echo MAIN_THEME; ?>";
</script>
<script type="text/javascript" language="JavaScript" src="templates/<?php echo MAIN_THEME; ?>/scripts/bbcode.js"></script>
</head>
<body>
<div align="center"><table cellspacing="5" class="mn">
 <tr>
  <td><a href="<?php echo $userInfo['xBackUrl']; ?>"><img border="0" src="<?php echo MAIN_LOGO; ?>" alt="<?php echo $pageInfo['sitename']; ?> Banner"></a></td>
 </tr>
 <tr>
  <td>
   <table cellspacing="1" cellpadding="4" class="nav">
    <tr>
     <td width="76%" class="alt1"><?php echo $pageInfo['homelink']; ?></td>
     <td width="24%" align="center" class="alt1">
      <form method="GET" action="search.php" style="display: inline">
       <input type="text" name="query" size="12" style="font-size: 10px">
       <input type="submit" value="Search" style="font-size: 10px">
      </form>
     </td>
    </tr>
    <tr>
     <td colspan="2" class="alt2">
      <table class="navlinks">
       <tr>
        <td align="center"><a href="index.php">Home</a></td>

        <td align="center"><a href="search.php">Search</a></td>
        <td align="center"><a href="members.php">Members List</a></td>
<?php if ($userInfo['title']=='Administrator') { ?>
        <td align="center"><a href="../admin/">Back to Dashboard</a></td>
<?php }
else
{
 ?>
  
<?php } ?>
      </table>
     </td>
    </tr>
   </table>
  </td>
 </tr>
 <tr>
  <td>