Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.161 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/../swrampyarejan.in/public_html/admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php error_reporting(0); include('../link/databaseconnection.php'); session_start(); $lg=$_SESSION['admin']; $id=$_REQUEST['flag']; $sel5="select *from registration where id='$id'"; $res5=mysqli_query($conn,$sel5); $row5=mysqli_fetch_array($res5,MYSQLI_BOTH); $application=$row5['application']; //echo $application; $session=$row5['session']; $class=$row5['subject']; $exam='FIRST TERM'; //$exam=$row['name']; $sel1="select * from six_eightresult where session='$session' and exam='$exam' and class='$class' and rol='$id'"; $res1=mysqli_query($conn,$sel1); ?> <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> <script> $(document).ready(function(){ $('#example').DataTable({ dom: 'Bfrtip', buttons: ['copy', 'csv', 'excel', 'pdf', 'print'] }); }); </script> <style> .graph-7{background: url("../images/jdawn_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/jdawn_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=1; while($row1=mysqli_fetch_array($res1,MYSQLI_BOTH)) { ?> <center> <table frame="border" height="10%" width="100%" id="example"> <tr> <td align="center" COLSPAN="5"><img src="../images/jdawn_name.png" style=""height="138px" width="100%"/><span></td> </tr> </table> <div class="row graph-image graph-7" style="width:100%"> <table border="1px" width="100%" cellspacing="0"> <tr align="center"> <td><h4>Class: <?php echo $row1['class'];?></h4></td><td colspan="2"><h4>PROGRESS REPORT- <?php echo $row1['session'];?></h4></td><td ><h4>Roll. Number: <?php echo $id;?></h4></td> </tr> <?php ?> <tr align=""> <td>Name</td><td colspan="2" style='font-size:13px' id='p'><p style='font-size:13px'><b><?php echo $row5['name'];?></b></p></td><td rowspan="3"> <center><img src="../code/img/<?php echo $row5['picture'];?>" height="110px" width="110px"/></center></td> </tr> <tr align=""> <td>Father's Name</td><td colspan="2" style='font-size:13px' id='p'><p style='font-size:13px'><b> <?php echo $row5['fname'];?></b></p></td> </tr> <tr align=""> <td>Mother's Name</td><td colspan="2" style='font-size:13px' id='p'><p style='font-size:13px'><b> <?php echo $row5['mname'];?></b></p></td> </tr> <tr align="center"> <td colspan="7"><h3>ACADEMIC PERFORMANCE</h3></td> </tr> <table cellspacing="0" border="1px" width="100%"> <tr align="center" style="font-weight:bold"> <td style="text-align:left" >SUBJECT</td><td>PER. TEST(10)</td><td>NOTE B.(5)</td><td>SUB. ERICH.(5)</td><td>H .Y.(80)</td><td >MARKS OBT.(100)</td><td >GRADE</td> </tr> <tr align="center"> <td style="text-align:left">HINDI </td><td ><?php echo $row1['mark1p'];?></td><td><?php echo $row1['mark1n'];?></td><td><?php echo $row1['mark1k'];?></td><td><?php echo $row1['mark1m'];?></td><td><?php echo $m1=$row1['mark1p']+$row1['mark1n']+$row1['mark1k']+$row1['mark1m'];?></td><td><?php if($m1>=91){echo 'A1';} if($m1<91 and $m1>=81){echo 'A2';}if($m1<81 && $m1>=71){echo 'B1';}if($m1<71 && $m1>=61){echo 'B1';}if($m1<61 && $m1>=51){echo 'C1';}if($m1<51 && $m1>=41){echo 'C2';}if($m1<41 && $m1>=33){echo 'D';} if($m1<33 ){echo 'E(Failed)';}?></td> </tr> <tr align="center"> <td style="text-align:left">ENGLISH</td><td ><?php echo $row1['mark2p'];?></td><td><?php echo $row1['mark2n'];?></td><td><?php echo $row1['mark2k'];?></td><td><?php echo $row1['mark2m'];?></td><td><?php echo $m2=$row1['mark2p']+$row1['mark2n']+$row1['mark2k']+$row1['mark2m'];?></td><td><?php if($m2>=91){echo 'A1';} if($m2<91 and $m2>=81){echo 'A2';}if($m2<81 && $m2>=71){echo 'B1';}if($m2<71 && $m2>=61){echo 'B1';}if($m2<61 && $m2>=51){echo 'C1';}if($m2<51 && $m2>=41){echo 'C2';}if($m2<41 && $m2>=33){echo 'D';} if($m2<33 ){echo 'E(Failed)';}?></td> </tr> <tr align="center"> <td style="text-align:left">MATHS </td><td ><?php echo $row1['mark3p'];?></td><td><?php echo $row1['mark3n'];?></td><td><?php echo $row1['mark3k'];?></td><td><?php echo $row1['mark3m'];?></td><td><?php echo $m3=$row1['mark3p']+$row1['mark3n']+$row1['mark3k']+$row1['mark3m'];?></td><td><?php if($m3>=91){echo 'A1';} if($m3<91 and $m3>=81){echo 'A2';}if($m3<81 && $m3>=71){echo 'B1';}if($m3<71 && $m3>=61){echo 'B1';}if($m3<61 && $m3>=51){echo 'C1';}if($m3<51 && $m3>=41){echo 'C2';}if($m3<41 && $m3>=33){echo 'D';} if($m3<33 ){echo 'E(Failed)';}?></td> </tr> <tr align="center"> <td style="text-align:left">SCIENCE/E.V.S. </td><td ><?php echo $row1['mark4p'];?></td><td><?php echo $row1['mark4n'];?></td><td><?php echo $row1['mark4k'];?></td><td><?php echo $row1['mark4m'];?></td><td><?php echo $m4=$row1['mark4p']+$row1['mark4n']+$row1['mark4k']+$row1['mark4m']?></td><td><?php if($m4>=91){echo 'A1';} if($m4<91 and $m4>=81){echo 'A2';}if($m4<81 && $m4>=71){echo 'B1';}if($m4<71 && $m4>=61){echo 'B1';}if($m4<61 && $m4>=51){echo 'C1';}if($m4<51 && $m4>=41){echo 'C2';}if($m4<41 && $m4>=33){echo 'D';} if($m4<33 ){echo 'E(Failed)';}?></td> </tr> <tr align="center"> <td style="text-align:left">COMPUTER </td><td ><?php echo $row1['mark5p'];?></td><td><?php echo $row1['mark5n'];?></td><td><?php echo $row1['mark5k'];?></td><td><?php echo $row1['mark5m'];?></td><td><?php echo $m5=$row1['mark5p']+$row1['mark5n']+$row1['mark5k']+$row1['mark5m']?></td><td><?php if($m5>=91){echo 'A1';} if($m5<91 and $m5>=81){echo 'A2';}if($m5<81 && $m5>=71){echo 'B1';}if($m5<71 && $m5>=61){echo 'B1';}if($m5<61 && $m5>=51){echo 'C1';}if($m5<51 && $m5>=41){echo 'C2';}if($m5<41 && $m5>=33){echo 'D';} if($m5<33 ){echo 'E(Failed)';}?></td> </tr> <tr align="center"> <td style="text-align:left">G.K. </td><td ><?php echo $row1['mark6p'];?></td><td><?php echo $row1['mark6n'];?></td><td><?php echo $row1['mark6k'];?></td><td><?php echo $row1['mark6m'];?></td><td><?php echo $m6=$row1['mark6p']+$row1['mark6n']+$row1['mark6k']+$row1['mark6m']?></td><td><?php if($m5>=91){echo 'A1';} if($m5<91 and $m5>=81){echo 'A2';}if($m5<81 && $m5>=71){echo 'B1';}if($m5<71 && $m5>=61){echo 'B1';}if($m5<61 && $m5>=51){echo 'C1';}if($m5<51 && $m5>=41){echo 'C2';}if($m5<41 && $m5>=33){echo 'D';} if($m5<33 ){echo 'E(Failed)';}?></td> </tr> <tr align="center"> <td style="text-align:left">TOTAL </td><td ><?php echo $row1['mark1p']+$row1['mark2p']+$row1['mark3p']+$row1['mark4p']+$row1['mark5p']+$row1['mark6p'];?></td><td><?php echo $row1['mark1n']+$row1['mark2n']+$row1['mark3n']+$row1['mark4n']+$row1['mark5n']+$row1['mark6n'];?></td><td><?php echo $row1['mark1k']+$row1['mark2k']+$row1['mark3k']+$row1['mark4k']+$row1['mark5k']+$row1['mark6k'];?></td><td><?php echo $row1['mark1m']+$row1['mark2m']+$row1['mark3m']+$row1['mark4m']+$row1['mark5m']+$row1['mark6m'];?></td><td><?php echo $total =$m1+$m2+$m3+$m4+$m5+$m6?></td><td></td> </tr> <tr align="center"> <td colspan='7'><b>PERCENTAGE = <B><?PHP $per1=$total/6; echo substr("$per1",0,4);?>% <?php ?> </B>   <?PHP if($per1>=33 ) { if($per1>=33 and $per1<=45) { echo"( PASS  ,  DIVISION = THIRD )"; } else if($per1>45 and $per1<60) { echo"( PASS  ,  DIVISION = SECOND )"; } else if($per1=60 and $per1<=100) { echo"( PASS  ,  DIVISION = FIRST )"; } } ELSE { } ?> </b></td> </tr> <tr align="center"> <td style="text-align:left"colspan=''><B>PERSONAL ACTIVITIES</B></td><td colspan=''><b>GRADE</b></td><td style="text-align:left"><b>BEHAVIOUR</b></td><td><b>GRADE</b></td><td style="text-align:left" colspan="2"><b>ACTIVITIES</b></td><td ><b>GRADE</b></td> </tr> <tr align="center"> <td style="text-align:left"colspan=''>Appearance & Personality</td><td colspan=''><?php echo $row1['mark1e'];?></td><td style="text-align:left">To Programmes</td><td>A</td><td style="text-align:left" colspan="2">Co-Curricular</td><td><?php echo $row1['mark6e'];?></td> </tr> <tr align="center"> <td style="text-align:left"colspan=''>Cleanliness</td><td colspan=''><?php echo $row1['mark2e'];?></td><td style="text-align:left">To School Responsibility</td><td><?php echo $row1['mark8e'];?></td><td style="text-align:left" colspan="2">Hobby</td><td><?php echo $row1['mark9e'];?></td> </tr> <tr align="center"> <td style="text-align:left"colspan=''>Discipline</td><td colspan=''><?php echo $row1['mark3e'];?></td><td style="text-align:left">To School Mates</td><td><?php echo $row1['mark10e'];?></td><td style="text-align:left" colspan="2">Literary Scientific& Cultural</td><td>A</td> </tr> <tr align="center"> <td style="text-align:left"colspan=''>Punctuality</td><td colspan=''><?php echo $row1['mark4e'];?></td><td style="text-align:left">To Studies</td><td><?php echo $row1['mark5e'];?></td><td style="text-align:left" colspan="2">Social Service </td><td><?php echo $row1['mark8e'];?></td> </tr> <tr align="center"> <td style="text-align:left"colspan=''>Regularity</td><td colspan=''><?php echo $row1['mark5e'];?></td><td style="text-align:left">To Teachers</td><td><?php echo $row1['mark7e'];?></td><td style="text-align:left" colspan="2">Sports & Game </td><td><?php echo $row1['mark11e'];?></td> </tr> <tr align="center"> <td colspan='7'><b>REMARKS</b></td> </tr> <tr align="center"> <td colspan='7'> </td> </tr> <tr> <td align="LEFT" colspan='7' style='font-weight:bold'><SPAN style='font-weight:bold'><br/><br/><i>Date-:<br/>Sign of Class Teacher</i></SPAN>               <i >Sign of Principal</i>               <i >Sign of Parents/Guardian</i></td> </tr> </table> </div> <?php ?><br/><br/><?php } ?> <br/> </body> </html>