diff --git a/account_add_modal.php b/account_add_modal.php index d80e26dd..9e728716 100644 --- a/account_add_modal.php +++ b/account_add_modal.php @@ -9,7 +9,7 @@
- \ No newline at end of file + 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/check_login.php b/check_login.php index 4e1486a0..aee7fb35 100644 --- a/check_login.php +++ b/check_login.php @@ -24,7 +24,6 @@ if (!isset($_SESSION['logged']) || !$_SESSION['logged']) { // SESSION FINGERPRINT $session_ip = strip_tags(mysqli_real_escape_string($mysqli,get_ip())); -//$session_os = strip_tags(mysqli_real_escape_string($mysqli,get_os())); // User agent $session_user_agent = strip_tags(mysqli_real_escape_string($mysqli,$_SERVER['HTTP_USER_AGENT'])); diff --git a/client_document_template_add_modal.php b/client_document_template_add_modal.php index db371f2f..c36386fc 100644 --- a/client_document_template_add_modal.php +++ b/client_document_template_add_modal.php @@ -9,17 +9,17 @@
-
- \ No newline at end of file + diff --git a/footer.php b/footer.php index fea993fe..b4a653bb 100644 --- a/footer.php +++ b/footer.php @@ -7,34 +7,31 @@ - + - + - - + - \ No newline at end of file diff --git a/header.php b/header.php index 95d88125..9af02c81 100644 --- a/header.php +++ b/header.php @@ -1,4 +1,4 @@ - - - @@ -32,11 +30,11 @@ header("X-Frame-Options: DENY"); - + -
\ 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/login.php b/login.php index 16c41cb7..c9daf9a7 100644 --- a/login.php +++ b/login.php @@ -223,7 +223,7 @@ if (isset($_POST['login'])) {