Location: PHPKode > projects > Maian Gallery > maian_gallery/admin/inc/header.php
<?php

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  Script: Maian Gallery v2.0
  Written by: David Ian Bennett
  E-Mail: hide@address.com
  Website: http://www.maianscriptworld.co.uk

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  
  This File: header.php
  Description: Admin Header

  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

// Make sure that this file is being called from parent file
if (!defined('INCLUDE_FILES')) {
  accessDenied($msg_script18,$msg_script19);
  exit;
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php echo $msg_charset; ?>">
<title><?php echo $msg_script.' '.$msg_script2.' - '.$msg_adminmenu11.' - '.$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>
<link href="css/css.css" rel="stylesheet" type="text/css">
<link href="greybox/gb_styles.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/overlib.js"><!-- overLIB (c) Erik Bosrup --></script>
<script type="text/javascript" src="js/js_code.js"></script>
</head>

<body<?php echo ($cmd=='login' ? ' onload="document.form.user.focus()"' : ''); ?>>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<a name="top"></a>
<div align="center">
<table width="760" border="0" cellpadding="0" cellspacing="0">
<tr>
    <td>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
    <tr>
        <td align="center" valign="top" colspan="2"><img src="images/logo.gif" alt="<?php echo $msg_script." ".$msg_script2." - ".$msg_adminmenu11; ?>" title="<?php echo $msg_script." ".$msg_script2." - ".$msg_adminmenu11; ?>"></td>
    </tr>
    </table>
    </td>
</tr>
</table>
<table width="760" border="0" cellpadding="0" cellspacing="0" class="mainTable">
<tr>
    <td class="nav_menu">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td <?php echo ($cmd=='login' ? 'align="right"' : 'align="left" width="65%"'); ?>>
    <?php

    if ($cmd!='login')
    {
      echo '<a href="index.php" title="'.$msg_adminmenu8.'"><b>'.$msg_adminmenu8.'</b></a> - <a href="http://www.maianscriptworld.co.uk/support-forum.html" target="_blank" title="'.$msg_adminmenu9.'"><b>'.$msg_adminmenu9.'</b></a>';
    }
    else
    {
      echo '[ <b>'.$msg_adminlogin.'</b> ]';
    }
    
    if ($cmd!='login')
    {
    ?>
    </td>
    <td align="right" width="35%" style="<?php echo ($cmd=='login' ? 'border-bottom:1px solid #FFFFFF;' : ''); ?>">
    <?php
    }
    if ($cmd!='login')
    {
    ?>
    <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border: 1px solid #FFFFFF">
    <tr>
       <td align="center" style="padding:3px;background-color:#083253">
    <?php
    echo '<b>'.$msg_adminmenu10.'</b>: ';
    ?>
    <select onChange="if(this.value!= 0){location=this.options[this.selectedIndex].value}">
    <option value="0">&nbsp;</option>
    <option style="padding-left:3px" value="index.php?cmd=settings"<?php echo ($cmd=='settings' ? ' selected' : ''); ?>><?php echo $msg_adminmenu3; ?></option>
    <option style="padding-left:3px" value="index.php?cmd=cats"<?php echo ($cmd=='cats' ? ' selected' : ''); ?>><?php echo $msg_adminmenu4; ?></option>
    <option style="padding-left:3px" value="index.php?cmd=add_images"<?php echo ($cmd=='add_images' ? ' selected' : ''); ?>><?php echo $msg_adminmenu6; ?></option>
    <option style="padding-left:3px" value="index.php?cmd=manage"<?php echo ($cmd=='manage' ? ' selected' : ''); ?>><?php echo $msg_adminmenu7; ?></option>
    <option style="padding-left:3px" value="index.php?cmd=search"<?php echo ($cmd=='search' ? ' selected' : ''); ?>><?php echo $msg_adminmenu5; ?></option>
    <option value="0">&nbsp;</option>
    <option style="padding-left:3px" value="index.php?cmd=comments"<?php echo ($cmd=='comments' ? ' selected' : ''); ?>><?php echo $msg_adminmenu14; ?></option>
    <option style="padding-left:3px" value="index.php?cmd=ban"<?php echo ($cmd=='ban' ? ' selected' : ''); ?>><?php echo $msg_adminmenu16; ?></option>
    <option style="padding-left:3px" value="index.php?cmd=emails"<?php echo ($cmd=='emails' ? ' selected' : ''); ?>><?php echo $msg_adminmenu17; ?></option>
    <option value="0">&nbsp;</option>
    <option style="padding-left:3px" value="index.php?cmd=sales"<?php echo ($cmd=='sales' ? ' selected' : ''); ?>><?php echo $msg_adminmenu12; ?></option>
    <option style="padding-left:3px" value="index.php?cmd=searchsales"<?php echo ($cmd=='searchsales' ? ' selected' : ''); ?>><?php echo $msg_adminmenu18; ?></option>
    <option style="padding-left:3px" value="index.php?cmd=selling_options"<?php echo ($cmd=='selling_options' ? ' selected' : ''); ?>><?php echo $msg_adminmenu15; ?></option>
    <option value="0">&nbsp;</option>
    <option style="padding-left:3px" value="index.php?cmd=logout"><?php echo $msg_adminmenu13; ?></option>
    <option value="0">&nbsp;</option>
    </select></td>
    </tr>
    </table>
    <?php
    }
    else
    {
    ?>
    &nbsp;
    <?php
    }
    ?>
    </td>
    </tr>
    </table>
    </td>
</tr>
<tr>
    <td align="center" valign="top" style="border-top:1px solid #FFFFFF;padding:5px">
    <!-- LOAD TEMPLATE -->
Return current item: Maian Gallery