diff --git a/client_certificates.php b/client_certificates.php index 51adf31d..e3bdec79 100644 --- a/client_certificates.php +++ b/client_certificates.php @@ -78,7 +78,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- +
Name @@ -104,6 +104,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
+
diff --git a/client_domains.php b/client_domains.php index c6a027cf..c86f16c4 100644 --- a/client_domains.php +++ b/client_domains.php @@ -52,88 +52,116 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
+
+
- - "> - - - - - - - - - - + - $sql_domain_webhost = mysqli_query($mysqli, "SELECT vendor_name FROM vendors WHERE vendor_id = $domain_webhost"); - $row = mysqli_fetch_array($sql_domain_webhost); - $domain_webhost_name = "-"; - if ($row) { - $domain_webhost_name = nullable_htmlentities($row['vendor_name']); - } - - ?> +
DomainRegistrarWeb HostExpiresAction
+ "> - - - - - + + + + + - + + - -
)" data-target="#editDomainModal"> - +
+
DomainRegistrarWeb HostExpiresAction
+ while ($row = mysqli_fetch_array($sql)) { + $domain_id = intval($row['domain_id']); + $domain_name = nullable_htmlentities($row['domain_name']); + $domain_registrar = intval($row['domain_registrar']); + $domain_webhost = intval($row['domain_webhost']); + $domain_expire = nullable_htmlentities($row['domain_expire']); + $domain_registrar_name = nullable_htmlentities($row['vendor_name']); + $domain_created_at = nullable_htmlentities($row['domain_created_at']); + if (empty($domain_registrar_name)) { + $domain_registrar_name = "-"; + } + + $sql_domain_webhost = mysqli_query($mysqli, "SELECT vendor_name FROM vendors WHERE vendor_id = $domain_webhost"); + $row = mysqli_fetch_array($sql_domain_webhost); + $domain_webhost_name = "-"; + if ($row) { + $domain_webhost_name = nullable_htmlentities($row['vendor_name']); + } + + ?> + + +
+ + +
+ + )" data-target="#editDomainModal"> + + + + + + + + + + + + + +
+ ?> - -require_once "footer.php"; + + + + -
-
-

Networks

-
-
- - - @@ -79,7 +79,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- +
Client