Move All Domains from main side nav to Reports under Overview header
This commit is contained in:
+3
-4
@@ -4,8 +4,7 @@
|
|||||||
$sort = "domain_name";
|
$sort = "domain_name";
|
||||||
$order = "ASC";
|
$order = "ASC";
|
||||||
|
|
||||||
require_once "inc_all.php";
|
require_once "inc_all_reports.php";
|
||||||
|
|
||||||
|
|
||||||
//Rebuild URL
|
//Rebuild URL
|
||||||
$url_query_strings_sort = http_build_query($get_copy);
|
$url_query_strings_sort = http_build_query($get_copy);
|
||||||
@@ -22,8 +21,8 @@ $sql = mysqli_query($mysqli, "SELECT SQL_CALC_FOUND_ROWS domains.*,
|
|||||||
LEFT JOIN vendors AS dnshost ON domains.domain_dnshost = dnshost.vendor_id
|
LEFT JOIN vendors AS dnshost ON domains.domain_dnshost = dnshost.vendor_id
|
||||||
LEFT JOIN vendors AS mailhost ON domains.domain_mailhost = mailhost.vendor_id
|
LEFT JOIN vendors AS mailhost ON domains.domain_mailhost = mailhost.vendor_id
|
||||||
LEFT JOIN vendors AS webhost ON domains.domain_webhost = webhost.vendor_id
|
LEFT JOIN vendors AS webhost ON domains.domain_webhost = webhost.vendor_id
|
||||||
AND domain_archived_at IS NULL
|
WHERE domain_archived_at IS NULL
|
||||||
AND (domain_name LIKE '%$q%' OR domain_description LIKE '%$q%' OR registrar.vendor_name LIKE '%$q%' OR dnshost.vendor_name LIKE '%$q%' OR mailhost.vendor_name LIKE '%$q%' OR webhost.vendor_name LIKE '%$q%' OR client_name LIKE '%$q%')
|
AND (domains.domain_name LIKE '%$q%' OR domain_description LIKE '%$q%' OR registrar.vendor_name LIKE '%$q%' OR dnshost.vendor_name LIKE '%$q%' OR mailhost.vendor_name LIKE '%$q%' OR webhost.vendor_name LIKE '%$q%' OR client_name LIKE '%$q%')
|
||||||
ORDER BY $sort $order LIMIT $record_from, $record_to");
|
ORDER BY $sort $order LIMIT $record_from, $record_to");
|
||||||
|
|
||||||
$num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
$num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ require_once "inc_wrapper.php";
|
|||||||
|
|
||||||
require_once "inc_alert_feedback.php";
|
require_once "inc_alert_feedback.php";
|
||||||
|
|
||||||
|
require_once "pagination_head.php";
|
||||||
|
|
||||||
// Set variable default values
|
// Set variable default values
|
||||||
$largest_income_month = 0;
|
$largest_income_month = 0;
|
||||||
|
|||||||
@@ -111,12 +111,21 @@
|
|||||||
<p>Password rotation</p>
|
<p>Password rotation</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li class="nav-header">OVERVIEWS</li>
|
||||||
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="report_all_assets_by_client.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "report_all_assets_by_client.php") { echo "active"; } ?>">
|
<a href="report_all_assets_by_client.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "report_all_assets_by_client.php") { echo "active"; } ?>">
|
||||||
<i class="nav-icon fas fa-life-ring"></i>
|
<i class="nav-icon fas fa-life-ring"></i>
|
||||||
<p>All Assets</p>
|
<p>All Assets</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="domains.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "domains.php") { echo "active"; } ?>">
|
||||||
|
<i class="nav-icon fas fa-globe"></i>
|
||||||
|
<p>All Domains</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<?php } // End technical reports IF statement ?>
|
<?php } // End technical reports IF statement ?>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
+1
-6
@@ -28,12 +28,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
|
||||||
<a href="domains.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "domains.php") { echo "active"; } ?>">
|
|
||||||
<i class="nav-icon fas fa-globe"></i>
|
|
||||||
<p>All Domains</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<?php if ($session_user_role >= 2 && $config_module_enable_ticketing == 1) { ?>
|
<?php if ($session_user_role >= 2 && $config_module_enable_ticketing == 1) { ?>
|
||||||
<li class="nav-header mt-3">SUPPORT</li>
|
<li class="nav-header mt-3">SUPPORT</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
|
|||||||
Reference in New Issue
Block a user