4 // by Mischa Peters <mischa at high5 dot nl>
5 // Copyright (c) 2022 High5!
6 // License Info: LICENSE.TXT
8 // File: list-admin.php
10 // Template File: list-admin.tpl
12 // Template Variables:
16 // POST / GET Variables:
20 require './functions.inc.php';
21 include './languages/' . check_language() . '.lang';
23 $SESSID_USERNAME = check_session();
24 $ROLE = check_role($SESSID_USERNAME);
26 $list_admins = array();
27 $list_domains = array();
29 if ($_SERVER['REQUEST_METHOD'] == "GET") {
30 if ($ROLE == ADMIN_ROLE) {
31 $list_admins = list_admins();
32 $list_domains = list_domains();
35 include './templates/header.tpl';
36 include './templates/menu.tpl';
37 include './templates/list-admin.tpl';
38 include './templates/footer.tpl';