list_zones.php
changeset 130 0206bf615244
parent 126 cb06e3e29ed8
child 136 c795dd75a77e
equal deleted inserted replaced
129:92de73876d6e 130:0206bf615244
    59 	echo "       <th>" . _('Records') . "</th>\n";
    59 	echo "       <th>" . _('Records') . "</th>\n";
    60 	echo "       <th>" . _('Owner') . "</th>\n";
    60 	echo "       <th>" . _('Owner') . "</th>\n";
    61 	echo "      </tr>\n";
    61 	echo "      </tr>\n";
    62 	echo "      <tr>\n";
    62 	echo "      <tr>\n";
    63 
    63 
    64 	if ($count_zones_view < ROWAMOUNT) {
    64 	if ($count_zones_view <= ROWAMOUNT) {
    65 		$zones = get_zones($perm_view,$_SESSION['userid'],"all",ROWSTART,ROWAMOUNT);
    65 		$zones = get_zones($perm_view,$_SESSION['userid'],"all",ROWSTART,ROWAMOUNT);
    66 	} else {
    66 	} else {
    67 		$zones = get_zones($perm_view,$_SESSION['userid'],LETTERSTART,ROWSTART,ROWAMOUNT);
    67 		$zones = get_zones($perm_view,$_SESSION['userid'],LETTERSTART,ROWSTART,ROWAMOUNT);
    68 		$count_zones_shown = ($zones == -1) ? 0 : count($zones);
    68 		$count_zones_shown = ($zones == -1) ? 0 : count($zones);
    69 	}
    69 	}