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/mhischool.in/public_html/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u490972518/domains/mhischool.in/public_html/admin/slip.php
<?php
error_reporting(0);
session_start();
			$lg=$_SESSION['admin'];
			if(!$lg)
			{
				header("location:../admin/index.php");
			}

$no=$_POST['no'];
if($no=='1')
{
echo $search=$_POST['app'];
//echo $search;
echo $date=$_POST['date'];

//echo $no;
//$date=date("d-m-Y",strtotime($date1));
//echo $date;



?>
<?php


include("../link/databaseconnection.php");
$sel4="select * from  registration where application ='$search' and session='2019-2020'";
$res4=mysqli_query($conn,$sel4);
$row4=mysqli_fetch_array($res4,MYSQLI_BOTH);
$sel12="select * from  studentfees where search ='$search' and date1='$date' order by id desc";
$res12=mysqli_query($conn,$sel12);
$row12=mysqli_fetch_array($res12,MYSQLI_BOTH);
$search=$row12['search'];
$idd=$row12['id'];
$id12=$idd-1;
//echo $id12;

$date12=date("d-m-Y");
$sel1="select * from  studentfees where search ='$search' and date1='$date' ";
$res1=mysqli_query($conn,$sel1);

$sel10="select * from  studentfees where search ='$search' and date1='$date' order by id desc ";
$res10=mysqli_query($conn,$sel10);
$row10=mysqli_fetch_array($res10,MYSQLI_BOTH);

$selde="select * from  studentfees where search ='$search' order by id desc limit 2  ";
$resde=mysqli_query($conn,$selde);
$rowde=mysqli_fetch_array($resde,MYSQLI_BOTH);
$idd=$rowde['id'];

//echo $idd;
$selmo="select * from  studentfees where search ='$search' and date1='$date' order by id desc ";
$resmo=mysqli_query($conn,$selmo);


$month12='';
while($rowmo=mysqli_fetch_array($resmo,MYSQLI_BOTH))
{
	 $month13=$rowmo['month'];
	 $month12=$month13.",".$month12;
}



//echo $date;

//echo"$app1";
?>

<html>
<head>
<style>
#name2
{
	
}

</style>
 <script src="../js/jquery-3.2.1.min.js"></script>  <!--jquery-->
<script>

$(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='student_details1.php';
		
	});
});

</script>
<style>
.a{
width:46%;
float:left;
}
@media print
   {
      .a{width:46%;}
	  .ab{width:5%;}
	  .sd{font-size:11px;}
	  #name7{font-size:10px;}
	  
	  }
      
   }
   @media print
   {
      
	  table{width:40%;}
	  
	  }
      
   }
   
</style>
<link href="css/student_print.css" rel="stylesheet" type="text/css">
</head>
<body>
<div style="border:1px solid" class="a">
<table frame="border" width="100%" >
<tr>
<td><span><img src="../images/MHI.png" height="50px" width="50px"/></span></td><td align="center"><span id="name"  style="font-size:12px;text-align:left;font-weight:bold">M.H.I.SCHOOL <br/>MaitiNagar Chandpar - Azamgarh </span></td><td style="font-size:12px;text-align:right"><b>Contact:&nbsp;</b>7408328593<br/>9453413716<br/><b>Web-</b>mhischool.com</td>
</tr>
</table>
<table border="1px;"  width="100%"cellspacing="0">
<caption style="font-size:13px;font-weight:bold">Fee Receipt</caption>
<tr>
<td><span id="name2"  style="font-size:11px;font-weight:bold">Scho. Number</span></td><td colspan="2"><span  style="font-size:11px"><?php echo $row12['search'];?></span></td><td align="center" rowspan="2"><span><img src="../code/img/<?php echo $row4['picture'];?>"  style="width:50px;height:50px" class="img-responsive" ></span></td>
</tr>
<tr>
    
<td ><span id="name2"  style="font-size:11px;font-weight:bold">Student Name</span></td><td colspan='2'><span  style="font-size:11px"><?php echo $row12['name'];?></span></td>
</tr>
<tr>
<td ><span id="name2"  style="font-size:11px;font-weight:bold"> Father Name</span></td><td><span  style="font-size:11px"><?php echo $row4['fname'];?></span></td><td style="font-size:11px"><b>Class</b></td><td  style="font-size:11px"><?php echo $row10['class'];?></td>
</tr>


</table>


<table frame="border" width="100%" cellspacing="0" height="25%">
<tr>
<td colspan='4' align="center"><span id="name4" style="font-size:13px;font-weight:bold">Fees Category</span></td>

</tr>
<tr >

<td align="center" style="border: 1px solid black"><span id="name2"  ><b>Month</b></span></td><td colspan="12" style="border: 1px solid black"><span id="name7"  style="font-weight:bold;font-size:10px"><?php echo $month12;?></span></td>
</tr>
<tr align="center">
<td width="25%"><span id="name2" >Annual</span></td>
<td width="25%"><span id="name2" ><?php if($row10['ann']=='0'){echo '';}else{echo $row10['ann'];}?></span></td>
<td width="25%"><span id="name2" >Month Fee</span></td>
<td width="25%"><span id="name2" ><?php if($row10['fee']=='0'){echo '';}else{echo $row10['fee'];}?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Addm</span></td>
<td><span id="name2" ><?php if($row10['addm']=='0'){echo '';}else{echo $row10['addm'];}?></td>
<td><span id="name2" >Conv</span></td>
<td><span id="name2" ><?php echo $row12['van'];?></span></td>
</tr>

<tr align="center">
<td><span id="name2" >Exam</span></td>
<td><span id="name2" ><?php if($row10['exam']=='0'){echo '';}else{echo $row10['exam'];}?></span></td>
<td><span id="name2" >Pre Dues</span></td>
<td><span id="name2" ><?php if($row10['pre']=='0'){echo '';}else{echo $row10['pre'];}?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Comp </span></td>
<td><span id="name2" ><?php if($row10['comp']=='0'){echo '';}else{echo $row10['comp'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold">Total</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['total']; ?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Maint/Med</span></td>
<td><span id="name2" ><?php if($row10['reg']=='0'){echo '';}else{echo $row10['reg'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold" >Paid</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['paid'];?></span></td>

</tr>
<tr align="center">
<td><span id="name2" >Generator</span></td>
<td><span id="name2" ><?php if($row10['gen']=='0'){echo '';}else{echo $row10['gen'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold" >Cons</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['con'];?></span></td>

</tr>

<tr align="center">
<td><span id="name2" >Other</span></td>
<td><span id="name2" ><?php if($row10['other']=='0'){echo '';}else{echo $row10['other'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold">New Dues</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['remain'];?></span></td>
</tr>





<?php
$tot='0';
$paid16='0';
$due16='0';
$con12='0';
while($row1=mysqli_fetch_array($res1,MYSQLI_BOTH))
	
	{
		$tot1=$row1['mtotal'];
		$paid15=$row1['paid'];
		$con=$row1['con'];
		$remain15=$row1['remain'];
	
		$tot16=$remain15+$paid15+$con;
		$due16=$remain15+$due16;
		$con12=$con+$con12;
		$tot=$tot16+$tot;
		$paid16=$paid16+$paid15;
		
	



?>

<?php

	}

?>

</table>
<table>
<tr>
<td width="10%">Date</td><td width="40%"><?php echo $row10['date'];?></td><td width="50%" align="right" style="font-size:11px"><br/><br/><br/><br/>Sign Of Received Staff</td>
</tr>
</table>




</div>
<div  class="ab" style="float:left;width:5%">--</div>
&emsp;<div style="border:1px solid" class="a">
<table frame="border" width="100%" >
<tr>
<td><span><img src="../images/MHI.png" height="50px" width="50px"/></span></td><td align="center"><span id="name"  style="font-size:12px;text-align:left;font-weight:bold">M.H.I.SCHOOL <br/>MaitiNagar Chandpar - Azamgarh </span></td><td style="font-size:12px;text-align:right"><b>Contact:&nbsp;</b>7408328593<br/>9807847372<br/><b>Web-</b>mhischool.com</td>
</tr>
</table>
<table border="1px;"  width="100%"cellspacing="0">
<caption style="font-size:13px;font-weight:bold">Fee Receipt</caption>
<tr>
<td><span id="name2"  style="font-size:11px;font-weight:bold">Scho. Number</span></td><td colspan="2"><span  style="font-size:11px"><?php echo $row12['search'];?></span></td><td align="center" rowspan="2"><span><img src="../code/img/<?php echo $row4['picture'];?>"  style="width:50px;height:50px" class="img-responsive" ></span></td>
</tr>
<tr>
    
<td ><span id="name2"  style="font-size:11px;font-weight:bold">Student Name</span></td><td colspan='2'><span  style="font-size:11px"><?php echo $row12['name'];?></span></td>
</tr>
<tr>
<td ><span id="name2"  style="font-size:11px;font-weight:bold"> Father Name</span></td><td><span  style="font-size:11px"><?php echo $row4['fname'];?></span></td><td style="font-size:11px"><b>Class</b></td><td  style="font-size:11px"><?php echo $row10['class'];?></td>
</tr>


</table>


<table frame="border" width="100%" cellspacing="0" height="25%">
<tr>
<td colspan='4' align="center"><span id="name4" style="font-size:13px;font-weight:bold">Fees Category</span></td>

</tr>
<tr >

<td align="center" style="border: 1px solid black"><span id="name2"  ><b>Month</b></span></td><td colspan="12" style="border: 1px solid black ;width:50%"><span id="name7"  style="font-weight:bold;font-size:10px"><?php echo $month12;?></span></td>
</tr>
<tr align="center">
<td width="25%"><span id="name2" >Annual</span></td>
<td width="25%"><span id="name2" ><?php if($row10['ann']=='0'){echo '';}else{echo $row10['ann'];}?></span></td>
<td width="25%"><span id="name2" >Month Fee</span></td>
<td width="25%"><span id="name2" ><?php if($row10['fee']=='0'){echo '';}else{echo $row10['fee'];}?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Addm</span></td>
<td><span id="name2" ><?php if($row10['addm']=='0'){echo '';}else{echo $row10['addm'];}?></td>
<td><span id="name2" >Conv</span></td>
<td><span id="name2" ><?php echo $row12['van'];?></span></td>
</tr>

<tr align="center">
<td><span id="name2" >Exam</span></td>
<td><span id="name2" ><?php if($row10['exam']=='0'){echo '';}else{echo $row10['exam'];}?></span></td>
<td><span id="name2" >Pre Dues</span></td>
<td><span id="name2" ><?php if($row10['pre']=='0'){echo '';}else{echo $row10['pre'];}?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Comp </span></td>
<td><span id="name2" ><?php if($row10['comp']=='0'){echo '';}else{echo $row10['comp'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold">Total</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['total']; ?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Maint/Med</span></td>
<td><span id="name2" ><?php if($row10['reg']=='0'){echo '';}else{echo $row10['reg'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold" >Paid</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['paid'];?></span></td>

</tr>
<tr align="center">
<td><span id="name2" >Generator</span></td>
<td><span id="name2" ><?php if($row10['gen']=='0'){echo '';}else{echo $row10['gen'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold" >Cons</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['con'];?></span></td>

</tr>

<tr align="center">
<td><span id="name2" >Other</span></td>
<td><span id="name2" ><?php if($row10['other']=='0'){echo '';}else{echo $row10['other'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold">New Dues</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['remain'];?></span></td>
</tr>




<?php
$tot='0';
$paid16='0';
$due16='0';
$con12='0';
while($row1=mysqli_fetch_array($res1,MYSQLI_BOTH))
	
	{
		$tot1=$row1['mtotal'];
		$paid15=$row1['paid'];
		$con=$row1['con'];
		$remain15=$row1['remain'];
	
		$tot16=$remain15+$paid15+$con;
		$due16=$remain15+$due16;
		$con12=$con+$con12;
		$tot=$tot16+$tot;
		$paid16=$paid16+$paid15;
		
	



?>

<?php

	}

?>

</table>

<table>
<tr>
<td width="10%">Date</td><td width="40%"><?php echo $row10['date'];?></td><td width="50%" align="right" style="font-size:11px"><br/><br/><br/><br/>Sign Of Received Staff</td>
</tr>
</table>



</div>
</div>
<br/>
<button id="print" style="margin-left:500px;" >Print</button>&emsp;&emsp;&emsp;&emsp;&emsp;
<span><button id="back" >Back</button></span>
<?php
}
else
{
     $search=$_POST['app'];
//echo $search;
 $date=$_POST['date'];

//echo $no;

//echo $date;



?>
<?php


include("../link/databaseconnection.php");
$sel4="select * from  registration where application ='$search' and session='2019-2020'";
$res4=mysqli_query($conn,$sel4);
$row4=mysqli_fetch_array($res4,MYSQLI_BOTH);
$sel12="select * from  studentfees where search ='$search' and date1='$date' order by id desc";
$res12=mysqli_query($conn,$sel12);
$row12=mysqli_fetch_array($res12,MYSQLI_BOTH);
$search=$row12['search'];
$idd=$row12['id'];
$id12=$idd-1;
//echo $id12;

$date12=date("d-m-Y");
$sel1="select * from  studentfees where search ='$search' and date1='$date' ";
$res1=mysqli_query($conn,$sel1);

$sel10="select * from  studentfees where search ='$search' and date1='$date' order by id desc ";
$res10=mysqli_query($conn,$sel10);
$row10=mysqli_fetch_array($res10,MYSQLI_BOTH);

$selde="select * from  studentfees where search ='$search' order by id desc limit 2  ";
$resde=mysqli_query($conn,$selde);
$rowde=mysqli_fetch_array($resde,MYSQLI_BOTH);
$idd=$rowde['id'];

//echo $idd;
$selmo="select * from  studentfees where search ='$search' and date1='$date' order by id desc ";
$resmo=mysqli_query($conn,$selmo);


$month12='';
while($rowmo=mysqli_fetch_array($resmo,MYSQLI_BOTH))
{
	 $month13=$rowmo['month'];
	 $month12=$month13.",".$month12;
}



//echo $date;

//echo"$app1";
?>

<html>
<head>
<style>
#name2
{
	font-weight:bold;
}
</style>
<style>
.a{
width:46%;
float:left;
}
@media print
   {
      .a{width:46%;}
	  .ab{width:5%;}
	  .sd{font-size:11px;}
	  #name7{font-size:10px;}
	  
	  }
      
   }
   @media print
   {
      
	  table{width:40%;}
	  
	  }
      
   }
   
</style>
 <script src="../js/jquery-3.2.1.min.js"></script>  <!--jquery-->
<script>

$(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='student_details1.php';
		
	});
});

</script>
<link href="css/student_print.css" rel="stylesheet" type="text/css">
</head>
<body>
<div style="border:1px solid" class="a">
<table frame="border" width="100%" >
<tr>
<td><span><img src="../images/MHI.png" height="50px" width="50px"/></span></td><td align="center"><span id="name"  style="font-size:12px;text-align:left;font-weight:bold">M.H.I.SCHOOL <br/>MaitiNagar Chandpar - Azamgarh </span></td><td style="font-size:12px;text-align:right"><b>Contact:&nbsp;</b>7408328593<br/>9807847372<br/><b>Web-</b>mhischool.com</td>
</tr>
</table>
<table border="1px;"  width="100%"cellspacing="0">
<caption style="font-size:13px;font-weight:bold">Fee Receipt</caption>
<tr>
<td><span id="name2"  style="font-size:11px;font-weight:bold">Scho. Number</span></td><td colspan="2"><span  style="font-size:11px"><?php echo $row12['search'];?></span></td><td align="center" rowspan="2"><span><img src="../code/img/<?php echo $row4['picture'];?>"  style="width:50px;height:50px" class="img-responsive" ></span></td>
</tr>
<tr>
    
<td ><span id="name2"  style="font-size:11px;font-weight:bold">Student Name</span></td><td colspan='2'><span  style="font-size:11px"><?php echo $row12['name'];?></span></td>
</tr>
<tr>
<td ><span id="name2"  style="font-size:11px;font-weight:bold"> Father Name</span></td><td><span  style="font-size:11px"><?php echo $row4['fname'];?></span></td><td style="font-size:11px"><b>Class</b></td><td  style="font-size:11px"><?php echo $row10['class'];?></td>
</tr>


</table>


<table frame="border" width="100%" cellspacing="0" height="25%">
<tr>
<td colspan='4' align="center"><span id="name4" style="font-size:13px;font-weight:bold">Fees Category</span></td>

</tr>
<tr >

<td align="center" style="border: 1px solid black"><span id="name2"  ><b>Month</b></span></td><td colspan="12" style="border: 1px solid black"><span id="name7"  style="font-weight:bold;font-size:10px"><?php echo $month12;?></span></td>
</tr>
<tr align="center">
<td width="25%"><span id="name2" >Annual</span></td>
<td width="25%"><span id="name2" ><?php if($row10['ann']=='0'){echo '';}else{echo $row10['ann'];}?></span></td>
<td width="25%"><span id="name2" >Month Fee</span></td>
<td width="25%"><span id="name2" ><?php if($row10['fee']=='0'){echo '';}else{echo $row10['fee'];}?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Addm</span></td>
<td><span id="name2" ><?php if($row10['addm']=='0'){echo '';}else{echo $row10['addm'];}?></td>
<td><span id="name2" >Conv</span></td>
<td><span id="name2" ><?php echo $row12['van'];?></span></td>
</tr>

<tr align="center">
<td><span id="name2" >Exam</span></td>
<td><span id="name2" ><?php if($row10['exam']=='0'){echo '';}else{echo $row10['exam'];}?></span></td>
<td><span id="name2" >Cons</span></td>
<td><span id="name2" ><?php if($row10['cons']=='0'){echo '';}else{echo $row10['cons'];}?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Exam</span></td>
<td><span id="name2" ><?php if($row10['exam']=='0'){echo '';}else{echo $row10['exam'];}?></span></td>
<td><span id="name2" >Pre Dues</span></td>
<td><span id="name2" ><?php if($row10['pre']=='0'){echo '';}else{echo $row10['pre'];}?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Comp </span></td>
<td><span id="name2" ><?php if($row10['comp']=='0'){echo '';}else{echo $row10['comp'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold">Total</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['total']; ?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Maint/Med</span></td>
<td><span id="name2" ><?php if($row10['reg']=='0'){echo '';}else{echo $row10['reg'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold" >Paid</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['paid'];?></span></td>

</tr>
<tr align="center">
<td><span id="name2" >Generator</span></td>
<td><span id="name2" ><?php if($row10['gen']=='0'){echo '';}else{echo $row10['gen'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold" >Cons</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['con'];?></span></td>

</tr>

<tr align="center">
<td><span id="name2" >Other</span></td>
<td><span id="name2" ><?php if($row10['other']=='0'){echo '';}else{echo $row10['other'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold">New Dues</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['remain'];?></span></td>
</tr>






<?php
$tot='0';
$paid16='0';
$due16='0';
$con12='0';
while($row1=mysqli_fetch_array($res1,MYSQLI_BOTH))
	
	{
		$tot1=$row1['mtotal'];
		$paid15=$row1['paid'];
		$con=$row1['con'];
		$remain15=$row1['remain'];
	
		$tot16=$remain15+$paid15+$con;
		$due16=$remain15+$due16;
		$con12=$con+$con12;
		$tot=$tot16+$tot;
		$paid16=$paid16+$paid15;
		
	



?>

<?php

	}

?>

</table>
<table>
<tr>
<td width="10%">Date</td><td width="40%"><?php echo $row10['date'];?></td><td width="50%" align="right" style="font-size:11px"><br/><br/><br/><br/>Sign Of Received Staff</td>
</tr>
</table>




</div>
<div  class="ab" style="float:left;width:5%">--</div>
&emsp;<div style="border:1px solid" class="a">
<table frame="border" width="100%" >
<tr>
<td><span><img src="../images/MHI.png" height="50px" width="50px"/></span></td><td align="center"><span id="name"  style="font-size:12px;text-align:left;font-weight:bold">M.H.I.SCHOOL <br/>MaitiNagar Chandpar - Azamgarh </span></td><td style="font-size:12px;text-align:right"><b>Contact:&nbsp;</b>7408328593<br/>9807847372<br/><b>Web-</b>mhischool.com</td>
</tr>
</table>
<table border="1px;"  width="100%"cellspacing="0">
<caption style="font-size:13px;font-weight:bold">Fee Receipt</caption>
<tr>
<td><span id="name2"  style="font-size:11px;font-weight:bold">Scho. Number</span></td><td colspan="2"><span  style="font-size:11px"><?php echo $row12['search'];?></span></td><td align="center" rowspan="2"><span><img src="../code/img/<?php echo $row4['picture'];?>"  style="width:50px;height:50px" class="img-responsive" ></span></td>
</tr>
<tr>
    
<td ><span id="name2"  style="font-size:11px;font-weight:bold">Student Name</span></td><td colspan='2'><span  style="font-size:11px"><?php echo $row12['name'];?></span></td>
</tr>
<tr>
<td ><span id="name2"  style="font-size:11px;font-weight:bold"> Father Name</span></td><td><span  style="font-size:11px"><?php echo $row4['fname'];?></span></td><td style="font-size:11px"><b>Class</b></td><td  style="font-size:11px"><?php echo $row10['class'];?></td>
</tr>


</table>


<table frame="border" width="100%" cellspacing="0" height="25%">
<tr>
<td colspan='4' align="center"><span id="name4" style="font-size:13px;font-weight:bold">Fees Category</span></td>

</tr>
<tr >

<td align="center" style="border: 1px solid black"><span id="name2"  ><b>Month</b></span></td><td colspan="12" style="border: 1px solid black ;width:50%"><span id="name7"  style="font-weight:bold;font-size:10px"><?php echo $month12;?></span></td>
</tr>
<tr align="center">
<td width="25%"><span id="name2" >Annual</span></td>
<td width="25%"><span id="name2" ><?php if($row10['ann']=='0'){echo '';}else{echo $row10['ann'];}?></span></td>
<td width="25%"><span id="name2" >Month Fee</span></td>
<td width="25%"><span id="name2" ><?php if($row10['fee']=='0'){echo '';}else{echo $row10['fee'];}?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Addm</span></td>
<td><span id="name2" ><?php if($row10['addm']=='0'){echo '';}else{echo $row10['addm'];}?></td>
<td><span id="name2" >Conv</span></td>
<td><span id="name2" ><?php echo $row12['van'];?></span></td>
</tr>

<tr align="center">
<td><span id="name2" >Exam</span></td>
<td><span id="name2" ><?php if($row10['exam']=='0'){echo '';}else{echo $row10['exam'];}?></span></td>
<td><span id="name2" >Cons</span></td>
<td><span id="name2" ><?php if($row10['cons']=='0'){echo '';}else{echo $row10['cons'];}?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Comp </span></td>
<td><span id="name2" ><?php if($row10['comp']=='0'){echo '';}else{echo $row10['comp'];}?></span></td>
<td><span id="name2" >Pre Dues</span></td>
<td><span id="name2" ><?php if($row10['pre']=='0'){echo '';}else{echo $row10['pre'];}?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Maint/Med</span></td>
<td><span id="name2" ><?php if($row10['reg']=='0'){echo '';}else{echo $row10['reg'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold">Total</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['total']; ?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Generator</span></td>
<td><span id="name2" ><?php if($row10['gen']=='0'){echo '';}else{echo $row10['gen'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold" >Paid</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['paid'];?></span></td>
</tr>
<tr align="center">
<td><span id="name2" >Other</span></td>
<td><span id="name2" ><?php if($row10['other']=='0'){echo '';}else{echo $row10['other'];}?></span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold">New Dues</span></td>
<td style="border: 1px solid black"><span id="name2" style="font-weight:bold"><?php echo $row10['remain'];?></span></td>
</tr>





<?php
$tot='0';
$paid16='0';
$due16='0';
$con12='0';
while($row1=mysqli_fetch_array($res1,MYSQLI_BOTH))
	
	{
		$tot1=$row1['mtotal'];
		$paid15=$row1['paid'];
		$con=$row1['con'];
		$remain15=$row1['remain'];
	
		$tot16=$remain15+$paid15+$con;
		$due16=$remain15+$due16;
		$con12=$con+$con12;
		$tot=$tot16+$tot;
		$paid16=$paid16+$paid15;
		
	



?>

<?php

	}

?>

</table>

<table>
<tr>
<td width="10%">Date</td><td width="40%"><?php echo $row10['date1'];?></td><td width="50%" align="right" style="font-size:11px"><br/><br/><br/><br/>Sign Of Received Staff</td>
</tr>
</table>



</div>
</div>
<br/>
<button id="print" style="margin-left:500px;" >Print</button>&emsp;&emsp;&emsp;&emsp;&emsp;
<span><button id="back" >Back</button></span>
<?php
}


?>

</body>
</html>

MMCT - 2023