/
home
/
desid573
/
public_html
/
angel
/
/home/desid573/public_html/angel
mkdir
upload
Name
Size
Mode
Actions
assets/
-
0755
rm
drivers/
-
0755
rm
font/
-
0755
rm
lib/
-
0755
rm
payment/
-
0755
rm
stripe/
-
0755
rm
twilio-php-master/
-
0755
rm
vendor/
-
0755
rm
after_booking_page.php
2595
0644
edit
dl
rm
angeldrivers.png
132095
0644
edit
dl
rm
a_name_address.php
1289
0644
edit
dl
rm
booking.php
9621
0644
edit
dl
rm
booking_28-04-2017.php
947
0644
edit
dl
rm
booking_29-04-2017.php
3717
0644
edit
dl
rm
cancel.php
2430
0644
edit
dl
rm
cancel_booking.php
5367
0644
edit
dl
rm
composer.json
65
0644
edit
dl
rm
composer.lock
2355
0644
edit
dl
rm
confirmsend.php
2582
0644
edit
dl
rm
contact_us_mail.php
903
0644
edit
dl
rm
dispatch.php
864
0644
edit
dl
rm
error_log
436257456
0644
edit
dl
rm
generate_credit.php
3187
0644
edit
dl
rm
generate_referall.php
2779
0644
edit
dl
rm
getPrice.php
738
0644
edit
dl
rm
getuser_byid.php
2341
0644
edit
dl
rm
getuser_bymail.php
1968
0644
edit
dl
rm
get_all_booking.php
779
0644
edit
dl
rm
get_booking_bybooking_id.php
813
0644
edit
dl
rm
get_booking_byuser.php
1057
0644
edit
dl
rm
get_booking_status.php
2219
0644
edit
dl
rm
get_completed_bookings.php
727
0644
edit
dl
rm
get_directions.php
813
0644
edit
dl
rm
get_lead_message.php
673
0644
edit
dl
rm
get_open_bookings.php
1465
0644
edit
dl
rm
get_payment_byuser.php
1064
0644
edit
dl
rm
home.php
1660
0644
edit
dl
rm
homekey_img.png
14037
0644
edit
dl
rm
hook.php
21267
0644
edit
dl
rm
hook_set_up.php
654
0644
edit
dl
rm
index.php
12007
0644
edit
dl
rm
index_backup.php
4791
0644
edit
dl
rm
jobdetails.php
12197
0644
edit
dl
rm
lib_tr.zip
105047
0644
edit
dl
rm
login_api.php
7798
0644
edit
dl
rm
login_api_old.php
5653
0644
edit
dl
rm
noteconfirm.php
9259
0644
edit
dl
rm
online_booking.php
28283
0644
edit
dl
rm
passwordResetLink.php
5195
0644
edit
dl
rm
pay_file.php
7302
0644
edit
dl
rm
pay_file_back.php
5326
0644
edit
dl
rm
placehold.html
2184
0644
edit
dl
rm
priceCheck.php
0
0644
edit
dl
rm
reset_email.php
1755
0644
edit
dl
rm
search.php
830
0644
edit
dl
rm
send_bulk_notif.php
1692
0644
edit
dl
rm
setprice.php
4429
0644
edit
dl
rm
setprice_database.php
585
0644
edit
dl
rm
smsconfirm.php
9830
0644
edit
dl
rm
smssend.php
2354
0644
edit
dl
rm
stripe-php-master.zip
254366
0644
edit
dl
rm
test1.php
159
0644
edit
dl
rm
test_222.php
845
0644
edit
dl
rm
thankyou.php
17470
0644
edit
dl
rm
update_api.php
6290
0644
edit
dl
rm
update_api_on_mail.php
4677
0644
edit
dl
rm
validatecode.php
1094
0644
edit
dl
rm
validatephone.php
1034
0644
edit
dl
rm
Edit:
/home/desid573/public_html/angel/setprice.php
(4429B)
<!DOCTYPE html> <html lang="en"> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Set Price Angel Driver</title> <!-- Bootstrap --> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"> <style> li, thead { color: #19ecff !important; } </style> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <link href="assets/css/angel.css" rel="stylesheet"> </head> <body> <div class="loader"></div> <div class="bgloader"></div> <div class="container"> <h4>Delete Driver</h2> <div class="row" style="margin-top:10px"> <div class="col-sm-12 text-center"> <h4>Current Prices</h4> <? require("lib/config.php"); $conn = new mysqli($dbhost, $dbuser, $dbpass, $dbname) or die($conn->connect_error); $qcon=mysqli_connect($dbhost, $dbuser, $dbpass, $dbname); $result = $conn->query("SELECT * FROM prices"); echo "<table style='width:100%'><thead><tr><td>Base Price</td><td>Km Rate 1 (10 - 30km)</td><td>Km Rate 2 (30+km)</td><td>Time Rate/td></thead><tbody>"; while ($row = $result->fetch_assoc()) { unset($id, $name); $base = $row['base']; $km1 = $row['km_rate_1']; $km2 = $row['km_rate_2']; $time = $row["time"]; echo '<tr><td><input type="text" value="'.$base.'" id="base" name="base"></td><td><input type="text" value="'.$km1.'" id="km1" name="km"></td><td><input type="text" id="km2" value="'.$km2.'"></td><td><input type="text" id="time" value="'.$time.'"></td><tr>'; } echo "</tbody></table>"; ?> </div> </div> <div class="row" style="margin-top:10px"> <div class="col-xs-12 no-padding"> <input type="button" name="button" class="btn btn-primary btn-block" id="button" value="Update"> </div> </div> <div class="col-xs-12 no-padding" style="text-align:center"> </br> <p style="color: #19ecff">On Click <span style="color:#FF0000;font-size: 150%;text-align: center;" id="test"></span><br></p> </div> </div> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-form-validator/2.3.23/jquery.form-validator.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ }) $("#button").click(function(){ $(".loader, .bgloader").show(); var base = $("#base").val(); var time = $("#time").val(); var km1 = $("#km1").val(); var km2 = $("#km2").val(); $.ajax({ type: "POST", url: "setprice_database.php", data: {base: base, km1:km1, time:time, km2:km2}, dataType: 'json', success: function (data) { $(".loader, .bgloader").hide(); console.log(data); if(data.status == "ok"){ $("#test").text("Processed"); $("#test").attr('style', 'color:#00FF00;font-size: 150%;text-align: center;background-color: #ffffff;'); } else { $("#test").text(data.message); $("#test").attr('style', 'color:#FF0000;font-size: 150%;text-align: center;background-color: #ffffff;'); } } }) }) </script> </body> </html>
Save
cmd:
run