diff --git a/client_contact_details.php b/client_contact_details.php index d53d7a95..4eaf91da 100644 --- a/client_contact_details.php +++ b/client_contact_details.php @@ -308,6 +308,7 @@ if (isset($_GET['contact_id'])) { $otp_display = " Hover.."; } $login_note = htmlentities($row['login_note']); + $login_important = intval($row['login_important']); $login_contact_id = intval($row['login_contact_id']); $login_vendor_id = intval($row['login_vendor_id']); $login_asset_id = intval($row['login_asset_id']); diff --git a/client_contact_details_modal.php b/client_contact_details_modal.php deleted file mode 100644 index bba28ff4..00000000 --- a/client_contact_details_modal.php +++ /dev/null @@ -1,121 +0,0 @@ - diff --git a/client_domains.php b/client_domains.php index 82c59c3e..054afd26 100644 --- a/client_domains.php +++ b/client_domains.php @@ -65,8 +65,8 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); while ($row = mysqli_fetch_array($sql)) { $domain_id = intval($row['domain_id']); $domain_name = htmlentities($row['domain_name']); - $domain_registrar = htmlentities($row['domain_registrar']); - $domain_webhost = htmlentities($row['domain_webhost']); + $domain_registrar = intval($row['domain_registrar']); + $domain_webhost = intval($row['domain_webhost']); $domain_expire = htmlentities($row['domain_expire']); $domain_registrar_name = htmlentities($row['vendor_name']); if (empty($domain_registrar_name)) { diff --git a/client_logins.php b/client_logins.php index 863ee58d..858a9f61 100644 --- a/client_logins.php +++ b/client_logins.php @@ -1,12 +1,10 @@ $sb, 'o' => $o))); diff --git a/client_software_templates.php b/client_software_templates.php deleted file mode 100644 index f4911d09..00000000 --- a/client_software_templates.php +++ /dev/null @@ -1,122 +0,0 @@ - $sb, 'o' => $o))); - -$sql = mysqli_query($mysqli, "SELECT SQL_CALC_FOUND_ROWS * FROM software - LEFT JOIN logins ON login_software_id = software_id - WHERE software_template = 1 - AND (software_name LIKE '%$q%' OR software_type LIKE '%$q%' OR software_key LIKE '%$q%') - ORDER BY $sb $o LIMIT $record_from, $record_to"); - -$num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); - -?> - -
-
-

Licenses Templates

- - -
- -
-
-
-
- -
- -
-
- -
- -
-
-
- -
-
- -
-
-
-
- - "> - - - - - - - - - - - - - - - - - - - - - -
TemplateTypeLicense TypeSeatsAction
$software_version"; ?> - -
-
- -
-
- - $sb, 'o' => $o))); - -$sql = mysqli_query( - $mysqli, - "SELECT SQL_CALC_FOUND_ROWS * FROM vendors - WHERE vendor_template = 1 - AND (vendor_name LIKE '%$q%' OR vendor_description LIKE '%$q%' OR vendor_account_number LIKE '%$q%' OR vendor_website LIKE '%$q%' OR vendor_contact_name LIKE '%$q%' OR vendor_email LIKE '%$q%' OR vendor_phone LIKE '%$phone_query%') ORDER BY $sb $o LIMIT $record_from, $record_to" -); - -$num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); - -?> - -
-
-

- Vendor Templates -

- - -
- -
-
-
-
- -
- -
-
- -
- -
-
-
- -
-
-
-
- - "> - - - - - - - - - - - - - - - - - - - -
VendorDescriptionContactAction
- - - -
- - -
- - -
- - -
- - -
- -
- -
-
- -
-
- -
-