]]jkjjgdjffksdkdfdkfjgsldkfhgjkgjkhjkgjkdascxvxcvxcvjdklfgjslkdfgjlskdfgjdskfgj
במ12[aspddfsdfsdfdrxcvxcvcxvxcvxcvxcvxcvxcvxcvxcvxcvxxvxcvxcvxcv;'
/
home
/
themaxvo
/
public_html
/
tour_admin
/
Upload FileeE
HOME
<?php include_once('include/dhconnect.php')?> <?php if($_SESSION['username']== null) { header('Location:index'); } ?> <!DOCTYPE HTML> <html> <head> <title>Pt. Uma Dutt Public School : Dholpur</title> <meta name="viewport" content="width=device-width, initial-scale=1"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="" /> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <!-- Bootstrap Core CSS --> <link href="css/bootstrap.min.css" rel='stylesheet' type='text/css' /> <!-- Custom CSS --> <link href="css/style.css" rel='stylesheet' type='text/css' /> <!-- Graph CSS --> <link href="css/font-awesome.css" rel="stylesheet"> <!-- jQuery --> <link href='//fonts.googleapis.com/css?family=Roboto:700,500,300,100italic,100,400' rel='stylesheet' type='text/css'> <!-- lined-icons --> <link rel="stylesheet" href="css/icon-font.min.css" type='text/css' /> <!-- //lined-icons --> <script src="js/jquery-1.10.2.min.js"></script> <script src="js/amcharts.js"></script> <script src="js/serial.js"></script> <script src="js/light.js"></script> <script src="js/radar.js"></script> <link href="css/barChart.css" rel='stylesheet' type='text/css' /> <link href="css/fabochart.css" rel='stylesheet' type='text/css' /> <!--clock init--> <script src="js/css3clock.js"></script> <!--Easy Pie Chart--> <!--skycons-icons--> <script src="js/skycons.js"></script> <script src="js/jquery.easydropdown.js"></script> <!--//skycons-icons--> </head> <body> <div class="page-container"> <!--/content-inner--> <div class="left-content"> <div class="inner-content"> <!-- header-starts --> <?php include_once('header.php');?> <!-- //header-ends --> <!-- //header-ends --> <!--outter-wp--> <div class="outter-wp"> <!--sub-heard-part--> <div class="sub-heard-part"> <ol class="breadcrumb m-b-0"> <li><a href="index">Home</a></li> <li class="active">Class Result</li> </ol> </div><br/><br/> <!--//sub-heard-part--> <div class="graph-visual tables-main"> <div class="graph"> <?php if(isset($_POST['submit'])!=null) { $class=$_POST['class']; $year=$_POST['year']; $streg=$_POST['streg']; $stpas=$_POST['stpas']; $pasper=$_POST['pasper']; $remark=$_POST['remark']; $ne=mysqli_query($con,"insert into disclosureresult set class='$class',year='$year',st_reg='$streg',st_pas='$stpas',pas_per='$pasper',remarks='$remark'") or die("error".mysqli_error($con)); echo "<center><span style='color:blue;'>Result added successfully!</span></center>"; } ?> <h3 style="color:blue;">ADD RESULT</h3> <form action="" method="post"> <table style="width:100%;"> <tr style="margin-top:50px; "> <td style="width:35%;"><b>CLASS</b></td> <td style="width:5%;"><b>:</b></td> <td style="width:75%;"> <select style="width:75%;height:40px;" name="class"> <option>--Select Class--</option> <option value="10">Class 10th</option> <option value="12">Class 12th</option> </select> </td> </tr> <tr style="margin-top:50px; "> <td style="width:35%;"><b>YEAR</b></td> <td style="width:5%;"><b>:</b></td> <td style="width:75%;"><textarea style="width:80%;" name="year"></textarea></td> </tr> <tr style="margin-top:50px; "> <td style="width:35%;"><b>NO. OF REGISTERED STUDENTS</b></td> <td style="width:5%;"><b>:</b></td> <td style="width:75%;"><textarea style="width:80%;" name="streg"></textarea></td> </tr> <tr style="margin-top:50px; "> <td style="width:35%;"><b>NO. OF STUDENTS PASSED</b></td> <td style="width:5%;"><b>:</b></td> <td style="width:75%;"><textarea style="width:80%;" name="stpas"></textarea></td> </tr> <tr style="margin-top:50px; "> <td style="width:35%;"><b>PASS PERCENTAGE</b></td> <td style="width:5%;"><b>:</b></td> <td style="width:75%;"><textarea style="width:80%;" name="pasper"></textarea></td> </tr> <tr style="margin-top:50px; "> <td style="width:35%;"><b>REMARKS</b></td> <td style="width:5%;"><b>:</b></td> <td style="width:75%;"><textarea style="width:80%;" name="remark"></textarea></td> </tr> <tr style="margin-top:50px; "> <td style="width:35%;"><b></b></td> <td style="width:5%;"><b></b></td> <td style="width:75%;"><input type="submit" name="submit"></td> </tr> </table> </form> <h3 style="color:blue;">VIEW RESULT</h3> <?php $i=1; if(isset($_POST['checkresult'])!=NULL) { $checkclass=$_POST['class1']; $checkyear=$_POST['year1']; $query2=mysqli_query($con,"select * from disclosureresult where class='$checkclass' and year='$checkyear'") or die("ERROR".mysqli_error()); $row2=mysqli_fetch_array($query2); ?> <style> .table1{border:1px solid #000;border-collapse:collapse;width:100%;} .table1 td{border:1px solid #000;border-collapse:collapse;font-size:15px;text-align:center;} </style> <table class="table1"> <tr> <td>S.NO.<b></b></td><td><b>CLASS</b></td><td><b>YEAR</b></td><td><b>NO. OF REGISTERED STUDENTS</b></td><td><b>NO. OF STUDENTS PASSED</b></td><td><b>PASS PERCENTAGE</b></td><td><b>REMARKS</b></td> </tr> <tr> <td><?=$i?></td><td><?=$row2['class']?></td><td><?=$row2['year']?></td><td><?=$row2['st_reg']?></td><td><?=$row2['st_pas']?></td><td><?=$row2['pas_per']?></td><td><?=$row2['remarks']?></td> </tr> </table> <?php $i++; } ?> <br> <form action="" method="POST"> <table style="width:100%;"> <tr style="margin-top:50px; "> <td style="width:35%;"><b>SELEC CLASS & YEAR</b></td> <td style="width:5%;"><b>:</b></td> <td style="width:30%;"> <select style="width:50%;height:40px;" name="class1"> <option>--Select Class--</option> <option value="10">Class 10th</option> <option value="12">Class 12th</option> </select> </td> <td style="width:30%;"> <textarea style="width:60%;" name="year1"></textarea> </td> </tr> <tr> <td></td><td></td><td><input type="submit" name="checkresult"></td> </tr> </table> </form> </div> </div> <!--//graph-visual--> </div> <!--footer section start--> <?php include_once('footer.php');?> <!--footer section end--> </div> </div> <!--//content-inner--> <!--/sidebar-menu--> <?php include_once('sidebar.php');?> <!--/sidebar-menu--> <div class="clearfix"></div> </div> <script> var toggle = true; $(".sidebar-icon").click(function() { if (toggle) { $(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back"); $("#menu span").css({"position":"absolute"}); } else { $(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back"); setTimeout(function() { $("#menu span").css({"position":"relative"}); }, 400); } toggle = !toggle; }); </script> <!--js --> <link rel="stylesheet" href="css/vroom.css"> <script type="text/javascript" src="js/vroom.js"></script> <script type="text/javascript" src="js/TweenLite.min.js"></script> <script type="text/javascript" src="js/CSSPlugin.min.js"></script> <script src="js/jquery.nicescroll.js"></script> <script src="js/scripts.js"></script> <!-- Bootstrap Core JavaScript --> <script src="js/bootstrap.min.js"></script> </body> </html>