-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
397 lines (370 loc) · 17.6 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
<!DOCTYPE html>
<html lang="en">
<head>
<?php session_start()?>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Plan It</title>
<meta name="description" content="Free Bootstrap Theme by BootstrapMade.com">
<meta name="keywords"
content="free website templates, free bootstrap themes, free template, free bootstrap, free website template">
<link rel="stylesheet" type="text/css"
href="https://fonts.googleapis.com/css?family=Satisfy|Bree+Serif|Candal|PT+Sans">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- =======================================================
Theme Name: Delicious
Theme URL: https://bootstrapmade.com/delicious-free-restaurant-bootstrap-theme/
Author: BootstrapMade.com
Author URL: https://bootstrapmade.com
======================================================= -->
</head>
<body>
<!--banner-->
<section id="banner">
<div class="bg-color">
<header id="header">
<div class="container">
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="#about">About</a>
<?php if (isset($_SESSION['username'])) {?>
<a href="create-event.php">Create Event</a> <!-- Can allow this only after login -->
<a href="myprofile.php">Manage Profile</a> <!-- Can allow this only after login -->
<a href="search-people.php">Invite Friends</a>
<a href="controller/logout_controller.php">Logout</a>
<?php
} else {?>
<a href="login.php">Login</a>
<?php }
?>
<!-- <a href="register.php">Register</a> -->
</div>
<!-- Use any element to open the sidenav -->
<span onclick="openNav()" class="pull-right menu-icon">☰</span>
</div>
</header>
<div class="container">
<div class="row">
<div class="inner text-center">
<h1 class="logo-name">Plan It</h1>
<h2>Your party planner</h2>
<p>Manage and Organise your events!</p>
<a class="btn btn-imfo btn-read-more" href="create-event.php">Get Started</a>
</div>
</div>
</div>
</div>
</section>
<!-- / banner -->
<!--about-->
<section id="about" class="section-padding">
<div class="container">
<div class="row">
<div class="col-md-12 text-center marb-35">
<h1 class="header-h">Plan and Organize</h1>
<p class="header-p">Hosting a party soon? Confused where to start? “Plan it” is solution to your
problems.
<br>Plan your event more effectively and efficiently using Plan it!</p>
</div>
<div class="col-md-1"></div>
<div class="col-md-10">
<div class="col-md-6 col-sm-6">
<div class="about-info">
<h2 class="heading">Our Motivation</h2>
<p>The purpose of the project is to make a website that helps Event hosts to plan an event.
An event host can create an Event and add people to the group that will help him plan
the event. The host can create tasks and assign them to the people in the group.
Alternatively, the group members can also assign tasks to themselves and mark them as
complete as they finish it. Thus, everyone on the group is aware of the current status
of the planning thereby avoiding chaos.</p>
<div class="details-list">
<ul>
<li><i class="fa fa-check"></i>Create an event</li>
<li><i class="fa fa-check"></i>Manage your events</li>
<li><i class="fa fa-check"></i>Add organizers and friends to your planning committee
</li>
<li><i class="fa fa-check"></i>Collaborate and build</li>
</ul>
</div>
</div>
</div>
<div class="col-md-6 col-sm-6">
<img src="img/res06.jpg" alt="" class="img-responsive">
</div>
</div>
<div class="col-md-1"></div>
</div>
</div>
</section>
<!--/about-->
<!-- event -->
<!--
<section id="event">
<div class="bg-color" class="section-padding">
<div class="container">
<div class="row">
<div class="col-xs-12 text-center" style="padding:60px;">
<h1 class="header-h">Up Coming events</h1>
<p class="header-p">Sneak into upcoming events</p>
</div>
<div class="col-md-12" style="padding-bottom:60px;">
<div class="item active left">
<div class="col-md-6 col-sm-6 left-images">
<img src="img/holi1.jpg" class="img-responsive">
</div>
<div class="col-md-6 col-sm-6 details-text">
<div class="content-holder">
<h2>ISA Holi 2019</h2>
<p>Holi is also known as the “festival of love” as on this day people unite together forgetting all resentments and all types of bad feeling towards each other.</p>
<address>
<strong>Place: </strong>
Dunn Meadow, 900 E 7th St, 47408 Bloomington
<br>
<strong>Time: </strong>
04:00pm
</address>
<a class="btn btn-imfo btn-read-more" href="events-details.php">Read more</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
-->
<!--/ event -->
<!-- menu -->
<!--
<section id="menu-list" class="section-padding">
<div class="container">
<div class="row">
<div class="col-md-12 text-center marb-35">
<h1 class="header-h">Checkout other events and planners</h1>
<p class="header-p">Feature hosts of trending events
<br>Get inspired by their planning skills.</p>
</div>
<div class="col-md-12 text-center" id="menu-flters">
<ul>
<li><a class="filter active" data-filter=".menu-restaurant">Show All</a></li>
<li><a class="filter" data-filter=".breakfast">Events</a></li>
<li><a class="filter" data-filter=".lunch">Planners</a></li>
</ul>
</div>
<div id="menu-wrapper">
<div class="breakfast menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Event Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">ddmmyyyy</span>
</span>
<span class="menu-subtitle">Planner name</span>
</div>
<div class="breakfast menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Event Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">ddmmyyyy</span>
</span>
<span class="menu-subtitle">Planner name</span>
</div>
<div class="breakfast menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Event Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">ddmmyyyy</span>
</span>
<span class="menu-subtitle">Planner name</span>
</div>
<div class="breakfast menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Event Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">ddmmyyyy</span>
</span>
<span class="menu-subtitle">Planner name</span>
</div>
<div class="breakfast menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Event Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">ddmmyyyy</span>
</span>
<span class="menu-subtitle">Planner name</span>
</div>
<div class="breakfast menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Event Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">ddmmyyyy</span>
</span>
<span class="menu-subtitle">Planner name</span>
</div>
<div class="lunch menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Planner Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">Number of Events</span>
</span>
<span class="menu-subtitle">located in</span>
</div>
<div class="lunch menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Planner Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">Number of Events</span>
</span>
<span class="menu-subtitle">located in</span>
</div>
<div class="lunch menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Planner Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">Number of Events</span>
</span>
<span class="menu-subtitle">located in</span>
</div>
<div class="lunch menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Planner Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">Number of Events</span>
</span>
<span class="menu-subtitle">located in</span>
</div>
<div class="lunch menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Planner Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">Number of Events</span>
</span>
<span class="menu-subtitle">located in</span>
</div>
<div class="lunch menu-restaurant">
<span class="clearfix">
<a class="menu-title" href="#" data-meal-img="assets/img/restaurant/rib.jpg">Planner Name</a>
<span style="left: 166px; right: 44px;" class="menu-line"></span>
<span class="menu-price">Number of Events</span>
</span>
<span class="menu-subtitle">located in</span>
</div>
</div>
</div>
</section>
-->
<!--/ menu -->
<!-- contact -->
<!--
<section id="contact" class="section-padding">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1 class="header-h">Have questions?</h1>
<p class="header-p">Contact us for any queries and questions. </p>
</div>
</div>
<div class="row msg-row">
<div class="col-md-4 col-sm-4 mr-15">
<div class="media-2">
<div class="media-left">
<div class="contact-phone bg-1 text-center"><span class="phone-in-talk fa fa-phone"></span></div>
</div>
<div class="media-body">
<h4 class="dark-blue regular">Phone Numbers</h4>
<p class="light-blue regular alt-p">+812 0000000000 - <span class="contacts-sp">Call us</span></p>
<p class="light-blue regular alt-p">+812 0000000000 </p>
</div>
</div>
<div class="media-2">
<div class="media-left">
<div class="contact-email bg-14 text-center"><span class="hour-icon fa fa-clock-o"></span></div>
</div>
<div class="media-body">
<h4 class="dark-blue regular">Working hours</h4>
<p class="light-blue regular alt-p"> Monday to Friday 09.00 - 24:00</p>
<p class="light-blue regular alt-p">
Friday and Sunday 08:00 - 03.00
</p>
</div>
</div>
</div>
<div class="col-md-8 col-sm-8">
<form action="" method="post" role="form" class="contactForm">
<div id="sendmessage">Your booking request has been sent. Thank you!</div>
<div id="errormessage"></div>
<div class="col-md-6 col-sm-6 contact-form pad-form">
<div class="form-group label-floating is-empty">
<input type="text" name="name" class="form-control" id="name" placeholder="Your Name" data-rule="minlen:4" data-msg="Please enter at least 4 chars" />
<div class="validation"></div>
</div>
</div>
<div class="col-md-6 col-sm-6 contact-form">
<div class="form-group">
<input type="date" class="form-control label-floating is-empty" name="date" id="date" placeholder="Date" data-rule="required" data-msg="This field is required" />
<div class="validation"></div>
</div>
</div>
<div class="col-md-6 col-sm-6 contact-form pad-form">
<div class="form-group">
<input type="email" class="form-control label-floating is-empty" name="email" id="email" placeholder="Your Email" data-rule="email" data-msg="Please enter a valid email" />
<div class="validation"></div>
</div>
</div>
<div class="col-md-6 col-sm-6 contact-form">
<div class="form-group">
<input type="time" class="form-control label-floating is-empty" name="time" id="time" placeholder="Time" data-rule="required" data-msg="This field is required" />
<div class="validation"></div>
</div>
</div>
<div class="col-md-6 col-sm-6 contact-form">
<div class="form-group">
<input type="text" class="form-control label-floating is-empty" name="phone" id="phone" placeholder="Phone" data-rule="required" data-msg="This field is required" />
<div class="validation"></div>
</div>
</div>
<div class="col-md-6 col-sm-6 contact-form">
<div class="form-group">
<input type="text" class="form-control label-floating is-empty" name="people" id="people" placeholder="People" data-rule="required" data-msg="This field is required" />
<div class="validation"></div>
</div>
</div>
<div class="col-md-12 contact-form">
<div class="form-group label-floating is-empty">
<textarea class="form-control" name="message" rows="5" rows="3" data-rule="required" data-msg="Please write something for us" placeholder="Message"></textarea>
<div class="validation"></div>
</div>
</div>
<div class="col-md-12 btnpad">
<div class="contacts-btn-pad">
<button class="contacts-btn">Send</button>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
-->
<!-- / contact -->
<!-- footer -->
<footer class="footer text-center">
<div class="footer-top">
<div class="row">
<div class="col-md-offset-3 col-md-6 text-center">
<div class="widget">
<h4 class="widget-title">Plan it!</h4>
</div>
</div>
</div>
</div>
</footer>
<!-- / footer -->
<script src="js/jquery.min.js"></script>
<script src="js/jquery.easing.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/custom.js"></script>
<script src="contactform/contactform.js"></script>
</body>
</html>