-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.php
134 lines (109 loc) · 4.47 KB
/
about.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
<?php
include 'config.php';
session_start();
$user_id = $_SESSION['user_id'];
if (!isset($user_id)) {
header('location:login.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.0">
<title>about</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/admin_style.css">
</head>
<body>
<?php include 'header.php'; ?>
<div class="heading" style="background: url(./images/headersea.png) no-repeat;background-size:cover;">
<h3>about us</h3>
<p> <a href="home.php">home</a> / about </p>
</div>
<section class="about">
<div class="flex">
<div class="image">
<img src="images/about-img.jpg" alt="">
</div>
<div class="content">
<h3>why choose us?</h3>
<p>We are the group of three person Who started to make a comm website for all the Canteens in our Institute premises and we will have the Data of all ,their menu and staff.</p>
<p>Each and every time we ensure that we give what we have proimised and not just that if you found anything not good into the food never hesitate to contact us, we are responsive!! </p>
<a href="contact.php" class="btn">contact us</a>
</div>
</div>
</section>
<section class="reviews">
<h1 class="title">Student's reviews</h1>
<div class="box-container">
<div class="box">
<img src="images/pic-1.jpg" alt="">
<p>Best Ordering Website with manu userfriendly options, pretty decent.Many of the dishes were available from the menu. I tried the Badam Milk, Great Taste. Don't think just order.</p>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<h3>Deepanshu Kumar</h3>
</div>
<div class="box">
<img src="images/pic-2.jpg" alt="">
<p>Ordered from this website by chance pretty decent . Many of the dishes were available from the menu. We tried the Kadhai Paneer, was delicious.I think it's a decent place to Order Quality food.</p>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<h3>Akshay Anand</h3>
</div>
<div class="box">
<img src="images/pic-3.jpg" alt="">
<p>What a fantastic food and food quality . I just loved each and every bite of it . It was just amazing. I am sure i will order each and every time from this website.</p>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<h3>Abhi kumar Gupta</h3>
</div>
</div>
</section>
<section class="show-products">
<h1 class="title">Our Staff</h1>
<div class="box-container">
<?php
$select_worker = mysqli_query($conn, "SELECT * FROM `worker`") or die('query failed');
if (mysqli_num_rows($select_worker) > 0) {
while ($fetch_worker = mysqli_fetch_assoc($select_worker)) {
?>
<div class="box">
<img style="width:100% ;" src="worker_img/<?php echo $fetch_worker['image']; ?>" alt="">
<div class="name">
<h1 style="font-size: 3rem;"><?php echo $fetch_worker['name']; ?></h1>
</div>
<div class="name">
<h1 style="font-size: 2.5rem;"><?php echo $fetch_worker['position']; ?></h1>
</div>
</div>
<?php
}
} else {
echo '<p class="empty">no Worker added yet!</p>';
}
?>
</div>
</section>
</section>
<?php include 'footer.php'; ?>
<script src="js/script.js"></script>
</body>
</html>