0byt3m1n1
Path:
/
home
/
k74ns2xygros
/
www
/
[
Home
]
File: marksheet.php
<!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"> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Himalyan Educational Group</title> <!------------------------------------------Responsive Meta------------------------------------------> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <!------------------------------------------css------------------------------------------> <link rel="stylesheet" type="text/css" href="css/bootstrap.css" /> <link rel="stylesheet" type="text/css" href="style.css" /> <link rel="stylesheet" type="text/css" href="css/menuzord.css" /> <link rel="stylesheet" type="text/css" href="css/menuzord-colored.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <link rel="stylesheet" type="text/css" href="css/font-awesome.css" /> <link rel="stylesheet" type="text/css" href="css/font-awesome.min.css" /> <link rel="stylesheet" type="text/css" href="css/cubeportfolio.min.css"> <link rel="stylesheet" type="text/css" href="css/dcalendar.picker.css"> <link href="https://fonts.googleapis.com/css?family=Domine|Montserrat" rel="stylesheet"> </head> <body> <header id="reg-ver"> <div class="container"> <div class="row"> <div class="col-md-10"> <div class="logo-new"> <a href="index-2.html" title=""> <center><img src="images/him_header.png" class="img-responsive wide-logo" /></center> </a> </div> </div> <div class="col-md-2"> <center><img src="images/qr.png" class="img-responsive new-img" /></center> </div> </div> </div> </header> <section class="content"> <div class="container"> <div class="row"> <div class="col-md-12 search_outer"> <form class="verify-butn" method="post" id="code_data" action = "http://himalyan.org.in/businesslayer/Controller.php" novalidate> <input class="search_text" type="text" placeholder="Enrollments Number" name="code" id="code" required=""> <div id="error-code" style="color:red"></div> <input type="hidden" name="Submit" value="getmarksheet1"> <button type="button" class="search_sub" onclick="getverify();">Show</button> <input type="button" class="search_sub" value="Print" onclick="PrintDiv();" /> </form> </div> <div id = "divToPrint"> <div class="col-md-12 cerification_outer" > <center><h3 class="certifiation_head">Marksheet Verification Details</h3></center> </div> <table width="100%" border="1" id="tb" > </table> </div> </div> </div> </section> <script type="text/javascript" src="js/jquery-1.11.1.min.js"></script> <script> function getverify() { var code = $('#code').val(); if (code.length == 0) { $('#error-code').css("display", "block"); $('#error-code').html("Please Enter Enrollment No."); } if (code.length > 0) { $('#error-code').css("display", "none"); $('#error-code').html(""); } if (code.length > 0) { $.post('businesslayer/Controller.html', $("#code_data").serialize(), function (data1) { if (data1.length > 0) { if (data1 == 0) { $('#error-code').css("display", "block"); $('#error-code').html("Inactive account."); } if (data1 == 1) { $('#error-code').css("display", "block"); $('#error-code').html("Marksheet not available."); } else { $('#tb').html(data1); } } else { $('#tb').html(''); $('#error-code').css("display", "block"); $('#error-code').html("Invalid Enrollments no."); } }); } } </script> <script type="text/javascript"> function PrintDiv() { var divToPrint = document.getElementById('divToPrint'); var popupWin = window.open('', '_blank', 'width=300,height=300'); popupWin.document.open(); popupWin.document.write('<html><body onload="window.print()">' + divToPrint.innerHTML + '</html>'); popupWin.document.close(); } </script>