-
Notifications
You must be signed in to change notification settings - Fork 0
/
offer_6.php
109 lines (96 loc) · 3.05 KB
/
offer_6.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?php
session_start();
error_reporting("E-NOTICE");
?>
<!DOCTYPE HTML>
<html>
<head>
<title>BOOK BMW I8</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header">
<div class="inner">
<!-- Logo -->
<a href="index.php" class="logo">
<span class="fa fa-car"></span> <span class="title">CAR RENTAL SYSTEM</span>
</a>
<!-- Nav -->
<nav>
<ul>
<li><a href="#menu">Menu</a></li>
</ul>
</nav>
</div>
</header>
<!-- Menu -->
<nav id="menu">
<h2>Menu</h2>
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="offer.php">Offers</a></li>
<li><a href="fleet.php" class="active">Fleet</a></li>
<li>
<a href="#" class="dropdown-toggle">About</a>
<ul>
<li><a href="about.html">About Us</a></li>
<li><a href="team.html">Team</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="testimonials.html">Testimonials</a></li>
<li><a href="faq.html">FAQ</a></li>
<li><a href="terms.html">Terms</a></li>
</ul>
</li>
<li><a href="contact_us.php">Contact Us</a></li>
</ul>
</nav>
<!-- Main -->
<div id="main">
<div class="inner">
<h1>CONFIRM CAR</h1>
<div class="image main">
<img src="images/banner-image-7-1920x500.jpg" class="img-fluid" alt="" />
</div>
<article class="style1">
<section class="tiles">
<div class="wrapper">
<ul class="properties_list">
<?php
include 'includes/config.php';
$sel = "SELECT * FROM cars WHERE car_id = 40";
$rs = $conn->query($sel);
while($rws = $rs->fetch_assoc()){
?>
<li>
<a href="book_car.php?id=<?php echo $rws['car_id'] ?>">
<img class="thumb" src="cars/<?php echo $rws['image'];?>" width="300" height="200">
</a>
<span class="price"><?php echo 'Kshs.'.$rws['hire_cost'];?></span>
<div class="property_details">
<h1>
<a href="book_car.php?id=<?php echo $rws['car_id'] ?>"><?php echo 'Car Make>'.$rws['car_type'];?></a>
</h1>
<h2>Car Name/Model: <span class="property_size"><?php echo $rws['car_name'];?></span></h2>
</div>
</li>
<?php
}
?>
</ul>
</div>
</section> <!-- end listing section -->
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>