1
+ − 1
<?
13
+ − 2
global $STYLE ;
1
+ − 3
?>
+ − 4
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
13
+ − 5
< html >
+ − 6
< head >
+ − 7
< title > <? echo _ ( 'Poweradmin' ); ?> </ title >
+ − 8
< link rel = stylesheet href = "style/ <? echo $STYLE ; ?> .inc.php" type = "text/css" >
+ − 9
</ head >
+ − 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