-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaddEvent.php
68 lines (68 loc) · 3 KB
/
addEvent.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device width, initial-scale=1, shrink-to-fit=no">
<title>Luna</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="js/bootstrap.min.js"></script>
<link rel="stylesheet" href="dispRegistrationscss.css">
<link href="font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid" id="wrapper">
<div class="row">
<nav class="sidebar col-2 bg-faded sidebar-style-1">
<h1 class="navbar-brand">
<a href="#"><strong>Kreiva</strong></a>
</h1>
<ul class="nav nav-pills flex-column sidebar-nav">
<li class="nav-item">
<a href="adminpage.php" class="nav-link">Dashboard</a>
</li>
<li class="nav-item">
<a href="dispRegistrations.php" class="nav-link">Registrations</a>
</li>
<li class="nav-item">
<a href="trial_events.php" class="nav-link">Events</a>
</li>
<li class="nav-items">
<a href="addEvent.php" class="nav-link"><em class="fa fa-plus"></em> Add Events</a>
</li>
<li class="nav-items">
<a href="addSubEvents.php" class="nav-link"><em class="fa fa-plus"></em> Add Sub Events</a>
</li>
<li class="nav-items">
<a href="deleteEvent.php" class="nav-link"><em class="fa fa-trash-o"></em> Remove Events</a>
</li>
</ul>
<a href="#" class="logout-button"><em class="fa fa-lock"></em>Signout</a>
</nav>
<main class="col-10 ml-auto">
<header class="page-header row">
<div class="col-md-6 col-lg-8">
<h1 class="display-4">Add/Remove Events</h1>
</div>
</header>
<div class="col-12">
<form action="addEventToDB.php" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="addEvent">Add Event</label>
<input type="text" id="addEvent" class="form-control" name="Event">
</div>
<div class="form-group">
<label for="description">Add Description</label>
<textarea class="form-control" id="description" rows="5" name="Describe"></textarea>
</div>
<div class="form-group">
<label for="exampleFormControlFile1">Image</label>
<input type="file" class="form-control-file" id="exampleFormControlFile1" name="image" required>
</div>
<button class="btn btn-primary" type="submit" name="submit">Add</button>
</form>
</div>
</main>
</div>
</div>
</body>
</html>