-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmore_events(2).php
116 lines (88 loc) · 3.91 KB
/
more_events(2).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
<?php require_once("includes/base.php") ?>
<?php require_once("includes/functions.php") ?>
<?php require_once("includes/connection.php") ?>
<?php require_once("backend/ifnotlogin.php") ?>
<?php
$username = $_SESSION['currentuser'];
?>
<nav class="navbar-wrapper navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/main_dashbord.php"><span class="glyphicon glyphicon-home"></span> Event Compass</a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-left">
<?php
$username = $_SESSION['currentuser'];
?>
<li>
<div class="col-sm-12 col-md-12 col-md-offset-4">
<form class="navbar-form" role="search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search Event" name="q">
<div class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
</div>
</div>
</form>
</div>
</li>
</ul>
<ul class="nav pull-right">
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a class="navbar-link" href="browse_event.php?user=<?php echo $username ?>"><span class="glyphicon glyphicon-globe"></span> Browse Events</a>
</li>
<li>
<a class="navbar-link" href="event_form.php?user=<?php echo $username ?>"><span class="glyphicon glyphicon-plus"></span> Post Event</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user"></span><b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="main_settings_page.php?user=<?php echo $username ?>"><span class="glyphicon glyphicon-cog"></span> User Settings</a></li>
<li><a href="logout.php"><span class="glyphicon glyphicon-log-out"></span> Logout</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<!-- Introduction Row -->
<div class="row">
<div class="col-lg-12 text-center">
<h1 class="page-header">Hi, Username
</h1>
<p>These events may interest you.</p>
</div>
</div>
<div id="wrapper">
<!-- Events Row -->
<div class="col-lg-12">
<h2 class="page-header">Category - 1</h2>
</div>
<div class="col-lg-3 col-sm-6 text-center">
<img class="img-circle img-responsive img-center" src="http://placehold.it/200x200" alt="">
<h3>{Event.name}
<small>{Event.type}</small>
</h3>
<p>Short description</p>
</div>
<hr>
</div>
<!-- /.container -->
<!-- jQuery -->
<script src="js/jquery.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</body>
<?php require_once("includes/footer.php") ?>
</html>