<!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>© 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>