1
|
1 |
<?php |
|
2 |
session_start(); |
6
|
3 |
require_once("inc/i18n.inc.php"); |
1
|
4 |
require_once("inc/toolkit.inc.php"); |
|
5 |
include_once("inc/header.inc.php"); |
|
6 |
?> |
13
|
7 |
<h3><? echo _('Welcome'); ?>, <? echo $_SESSION["name"] ?></h3> |
|
8 |
<ul> |
|
9 |
<li><a href="search.php"><? echo _('Search zones or records'); ?></a></li> |
|
10 |
<li><a href="list_zones.php"><? echo _('List all zones'); ?></a></li> |
|
11 |
<? |
|
12 |
if (level(5)) |
|
13 |
{ |
|
14 |
?> |
|
15 |
<li><a href="list_supermasters.php"><? echo _('List all supermasters'); ?></a></li> |
|
16 |
<li><a href="add_zone_master.php"><? echo _('Add master zone'); ?></a></li> |
|
17 |
<li><a href="add_zone_slave.php"><? echo _('Add slave zone'); ?></a></li> |
|
18 |
<li><a href="add_supermaster.php"><? echo _('Add supermaster'); ?></a></li> |
|
19 |
<? |
|
20 |
} |
|
21 |
?> |
|
22 |
<li><a href="change_password.php"><? echo _('Change password'); ?></a></li> |
1
|
23 |
<? |
|
24 |
if (level(10)) |
|
25 |
{ |
|
26 |
?> |
13
|
27 |
<li><a href="users.php"><? echo _('User administration'); ?></a></li> |
1
|
28 |
<? |
|
29 |
} |
|
30 |
?> |
13
|
31 |
<li><a href="index.php?logout"><? echo _('Logout'); ?></a></li> |
|
32 |
</ul> |
1
|
33 |
|
|
34 |
<? |
|
35 |
include_once("inc/footer.inc.php"); |
|
36 |
?> |