forked from shubhamnautiyal/Internship_thdc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguests_control_page.php
177 lines (168 loc) · 8.01 KB
/
guests_control_page.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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!doctype html>
<html>
<head>
<title>Edit Guests</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Luckiest Guy" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Bangers" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Margarine" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style type="text/css">
.btn:hover
{
cursor: pointer;
}
a:hover
{
cursor: pointer;
background-color:grey ;
}
</style>
</head>
<body>
<nav class="navbar sticky-top navbar-toggleable-md navbar-inverse bg-inverse">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
<a class="navbar-brand" href="#" style="font-family: 'Pacifico';">'GUESTS'</a>
<div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="index.php" style="font-family: 'Luckiest Guy'; font-size: 20px;">
<i class="fa fa-home" aria-hidden="true"></i>SOIREE<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="events_control_page.php" style="font-family: 'Luckiest Guy'; font-size: 20px;">EVENTS<span class="sr-only">(current)</span></a>
</li>
</ul>
</div>
</nav>
<div class="container-fluid">
<div class="container">
<h1 style="font-family: 'Bangers'; font-size: 50px;">Guests Details<span class="badge badge-info">Below</span></h1>
<hr>
<?php
require("functions.php");
?>
<div class="jumbotron text-white" style="background-image: url('RSVP_IMAGES/guestbackground.jpg');opacity:0.6;">
<center>
<div class="col-lg-8">
<div class="container">
<div style="width: 105%; border: 2px dashed whitesmoke; padding-bottom:45px;">
<h5 style="font-family: 'Margarine'; font-size: 22px; padding-top:45px; ">ADD A NEW GUEST TO THE LIST<span class="badge badge-info">click on the button below</span>
</h5>
<button type="button" class="btn btn-outline-info" data-toggle="modal" data-target="#exampleModal" data-whatever="@mdo">Add New Guest
</button>
</div>
</div>
</div>
</center>
</div>
</div>
<div class="container">
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="exampleModalLabel" style="font-family: 'Bangers'; font-size: 30px;">NEW GUEST</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body" style="background-color: whitesmoke;">
<form id="guest_form">
<div class="form-group">
<label for="recipient-name" class="form-control-label">
<h6>GUEST NAME:</h6>
</label>
<div class="col-lg-8">
<input type="text" class="form-control" placeholder="Enter the guest Name" name="guest_name" id="guest_name" required>
</div>
</div>
<div class="form-group">
<label for="recipient-email" class="form-control-label">
<h6>GUEST EMAIL:</h6>
</label>
<div class="col-lg-8">
<input type="email" class="form-control" placeholder="Enter the guest Email " name="guest_emailid" id="guest_emailid" required>
</div>
</div>
<div class="form-group">
<label for="example-text-input" class="form-control-label">
<h6>GUEST PHONE NUMBER:</h6>
</label>
<div class="col-lg-8">
<input class="form-control" type="number" placeholder="Enter phone number of the Guest" name="phone_number" id="phone_number" required>
</div>
</div>
<div class="form-group">
<label for="recipient-name" class="form-control-label">
<h6>GENDER:</h6>
</label>
<label class="custom-control custom-radio">
<input name="guest_gender" value="male" type="radio" class="custom-control-input" required>
<span class="custom-control-indicator"></span>
<span class="custom-control-description">MALE</span>
</label>
<label class="custom-control custom-radio">
<input name="guest_gender" value="female" type="radio" class="custom-control-input" required>
<span class="custom-control-indicator"></span>
<span class="custom-control-description">FEMALE</span>
</label>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success" name="Submit" id="Submit_guests">Submit</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<hr>
<div class="container" >
<div id="accordion" role="tablist" aria-multiselectable="true">
<div class="card">
<div class="card-header" role="tablist" id="headingOne">
<h5 class="mb-0">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
<center><h3 style="font-family: 'Bangers'; font-size: 40px;"> PREVIOUS EVENTS GUESTS LISTS!</h3></center>
</a>
</h5>
</div>
<div id="collapseOne" class="collapse show" role="tabpanel" aria-labelledby="headingOne">
<div class="card-block">
<div class="container" id="guestlist"></div>
</div>
</div>
</div>
</div>
</div>
<hr>
<div class="container" >
<div id="accordion1" role="tablist1" aria-multiselectable="true">
<div class="card">
<div class="card-header" role="tablist1" id="headingOne1">
<h5 class="mb-0">
<a data-toggle="collapse" data-parent="#accordion1" href="#collapseOne1" aria-expanded="true" aria-controls="collapseOne1">
<center><h3 style="font-family: 'Bangers'; font-size: 40px;">Guests WHO HAVE REQUESTED!</h3></center>
</a>
</h5>
</div>
<div id="collapseOne1" class="collapse show" role="tabpanel" aria-labelledby="headingOne1">
<div class="card-block">
<div class="container" id="requestlist">
</div>
</div>
</div>
</div>
</div>
</div>
<hr>
</div>
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
</body>
<script type="text/javascript" src="main.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</html>