PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 131
'https://api.fonnte.com/send', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS => array( 'target' => $phone, 'message' => $message, 'countryCode' => '62', // Indonesia ), CURLOPT_HTTPHEADER => array( 'Authorization: '.$settings['whatsapp_api_key'] ), )); $response = curl_exec($curl); curl_close($curl); } // Handle booking submission if ($_SERVER['REQUEST_METHOD'] === 'POST') { $errors = []; // Validate required fields $required_fields = ['customer_name', 'email', 'phone', 'tickets_count']; foreach ($required_fields as $field) { if (!isset($_POST[$field]) || empty(trim($_POST[$field]))) { $errors[] = "Field " . ucfirst(str_replace('_', ' ', $field)) . " is required"; } } // Validate email format if (!empty($_POST['email']) && !filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) { $errors[] = "Invalid email format"; } // Validate phone number if (!empty($_POST['phone']) && !preg_match('/^[0-9\+\-\(\) ]{8,20}$/', $_POST['phone'])) { $errors[] = "Invalid phone number format"; } // Validate tickets count $tickets_count = isset($_POST['tickets_count']) ? (int)$_POST['tickets_count'] : 0; if ($tickets_count <= 0) { $errors[] = "Invalid number of tickets"; } if ($tickets_count < $ticket['min_order']) { $errors[] = "Minimum order is " . $ticket['min_order'] . " tickets"; } if (empty($errors)) { // Prepare booking data $reff = isset($_SESSION['reff']) ? $_SESSION['reff'] : null; // // Create ticket_bookings table if it doesn't exist // mysqli_query($conn, "CREATE TABLE IF NOT EXISTS ticket_bookings ( // id INT AUTO_INCREMENT PRIMARY KEY, // ticket_id INT NOT NULL, // customer_name VARCHAR(255) NOT NULL, // email VARCHAR(255) NOT NULL, // phone VARCHAR(50) NOT NULL, // tickets_count INT NOT NULL, // booking_date DATETIME NOT NULL, // status VARCHAR(50) DEFAULT 'pending', // notes TEXT, // reff VARCHAR(100), // created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, // FOREIGN KEY (ticket_id) REFERENCES tickets(id) ON DELETE CASCADE // )"); // Insert into ticket_bookings table $insert_query = "INSERT INTO ticket_bookings ( ticket_id, customer_name, email, phone, tickets_count, booking_date, status, notes, reff ) VALUES (?, ?, ?, ?, ?, NOW(), 'pending', ?, ?)"; $stmt = mysqli_prepare($conn, $insert_query); $notes = isset($_POST['notes']) ? $_POST['notes'] : ''; mysqli_stmt_bind_param($stmt, "isssiis", $id, $_POST['customer_name'], $_POST['email'], $_POST['phone'], $tickets_count, $notes, $reff ); if (mysqli_stmt_execute($stmt)) { $booking_id = mysqli_insert_id($conn); // Prepare WhatsApp message $message = "New Ticket Booking Request:\n"; $message .= "Customer Name: " . $_POST['customer_name'] . "\n"; $message .= "Email: " . $_POST['email'] . "\n"; $message .= "Phone: " . $_POST['phone'] . "\n"; $message .= "Tickets Count: " . $tickets_count . "\n"; $message .= "Airline: " . $ticket['airline_name'] . "\n"; $message .= "Departure: " . $ticket['departure_city'] . "\n"; $message .= "Departure Date: " . $ticket['departure_date'] . "\n"; $message .= "Route IN: " . ($ticket['route_in'] ?? 'Not specified') . "\n"; $message .= "Route OUT: " . ($ticket['route_out'] ?? 'Not specified') . "\n"; if (!empty($notes)) { $message .= "Notes: " . $notes . "\n"; } // Send WhatsApp message sendWhatsAppMessage($message); $success = "Booking request has been sent to our team for follow-up. We will contact you shortly."; } else { $error = "Failed to create booking. Please try again or contact our customer service."; } } else { $error = implode("
", $errors); } } } catch (Exception $e) { $error = "System error occurred. Please try again later or contact our customer service."; } include 'includes/header.php'; ?>

Flight

Book Now

Airline

Transit

Departure Date

Duration:

Price

Minimum Order: tickets

Route IN

Departure

Arrival

Saudi Arabia

Full Route:

Route OUT

Departure

Saudi Arabia

Arrival

Full Route:

Important Information

  • The price shown is per person.
  • A deposit is required to secure your booking.
  • The deposit will only be forwarded to the airline if seats are available and PNR is confirmed.
  • 100% refund if tickets are not available.
  • Please ensure passport validity of at least 6 months from the date of travel.
  • Luggage allowance may vary based on the airline policy.

Book Your Tickets

Minimum tickets