-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.php
executable file
·299 lines (248 loc) · 14.1 KB
/
index.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
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
290
291
292
293
294
295
296
297
298
299
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>VinnovateIT - Recruitments </title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content=" VinnovateIT is official Innovation Lab of VIT University. ">
<meta name="author" content="Vinit Shahdeo">
<meta name="email" content="[email protected]">
<meta name="copyright" content="Vinit Shahdeo 2019"/>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/bootstrap-theme.min.css"/>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/font.css">
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<?php if(@$_GET['w'])
{echo'<script>alert("'.@$_GET['w'].'");</script>';}
?>
<script>
function validateForm() {var y = document.forms["form"]["name"].value; var letters = /^[A-Za-z]+$/;if (y == null || y == "") {alert("Name must be filled out.");return false;}var z =document.forms["form"]["college"].value;if (z == null || z == "") {alert("college must be filled out.");return false;}var x = document.forms["form"]["email"].value;var atpos = x.indexOf("@");
var dotpos = x.lastIndexOf(".");if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length) {alert("Not a valid e-mail address.");return false;}var a = document.forms["form"]["password"].value;if(a == null || a == ""){alert("Password must be filled out");return false;}if(a.length<5 || a.length>25){alert("Passwords must be 5 to 25 characters long.");return false;}
var b = document.forms["form"]["cpassword"].value;if (a!=b){alert("Passwords must match.");return false;}}
</script>
</head>
<body>
<div class="header">
<div class="row">
<div class="col-lg-6">
<span class="logo">VinnnovateIT Recruitment</span></div>
<div class="col-md-2 col-md-offset-4">
<a href="#" class="pull-right btn sub1" data-toggle="modal" data-target="#myModal"><span class="glyphicon glyphicon-log-in" aria-hidden="true"></span> <span class="title1"><b>Sign in</b></span></a></div>
<!--sign in modal start-->
<div class="modal fade" id="myModal">
<div class="modal-dialog">
<div class="modal-content title1">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title title1"><span style="color:orange">Log In</span></h4>
</div>
<div class="modal-body">
<form class="form-horizontal" action="login.php?q=index.php" method="POST">
<fieldset>
<!-- Text input-->
<div class="form-group">
<label class="col-md-3 control-label" for="email"></label>
<div class="col-md-6">
<input id="email" name="email" placeholder="Enter your email-id" class="form-control input-md" type="email">
</div>
</div>
<!-- Password input-->
<div class="form-group">
<label class="col-md-3 control-label" for="password"></label>
<div class="col-md-6">
<input id="password" name="password" placeholder="Enter your Password" class="form-control input-md" type="password">
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary">Log in</button>
</fieldset>
</form>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<!--sign in modal closed-->
</div><!--header row closed-->
</div>
<div class="bg1">
<div class="row">
<div class="col-md-7"></div>
<div class="col-md-4 panel">
<!-- sign in form begins -->
<form class="form-horizontal" name="form" action="sign.php?q=account.php" onSubmit="return validateForm()" method="POST">
<fieldset>
<!-- Text input-->
<div class="form-group">
<label class="col-md-12 control-label" for="name"></label>
<div class="col-md-12">
<input id="name" name="name" placeholder="Enter your name" class="form-control input-md" type="text">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-12 control-label" for="gender"></label>
<div class="col-md-12">
<select id="gender" name="gender" placeholder="Enter your gender" class="form-control input-md" >
<option value="Male">Select Gender</option>
<option value="M">Male</option>
<option value="F">Female</option> </select>
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-12 control-label" for="name"></label>
<div class="col-md-12">
<input id="college" name="college" placeholder="Enter your college name" class="form-control input-md" type="text">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-12 control-label title1" for="email"></label>
<div class="col-md-12">
<input id="email" name="email" placeholder="Enter your email-id" class="form-control input-md" type="email">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-12 control-label" for="mob"></label>
<div class="col-md-12">
<input id="mob" name="mob" placeholder="Enter your mobile number" class="form-control input-md" type="number">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-12 control-label" for="password"></label>
<div class="col-md-12">
<input id="password" name="password" placeholder="Enter your password" class="form-control input-md" type="password">
</div>
</div>
<div class="form-group">
<label class="col-md-12control-label" for="cpassword"></label>
<div class="col-md-12">
<input id="cpassword" name="cpassword" placeholder="Confirm Password" class="form-control input-md" type="password">
</div>
</div>
<?php if(@$_GET['q7'])
{ echo'<p style="color:red;font-size:15px;">'.@$_GET['q7'];}?>
<!-- Button -->
<div class="form-group">
<label class="col-md-12 control-label" for=""></label>
<div class="col-md-12">
<input type="submit" class="sub" value="sign up" class="btn btn-primary"/>
</div>
</div>
</fieldset>
</form>
</div><!--col-md-6 end-->
</div></div>
</div><!--container end-->
<!--Footer start-->
<div class="row footer">
<div class="col-md-3 box">
<a href="https://vinnovateit.com/" target="_blank"><i class="fa fa-user-circle-o" aria-hidden="true"></i> About</a>
</div>
<div class="col-md-3 box">
<a href="#" data-toggle="modal" data-target="#login"><i class="fa fa-lock" aria-hidden="true"></i> Admin Login</a></div>
<div class="col-md-3 box">
<a href="#" data-toggle="modal" data-target="#developers"><i class="fa fa-code" aria-hidden="true"></i>
Developer</a>
</div>
<div class="col-md-3 box">
<a href="https://github.com/vinitshahdeo" target="_blank"><i class="fa fa-github" aria-hidden="true"></i> GitHub</a></div></div>
<!-- Modal For Developers-->
<div class="modal fade title1" id="developers">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" style="font-family:'typo' "><span style="color:orange">Say Hi to Developer!</span></h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-4">
<img src="image/vinitshahdeo.jpg" width=150 height=150 alt="Vinit Shahdeo" class="img-rounded">
</div>
<div class="col-md-8">
<a href="https://www.facebook.com/vinit.shahdeo" style="color:#202020; font-family:'typo' ; font-size:18px" title="Find on Facebook"><i class="fa fa-user"></i> Vinit Shahdeo</a>
<h4 style="color:#202020; font-family:'typo' ;font-size:16px" class="title1"><i class="fa fa-phone"></i> +91-8870855940</h4>
<h4 style="font-family:'typo' "><i class="fa fa-envelope"></i> [email protected]</h4>
<h4 style="font-family:'typo' "><i class="fa fa-map-marker"></i> VIT University, Vellore</h4>
<br><br><br>
</div>
</div>
<div class="modal-footer">
<div class="row">
<div class="btn-group btn-group-justified">
<a href="https://github.com/vinitshahdeo" class="btn btn-default"><i class="fa fa-github"></i></a>
<a href="https://www.facebook.com/vinit.shahdeo" class="btn btn-default"><i class="fa fa-facebook"></i></a>
<a href="https://www.linkedin.com/in/vinitshahdeo/" class="btn btn-default"><i class="fa fa-linkedin"></i></a>
<a href="https://twitter.com/Vinit_Shahdeo" class="btn btn-default"><i class="fa fa-twitter"></i></a>
<a href="https://www.instagram.com/vinitshahdeo/" class="btn btn-default"><i class="fa fa-instagram"></i></a>
</div>
</div>
</div>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<!--Modal for admin login-->
<div class="modal fade" id="login">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title"><span style="color:orange;font-family:'typo' ">LOGIN</span></h4>
</div>
<div class="modal-body title1">
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<form role="form" method="post" action="admin.php?q=index.php">
<div class="form-group">
<input type="text" name="uname" maxlength="30" placeholder="Admin user id" class="form-control"/>
</div>
<div class="form-group">
<input type="password" name="password" maxlength="15" placeholder="Password" class="form-control"/>
</div>
<div class="form-group" align="center">
<input type="submit" name="login" value="Login" class="btn btn-primary" />
</div>
</form>
</div><div class="col-md-3"></div></div>
</div>
<!--<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>-->
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<!--footer end-->
<!--
███╗ ███╗ █████╗ ██████╗ ███████╗ ██╗ ██╗██╗████████╗██╗ ██╗
████╗ ████║██╔══██╗██╔══██╗██╔════╝ ██║ ██║██║╚══██╔══╝██║ ██║
██╔████╔██║███████║██║ ██║█████╗ ██║ █╗ ██║██║ ██║ ███████║
██║╚██╔╝██║██╔══██║██║ ██║██╔══╝ ██║███╗██║██║ ██║ ██╔══██║
██║ ╚═╝ ██║██║ ██║██████╔╝███████╗ ╚███╔███╔╝██║ ██║ ██║ ██║
╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚══════╝ ╚══╝╚══╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝
██╗ ██████╗ ██╗ ██╗███████╗ ██████╗ ██╗ ██╗
██║ ██╔═══██╗██║ ██║██╔════╝ ██╔══██╗╚██╗ ██╔╝
██║ ██║ ██║██║ ██║█████╗ ██████╔╝ ╚████╔╝
██║ ██║ ██║╚██╗ ██╔╝██╔══╝ ██╔══██╗ ╚██╔╝
███████╗╚██████╔╝ ╚████╔╝ ███████╗ ██████╔╝ ██║
╚══════╝ ╚═════╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═╝
██╗ ██╗██╗███╗ ██╗██╗████████╗ ███████╗██╗ ██╗ █████╗ ██╗ ██╗██████╗ ███████╗ ██████╗
██║ ██║██║████╗ ██║██║╚══██╔══╝ ██╔════╝██║ ██║██╔══██╗██║ ██║██╔══██╗██╔════╝██╔═══██╗
██║ ██║██║██╔██╗ ██║██║ ██║ ███████╗███████║███████║███████║██║ ██║█████╗ ██║ ██║
╚██╗ ██╔╝██║██║╚██╗██║██║ ██║ ╚════██║██╔══██║██╔══██║██╔══██║██║ ██║██╔══╝ ██║ ██║
╚████╔╝ ██║██║ ╚████║██║ ██║ ███████║██║ ██║██║ ██║██║ ██║██████╔╝███████╗╚██████╔╝
╚═══╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚══════╝ ╚═════╝
-->
</body>
</html>