-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
233 lines (190 loc) · 6.65 KB
/
index.php
File metadata and controls
233 lines (190 loc) · 6.65 KB
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<!--A Design by W3layouts
Author: W3layout
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<?php
session_start();
if($_SESSION["check"])
echo "<script type='text/javascript'>window.location.href='level.php';</script>";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Kryptex</title>
<link href="images/alma-af-icon.jpg" rel="shortcut icon">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="keywords" content="Kryptex" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- bootstrap-css -->
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<!--// bootstrap-css -->
<!-- css -->
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<!--// css -->
<!-- gallery -->
<link type="text/css" rel="stylesheet" href="css/cm-overlay.css" />
<!-- //gallery -->
<!-- font-awesome icons -->
<link href="css/font-awesome.css" rel="stylesheet">
<!-- //font-awesome icons -->
<!-- font -->
<!-- //font -->
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
$(".scroll").click(function(event){
event.preventDefault();
$('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
});
});
</script>
<!-- animation -->
<link href="css/animate.css" rel="stylesheet" type="text/css" media="all">
<script src="js/wow.min.js"></script>
<script>
new WOW().init();
</script>
<!-- //animation -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<!-- banner -->
<div class="banner jarallax">
<div class="agileinfo-dot">
<div class="header">
<div class="container">
<nav class="navbar navbar-default">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="agileits-logo">
<h1><a href="index.php"><img src="images/logo1.png" alt="" /> Kryptex</a></h1>
</div>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse nav-wil" id="bs-example-navbar-collapse-1">
<nav>
<ul class="nav navbar-nav">
<li ><a href="index.php">Home</a></li>
<li><a href="register.php">Register</a></li>
<li><a data-toggle="modal" href="#myModal">Login</a></li>
<li><a href="rules.php" >Rules</a></li>
<li><a href="leader.php" >Leaderboard</a></li>
<li><a href="developers.php" >Developers</a></li>
</ul>
</nav>
</div>
<!-- /.navbar-collapse -->
</nav>
</div>
</div>
<div class="w3layouts-banner-info">
<div class="container w3l-heading">
<h2 >
Kryptex is organised by Alma Fiesta where the KEY is redefining FESTIVITY!</h2>
<h2>YO ALMA!</h2>
</small></h1>
</div>
<!-- <div class="w3-arrow bounce animated">
<a href="#indro" class="scroll"><i class="fa fa-angle-down" aria-hidden="true"></i></a>
</div> -->
</div>
<div class="container links">
<div class="row">
<h2>
<div class="col-sm-4"> <center></center></div>
<a data-toggle="modal" href="#myModal"> <div class="col-sm-2 rj"><center>Login</center></div></a>
<a href="register.php"> <div class="col-sm-2 rj"> <center>Register</center></div></a>
<div class="col-sm-4"><center></center></div>
</h2>
</div>
<center><h2><p style="color:red;">Kryptex Over !!</p><br></h2></center>
<div class=" container w3l-heading" >
<div class="rj1"><br>
<h2><p style="color: #ffdd99;">Kryptex Says..</p><br>
<div style="color: #00ffcc;">YO ALMA !!<br> <br></div> </h2>
</div>
</div>
<footer>
<div class="container">
<p>© Design by WebD Team | <a href="http://almafiesta.com"> Alma fiesta</a> </p>
</div>
</footer>
</div>
</div>
</div> <div class="container">
</div>
<div id="myModal" class="modal fade" role="dialog" >
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content" style=" background-color: rgb(0,0,0,0.5)">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h3 class="modal-title" style="color:white;"><center>Login</center></h3>
</div>
<div class="modal-body">
<div class="w3layouts-main">
<form action="login.php" method="post">
<input placeholder="User Name" name="user" type="text" required="">
<input placeholder="Password" name="pword" type="password" id="password1" required="">
<input type="submit" value="Get Started" name="login">
</form>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery.tools.min.js"></script>
<script src="js/jquery.mobile.custom.min.js"></script>
<script src="js/jquery.cm-overlay.js"></script>
<script>
$(document).ready(function(){
$('.cm-overlay').cmOverlay();
});
</script>
</div>
</div>
<!-- //gallery -->
<!-- team -->
<!-- //footer -->
<script src="js/jarallax.js"></script>
<script src="js/SmoothScroll.min.js"></script>
<script type="text/javascript">
/* init Jarallax */
$('.jarallax').jarallax({
speed: 0.5,
imgWidth: 1366,
imgHeight: 768
})
</script>
<script src="js/responsiveslides.min.js"></script>
<script type="text/javascript" src="js/move-top.js"></script>
<script type="text/javascript" src="js/easing.js"></script>
<!-- here stars scrolling icon -->
<script type="text/javascript">
$(document).ready(function() {
/*
var defaults = {
containerID: 'toTop', // fading element id
containerHoverID: 'toTopHover', // fading element hover id
scrollSpeed: 1200,
easingType: 'linear'
};
*/
$().UItoTop({ easingType: 'easeOutQuart' });
});
</script>
<!-- //here ends scrolling icon -->
</body>
</html>