-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
158 lines (142 loc) · 5.37 KB
/
index.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<?php
session_start();
include('admin/vendor/inc/config.php');
//include('vendor/inc/checklogin.php');
//check_login();
//$aid=$_SESSION['a_id'];
?>
<!DOCTYPE html>
<html lang="en">
<!--Head-->
<?php include("vendor/inc/head.php");?>
<body>
<!-- Navigation -->
<?php include("vendor/inc/nav.php");?>
<!--End Navigation-->
<header>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<div class="carousel-inner" role="listbox">
<!-- Slide One - Set the background image for this slide in the line below -->
<div class="carousel-item active" style="background-image: url('vendor/img/banner-1.jpg')">
</div>
<!-- Slide Two - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image: url('vendor/img/banner-2.jpg')">
</div>
<!-- Slide Three - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image: url('vendor/img/banner-3.jpg')">
</div>
<!-- Slide Four- Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image: url('vendor/img/banner-4.jpg')">
</div>
<!-- Slide Five - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image: url('vendor/img/banner-5.jpg')">
</div>
<!-- Slide Six - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image: url('vendor/img/banner-6.jpg')">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</header>
<!-- Page Content -->
<div class="container">
<h1 class="my-4">Welcome to Travel Management System</h1>
<!-- Marketing Icons Section -->
<div class="row">
<div class="col-lg-6 mb-4">
<div class="card h-100">
<h4 class="card-header">Why Us</h4>
<div class="card-body">
<p class="card-text">We create accountability in the transport sector, enhance mobility and ease of accessing various transport modes</p>
</div>
</div>
</div>
<div class="col-lg-6 mb-4">
<div class="card h-100">
<h4 class="card-header">Core Values</h4>
<div class="card-body">
<p class="card-text">
Excellence, Trust and Openness, Integrity, Take Responsibility, Customer Orientation
</p>
</div>
</div>
</div>
</div>
<!-- /.row -->
<hr>
<!-- Portfolio Section -->
<h2 class="center">Most Hired Vehicles</h2>
<!--Portfolio Section -->
<hr>
<div class="row">
<div class="col-lg-4 col-sm-6 portfolio-item">
<div class="card h-100">
<a href="#"><img class="card-img-top" src="vendor/img/most-hired-1.jpg" alt=""></a>
</div>
</div>
<div class="col-lg-4 col-sm-6 portfolio-item">
<div class="card h-100">
<a href="#"><img class="card-img-top" src="vendor/img/most hired-2.jpg" alt=""></a>
</div>
</div>
<div class="col-lg-4 col-sm-6 portfolio-item">
<div class="card h-100">
<a href="#"><img class="card-img-top" src="vendor/img/most hired-3.jpg" alt=""></a>
</div>
</div>
<div class="col-lg-4 col-sm-6 portfolio-item">
<div class="card h-100">
<a href="#"><img class="card-img-top" src="vendor/img/most hired-4.jpg" alt=""></a>
</div>
</div>
<div class="col-lg-4 col-sm-6 portfolio-item">
<div class="card h-100">
<a href="#"><img class="card-img-top" src="vendor/img/most hired-5.jpg" alt=""></a>
</div>
</div>
<div class="col-lg-4 col-sm-6 portfolio-item">
<div class="card h-100">
<a href="#"><img class="card-img-top" src="vendor/img/most hired-6.jpg" alt=""></a>
</div>
</div>
</div>
<!-- /.row -->
<hr>
<h1 class="my-4">Client Testimonials</h1>
<div class="row">
<?php
$ret="SELECT * FROM tms_feedback where f_status ='Published' ORDER BY RAND() LIMIT 3 "; //get all feedbacks
$stmt= $mysqli->prepare($ret) ;
$stmt->execute() ;//ok
$res=$stmt->get_result();
$cnt=1;
while($row=$res->fetch_object())
{
?>
<div class="col-lg-6 mb-4">
<div class="card h-100">
<h4 class="card-header"><?php echo $row->f_uname;?></h4>
<div class="card-body">
<p class="card-text"><?php echo $row->f_content;?></p>
</div>
</div>
</div>
<?php }?>
</div>
</div>
<!-- /.container -->
<!-- Footer -->
<?php include("vendor/inc/footer.php");?>
<!--.Footer-->
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>