inc/header.inc.php
changeset 13 2ff220cfde13
parent 4 55ed92aa7cf5
child 47 ae140472d97c
equal deleted inserted replaced
12:7be4525290cc 13:2ff220cfde13
     1 <?
     1 <?
     2 
     2 global $STYLE;
     3 // +--------------------------------------------------------------------+
       
     4 // | PowerAdmin                                                         |
       
     5 // +--------------------------------------------------------------------+
       
     6 // | Copyright (c) 1997-2002 The PowerAdmin Team                        |
       
     7 // +--------------------------------------------------------------------+
       
     8 // | This source file is subject to the license carried by the overal   |
       
     9 // | program PowerAdmin as found on http://poweradmin.sf.net            |
       
    10 // | The PowerAdmin program falls under the QPL License:                |
       
    11 // | http://www.trolltech.com/developer/licensing/qpl.html              |
       
    12 // +--------------------------------------------------------------------+
       
    13 // | Authors: Roeland Nieuwenhuis <trancer <AT> trancer <DOT> nl>       |
       
    14 // |          Sjeemz <sjeemz <AT> sjeemz <DOT> nl>                      |
       
    15 // +--------------------------------------------------------------------+
       
    16 
       
    17 // Filename: error.inc.php
       
    18 // Startdate: 25-11-2002
       
    19 // Description: simple header defining the page looks.
       
    20 //
       
    21 // $Id: header.inc.php,v 1.4 2003/02/05 23:23:53 azurazu Exp $
       
    22 //
       
    23 
       
    24 ?>
     3 ?>
    25 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
     4 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    26 <HTML>
     5 <html>
    27 <HEAD>
     6  <head>
    28 <TITLE><? echo _('PowerAdmin'); ?></TITLE>
     7   <title><? echo _('Poweradmin'); ?></title>
    29 <LINK REL=StyleSheet HREF="style/style.css.php" TYPE="text/css">
     8   <link rel=stylesheet href="style/<? echo $STYLE; ?>.inc.php" type="text/css">
    30 </HEAD>
     9  </head>
    31 <BODY>
    10  <body>
       
    11 <?
       
    12 if(file_exists('inc/custom_header.inc.php')) 
       
    13 {
       
    14 	include('inc/custom_header.inc.php');
       
    15 }
       
    16 ?>
       
    17   <h1><? echo _('Poweradmin'); ?></h1> 
       
    18 <?
       
    19 if (isset($_SESSION["userid"]))
       
    20 {
       
    21 ?>
       
    22   
       
    23 	  <div class="menu">
       
    24 	   <span class="menuitem"><a href="index.php"><? echo _('Index'); ?></a></span>
       
    25 	   <span class="menuitem"><a href="search.php"><? echo _('Search zones or records'); ?></a></span>
       
    26 	   <span class="menuitem"><a href="list_zones.php"><? echo _('List all zones'); ?></a></span>
       
    27 	<?
       
    28 	if (level(5))
       
    29 	{
       
    30 	?>
       
    31 	   <span class="menuitem"><a href="list_supermasters.php"><? echo _('List all supermasters'); ?></a></span>
       
    32 	   <span class="menuitem"><a href="add_zone_master.php"><? echo _('Add master zone'); ?></a></span>
       
    33 	   <span class="menuitem"><a href="add_zone_slave.php"><? echo _('Add slave zone'); ?></a></span>
       
    34 	   <span class="menuitem"><a href="add_supermaster.php"><? echo _('Add supermaster'); ?></a></span>
       
    35 	<?
       
    36 	}
       
    37 	?>
       
    38 	   <span class="menuitem"><a href="change_password.php"><? echo _('Change password'); ?></a></span>
       
    39 	<?
       
    40 	if (level(10))
       
    41 	{
       
    42 	?>
       
    43 	   <span class="menuitem"><a href="users.php"><? echo _('User administration'); ?></a></span>
       
    44 	<?
       
    45 	}
       
    46 	?>
       
    47 	   <span class="menuitem"><a href="index.php?logout"><? echo _('Logout'); ?></a></span>
       
    48 
       
    49 	  </div> <!-- /menu -->
       
    50 <?
       
    51 }
       
    52 ?>
       
    53   <div class="content">
       
    54 
       
    55   
       
    56