list_zones.php
changeset 34 a2826b0ebcff
parent 29 e1c60f72d494
child 36 4ec5ab29f634
equal deleted inserted replaced
33:370e0d7fa3e7 34:a2826b0ebcff
    32 <?
    32 <?
    33 if ($num_all_domains < ROWAMOUNT) {
    33 if ($num_all_domains < ROWAMOUNT) {
    34    $doms = get_domains(0,"all",ROWSTART,ROWAMOUNT);
    34    $doms = get_domains(0,"all",ROWSTART,ROWAMOUNT);
    35 } else {
    35 } else {
    36    $doms = get_domains(0,LETTERSTART,ROWSTART,ROWAMOUNT);
    36    $doms = get_domains(0,LETTERSTART,ROWSTART,ROWAMOUNT);
    37    $num_show_domains = count($doms);
    37    $num_show_domains = ($doms == -1) ? 0 : count($doms);
    38 }
    38 }
    39 
    39 
    40 // If the user doesnt have any domains print a message saying so
    40 // If the user doesnt have any domains print a message saying so
    41 if ($doms < 0)
    41 if ($doms < 0)
    42 {
    42 {