-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrules.php
More file actions
275 lines (183 loc) · 7.15 KB
/
Copy pathrules.php
File metadata and controls
275 lines (183 loc) · 7.15 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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="description" content=""/>
<meta name="keywords" content="" />
<meta name="author" content="" />
<link rel="stylesheet" type="text/css" href="reset.css" media="screen" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="ie_fixes.css" media="screen" /><![endif]-->
<title>Hack In!</title>
</head>
<?$date = date(“format”, $timestamp);?>
<body>
<?
include "config.php";
session_start();
?>
<div id="paper_left">
<div id="paper_right">
<div id="layout_wrapper">
<div id="layout_container">
<div id="layout_content">
<div id="site_title">
<h1><a href="#">Hackin @ BUZZ</a></h1>
<h2>Enter At Your Own Risk</h2>
</div>
<div id="header_image"></div>
<div class="navigation">
<ul>
<li>
<a href="index.php">Home Page</a></li>
<? if(!isset($_SESSION["username"])){
echo'<li><a href="registration.php">Register/Login</a></li>';
}
?>
<li><a href="list.php">Rank List</a></li>
<li><a href="http://felicity.iiit.ac.in/buzz/forums">Forums</a></li>
<li class="current_page_item"><a href="rules.php">Rules</a></li>
<li><a href="about.php">About Us</a></li>
<? if(isset($_SESSION["username"])){
echo '<li><a href="logout.php">Logout</a></li>';
}
?>
</ul>
<div class="clearer"> </div>
</div>
<!-- Note: Uncomment this section to display subnavigation
<div class="clearer"> </div>
<div class="navigation" id="subnav">
<ul>
<li><a href="#">Subnav item 1</a></li>
<li><a href="#">Subnav item 2</a></li>
<li><a href="#">Subnav item 3</a></li>
</ul>
<div class="clearer"> </div>
</div>
-->
<div id="main">
<div class="post">
<div class="post_top">
<div class="post_title"><h2>
<? if(isset($_SESSION["username"])){
echo "Welcome Comrade" ;
echo " ",$_SESSION["username"];
# header("Location:./hackin.php");
}?></h2></div>
<? $t=time(); ?>
<div class="post_date"><?echo"Server Time is " ; echo date('d/m/Y - H:ia'); ?></div>
</div>
<div class="post_body">
<p>Rules</p>
<ul class="rules">
<li>Hack In consists of puzzles involving technical concepts. Clues may be present ANYWHERE - source code being the most common place to look.</li>
<li>You have to register to participate</li>
<li>The first 10 or so levels have been designed to ensure that UG1 students can go through them provided they have sound ITWS1 concepts and a keen mind.</li>
<li>Please play fairly. Any malicious attempt will result in the IP and username being blocked from the portal</li>
<li>Feel free to ask doubts/hints/share feedback on the forums. However, sharing answers is not permitted.</li>
<li>The portal will remain open till Sunday. The contest may be extended if user interest persists.</li>
<li>Have fun! :)</li>
</ul>
<blockquote>
<p>When solving problems, dig at the roots instead of just hacking at the leaves.
</p>
</blockquote>
</div>
<!--<div class="post_metadata">
<div class="content">
<span class="comment"><a href="#">2 Comments</a></span>
</div>
</div>--!>
</div>
<!-- <div class="post">
<div class="post_top">
<div class="post_title"><h2><a href="#">Adipiscing</a></h2></div>
<div class="post_date">Jun 11, 2006 by Laoreet</div>
</div>
<div class="post_body">
<p>Aliquam risus justo, mollis in, laoreet a, consectetuer nec, risus. Nunc blandit sodales lacus. Nam luctus semper mi.</p>
<ul>
<li>Tristique</li>
<li>Aenean</li>
<li>Pretium</li>
</ul>
<p>In hac habitasse platea dictumst. Duis porttitor. Sed vulputate elementum nisl. Vivamus et mi at arcu mattis iaculis. Nullam posuere tristique tortor. In bibendum. Aenean ornare, nunc eget pretium porttitor, sem est pretium leo, non euismod nulla dui non diam. Pellentesque dictum faucibus leo. Vestibulum ac ante. Sed in est.</p>
</div>
<div class="post_metadata">
<div class="content">
<span class="comment"><a href="#">11 Comments</a></span>
</div>
</div>
</div>
<div class="post">
<div class="post_top">
<div class="post_title"><h2><a href="#">Interdum</a></h2></div>
<div class="post_date">May 24, 2006 by Lectus</div>
</div>
<div class="post_body">
<p>Praesent nisi sem, bibendum in, ultrices sit amet, euismod sit amet, dui. Donec varius tincidunt nisi. Ut ut sapien. Integer porta. Fusce nibh. Curabitur pellentesque, lectus at <a href="index.html">volutpat interdum</a></p>
<h3>Sem justo</h3>
<p>Placerat elit, eget feugiat est leo tempor quam. Ut quis neque convallis magna consequat molestie. Nullam semper massa eget ligula. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque a nibh quis nunc volutpat aliquam</p>
<code>
margin-bottom: 12px;<br/>
font: normal 1.1em "Lucida Sans Unicode",serif;<br/>
background: url(img/quote.gif) no-repeat;<br/>
padding-left: 28px;<br/>
color: #555;<br/>
</code>
<p>Eget feugiat est leo tempor quam. Ut quis neque convallis magna consequat molestie.</p>
</div>
--!>
<!-- <div class="post_metadata">
<div class="content">
<span class="comment"><a href="#">6 Comments</a></span>
</div>
</div>
</div>--!>
<!-- </div>
<div id="bottom">
<div class="left col3">
<h2>Tincidunt</h2>
<ul>
<li><a href="index.html">consequat molestie</a></li>
<li><a href="index.html">sem justo</a></li>
<li><a href="index.html">semper</a></li>
<li><a href="index.html">magna sed purus</a></li>
<li><a href="index.html">tincidunt</a></li>
</ul>
</div>
<div class="left col3">
<h2>Sed purus</h2>
<ul>
<li><a href="index.html">sem justo</a></li>
<li><a href="index.html">magna sed purus</a></li>
<li><a href="index.html">tincidunt</a></li>
<li><a href="index.html">semper</a></li>
<li><a href="index.html">consequat molestie</a></li>
</ul>
</div>
<div class="right col3last">
<h2>Praesent</h2>
<ul>
<li><a href="index.html">semper</a></li>
<li><a href="index.html">consequat molestie</a></li>
<li><a href="index.html">magna sed purus</a></li>
<li><a href="index.html">sem justo</a></li>
<li><a href="index.html">tincidunt</a></li>
</ul>
</div>
<div class="clearer"> </div>
</div>--!>
<div id="footer">
<div class="left">© 2012 Team Hackin all rights reserved</div>
<div class="right"><a href="http://felicity.iiit.ac.in/~buzz/">TO felicity buzz</div>
<div class="clearer"> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>