From 503b10d38c997ef2b61207cea1c196e55301bcbd Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Wed, 25 Jan 2023 23:14:13 +0000 Subject: [PATCH] Tidy --- accounts.php | 2 +- ajax.php | 6 +++--- footer.php | 8 +++----- inc_client_top_head.php | 26 +++++++++++++------------- side_nav.php | 2 +- 5 files changed, 21 insertions(+), 23 deletions(-) diff --git a/accounts.php b/accounts.php index 4fe99e0e..b4fbae9e 100644 --- a/accounts.php +++ b/accounts.php @@ -1,7 +1,7 @@ array("capture_peer_cert" => TRUE, "verify_peer" => FALSE,))); + $get = stream_context_create(array("ssl" => array("capture_peer_cert" => true, "verify_peer" => false,))); $read = stream_socket_client($socket, $errno, $errstr, 30, STREAM_CLIENT_CONNECT, $get); $cert = stream_context_get_params($read); $cert_public_key_obj = openssl_x509_parse($cert['options']['ssl']['peer_certificate']); @@ -121,7 +121,7 @@ if (isset($_GET['merge_ticket_get_json_details'])) { //Return ticket, client and contact details for the given ticket number $response = mysqli_fetch_array($sql); $response = array_map('htmlentities', $response); - echo json_encode( $response); + echo json_encode($response); } } @@ -308,4 +308,4 @@ if (isset($_GET['get_totp_token'])) { $otp = TokenAuth6238::getTokenCode($_GET['totp_secret']); echo json_encode($otp); -} \ No newline at end of file +} diff --git a/footer.php b/footer.php index fea993fe..73fdbfc4 100644 --- a/footer.php +++ b/footer.php @@ -7,11 +7,11 @@ - + - + @@ -29,12 +29,10 @@ - \ No newline at end of file diff --git a/inc_client_top_head.php b/inc_client_top_head.php index 3f762280..c98d70b7 100644 --- a/inc_client_top_head.php +++ b/inc_client_top_head.php @@ -22,22 +22,22 @@ $location_phone = formatPhoneNumber($location_phone); ?>
-
- - @@ -63,7 +63,7 @@ $location_phone = formatPhoneNumber($location_phone); if (!empty($contact_phone)) { ?> - x @@ -71,18 +71,18 @@ $location_phone = formatPhoneNumber($location_phone); } ?>
- - - +

Billing

Paid
@@ -120,10 +120,10 @@ $location_phone = formatPhoneNumber($location_phone);
- \ No newline at end of file +?> diff --git a/side_nav.php b/side_nav.php index 78932e27..7fecbf77 100644 --- a/side_nav.php +++ b/side_nav.php @@ -131,7 +131,7 @@ - +