diff -r c72d6d51f3d3 -r c255196bc447 list_supermasters.php --- a/list_supermasters.php Wed Mar 12 20:45:56 2008 +0000 +++ b/list_supermasters.php Tue Mar 25 22:45:31 2008 +0000 @@ -22,60 +22,41 @@ require_once("inc/toolkit.inc.php"); include_once("inc/header.inc.php"); -if (!level(5)) -{ -?> -

-

- +$supermasters = get_supermasters(); -

- - - - - - - - - - - - - - - - -
  - - - -
  - -
- ">" alt="[ ]"> -
-" . _('List all supermasters') . "\n"; +echo " \n"; +echo " \n"; +echo " \n"; +echo " \n"; +echo " \n"; +echo " \n"; +echo " \n"; +if ($num_supermasters == "0") { + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; +} else { + foreach ($supermasters as $c) { + echo " \n"; + if ($perm_sm_edit == "1") { + echo " \n"; + } else { + echo "\n"; + } + echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; + } } +echo "
 " . _('IP address of supermaster') . "" . _('Hostname in NS record') . "" . _('Account') . "
 \n"; + echo " " . _('No supermasters in this listing, sorry.') . "\n"; + echo "
\"[ " . $c['master_ip'] . "" . $c['ns_name'] . "" . $c['account'] . "
\n"; include_once("inc/footer.inc.php"); ?>