/home/desid573/public_html/angel
NameSizeModeActions
assets/-0755rm
drivers/-0755rm
font/-0755rm
lib/-0755rm
payment/-0755rm
stripe/-0755rm
twilio-php-master/-0755rm
vendor/-0755rm
after_booking_page.php25950644editdlrm
angeldrivers.png1320950644editdlrm
a_name_address.php12890644editdlrm
booking.php96210644editdlrm
booking_28-04-2017.php9470644editdlrm
booking_29-04-2017.php37170644editdlrm
cancel.php24300644editdlrm
cancel_booking.php53670644editdlrm
composer.json650644editdlrm
composer.lock23550644editdlrm
confirmsend.php25820644editdlrm
contact_us_mail.php9030644editdlrm
dispatch.php8640644editdlrm
error_log4362574560644editdlrm
generate_credit.php31870644editdlrm
generate_referall.php27790644editdlrm
getPrice.php7380644editdlrm
getuser_byid.php23410644editdlrm
getuser_bymail.php19680644editdlrm
get_all_booking.php7790644editdlrm
get_booking_bybooking_id.php8130644editdlrm
get_booking_byuser.php10570644editdlrm
get_booking_status.php22190644editdlrm
get_completed_bookings.php7270644editdlrm
get_directions.php8130644editdlrm
get_lead_message.php6730644editdlrm
get_open_bookings.php14650644editdlrm
get_payment_byuser.php10640644editdlrm
home.php16600644editdlrm
homekey_img.png140370644editdlrm
hook.php212670644editdlrm
hook_set_up.php6540644editdlrm
index.php120070644editdlrm
index_backup.php47910644editdlrm
jobdetails.php121970644editdlrm
lib_tr.zip1050470644editdlrm
login_api.php77980644editdlrm
login_api_old.php56530644editdlrm
noteconfirm.php92590644editdlrm
online_booking.php282830644editdlrm
passwordResetLink.php51950644editdlrm
pay_file.php73020644editdlrm
pay_file_back.php53260644editdlrm
placehold.html21840644editdlrm
priceCheck.php00644editdlrm
reset_email.php17550644editdlrm
search.php8300644editdlrm
send_bulk_notif.php16920644editdlrm
setprice.php44290644editdlrm
setprice_database.php5850644editdlrm
smsconfirm.php98300644editdlrm
smssend.php23540644editdlrm
stripe-php-master.zip2543660644editdlrm
test1.php1590644editdlrm
test_222.php8450644editdlrm
thankyou.php174700644editdlrm
update_api.php62900644editdlrm
update_api_on_mail.php46770644editdlrm
validatecode.php10940644editdlrm
validatephone.php10340644editdlrm
Edit: /home/desid573/public_html/angel/get_booking_status.php (2219B)
query($sql); $driver = ""; if ($result->num_rows > 0) { while($row_details = $result->fetch_assoc()) { $booking_detail[] = $row_details; } $sql = "SELECT * FROM `customers` where email = '".$booking_detail[0]["email"]."'"; $result = $conn->query($sql); if ($result->num_rows > 0) { while($row_detail = $result->fetch_assoc()) { $booking_details[] = $row_detail; } } if($booking_detail[0]['spatula_link'] == "" OR $booking_detail[0]['spatula_link'] == "[") { $sql = "SELECT * FROM `holding_link` where id = 1"; $hold = $conn->query($sql); if($hold->num_rows > 0) { $hold_link = $hold->fetch_assoc(); $spat_link = $hold_link["link"]; } } else { $spat_link = $booking_detail[0]['spatula_link']; } if($booking_detail[0]['driver'] != "") { $sql = "SELECT * FROM `desid573_eway_codes`.`drivers` where `driver` = '".$booking_detail[0]['driver']."'"; $hold = $conn->query($sql); if($hold->num_rows > 0) { $driver_details = $hold->fetch_assoc(); $driver = $driver_details["driver"]; $driver_phone = $driver_details["driver_phone"]; } } $Res["data"] = $booking_detail; $Res["user-data"] = $booking_details; $Res["booking_status"] = $booking_detail[0]['status']; $Res["date"] = $booking_detail[0]['booking_date']; $Res["time"] = $booking_detail[0]['booking_time']; $Res["pickup"] = $booking_detail[0]['pickup_addr']; $Res["dropoff"] = $booking_detail[0]['pickoff_addr']; $Res["quote"] = $booking_detail[0]['quote']; $Res["xero"] = $booking_detail[0]['xero_inv']; $Res["spat_link"] = $spat_link; $Res["driver"] = $driver; $Res["driver_phone"] = $driver_phone; $Res["message"] = "booking info for user"; $Res["status"] = "OK"; } else { $Res["message"] = "no such result present in booking"; $Res["status"] = "ok"; } echo json_encode(new ArrayObject($Res));