diff -r a73ac0ba0401 -r e1c60f72d494 list_zones.php --- a/list_zones.php Mon Jun 25 22:37:06 2007 +0000 +++ b/list_zones.php Wed Jun 27 20:45:51 2007 +0000 @@ -3,21 +3,20 @@ require_once("inc/toolkit.inc.php"); include_once("inc/header.inc.php"); -$all_doms = get_domains(0); -$num_all_domains = ($all_doms == -1) ? 0 : count($all_doms); -$doms = get_domains(0,LETTERSTART); +$num_all_domains = zone_count(0); +$doms = zone_count(0, LETTERSTART); ?>

"; - show_pages(count($doms),ROWAMOUNT); - echo ""; + echo "
"; + show_pages($doms,ROWAMOUNT); + echo "
"; -if ($num_all_domains > ROWAMOUNT) +if ($num_all_domains > ROWAMOUNT) { - echo "
"; - show_letters(LETTERSTART,$all_doms); - echo "
"; + echo "
"; + show_letters(LETTERSTART); + echo "
"; } ?>