-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
289 lines (260 loc) · 12.9 KB
/
index.php
File metadata and controls
289 lines (260 loc) · 12.9 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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ragam 2015</title>
<meta name="description" content="Ragam 2015, NIT Calicut's Annual Cultural Festival">
<meta name="keywords" content="ragam, raagam, nitc, nit calicut, tathva, raga, raaga">
<meta name="google-site-verification" content="OguuMK3kMTqLJsjIlgyCWciCHLn99B2OECdmL4RfX1Y" />
<meta name="author" content="Ragam Creative Team">
<link rel="icon" href="http://www.ragam.org.in/2015/img/favicon.png">
<link rel="shortcut icon" href="http://www.ragam.org.in/2015/img/favicon.png">
<link rel="stylesheet" type="text/css" href="css/default.css">
<link rel="stylesheet" type="text/css" href="css/component.css">
<link rel="stylesheet" type="text/css" href="css/ticker.css">
<link rel="stylesheet" type="text/css" href="css/mine.css">
<!-- include the core styles -->
<link rel="stylesheet" href="css/alertify.core.css" />
<!-- include a theme, can be included into the core instead of 2 separate files -->
<link rel="stylesheet" href="css/alertify.default.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Registration -->
<link rel="stylesheet" type="text/css" href="css/registration/select2.min.css">
<link rel="stylesheet" type="text/css" href="css/registration/jquery.remodal.css">
<link rel="stylesheet" type="text/css" href="css/registration/pure-nr-min.css">
<link rel="stylesheet" type="text/css" href="css/registration/registration.css">
</head>
<body>
<div id="preloader"></div>
<div class="fadebox-black"></div>
<div class="spmenu-push" id="mega">
<!--<div id="topdraw" class="topdraw-hover">
<div id="topdraw-content">
</div>
<div id="topdraw-hanger">
</div>
</div>-->
<div class="registration-bar">
<!-- <span id="registration-current-status"> </span>
<button id="registration-action-login" type="button" class="pure-button button-xsmall button-success" style="display:none;">LOGIN</button>
<button id="registration-action-register" type="button" class="pure-button button-xsmall" style="display:none;">REGISTER</button>
<button id="registration-action-user" type="button" class="pure-button button-xsmall button-secondary" style="display:none;">VIEW PROFILE</button>
<button id="registration-action-logout" type="button" class="pure-button button-xsmall button-warning" style="display:none;">LOG OUT</button>
--> Online Registration is closed. See you at Ragam.
</div>
<div class="remodal" data-remodal-id="show-registration-login" data-remodal-options="hashTracking: false">
<div class="pure-g">
<div class="pure-u-1">
<form action="" id="form-login" method="POST" role="form" class="pure-form">
<h3>Have an account? Login.</h3>
<a href="http://www.ragam.org.in/2015/cms/api/user/fb_login"><img src="img/fb_login.png"></a><br><br>
<input class="pure-input-1" type="email" name="email" placeholder="Your email address" required>
<br><br>
<input class="pure-input-1" type="password" name="password" placeholder="Your password" required>
<br><br>
<button type="submit" class="pure-button button-success">Log in</button>
<button type="button" id="registration-action-new-user" class="pure-button button-secondary">New User</button>
<span id="login-messages"></span>
</form>
</div>
</div>
</div>
<div class="remodal" data-remodal-id="show-registration-register" data-remodal-options="hashTracking: false">
<div class="pure-g">
<div class="pure-u-1">
<h3>Create a new account.</h3>
<a href="http://www.ragam.org.in/2015/cms/api/user/fb_login"><img src="img/fb_login.png"></a><br><br>
<p>Note that if you have already logged in with Facebook, you cannot use the same email to register another account.</p>
<form action="" id="form-signup" method="POST" role="form" class="pure-form">
<input class="pure-input-1" id="data-registration-name" type="text" name="name" placeholder="Full name">
<br><br>
<input class="pure-input-1" id="data-registration-email" type="text" name="email" placeholder="Email address">
<br><br>
<input class="pure-input-1" type="password" name="password" placeholder="Password">
<br><br>
<input class="pure-input-1" type="password" name="password_confirmation" placeholder="Confirm password">
<br><br>
<input class="pure-input-1" id="data-registration-phone" type="text" name="phone" placeholder="Phone number" style="width:100%;">
<br><br>
<select name="college" id="college_select" style="width:100%;">
<option value="0">Loading...</option>
</select>
<br><br><br>
Don't see your college? <a href="#" id="action-show-add-college">Add it here</a>.
<div id="div-add-college" style="display:none;">
<small>You'll be able to register only after your college is verified by the Ragam team.</small><br><br>
<input type="text" id="name_new_college" placeholder="Full college name" style="width:100%;">
<br><br>
<button type="button" id="action-add-college" class="pure-button">Add College</button>
<span id="add-college-messages"></span>
</div>
<br><br>
Do you need hospitality services during Ragam '15?
<label class="pure-radio">
<input type="radio" name="hospitality_type" value="0" checked="checked">
I do not require accomodation.
</label>
<label class="pure-radio">
<input type="radio" name="hospitality_type" value="1">
I would require accomodation (Male)
</label>
<label class="pure-radio">
<input type="radio" name="hospitality_type" value="2">
I would require accomodation (Female)
</label>
<button type="submit" class="pure-button button-success">Register </button>
<span id="signup-messages"></span>
</form>
</div>
</div>
</div>
<div class="remodal" data-remodal-id="show-registration-user" data-remodal-options="hashTracking: false">
<div class="pure-g">
<div class="pure-u-1">
<h3>Your Profile</h3>
<table class="pure-table table-unbordered">
<tbody>
<tr>
<td>Name</td>
<td>:</td>
<td id="registration-data-name"></td>
</tr>
<tr>
<td>Ragam ID</td>
<td>:</td>
<td id="registration-data-id"></td>
</tr>
<tr>
<td>Email</td>
<td>:</td>
<td id="registration-data-email"></td>
</tr>
<tr>
<td>Phone</td>
<td>:</td>
<td id="registration-data-phone"></td>
</tr>
<tr>
<td>College</td>
<td>:</td>
<td id="registration-data-college"></td>
</tr>
</tbody>
</table>
<h3>Events Registered</h3>
<table class="pure-table">
<thead>
<tr>
<th>Event Name</th>
<th>Team Code</th>
<th>Team Members</th>
<th>Action <span id="registration-action-loading"></span></th>
</tr>
</thead>
<tbody id="registration-table-events">
</tbody>
</table>
</div>
</div>
</div>
<nav class="spmenu spmenu-vertical spmenu-right" id="spmenu-s2">
<div id="two" class="target">
<a data-href="Events"><span class="icon-drawer"></span><span class="align-mid">Competitions<span></a>
<a data-href="Workshops"><span class="icon-hammer2"></span><span class="align-mid">Workshops</span></a>
<a data-href="Proshows"><span class="icon-film"></span><span class="align-mid">Proshows</span></a>
<a data-href="sneharagam"><span class="icon-heart"></span><span class="align-mid">Sneharagam</span></a>
<a data-href="Prodezza"><span class="icon-user-tie"></span><span class="align-mid">Prodezza</span></a>
<a data-href="Info"><span class="icon-compass"></span><span class="align-mid">General Info</span></a>
<a data-href="http://app.ragam.org.in"><span class="icon-mobile"></span><span class="align-mid">Mobile Apps</span></a>
<a data-href="sponsors.html"><span class="icon-user-tie"></span><span class="align-mid">Sponsors</span></a>
</div>
</nav>
<div class="container">
<a href="Contacts" data-toggle="modal" data-target="#callback" class="cbh-phone gray show static page-exit" id="contact-icon">
<div class="cbh-ph-circle"></div>
<div class="cbh-ph-circle-fill"></div>
<div class="cbh-ph-img-circle"></div>
</a>
<a href="#" data-toggle="modal" data-target="#callback" class="cbh-phone gray show static playing" id="music-icon">
<div class="cbh-ph-circle"></div>
<div class="cbh-ph-circle-fill"></div>
<div class="cbh-ph-img-circle"></div>
</a>
<a target="_blank" href="https://www.facebook.com/Ragam.nitc" data-toggle="modal" data-target="#callback" class="cbh-phone cbh-contact gray show static playing" id="fb-icon">
<div class="cbh-ph-img-circle cbh-ph-img-circle-logo"></div>
</a>
<a target="_blank" href="https://twitter.com/ragamnitc" data-toggle="modal" data-target="#callback" class="cbh-phone cbh-contact gray show static playing" id="twitter-icon">
<div class="cbh-ph-img-circle cbh-ph-img-circle-logo"></div>
</a>
<a target="_blank" href="https://instagram.com/Ragam_nitc" data-toggle="modal" data-target="#callback" class="cbh-phone cbh-contact gray show static playing" id="instagram-icon">
<div class="cbh-ph-img-circle cbh-ph-img-circle-logo"></div>
</a>
<a target="_blank" href="https://www.youtube.com/user/RagamCulfest" data-toggle="modal" data-target="#callback" class="cbh-phone cbh-contact gray show static playing" id="youtube-icon">
<div class="cbh-ph-img-circle cbh-ph-img-circle-logo"></div>
</a>
<div style="position: absolute;margin-top: -7%;text-align: center;">
<img id="logo" src="img/sponsers/cap.jpg" style="width: 21%;margin-left: 2%;">
</div>
<div class="main">
<div id="main-text" class="path-container">
<ul class="ulstyled">
<li class="barboth styled">
<div class="bar"><span class="w70"></span></div>
</li>
<li class="styled"><img id="logo1" src="img/ragam1.png"></li>
<li style="margin-left:-24px;" class="barboth styled">
<div class="skill-bar"> <span class="w70"></span></div>
</li>
</ul>
<img id="logo" src="img/ragam.png">
<ul class="ulstyled" style="margin-top:-20px;">
<li class="barboth2 styled">
<div class="bar"><span class="w70"></span></div>
</li>
<li style="margin-left:-24px;" class="barboth2 styled">
<div class="skill-bar"> <span class="w70"></span></div>
</li>
</ul>
</div>
</div>
<div style="color:white;position:absolute;width:20%;font-size:1.2em;top:5%;"><center><a href="schedule.pdf" style="color:white;">Download Schedule</a></center></div>
<div style="color:white;position:absolute;width:20%;font-size:1.2em;top:10%;"><center><a href="guidelines.pdf" style="color:white;">Download Guidelines</a></center></div>
<div style="position:absolute;bottom:20%;height:10%;width:100%;font-size:2em;color:#fff"><center>March 26<sup>th</sup> - 29<sup>th</sup> </center></div>
</div>
</div>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/blur.js"></script>
<script src="js/modernizr.custom.js"></script>
<script src="js/classie.js"></script>
<script src="js/alertify.js"></script>
<script>
// $('#two').blurjs({
// source: 'body',
// overlay: 'rgba(255,255,255,0.4)',
// });
function setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays*24*60*60*1000));
var expires = "expires="+d.toUTCString();
document.cookie = cname + "=" + cvalue + "; " + expires;
}
function getCookie(cname) {
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i=0; i<ca.length; i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1);
if (c.indexOf(name) == 0) return c.substring(name.length,c.length);
}
return "";
}
</script>
<script src="js/index.js"></script>
<!-- Registration -->
<script src="js/registration/select2.min.js"></script>
<script src="js/registration/jquery.remodal.js"></script>
<script src="js/registration/registration-common.js"></script>
</body>
</html>