-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathliteraryindex.php
158 lines (147 loc) · 7.9 KB
/
literaryindex.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>ZEPHYR-LITERARY</title>
<link rel="shortcut icon" type="image/x-icon" href="images/zephyr-logo.JPG"> <!-- icon shown on top of heading of admin page -->
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lora:400,400i,700,700i">
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<style>
.icon-case {
width: 22px;
float: left;
border-radius: 5px 0px 0px 5px;
background: #eeeeee;
height: 22px;
position: absolute;
text-align: center;
line-height: 22px;
}
</style>
<body
style="background:linear-gradient(rgba(47, 23, 15, 0.65), rgba(47, 23, 15, 0.65)), url('assets/img/liteback.jpg');">
<h1 class="text-center text-white d-none d-lg-block site-heading"><span
class="text-primary site-heading-upper mb-3"> Presented by Perspectives, Debating society </span>
<span class="site-heading-lower">Literary Events</span></h1>
<!-- first event -->
<section class="page-section clearfix">
<div class="container">
<div class="intro"><img class="img-fluid intro-img mb-3 mb-lg-0 rounded" src="assets/img/quiz.jpg"
style="width: 59%; ">
<div class="intro-text left-0 text-centerfaded p-5 rounded bg-faded text-center">
<h2 class="section-heading mb-4"><span class="section-heading-upper">Solo event</span><span
class="section-heading-lower">QUIZ</span></h2>
<p class="mb-3">What colud have been better than books, text, novels, articles, blog, and hour-long discussions and debates !!
<h6><br><b>VENUE-</b><?php
//getting details of event from database
include "linc.php";
$venueq="select name from venue where v_id in (select venue_id from events where event_id=5)";
$venuer=mysqli_query($mysqli,$venueq);
if($venuer)
{
while($row=mysqli_fetch_row($venuer))
{
echo $row[0];
}
}
?> <br>
<b>TIMINGS-</b> <?php
//getting timings
include "linc.php";
$query1d="select DATE_FORMAT(begin_date, '%W %D %M %Y') begin_date from events where event_id=5";
$query1t="select begin_time from events where event_id=5";
$result1d=mysqli_query($mysqli,$query1d);
$result1t=mysqli_query($mysqli,$query1t);
if($result1d)
{
while($row=mysqli_fetch_row($result1d))
{
echo $row[0];
echo ',';
}
}
if($result1t)
{
while($row=mysqli_fetch_row($result1t))
{
echo $row[0];
}
}
?>Hours<br><br><span class="icon-case"><i class="fa fa-file-pdf-o"></i></span><br>
<a href="rulebook.pdf" download style="color: blue; "> Download Rulebook </a></h6>
</p>
<div class="mx-auto intro-button"><a class="btn btn-primary d-inline-block mx-auto btn-xl"
role="button" onclick="location.href='quizreg.php'">Register Now!</a></div>
</div>
</div>
</div>
</section>
<br><br>
<!-- second event -->
<section class="page-section clearfix">
<div class="container">
<div class="intro"><img class="img-fluid intro-img mb-3 mb-lg-0 rounded" src="assets/img/debate.jpg"
style="width: 59%;">
<div class="intro-text left-0 text-centerfaded p-5 rounded bg-faded text-center">
<h2 class="section-heading mb-4"><span class="section-heading-upper">Group event</span><span
class="section-heading-lower">VAARTALAP</span></h2>
<p class="mb-3">Have a talent to put your views in front of world. <br> Then why wait for discussions ? Come here and break the mikes, take people far away from what the belive !!
<h6><br><b>VENUE-</b> <?php
include "linc.php";
$venueq="select name from venue where v_id in (select venue_id from events where event_id=6)";
$venuer=mysqli_query($mysqli,$venueq);
if($venuer)
{
while($row=mysqli_fetch_row($venuer))
{
echo $row[0];
}
}
?> <br>
<b>TIMINGS-</b> <?php
include "linc.php";
$query1d="select DATE_FORMAT(begin_date, '%W %D %M %Y') begin_date from events where event_id=6";
$query1t="select begin_time from events where event_id=6";
$result1d=mysqli_query($mysqli,$query1d);
$result1t=mysqli_query($mysqli,$query1t);
if($result1d)
{
while($row=mysqli_fetch_row($result1d))
{
echo $row[0];
echo ',';
}
}
if($result1t)
{
while($row=mysqli_fetch_row($result1t))
{
echo $row[0];
}
}
?>Hours<br><br><span class="icon-case"><i class="fa fa-file-pdf-o"></i></span><br>
<a href="rulebook.pdf" download style="color: blue; "> Download Rulebook </a></h6>
</p>
<div class="mx-auto intro-button"><a class="btn btn-primary d-inline-block mx-auto btn-xl"
role="button" onclick="location.href='vartalaapreg.php'">Register Now!</a></div>
</div>
</div>
</div>
</section>
<br><br><br>
<footer class="footer text-faded text-center py-5">
<div class="container">
<p class="m-0 small">With Love © Zephyr 2020</p>
</div>
</footer>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/current-day.js"></script>
</body>
</html>