Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.199 Web Server : LiteSpeed System : Linux in-mum-web1259.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u490972518 ( 490972518) PHP Version : 5.6.40 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u490972518/domains/mhischool.in/public_html/admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php error_reporting(0); include('../link/databaseconnection.php'); session_start(); $lg=$_SESSION['admin']; $id=$_REQUEST['flag']; $exam=$_REQUEST['flag1']; $sel5="select * from registration where id='$id' "; $res5=mysqli_query($conn,$sel5); $row5=mysqli_fetch_array($res5,MYSQLI_BOTH); $application=$row5['application']; $sch=$application; $class=$row5['subject']; //echo $application; $session=$row5['session']; //$exam='HALF YEARLY EXAM'; //$exam=$row['name']; $sel1="select * from up_result where session='$session' and exam='$exam' and class='$class' and rol='$sch'"; $res1=mysqli_query($conn,$sel1); $sel12="select * from up_result where session='$session' and exam='HALF YEARLY EXAM' and class='$class' and rol='$sch'"; $res12=mysqli_query($conn,$sel12); $row12=mysqli_fetch_array($res12,MYSQLI_BOTH); $sel13="select * from up_result where session='$session' and exam='ANNUAL EXAM' and class='$class' and rol='$sch'"; $res13=mysqli_query($conn,$sel13); $row13=mysqli_fetch_array($res13,MYSQLI_BOTH); ?> <html> <head> <script src="../js/jquery-3.2.1.min.js"></script> <!--jquery--> <script> $(document).ready(function(){ $("#pay").click(function(){ window.location.href='bil.php'; }); }); $(document).ready(function(){ $("#print").click(function(){ $("#pay").css("visibility","hidden"); $("#back").css("visibility","hidden"); $("#print").css("visibility","hidden"); window.print(); window.location.href='resultpg.php'; }); $("#back").click(function(){ window.location.href='resultpg.php'; }); }); </script> <style> .graph-7{background: url("../images/momin_back.png") no-repeat ;} .graph-image img{display: none;} .graph-7{background-size:100% 100% ;} @media print{ .graph-img img{display:inline;} width:100%; } @media print { * { -webkit-print-color-adjust: exact; } } td { padding-top: .5em; padding-bottom: .5em; } #header { height:70px; background-color:red; width:495px; } #logo { height:70px; background-color:green; width:70px; float-left; } #name { height:70px; background-color:yellow; width:420px; float-left; } .graph-7{background: url(../images/momin_back.png) no-repeat; } .graph-7{background-size:100% 100% ;} .graph-image img{display: inline; } @media print{ .graph-image img{display:inline;} } td{font-size:12px; font-weight:bold; } #p {font-size:13px; text-transform: uppercase;} </style> <style type="text/css" media="print"> @page { size: A4; /* auto is the initial value */ margin: 2mm; /* this affects the margin in the printer settings */ } @media print { jk {position:relative;} } td{font-size:12px; font-weight:bold;} @media print { #p {font-size:13px; #p2{margin-left:200px} #p3{margin-left:500px} text-transform: uppercase;} </style> </head> <body> <?php $s=2017; $r=0; $row1=mysqli_fetch_array($res1,MYSQLI_BOTH) ?> <center> <div class="row graph-image graph-7" style="width:100%"> <table border="1px" width="100%" cellspacing="0"> <tr> <td align="center" COLSPAN="15"> <div style=" position: absolute; right: 45px; top: 20px; font-family: Cambria Math; font-size: 15px; line-height: 19px;"> <img src="../images/up.png" style="width:80px"> <span id="lblemail"></span></b><br/> <b> </b><br/><br/> </div> <div style=" position: absolute; left: 45px; top: 20px; font-family: Cambria Math; font-size: 15px; line-height: 19px;"> <img src="../images/logo.png" style="width:100px"> </div> <div style=" position: absolute; right: 206px; top: 302px; font-family: Cambria Math; font-size: 15px; line-height: 19px;"> <img src="../images/logo.png" style="opacity:0.2; width:100%"> </div> <div id="cce-rc-top" style="padding-top:0px; background-position: 33px 46px;"> <div class="rw item" style="font-size: 18px; font-family: Arial; color: black; text-shadow: 0px 0px 0px #ffffff; word-spacing: 1px;" > <span style="background-color: #fefec7;"> <span id="lblaffliation"></span> </span></div> <div class="rw item" style="font-size:30px; font-weight: bold; font-family: Cambria Math; color: #b2282e; text-shadow: 6px 4px 0px #e4e1e1; word-spacing: 1px;" ><span id="lSchoolName">M.H.N.J.H SCHOOL</span></div> <div class="rw item" style="font-size: 18px; font-family: Arial; color: black; text-shadow: 0px 0px 0px #ffffff; word-spacing: 1px;" > <span style="background-color: #fefec7;"> <span id="lbl_status_of_school"></span> </span></div> <div class="rw" style=" font-size: 13px; width:94%; font-family:Cambria Math; color:black"> <SPAN style="font-size: 22px; font-weight:700; color:#b2282e; "> <span id="lblheading_second"></span></SPAN> </div> <div class="rw item" style="font-size: 18px; font-family: Arial; color: black; text-shadow: 0px 0px 0px #ffffff; word-spacing: 1px;" > <SPAN style="font-size: 27px; font-family: Cambria Math; color:#094602;"><span id="lSchoolAddress">MAITINAGAR CHANDPAR AZAMGARH</span></SPAN></div> <div class="rw item" style="font-size:21px; font-family: Arial; color: black; text-shadow: 0px 0px 0px #ffffff; word-spacing: 1px;" > <span style="color:#094602;"><span id="lblwebsite">Website :www.mhischool.in</span> </span></div> <div class="rw" style=" font-size: 13px; width:94%; border-top: 2px solid #b2282e; border-bottom: 2px solid #b2282e; font-family:Cambria Math; color:black"><SPAN style="font-size: 25px; font-weight:700; color:#b2282e; "> <span id="lblheading_frist"></span> <span id="lSchoolSession">PROGRESS REPORT</span> </SPAN> </div> </div> </td> </tr> <?php if($row5['subject']=='NINTH') { $c1='9th'; } if($row5['subject']=='TENTH') { $c1='10th'; } ?> <tr align="left"> <td colspan='5'><h4>Class: <?php echo $c1;?>  Roll No.: <?php echo $row5['rol'];?></h4></td><td colspan="6"><h4>Session : <?php echo $session?></h4></td><td colspan='4'><h4>Sch. Number: <?php echo $row5['application'];?></h4></td> </tr> <?php ?> <tr align=""> <td colspan='5'>Name</td><td colspan='6' style='font-size:13px' id='p'><p style='font-size:13px'><b><?php echo $row5['name'];?></b></p></td> <td rowspan="3" colspan='4'> <center><img src="../code/img/<?php echo $row5['picture'];?>" height="110px" width="110px"/></center></td> </tr> <tr align=""> <td colspan='5' >Father's Name</td><td colspan='6' style='font-size:13px' id='p'><p style='font-size:13px'><b> <?php echo $row5['fname'];?></b></p></td> </tr> <tr align=""> <td colspan='5'>Mother's Name</td><td colspan='6' style='font-size:13px' id='p'><p style='font-size:13px'><b> <?php echo $row5['mname'];?></b></p></td> </tr> <tr align=""> <td colspan='5'>DOB</td><td colspan='6' style='font-size:13px' id='p'><p style='font-size:13px'><b> <?php echo $row5['dob'];?></b></p></td> </tr> <tr align="center" width="100%"> <td colspan="15"><h3>ACADEMIC PERFORMANCE </h3></td> </tr> <tr align="center"> <td colspan="16"><h3><?php echo $exam;?></h3></td> </tr> <tr align="center" style="font-weight:bold"> <td style="text-align:left" colspan='2'>SUBJECT</td><td>PRACTICAL(30)</td><td colspan='5'>WRITTEN MARKS(70)</td><td colspan='6'>TOTAL(100)</td> </tr> <tr align="center"> <td style="text-align:left" colspan='2'><?php echo $row1['sub1'];?> </td><td ><?php echo $l1=$row1['mark1p'];?></td><td colspan='5'><?php echo $m1=$row1['mark1m'];?></td><td colspan='6'><?php echo $t1=$m1+$l1 ;?></td> </tr> <tr align="center"> <td style="text-align:left" colspan='2'><?php echo $row1['sub2'];?> </td><td ><?php echo $l2=$row1['mark2p'];?></td><td colspan='5'><?php echo $m2=$row1['mark2m'];?></td><td colspan='6'><?php echo $t2=$m2+$l2 ;?></td> </tr> <tr align="center"> <td style="text-align:left" colspan='2'><?php echo $row1['sub3'];?> </td><td ><?php echo $l3=$row1['mark3p'];?></td><td colspan='5'><?php echo $m3=$row1['mark3m'];?></td><td colspan='6'><?php echo $t3=$m3+$l3 ;?></td> </tr> <tr align="center"> <td style="text-align:left" colspan='2'><?php echo $row1['sub4'];?> </td><td ><?php echo $l4=$row1['mark4p'];?></td><td colspan='5'><?php echo $m4=$row1['mark4m'];?></td><td colspan='6'><?php echo $t4=$m4+$l4 ;?></td> </tr> <tr align="center"> <td style="text-align:left" colspan='2'><?php echo $row1['sub5'];?> </td><td ><?php echo $l5=$row1['mark5p'];?></td><td colspan='5'><?php echo $m5=$row1['mark5m'];?></td><td colspan='6'><?php echo $t5=$m5+$l5 ;?></td> </tr> <tr align="center"> <td style="text-align:left" colspan='2'><?php echo $row1['sub6'];?> </td><td ><?php echo $l6=$row1['mark6p'];?></td><td colspan='5'><?php echo $m6=$row1['mark6m'];?></td><td colspan='6'><?php echo $t6=$m6+$l6 ;?></td> </tr> <tr align="center"> <td style="text-align:left" colspan='2'>TOTAL </td><td ><?php echo $b1= $l1+$l2+$l3+$l4+$l5+$l6;?></td><td colspan='5'><?php echo $e1= $m1+$m2+$m3+$m4+$m5+$m6;?></td><td colspan='6'><?php echo $ef=$t1+$t2+$t3+$t4+$t5+$t6;?></td> </tr> <tr align="center"> <td colspan='8'>GRAND TOTAL = <?php echo $ef?> /600</td> <td colspan='7'><b>PERCENTAGE = <B><?PHP $per1211=$ef/6; echo substr("$per1211",0,5);?>% <?php ?> </B>   <?PHP if($per1211>=33 ) { if($per1211>=33 and $per1211<=45) { echo"DIVISION = THIRD "; } else if($per1211>45 and $per1211<60) { echo"DIVISION = SECOND "; } else if($per1211=60 and $per1211<=100) { echo" DIVISION = FIRST "; } } ELSE { echo 'Need Upgration'; } ?> </b></td> </tr> <tr align="center"> <td colspan='15'><b>REMARKS</b></td> </tr> <tr align="center"> <td colspan='15'> </td> </tr> <tr> <td align="LEFT" colspan='15' style='font-weight:bold'><SPAN style='font-weight:bold'><br/><br/><i>Date-:<br/>Sign of checker's </i></SPAN>               <i >Sign of Class Teacher</i>               <i >Sign of Principal </i></td> </tr> </table> </div> <?php ?><br/><br/><?php ?> <br/> </body> </html>