|
| 1 | +<?php |
| 2 | +session_start(); |
| 3 | +include('includes/config.php'); |
| 4 | +error_reporting(0); |
| 5 | + |
| 6 | +?> |
| 7 | + |
| 8 | +<!DOCTYPE HTML> |
| 9 | +<html lang="en"> |
| 10 | +<head> |
| 11 | +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 12 | +<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 13 | +<meta name="viewport" content="width=device-width,initial-scale=1"> |
| 14 | +<meta name="keywords" content=""> |
| 15 | +<meta name="description" content=""> |
| 16 | +<title>24x7 Ambulance Booking | Aarogya Services</title> |
| 17 | +<!--Bootstrap --> |
| 18 | +<link rel="stylesheet" href="assets/css/bootstrap.min.css" type="text/css"> |
| 19 | +<link rel="stylesheet" href="assets/css/style.css" type="text/css"> |
| 20 | +<link rel="stylesheet" href="assets/css/owl.carousel.css" type="text/css"> |
| 21 | +<link rel="stylesheet" href="assets/css/owl.transitions.css" type="text/css"> |
| 22 | +<link href="assets/css/slick.css" rel="stylesheet"> |
| 23 | +<link href="assets/css/bootstrap-slider.min.css" rel="stylesheet"> |
| 24 | +<link href="assets/css/font-awesome.min.css" rel="stylesheet"> |
| 25 | + <link rel="stylesheet" id="switcher-css" type="text/css" href="assets/switcher/css/switcher.css" media="all" /> |
| 26 | + <link rel="alternate stylesheet" type="text/css" href="assets/switcher/css/red.css" title="red" media="all" data-default-color="true" /> |
| 27 | + <link rel="alternate stylesheet" type="text/css" href="assets/switcher/css/orange.css" title="orange" media="all" /> |
| 28 | + <link rel="alternate stylesheet" type="text/css" href="assets/switcher/css/blue.css" title="blue" media="all" /> |
| 29 | + <link rel="alternate stylesheet" type="text/css" href="assets/switcher/css/pink.css" title="pink" media="all" /> |
| 30 | + <link rel="alternate stylesheet" type="text/css" href="assets/switcher/css/green.css" title="green" media="all" /> |
| 31 | + <link rel="alternate stylesheet" type="text/css" href="assets/switcher/css/purple.css" title="purple" media="all" /> |
| 32 | +<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/images/favicon-icon/apple-touch-icon-144-precomposed.png"> |
| 33 | +<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/images/favicon-icon/apple-touch-icon-114-precomposed.html"> |
| 34 | +<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/images/favicon-icon/apple-touch-icon-72-precomposed.png"> |
| 35 | +<link rel="apple-touch-icon-precomposed" href="assets/images/favicon-icon/apple-touch-icon-57-precomposed.png"> |
| 36 | +<link rel="shortcut icon" href="assets/images/favicon-icon/favicon.png"> |
| 37 | +<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900" rel="stylesheet"> |
| 38 | +</head> |
| 39 | +<body> |
| 40 | + |
| 41 | +<!-- Start Switcher --> |
| 42 | +<?php include('includes/colorswitcher.php');?> |
| 43 | +<!-- /Switcher --> |
| 44 | + |
| 45 | +<!--Header--> |
| 46 | +<?php include('includes/header.php');?> |
| 47 | +<!-- /Header --> |
| 48 | + |
| 49 | +<!-- Banners --> |
| 50 | +<section id="banner" class="banner-section"> |
| 51 | + <div class="container"> |
| 52 | + <div class="div_zindex"> |
| 53 | + <div class="row"> |
| 54 | + <div class="col-md-5 col-md-push-7"> |
| 55 | + <div class="banner_content"> |
| 56 | + <h1>Find the right service.</h1> |
| 57 | + |
| 58 | + <a href="#" class="btn">BOOK NOW<span class="angle_arrow"><i class="fa fa-angle-right" aria-hidden="true"></i></span></a> </div> |
| 59 | + </div> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | +</section> |
| 64 | +<!-- /Banners --> |
| 65 | + |
| 66 | + |
| 67 | +<!-- Resent Cat--> |
| 68 | +<section class="section-padding gray-bg"> |
| 69 | + <div class="container"> |
| 70 | + <div class="section-header text-center"> |
| 71 | + <h2>Find the Best <span>CarForYou</span></h2> |
| 72 | + <p>Choose from the available 2 types of ambulances:BASIC & EMERGENCY services<p> |
| 73 | + </div> |
| 74 | + <div class="row"> |
| 75 | + |
| 76 | + <!-- Nav tabs --> |
| 77 | + <div class="recent-tab"> |
| 78 | + <ul class="nav nav-tabs" role="tablist"> |
| 79 | + <li role="presentation" class="active"><a href="#resentnewcar" role="tab" data-toggle="tab">New Car</a></li> |
| 80 | + </ul> |
| 81 | + </div> |
| 82 | + <!-- Recently Listed Cars --> |
| 83 | + <div class="tab-content"> |
| 84 | + <div role="tabpanel" class="tab-pane active" id="resentnewcar"> |
| 85 | + |
| 86 | +<?php $sql = "SELECT tblvehicles.VehiclesTitle,tblbrands.BrandName,tblvehicles.PricePerDay,tblvehicles.FuelType,tblvehicles.ModelYear,tblvehicles.id,tblvehicles.SeatingCapacity,tblvehicles.VehiclesOverview,tblvehicles.Vimage1 from tblvehicles join tblbrands on tblbrands.id=tblvehicles.VehiclesBrand"; |
| 87 | +$query = $dbh -> prepare($sql); |
| 88 | +$query->execute(); |
| 89 | +$results=$query->fetchAll(PDO::FETCH_OBJ); |
| 90 | +$cnt=1; |
| 91 | +if($query->rowCount() > 0) |
| 92 | +{ |
| 93 | +foreach($results as $result) |
| 94 | +{ |
| 95 | +?> |
| 96 | + |
| 97 | +<div class="col-list-3"> |
| 98 | +<div class="recent-car-list"> |
| 99 | +<div class="car-info-box"> <a href="vehical-details.php?vhid=<?php echo htmlentities($result->id);?>"><img src="admin/img/vehicleimages/<?php echo htmlentities($result->Vimage1);?>" class="img-responsive" alt="image"></a> |
| 100 | +<ul> |
| 101 | +<li><i class="fa fa-car" aria-hidden="true"></i><?php echo htmlentities($result->FuelType);?></li> |
| 102 | +<li><i class="fa fa-calendar" aria-hidden="true"></i><?php echo htmlentities($result->ModelYear);?> Model</li> |
| 103 | +<li><i class="fa fa-user" aria-hidden="true"></i><?php echo htmlentities($result->SeatingCapacity);?> seats</li> |
| 104 | +</ul> |
| 105 | +</div> |
| 106 | +<div class="car-title-m"> |
| 107 | +<h6><a href="vehical-details.php?vhid=<?php echo htmlentities($result->id);?>"><?php echo htmlentities($result->BrandName);?> , <?php echo htmlentities($result->VehiclesTitle);?></a></h6> |
| 108 | +<span class="price">$<?php echo htmlentities($result->PricePerDay);?> /Day</span> |
| 109 | +</div> |
| 110 | +<div class="inventory_info_m"> |
| 111 | +<p><?php echo substr($result->VehiclesOverview,0,70);?></p> |
| 112 | +</div> |
| 113 | +</div> |
| 114 | +</div> |
| 115 | +<?php }}?> |
| 116 | + |
| 117 | + </div> |
| 118 | + </div> |
| 119 | + </div> |
| 120 | +</section> |
| 121 | +<!-- /Resent Cat --> |
| 122 | + |
| 123 | +<!-- Fun Facts--> |
| 124 | +<section class="section-padding fun-facts-section parallex-bg"> |
| 125 | + |
| 126 | + <div class="container div_zindex"> |
| 127 | + <div class="row"> |
| 128 | + <div class="col-lg-3 col-xs-6 col-sm-3"> |
| 129 | + <div class="fun-facts-m"> |
| 130 | + <div class="cell"> |
| 131 | + <h2><i class="fa fa-calendar" aria-hidden="true"></i>24 x 7</h2> |
| 132 | + <p>service</p> |
| 133 | + </div> |
| 134 | + </div> |
| 135 | + </div> |
| 136 | + <div class="col-lg-3 col-xs-6 col-sm-3"> |
| 137 | + <div class="fun-facts-m"> |
| 138 | + <div class="cell"> |
| 139 | + <h2><i class="fa fa-car" aria-hidden="true"></i>We are</h2> |
| 140 | + <p>Hiring Drivers</p> |
| 141 | + </div> |
| 142 | + </div> |
| 143 | + </div> |
| 144 | + <div class="col-lg-3 col-xs-6 col-sm-3"> |
| 145 | + <div class="fun-facts-m"> |
| 146 | + <div class="cell"> |
| 147 | + <h2><i class="fa fa-car" aria-hidden="true"></i>Leave </h2> |
| 148 | + <p>Feedbacks</p> |
| 149 | + </div> |
| 150 | + </div> |
| 151 | + </div> |
| 152 | + <div class="col-lg-3 col-xs-6 col-sm-3"> |
| 153 | + <div class="fun-facts-m"> |
| 154 | + <div class="cell"> |
| 155 | + <h2><i class="fa fa-user-circle-o" aria-hidden="true"></i>100+</h2> |
| 156 | + <p>Satisfied Customers</p> |
| 157 | + </div> |
| 158 | + </div> |
| 159 | + </div> |
| 160 | + </div> |
| 161 | + </div> |
| 162 | + <!-- Dark Overlay--> |
| 163 | + <div class="dark-overlay"></div> |
| 164 | +</section> |
| 165 | +<!-- /Fun Facts--> |
| 166 | + |
| 167 | + |
| 168 | +<!--Testimonial --> |
| 169 | +<section class="section-padding testimonial-section parallex-bg"> |
| 170 | + <div class="container div_zindex"> |
| 171 | + <div class="section-header white-text text-center"> |
| 172 | + <h2>Our Satisfied <span>Customers</span></h2> |
| 173 | + </div> |
| 174 | + <div class="row"> |
| 175 | + <div id="testimonial-slider"> |
| 176 | +<?php |
| 177 | +$tid=1; |
| 178 | +$sql = "SELECT tbltestimonial.Testimonial,tblusers.FullName from tbltestimonial join tblusers on tbltestimonial.UserEmail=tblusers.EmailId where tbltestimonial.status=:tid"; |
| 179 | +$query = $dbh -> prepare($sql); |
| 180 | +$query->bindParam(':tid',$tid, PDO::PARAM_STR); |
| 181 | +$query->execute(); |
| 182 | +$results=$query->fetchAll(PDO::FETCH_OBJ); |
| 183 | +$cnt=1; |
| 184 | +if($query->rowCount() > 0) |
| 185 | +{ |
| 186 | +foreach($results as $result) |
| 187 | +{ ?> |
| 188 | + |
| 189 | + |
| 190 | + <div class="testimonial-m"> |
| 191 | + |
| 192 | + <div class="testimonial-content"> |
| 193 | + <div class="testimonial-heading"> |
| 194 | + <h5><?php echo htmlentities($result->FullName);?></h5> |
| 195 | + <p><?php echo htmlentities($result->Testimonial);?></p> |
| 196 | + </div> |
| 197 | + </div> |
| 198 | + </div> |
| 199 | + <?php }} ?> |
| 200 | + |
| 201 | + |
| 202 | + |
| 203 | + </div> |
| 204 | + </div> |
| 205 | + </div> |
| 206 | + <!-- Dark Overlay--> |
| 207 | + <div class="dark-overlay"></div> |
| 208 | +</section> |
| 209 | +<!-- /Testimonial--> |
| 210 | + |
| 211 | + |
| 212 | +<!--Footer --> |
| 213 | +<?php include('includes/footer.php');?> |
| 214 | +<!-- /Footer--> |
| 215 | + |
| 216 | +<!--Back to top--> |
| 217 | +<div id="back-top" class="back-top"> <a href="#top"><i class="fa fa-angle-up" aria-hidden="true"></i> </a> </div> |
| 218 | +<!--/Back to top--> |
| 219 | + |
| 220 | +<!--Login-Form --> |
| 221 | +<?php include('includes/login.php');?> |
| 222 | +<!--/Login-Form --> |
| 223 | + |
| 224 | +<!--Register-Form --> |
| 225 | +<?php include('includes/registration.php');?> |
| 226 | + |
| 227 | +<!--/Register-Form --> |
| 228 | + |
| 229 | +<!--Forgot-password-Form --> |
| 230 | +<?php include('includes/forgotpassword.php');?> |
| 231 | +<!--/Forgot-password-Form --> |
| 232 | + |
| 233 | +<!-- Scripts --> |
| 234 | +<script src="assets/js/jquery.min.js"></script> |
| 235 | +<script src="assets/js/bootstrap.min.js"></script> |
| 236 | +<script src="assets/js/interface.js"></script> |
| 237 | +<!--Switcher--> |
| 238 | +<script src="assets/switcher/js/switcher.js"></script> |
| 239 | +<!--bootstrap-slider-JS--> |
| 240 | +<script src="assets/js/bootstrap-slider.min.js"></script> |
| 241 | +<!--Slider-JS--> |
| 242 | +<script src="assets/js/slick.min.js"></script> |
| 243 | +<script src="assets/js/owl.carousel.min.js"></script> |
| 244 | + |
| 245 | +</body> |
| 246 | + |
| 247 | +<!-- Mirrored from themes.webmasterdriver.net/carforyou/demo/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 16 Jun 2017 07:22:11 GMT --> |
| 248 | +</html> |
0 commit comments