-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFeedBack.php
95 lines (79 loc) · 3.03 KB
/
FeedBack.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
<!DOCTYPE html>
<html lang="en">
<?php
session_start();
$user_id= $_SESSION['userId'];
require ('inc/head.php');
?>
<body>
<?php require ('inc/preloader_area.php');
require ('inc/top_Bar.php');
?>
<?php
if(isset($_SESSION['userId'])){
$userid=$_SESSION['userId'];
require ('inc/LoginHeader.php');
}else{
require ('inc/Header.php');
}
?>
<!-- ========== Breadcumb start============= -->
<div class="breadcrumb-section-about2">
<div class="container">
<div class="row d-flex justify-content-center align-items-center text-center">
<div class="col-lg-8">
<h2 class="breadcrumb-title wow fadeInLeft" data-wow-duration="1.5s" data-wow-delay=".2s">FeedBack</h2>
<nav aria-label="breadcrumb">
<ol class="breadcrumb d-flex justify-content-center">
<li class="breadcrumb-item"><a href="index.php">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">FeedBack</li>
</ol>
</nav>
</div>
</div>
</div>
</div>
<!-- ========== Breadcumb end============= -->
<!-- ========== Room & Suits start============= -->
<div class="contact-page mb-120 overflow-hidden">
<div class="container-fluid px-0">
</div>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="section-title text-center">
<br>
<br>
<?php if(isset( $_SESSION['errors'])){
foreach($_SESSION['errors'] as $error){?>
<div class="alert alert-danger" role="alert"> <?php echo $error;?> </div>
<?php }
unset($_SESSION['errors']);
}?>
<br>
<h2>What do you think About Easy Booking?</h2>
</div>
<form action="admin/handlers/insertFeedBack.php" enctype="multipart/form-data" method="POST">
<div class="row g-4">
<div class="col-md-12">
<div class="form-inner">
<textarea name="FeedBack" id="FeedBack" placeholder="Your message" cols="30" rows="10"></textarea>
<input type="hidden" id="user_id" name="user_id" value="<?= $user_id?>" >
</div>
</div>
<div class="col-md-12 d-flex justify-content-center">
<div class="form-inner">
<button type="submit" >Send FeedBack</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- ========== Room & Suits end============= -->
<?php require ('inc/footer.php');
require('inc/js_file_link.php'); ?>
</body>
</html>