forked from shubhamnautiyal/Internship_thdc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
events_control_page.php
149 lines (141 loc) · 6.49 KB
/
events_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
<!doctype html>
<html>
<head>
<title>Edit Events</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 href="https://fonts.googleapis.com/css?family=Paprika" 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';">'EVENTS'</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="guests_control_page.php" style="font-family: 'Luckiest Guy'; font-size: 20px;">GUESTS<span class="sr-only">(current)</span>
</a>
</li>
</ul>
</div>
</nav>
<div class="container-fluid">
<div class="container">
<center>
<div class="jumbotron text-white" style="background-image: url('RSVP_IMAGES/eventsbackground.jpg'); ">
<div class="alert alert-danger col-lg-6" role="alert" style="font-family: 'Bangers'; font-size: 30px;">
<strong>LATEST EVENT!</strong>WITH DETAILS.
</div>
<div style="font-family: Paprika;">
<?php
require("functions.php");
show_events();
?>
</div>
</div>
</center>
</div>
<hr>
<div class="container">
<div class="jumbotron text-white" style="background-image: url('RSVP_IMAGES/eventsbackground.jpg');">
<div class="row">
<div class="col-lg-6">
<center>
<div class="container">
<div style="width: 105%; border: 2px dashed whitesmoke; padding-bottom:45px;">
<h5 style="font-family: 'Margarine'; font-size: 23px; padding-top:45px; ">SEE ALL PREVIOUS EVENTS<span class="badge badge-success">click on the button below</span>
</h5>
<a href="allevents_display_page.php" class="btn btn-outline-success" role="button">Show All Events</a>
</div>
</div>
</center>
</div>
<div class="col-lg-6">
<center>
<div class="container">
<div style="width: 105%; border: 2px dashed whitesmoke; padding-bottom:45px;">
<h5 style="font-family: 'Margarine'; font-size: 23px; padding-top:45px; ">CREATE A NEW EVENT<span class="badge badge-success">click on the button below</span>
</h5>
<button type="button" class="btn btn-outline-success" data-toggle="modal" data-target="#exampleModal" data-whatever="@mdo">Add New Event
</button>
</div>
</div>
</center>
</div>
</div>
</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 EVENT</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="event_form">
<div class="form-group">
<label for="event-name" class="form-control-label">
<h6>EVENT NAME:</h6>
</label>
<div class="col-lg-8">
<input type="text" class="form-control" placeholder="Enter a Name for the Event" name="event_name" id="event_name" required>
</div>
</div>
<div class="form-group">
<label for="event-date" class="form-control-label">
<h6>EVENT DATE:</h6>
</label>
<div class="col-lg-8">
<input type="date" class="form-control" placeholder="Enter a Date for the Event" name="event_date" id="event_date" required>
</div>
</div>
<div class="form-group">
<label for="event-venue" class="form-control-label">
<h6>EVENT VENUE:</h6>
</label>
<div class="col-lg-8">
<input type="text" class="form-control" placeholder="Enter a Venue for the Event" name="event_venue" id="event_venue" required>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success" name="Submit" id="Submit_event">CREATE</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</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>