} elseif ($count_zones_view > $iface_rowamount && $count_zones_all_letterstart == "0" || $count_zones_view == 0) {
    if ($count_zones_view > $iface_rowamount) {
        echo "<div class=\"showmax\">";
        show_letters(LETTERSTART);
        echo "</div>";
    }
    echo "     <p>" . _('There are no zones to show in this listing.') . "</p>\n";
} else {
    if (LETTERSTART != 'all') {
        echo "     <div class=\"showmax\">\n";
        show_pages($count_zones_all_letterstart, $iface_rowamount);
        echo "     </div>\n";
    }
    if ($count_zones_view > $iface_rowamount) {
        echo "<div class=\"showmax\">";
        show_letters(LETTERSTART);
        echo "</div>";
    }
    echo "     <form method=\"post\" action=\"delete_domains.php\">\n";
    echo "     <table>\n";
    echo "      <tr>\n";
    echo "       <th>&nbsp;</th>\n";
    echo "       <th>&nbsp;</th>\n";
    echo "       <th><a href=\"list_zones.php?zone_sort_by=name\">" . _('Name') . "</a></th>\n";
    echo "       <th><a href=\"list_zones.php?zone_sort_by=type\">" . _('Type') . "</a></th>\n";
    echo "       <th><a href=\"list_zones.php?zone_sort_by=count_records\">" . _('Records') . "</a></th>\n";
    echo "       <th>" . _('Owner') . "</th>\n";
    if ($iface_zonelist_serial) {
        echo "       <th>" . _('Serial') . "</th>\n";
    }
    echo "      </tr>\n";
Ejemplo n.º 2
0
  <?php 
    # Put the rows for showing Edit Profile
    if ($this_page == 'xmec' || $this_page == 'poll') {
        show_profile();
    }
    ?>
 <?php 
    # Put the rows for showing Edit Password
    if ($this_page == 'xmec' || $this_page == 'profile' || $this_page == 'letters') {
        show_password();
    }
    ?>
 <?php 
    # Put the rows for showing Letters
    if ($this_page == 'groups' || $this_page == 'profile' || $this_page == 'college' || $this_page == 'login' || $this_page == 'gallery') {
        show_letters();
    }
    ?>
 <?php 
    # Put the rows for showing Downloads
    if ($this_page == 'xnews' || $this_page == 'letters' || $this_page == 'college' || $this_page == 'contact') {
        show_downloads();
    }
    ?>
 <?php 
    # Put the rows for showing Preferences
    if ($this_page == 'profile' || $this_page == 'calendar' || $this_page == 'groups') {
        show_preferences();
    }
    ?>
 <?php 
Ejemplo n.º 3
0
} elseif ($count_zones_view > $iface_rowamount && $count_zones_all_letterstart == "0" || $count_zones_view == 0) {
    if ($count_zones_view > $iface_rowamount) {
        echo "<div class=\"showmax\">";
        show_letters(LETTERSTART, $_SESSION["userid"]);
        echo "</div>";
    }
    echo "     <p>" . _('There are no zones to show in this listing.') . "</p>\n";
} else {
    if (LETTERSTART != 'all') {
        echo "     <div class=\"showmax\">\n";
        show_pages($count_zones_all_letterstart, $iface_rowamount);
        echo "     </div>\n";
    }
    if ($count_zones_view > $iface_rowamount) {
        echo "<div class=\"showmax\">";
        show_letters(LETTERSTART, $_SESSION["userid"]);
        echo "</div>";
    }
    echo "     <form method=\"post\" action=\"delete_domains.php\">\n";
    echo "     <table>\n";
    echo "      <tr>\n";
    echo "       <th>&nbsp;</th>\n";
    echo "       <th>&nbsp;</th>\n";
    echo "       <th><a href=\"list_zones.php?zone_sort_by=name\">" . _('Name') . "</a></th>\n";
    echo "       <th><a href=\"list_zones.php?zone_sort_by=type\">" . _('Type') . "</a></th>\n";
    echo "       <th><a href=\"list_zones.php?zone_sort_by=count_records\">" . _('Records') . "</a></th>\n";
    echo "       <th><a href=\"list_zones.php?zone_sort_by=owner\">" . _('Owner') . "</a></th>\n";
    if ($iface_zonelist_serial) {
        echo "       <th>" . _('Serial') . "</th>\n";
    }
    if ($pdnssec_use) {