-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
135 lines (124 loc) · 4.86 KB
/
index.html
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
<?php
include('server.php');
if(empty($_SESSION['username'])){
header('location: login.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Vacanza'20</title>
<link rel="stylesheet" type="text/css" href="vacanza'20.css">
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@600;800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=News+Cycle:wght@700&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/01cf3acb8e.js" crossorigin="anonymous"></script>
</head>
<body>
<!-- -------------------Header------------------------ -->
<section id="header">
<div class="nav">
<div class="CSIlogo"><a href="https://csiakgec.in/" target="_blank">CSI</a></div>
<nav id="sidenav">
<ul>
<li><a href="#">HOME</a></li>
<li><a href="#">ROUNDS</a></li>
<li><a href="#">QUIZZES</a></li>
</ul>
</nav>
<div class="details">
<?php if(isset($_SESSION['success'])):?>
<div class="error success">
<h2>
<?php
// echo $_SESSION['success'];
unset($_SESSION['success']);
?>
</h2>
</div>
<?php endif ?>
</div>
</div>
<img src="images/menu.png" id="menubtn">
<div class="header_contents">
<img src="images/logo.png" class="logo">
<div class="heading"><p>VACANZA'20</p></div>
<div class="heading__2"><?php if(isset($_SESSION['username'])): ?>
<h4 style="margin: 20px;">Welcome <?php echo $_SESSION['username']; ?></h4>
<?php endif ?></div>
<ul>
<li><a href="index.php?logout='1'">LOG OUT <button><i class="fas fa-arrow-right"></i></button></a></li>
<li><a href="#">START QUIZ <button><i class="fas fa-arrow-right"></i></button></a></li>
</ul>
</div>
</section>
<!-- -----------------Rounds------------------------- -->
<section class="rounds">
<div class="box">
<div class="left-col">
<h1 class="heading1">ROUND 1</h1>
<div class="paragraph">
Round 1 comprises of 4 domains from which participants have to select at least 2 domains and can choose<br> maximum of 4 domains for more points. The more domain you opt for , the more you score.
</div>
<h3 class="heading2">The four domains are:</h3>
<p class="domains">Vintage Photography | Leaf Collage | Origami Art | Face Mask Art</p>
<div class="rule_btn">RULES</div>
</div>
<div class="right-col">
<img src="images/vintage.jpg">
</div>
</div>
<div class="box">
<div class="left-col">
<h1 class="heading1">ROUND 2</h1>
<div class="paragraph">
Test your knowledge just by answering some basic questions and gain points easily.Round 2 contains quiz questions based on popular TV series and sports.
</div>
<h3 class="heading2">The field are as follows:</h3>
<p class="domains">Football | Stranger Things | Cricket | F.r.i.e.n.d.s</p>
<div class="rule_btn">RULES</div>
</div>
<div class="right-col">
<img src="images/quiz.jpg">
</div>
</div>
<div class="box">
<div class="left-col">
<h1 class="heading1 special">ROUND 3</h1>
<div class="paragraph">
The final round consists of making an interesting and astonishing magic trick video which might force people <br> to say “How did you do that!”. The best and the most surprising video will be selected as the winner.
</div>
<div class="rule_btn special1">RULES</div>
</div>
<div class="right-col">
<img src="images/magic.jpg">
</div>
</div>
</section>
<!-- ------------------Footer---------------------- -->
<section>
<div class="footer">
<div class="icons">
<a href="#"><i class="fab fa-youtube" id="icon_size"></i></a>
<a href="#"><i class="fab fa-instagram" id="icon_size"></i></a>
<a href="#"><i class="fab fa-linkedin-in" id="icon_size"></i></a>
</div>
<img id="footer_img" src="images/footer.png">
</div>
<div class="copy_right">@CSI:AKGEC 2020</div>
</section>
<script>
var menubtn = document.getElementById("menubtn");
var sidenav = document.getElementById("sidenav");
sidenav.style.right="-250px";
menubtn.onclick=function()
{
if (sidenav.style.right=="-250px") {
sidenav.style.right = "0";
}
else{
sidenav.style.right = "-250px";
}
}
</script>
</body>
</html>