View file File name : book-a-ride.php Content :<?php include './class/include.php'; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="description" content=""> <meta name="author" content=""> <title>Taxi Galle| Inquiry</title> <!-- Bootstrap --> <link href="common/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"> <!-- Owl Carousel --> <link href="common/owl-carousel/css/owl.carousel.min.css" rel="stylesheet" type="text/css"> <!-- Fancybox --> <link rel="stylesheet" href="common/fancybox/jquery.fancybox.min.css" type="text/css" /> <!-- Theme Style --> <link href="css/style.css" rel="stylesheet" type="text/css"> <!-- Custom Style --> <link href="ajax/sweetalert/sweetalert.css" rel="stylesheet" type="text/css" /> <link href="css/custom.css" rel="stylesheet" type="text/css"> <link href="booking/style.css" rel="stylesheet" type="text/css" /> <style> .banner-home { background: url(./images/banner/back_dark.jpg) top center no-repeat !important; background-size: cover; } .header-bottom { background: rgba(0, 0, 0, 0.5); } header.header-small { background: #000; } </style> </head> <body> <!--Header area start here--> <?php include('./header.php'); ?> <!-- Pagewrap Start Here --> <div class="content"> <section class="banner-about-us inner-banner"> <div class="banner-box"> <h1><span>BOOK </span>A RIDE</h1> </div> </section> <section class="search-section book-ride-inner"> <div class="container"> <div class="tab-sec" style="padding: 40px 0 34px;"> <div class="form-inline" id="form-data"> <div class="form-group form-group2" style=" color: #6f6e6e;"> <select type="text" class="form-control form-control2" id="txtVehicle" name="vehicle"> <span id="spanVehicle"></span> <option value="" class="font-size"> --Please Select the Vehicle -- </option> <?php $VEHICLES = new Product(NULL); foreach ($VEHICLES->all() as $key => $vehicles) { ?> <option class="font-size2" value=" <?php echo $vehicles['name'] ?>"> <?php echo $vehicles['name'] ?> </option> <?php } ?> </select> </div> <div class="form-group form-group2"> <input type="text" class="form-control form-control2" placeholder="Start Destination" id="txtStartDestination" name="start_destination"> <span id="spanStartDestination"></span> </div> <div class="form-group form-group2"> <input type="text" class="form-control form-control2" placeholder="End Destination" id="txtEndDestination" name="end_destination"> <span id="spanEndDestination"></span> </div> <div class="form-group form-group2"> <input type="Date" class="form-control form-control2" placeholder="Date" id="txtDate" name="end_destination"> <span id="spanDate"></span> </div> <div class="form-group form-group2"> <input type="time" class="form-control form-control2" placeholder="time" id="txtTime" name="end_destination"> <span id="spanTime"></span> </div> <div class="form-group form-group2"> <input type="tel" class="form-control form-control2" placeholder="Phone Number" id="txtPhone" name="phone"> <span id="spanPhone"></span> </div> <!-- <div> --> <div class="form-group form-group2"> <input class="form-control " id="captchacode" type="text" name="capcha-code" placeholder="Security Code"> <span id="capspan"></span> </div> <div class="form-group form-group2"> <?php include './contact-form/captchacode-widget.php'; ?> </div> <!-- </div> --> <div class="form-group form-group2"> <button type="submit" class="btn btn-one submit-btn btn book-ride" id="btnSubmit" style="border-radius: 7px;margin-top: 10px;">BOOK A RIDE</button> </div> <!-- <div class="form-group form-group2"> <input type="hidden" name="create" value="create"/> <input id="form_botcheck" name="form_botcheck" class="form-control" type="hidden" value=""> <input class="btn-one submit-btn btn book-ride" type="submit" id="btnSubmit" value="BOOK A RIDE" style="border-radius: 7px;margin-top: 10px;"> </div>--> <div id="dismessage" align=center" style="margin-top: 10px;"></div> </div> </div> </div> </section> <?php include('./footer.php'); ?> </div> <!-- Pagewrap End Here--> <!-- jQuery (necessary for JavaScript plugins) --> <script src="js/jquery.min.js"></script> <!-- Bootsrap JS --> <script src="common/bootstrap/js/bootstrap.min.js"></script> <!-- Owl Crousel --> <script src="common/owl-carousel/js/owl.carousel.js"></script> <!-- Fancybox --> <script src="common/fancybox/jquery.fancybox.min.js"></script> <!-- Font Awesome JS --> <script src="js/all.min.js"></script> <!-- Custom JS --> <script src="booking/scripts.js" type="text/javascript"></script> <script src="js/custom.js"></script> </body> </html>