index.php
changeset 71 e1b918eaf69a
parent 50 ed18c8317cff
child 79 0c0aa144356a
equal deleted inserted replaced
70:47248e2af079 71:e1b918eaf69a
    21 
    21 
    22 session_start();
    22 session_start();
    23 require_once("inc/toolkit.inc.php");
    23 require_once("inc/toolkit.inc.php");
    24 include_once("inc/header.inc.php");
    24 include_once("inc/header.inc.php");
    25 ?>
    25 ?>
    26    <h3><? echo _('Welcome'); ?>, <? echo $_SESSION["name"] ?></h3>
    26    <h3><?php echo _('Welcome'); ?>, <?php echo $_SESSION["name"] ?></h3>
    27    <ul>
    27    <ul>
    28     <li><a href="search.php"><? echo _('Search zones or records'); ?></a></li>
    28     <li><a href="search.php"><?php echo _('Search zones or records'); ?></a></li>
    29     <li><a href="list_zones.php"><? echo _('List all zones'); ?></a></li>
    29     <li><a href="list_zones.php"><?php echo _('List all zones'); ?></a></li>
    30 <?
    30 <?php
    31 if (level(5))
    31 if (level(5))
    32 {
    32 {
    33 ?>
    33 ?>
    34     <li><a href="list_supermasters.php"><? echo _('List all supermasters'); ?></a></li>
    34     <li><a href="list_supermasters.php"><?php echo _('List all supermasters'); ?></a></li>
    35     <li><a href="add_zone_master.php"><? echo _('Add master zone'); ?></a></li>
    35     <li><a href="add_zone_master.php"><?php echo _('Add master zone'); ?></a></li>
    36     <li><a href="add_zone_slave.php"><? echo _('Add slave zone'); ?></a></li>
    36     <li><a href="add_zone_slave.php"><?php echo _('Add slave zone'); ?></a></li>
    37     <li><a href="add_supermaster.php"><? echo _('Add supermaster'); ?></a></li>
    37     <li><a href="add_supermaster.php"><?php echo _('Add supermaster'); ?></a></li>
    38 <?
    38 <?php
    39 }
    39 }
    40 ?>
    40 ?>
    41     <li><a href="change_password.php"><? echo _('Change password'); ?></a></li>
    41     <li><a href="change_password.php"><?php echo _('Change password'); ?></a></li>
    42 <?
    42 <?php
    43 if (level(10))
    43 if (level(10))
    44 {
    44 {
    45 ?>
    45 ?>
    46     <li><a href="users.php"><? echo _('User administration'); ?></a></li>
    46     <li><a href="users.php"><?php echo _('User administration'); ?></a></li>
    47 <?
    47 <?php
    48 }
    48 }
    49 ?>
    49 ?>
    50     <li><a href="index.php?logout"><? echo _('Logout'); ?></a></li>
    50     <li><a href="index.php?logout"><?php echo _('Logout'); ?></a></li>
    51    </ul>
    51    </ul>
    52 
    52 
    53 <?
    53 <?php
    54 include_once("inc/footer.inc.php");
    54 include_once("inc/footer.inc.php");
    55 ?>
    55 ?>