list_zones.php
changeset 163 32d4c63c50c9
parent 143 bef105ffb017
child 171 2a10febd6af9
equal deleted inserted replaced
162:e109f389316c 163:32d4c63c50c9
    57 	echo "       <th>" . _('Name') . "</th>\n";
    57 	echo "       <th>" . _('Name') . "</th>\n";
    58 	echo "       <th>" . _('Type') . "</th>\n";
    58 	echo "       <th>" . _('Type') . "</th>\n";
    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";
       
    63 
    62 
    64 	if ($count_zones_view <= $iface_rowamount) {
    63 	if ($count_zones_view <= $iface_rowamount) {
    65 		$zones = get_zones($perm_view,$_SESSION['userid'],"all",ROWSTART,$iface_rowamount);
    64 		$zones = get_zones($perm_view,$_SESSION['userid'],"all",ROWSTART,$iface_rowamount);
    66 	} else {
    65 	} else {
    67 		$zones = get_zones($perm_view,$_SESSION['userid'],LETTERSTART,ROWSTART,$iface_rowamount);
    66 		$zones = get_zones($perm_view,$_SESSION['userid'],LETTERSTART,ROWSTART,$iface_rowamount);
    83 		echo "          </td>\n";
    82 		echo "          </td>\n";
    84 		echo "          <td class=\"y\">" . $zone["name"] . "</td>\n";
    83 		echo "          <td class=\"y\">" . $zone["name"] . "</td>\n";
    85 		echo "          <td class=\"y\">" . strtolower($zone["type"]) . "</td>\n";
    84 		echo "          <td class=\"y\">" . strtolower($zone["type"]) . "</td>\n";
    86 		echo "          <td class=\"y\">" . $zone["count_records"] . "</td>\n";
    85 		echo "          <td class=\"y\">" . $zone["count_records"] . "</td>\n";
    87 		echo "          <td class=\"y\">" . $zone_owners . "</td>\n";
    86 		echo "          <td class=\"y\">" . $zone_owners . "</td>\n";
       
    87 		echo "           </tr>\n";
    88 	}
    88 	}
    89 	echo "           </tr>\n";
       
    90 	echo "          </table>\n";
    89 	echo "          </table>\n";
    91 
    90 
    92 }
    91 }
    93 
    92 
    94 include_once("inc/footer.inc.php");
    93 include_once("inc/footer.inc.php");