index.php
author peter
Wed, 12 Mar 2008 20:45:56 +0000
changeset 81 c72d6d51f3d3
parent 79 0c0aa144356a
child 82 c255196bc447
permissions -rw-r--r--
[feladat @ 159] Bugfix for ticket:16: A minor glitch in the query caused partially owned records not to be shown.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     1
<?php
47
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
     2
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
     3
/*  PowerAdmin, a friendly web-based admin tool for PowerDNS.
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
     4
 *  See <https://rejo.zenger.nl/poweradmin> for more details.
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
     5
 *
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
     6
 *  Copyright 2007, 2008  Rejo Zenger <rejo@zenger.nl>
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
     7
 *
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
     8
 *  This program is free software: you can redistribute it and/or modify
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
     9
 *  it under the terms of the GNU General Public License as published by
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    10
 *  the Free Software Foundation, either version 3 of the License, or
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    11
 *  (at your option) any later version.
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    12
 *
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    13
 *  This program is distributed in the hope that it will be useful,
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    14
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    15
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    16
 *  GNU General Public License for more details.
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    17
 *
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    18
 *  You should have received a copy of the GNU General Public License
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    19
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    20
 */
ae140472d97c [feladat @ 94]
rejo
parents: 13
diff changeset
    21
79
0c0aa144356a [feladat @ 156]
peter
parents: 71
diff changeset
    22
//session_start();
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    23
require_once("inc/toolkit.inc.php");
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    24
include_once("inc/header.inc.php");
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    25
?>
71
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    26
   <h3><?php echo _('Welcome'); ?>, <?php echo $_SESSION["name"] ?></h3>
13
2ff220cfde13 [feladat @ 60]
rejo
parents: 8
diff changeset
    27
   <ul>
71
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    28
    <li><a href="search.php"><?php echo _('Search zones or records'); ?></a></li>
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    29
    <li><a href="list_zones.php"><?php echo _('List all zones'); ?></a></li>
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    30
<?php
13
2ff220cfde13 [feladat @ 60]
rejo
parents: 8
diff changeset
    31
if (level(5))
2ff220cfde13 [feladat @ 60]
rejo
parents: 8
diff changeset
    32
{
2ff220cfde13 [feladat @ 60]
rejo
parents: 8
diff changeset
    33
?>
71
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    34
    <li><a href="list_supermasters.php"><?php echo _('List all supermasters'); ?></a></li>
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    35
    <li><a href="add_zone_master.php"><?php echo _('Add master zone'); ?></a></li>
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    36
    <li><a href="add_zone_slave.php"><?php echo _('Add slave zone'); ?></a></li>
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    37
    <li><a href="add_supermaster.php"><?php echo _('Add supermaster'); ?></a></li>
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    38
<?php
13
2ff220cfde13 [feladat @ 60]
rejo
parents: 8
diff changeset
    39
}
2ff220cfde13 [feladat @ 60]
rejo
parents: 8
diff changeset
    40
?>
71
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    41
    <li><a href="change_password.php"><?php echo _('Change password'); ?></a></li>
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    42
<?php
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    43
if (level(10))
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    44
{
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    45
?>
71
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    46
    <li><a href="users.php"><?php echo _('User administration'); ?></a></li>
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    47
<?php
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    48
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    49
?>
71
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    50
    <li><a href="index.php?logout"><?php echo _('Logout'); ?></a></li>
13
2ff220cfde13 [feladat @ 60]
rejo
parents: 8
diff changeset
    51
   </ul>
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    52
71
e1b918eaf69a [feladat @ 118]
peter
parents: 50
diff changeset
    53
<?php
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    54
include_once("inc/footer.inc.php");
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    55
?>