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/qr/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u490972518/domains/ppschool.org.in/public_html/admin/qr/../transferstudent.php
<html>
			<head>
				<?php include("../link/admin_headconnection.php");
				include("../link/databaseconnection.php");
				session_start();
			$lg=$_SESSION['admin'];
			if(!$lg)
			{
				header("location:../admin/index.php");
			}
				
				
				?>
				<link href="../css/dashboard.css" rel="stylesheet" type="text/css"/>
				<link href="../css/dashboardmenu.css" rel="stylesheet" type="text/css"/>
				<link href="../css/student_details_side_menu.css" rel="stylesheet" type="text/css"/>
				<link href="../css/student_details.css" rel="stylesheet" type="text/css"/>
			

	
					<style>
				
				<link href="../css/student_details.css" rel="stylesheet" type="text/css"/>
				



.work
{
	min-height:200px;
}
.gap
{
	height:100px;
}
					
					</style>
				
					<link href="jq/jquery.dataTables.min.css" type="text/css" rel="stylesheet"/>
<link href="jq/buttons.dataTables.min.css" type="text/css" rel="stylesheet"/>


<script src="jq/jquery.dataTables.min.js"></script>
<script src="jq/dataTables.buttons.min.js"></script>
<script src="jq/buttons.flash.min.js"></script>
<script src="jq/jszip.min.js"></script>
<script src="jq/pdfmake.min.js"></script>
<script src="jq/vfs_fonts.js"></script>
<script src="jq/buttons.html5.min.js"></script>
<script src="jq/buttons.print.min.js"></script>

			<script>
			///for application
			
			$(document).ready(function(){
				
				$("#myform21").submit(function(e){
					e.preventDefault();
					$.ajax({
						url:"../code/student_detailscode.php?flag=36",
						type:"POST",
						data: new FormData(this),
						contentType:false,
						processData:false,
						success:function(res){
							//alert(res);
							$("#modal").html(res);
						},
						error:function(){
							alert("error");
						}
					});
				});
				
			});
			///for application
			//FEES UPDATE  ///
			function feesupdate(form)
			{
				var app=$("#application").val();
				var a=confirm("Are you Sure");
				if(a==true)
				{
				$.ajax({
					url:"../code/student_detailscode.php?flag=43",
					type:"POST",
					data:new FormData(form),
					
					contentType:false,    // for photo upload ke liye hai
					processData:false,    //for photo upload ke liye hai
				//	cache:false,
					success:function(res){
						alert(res);
						
						$("#editmodel89").modal("hide");
						var b=confirm(" Dues Paid ! Print Slip");
							if(b==true)
						{
								/////FOR FEES slip new
			
			     //alert(application);
				
				$("#editbody12111").load("../code/student_detailscode.php?flag=72&app="+app);
				$("#editmodel12111").modal("show");
		// printDiv1();
			/////FOR FEES slip new
							
							}
					},
					error:function(){
						alert("error");
					}
				});
				}
				return false;
			}
		
			function dues123(application)
			{
			     //alert(application);
				$("#editmodel89").modal("show");
				$("#editbody89").load("../code/student_detailscode.php?flag=42&application="+application);
				
			}
				//FEES UPDATE  ///
			function editrow(id)
			{
			     //alert(id);
				$("#editmodel12").modal("show");
				$("#editbody12").load("../code/student_detailscode.php?flag=3&id="+id);
				
			}
			function transferrow(id)
			{
			     //alert(id);
				$("#editmodel12").modal("show");
				$("#editbody12").load("../code/student_detailscode.php?flag=31&id="+id);
				
			}
			/////FOR FEES DETAILS
			function app1234(id)
			{
			     //alert(application);
				$("#editmodel120").modal("show");
				$("#editbody120").load("../code/student_detailscode.php?flag=71&id="+id);
				
			}
			/////FOR FEES slip new
			function app12345(id)
			{
			     //alert(application);
				$("#editmodel120").modal("show");
				$("#editbody120").load("../code/student_detailscode.php?flag=72&id="+id);
				
			}
			/////FOR FEES slip new
			function feesrow(id)
			{
			     //alert(id);
				$("#editmodel121").modal("show");
				$("#editbody121").load("../code/student_detailscode.php?flag=9&id="+id);
				
			}
			
			//===message==//
			function messagerow(id)
			{
			     //alert(id);
				$("#editmodel12").modal("show");
				$("#editbody12").load("../code/student_detailscode.php?flag=7&id="+id);
				
			}
			function app12(application)
			{
			    // alert(application);
				$("#editmodel12").modal("show");
				$("#editbody12").load("../code/student_detailscode.php?flag=34&application="+application);
				
			}
			function app123(application)
			{
			     //alert(application);
				$("#editmodel125").modal("show");
				$("#editbody125").load("../code/student_detailscode.php?flag=27&application="+application);
				
			}
			
			/////FOR FEES slip new
			function app12345(id)
			{
			     //alert(application);
				$("#editmodel120").modal("show");
				$("#editbody120").load("../code/student_detailscode.php?flag=72&id="+id);
				
			}
			/////FOR FEES slip new
			$(document).ready(function(){
				
				///$("#modal").load("../code/student_detailscode.php?flag=36");
				
			});
			//== message==///
			
		function deleterow(id)
			{
				//alert(id);
				var a=confirm("Are you Sure");
				if(a==true)
				{
				$.ajax({
					
					url:"../code/student_detailscode.php?flag=2",
					type:"POST",
					data:{rowid:id},
					
					success:function(res){
						//alert(res);
						//$("#modal").html(res);
						$("#myform21").submit();
					},
					error:function(){
						alert("error");
					}
					
					
					
					
				});
				}
				
			}
			
			$(document).ready(function(){
			    
				
				//$("#modal").load("../code/student_detailscode.php?flag=1");
			});
			function updaterow(form)
			{
				$.ajax({
					url:"../code/student_detailscode.php?flag=4",
					type:"POST",
					data:new FormData(form),
					
					contentType:false,    // for photo upload ke liye hai
					processData:false,    //for photo upload ke liye hai
					cache:false,
					success:function(res){
						alert(res);
						
						if(res=="ok")
						{
							
							$("#editmodel12").modal("hide");
							$("#myform21").submit();
						}
					},
					error:function(){
						alert("error");
					}
				});
				return false;
			}
			////
			function changerow(form)
			{
				
				$.ajax({
					url:"../code/student_detailscode.php?flag=32",
					type:"POST",
					data:new FormData(form),
					
					contentType:false,    // for photo upload ke liye hai
					processData:false,    //for photo upload ke liye hai
					cache:false,
					success:function(res){
						alert(res);
						
						if(res=="Transfered")
						{
							
							$("#editmodel12").modal("hide");
							
						}
					},
					error:function(){
						alert("error");
					}
				});
				return false;
			}
			///
			function result(id)
			{
				$("#editmodel").modal("show");
				$("#editbody").load("../code/student_detailscode.php?flag=5&id="+id);
				
			}
			
			function go()
			{
				alert("ok");
				$("#editmodel12").modal("show");
				
				
			}
			
			function data(form)
			{
				
					$.ajax({
						url:"../code/student_detailscode.php?flag=6",
						type:"POST",
						data:new FormData(form),
						contentType:false,
						processData:false,
						success:function(res){
							alert(res);
							if(res=="ok")
							{
								$("#editmodel").modal("hide");
							}
						},
						error:function(){
							alert("error");
						}
					});
				
				return false;
			}
			function go(form)
			{
				
					$.ajax({
						url:"../code/student_detailscode.php?flag=35",
						type:"POST",
						data:new FormData(form),
						contentType:false,
						processData:false,
						success:function(res){
							
							
							
								$("#editmodel").modal("hide");
							
						},
						error:function(){
							alert("error");
						}
					});
				
				return false;
			}
			
			
		function feesdata(form)
			{
				var app=$("#app").val();
				var a=confirm("Are you Sure");
				if(a==true)
				{
				$("#btn").prop("disabled",true);
				$.ajax({
						url:"../code/student_detailscode.php?flag=10",
						type:"POST",
						data:new FormData(form),
						contentType:false,
						processData:false,
						success:function(res){
						//	alert(res);
							$("#editmodel121").modal("hide");
							var b=confirm(" Fees Submitted ! Print Slip");
							if(b==true)
						{
								/////FOR FEES slip new
			
			     //alert(application);
				
				$("#editbody12111").load("../code/student_detailscode.php?flag=72&app="+app);
				$("#editmodel12111").modal("show");
		// printDiv1();
			/////FOR FEES slip new
							
							}
							
						},
						error:function(){
							alert("error");
						}
					});
				}
				return false;
			
			}
			</script>
			<script>
			function feesdatanew(form)
			{
				
					$.ajax({
						url:"../code/student_detailscode.php?flag=47",
						type:"POST",
						data:new FormData(form),
						contentType:false,
						processData:false,
						success:function(res){
							alert(res);
							
								$("#editmodel125").modal("hide");
							
							
						},
						error:function(){
							alert("error");
						}
					});
				
				return false;
			}
			</script>
			
	
			</head>
<body>
<div class="container-fluid">
		<div class="row">
			<?php include("../link/admin_dashboardmenu .php");?>
		</div>
		<div class="row">
		<!--menu-->
		<div class="col-sm-2">
			<?php include("../link/student_details_side_menu.php");?>
		
		</div>
		<!--menu--close-->
		<div class="col-sm-10">
		<div class="panel-group">
    <div class="panel panel-primary">
      <div class="panel-heading"><center><span style="font-size:25px">Transfered And Untransfered Students From Session 2018-2019 </span></center></div>
      <div class="panel-body">
    
	  <div class="row">
	 
	 <?php
	 
	 $sel="select * from registration where session='2018-2019' and trans!='' and subject='PLAY GROUP'";
	 $res=mysqli_query($conn,$sel);
	 $nm=mysqli_num_rows($res);
	 //echo $nm;
	 $s=0;
	while( $row=mysqli_fetch_array($res,MYSQLI_BOTH))
	{
		//$sch=$row['application'];
	// echo $sch;
	 $s++;
	// echo $s;
	}
	$selo="select * from registration where session='2018-2019' and trans='' and subject='PLAY GROUP'";
	 $reso=mysqli_query($conn,$selo);
	 $nm1=mysqli_num_rows($reso);
	// echo $nm1;
	 $so=0;
	while( $rowo=mysqli_fetch_array($reso,MYSQLI_BOTH))
	{
		//$sch=$rowo['application'];
	// echo $sch;
	 $so++;
	// echo $s;
	}
	//// NURSERY

	 
	 
	 ?>
	  <div class="col-sm-3" style="background-color:#00695c;height:150px">
	<center> <H5 style="color:white;font-weight:bold;background-color:red">PLAY GROUP</H5>	
	</center>
	<h6 style="font-weight:bold;color:white">Transfered Total-&emsp;&emsp; <?php echo $s;?><br/><br/><BR/>Untransfered Total-&emsp;&emsp; <?php echo $so;?></h6>
<center><a href='transfershow.php?flag=PLAY GROUP'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=PLAY GROUP'><button>UnTran Show</button></a></center>
			  </div>
			   
			  <div class="col-sm-3" style="background-color:#2BBBAD;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">NURSERY</H5>	
	  <?php
	 
	 $seln="select * from registration where session='2018-2019' and trans!=' ' and subject='NURSERY'";
	 $resn=mysqli_query($conn,$seln);
	 $nmn=mysqli_num_rows($resn);
//	 echo $nmn;
	 $sn=0;
	while( $rown=mysqli_fetch_array($resn,MYSQLI_BOTH))
	{
		$sch=$rown['application'];
	// echo $sch;
	 $sn++;
	// echo $s;
	}
	$selno="select * from registration where session='2018-2019' and trans='' and subject='NURSERY'";
	 $resno=mysqli_query($conn,$selno);
	 $nm3=mysqli_num_rows($resno);
//	 echo $nm3;
	 $sno=0;
	while( $rowno=mysqli_fetch_array($resno,MYSQLI_BOTH))
	{
		$sch=$rowno['application'];
	// echo $sch;
	 $sno++;
	// echo $s;
	}?>
	</center>
	<h6 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $sn;?><br/><BR/><br/>Untransfered Total -&emsp;&emsp; <?php echo $sno;?></h6>
	<center><a href='transfershow.php?flag=NURSERY'><button>Tran Show</button></a> &emsp;<a href='untransferstudentshow.php?flag=NURSERY'><button>UnTran Show</button></a></center>
			  </div>
			   
			  <div class="col-sm-3" style="background-color:#0099CC;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">LKG</H5>	
	</center>
		  <?php
	 
	 $sell="select * from registration where session='2018-2019' and trans!=' ' and subject='LKG'";
	 $resl=mysqli_query($conn,$sell);
	 $nm4=mysqli_num_rows($resl);
//	 echo $nm4;
	 $sl=0;
	while( $rowl=mysqli_fetch_array($resl,MYSQLI_BOTH))
	{
		$sch=$rowl['application'];
	// echo $sch;
	 $sl++;
	// echo $s;
	}
	$sello="select * from registration where session='2018-2019' and  subject='LKG' and trans=''";
	 $reslo=mysqli_query($conn,$sello);
	 $nm5=mysqli_num_rows($reslo);
//	 echo $nm5;
	 $slo=0;
	while( $rowlo=mysqli_fetch_array($reslo,MYSQLI_BOTH))
	{
		$sch=$rowlo['application'];
	// echo $sch;
	 $slo++;
	// echo $s;
	}?>
	<h6 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $sl;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $slo;?></h6>
	<center><a href='transfershow.php?flag=LKG'><button>Tran Show</button></a></a> &emsp;<a href='untransferstudentshow.php?flag=LKG'><button>UnTran Show</button></a></center>
			  </div>
			  
	   <div class="col-sm-3" style="background-color:green;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">UKG</H5>	
	   <?php
	 
	 $selu="select * from registration where session='2018-2019' and trans!=' ' and subject='UKG'";
	 $resu=mysqli_query($conn,$selu);
	 $nm6=mysqli_num_rows($resu);
//	 echo $nm6;
	 $su=0;
	while( $rowu=mysqli_fetch_array($resu,MYSQLI_BOTH))
	{
		$sch=$rowu['application'];
	// echo $sch;
	 $su++;
	// echo $s;
	}
	$seluo="select * from registration where session='2018-2019' and trans='' and subject='UKG'";
	 $resuo=mysqli_query($conn,$seluo);
	 $nm7=mysqli_num_rows($resuo);
//	 echo $nm7;
	 $suo=0;
	while( $rowuo=mysqli_fetch_array($resuo,MYSQLI_BOTH))
	{
		$sch=$rowuo['application'];
	// echo $sch;
	 $suo++;
	// echo $s;
	}?>
	</center>
	<h6 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $su;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $suo;?></h6>
	<center><a href='transfershow.php?flag=UKG'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=UKG'><button>UnTran Show</button></a></center>
			  </div>
	  
	  </div>
	  <BR/>
	  <div class="row">
	
	  
	  <div class="col-sm-3" style="background-color:#00695c;height:150px">
	<center> <H5 style="color:white;font-weight:bold;background-color:red">FIRST</H5>	
	 <?php
	 
	 $self="select * from registration where session='2018-2019' and trans!=' ' and subject='FIRST'";
	 $resf=mysqli_query($conn,$self);
	 $nm8=mysqli_num_rows($resf);
//	 echo $nm8;
	 $sf=0;
	while( $rowf=mysqli_fetch_array($resf,MYSQLI_BOTH))
	{
		$sch=$rowf['application'];
	// echo $sch;
	 $sf++;
	// echo $s;
	}
	$selfo="select * from registration where session='2018-2019' and trans='' and subject='FIRST'";
	 $resfo=mysqli_query($conn,$selfo);
	 $nm9=mysqli_num_rows($resfo);
//	 echo $nm9;
	 $sfo=0;
	while( $rowfo=mysqli_fetch_array($resfo,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $sfo++;
	// echo $s;
	}?>
	</center>
	<h6 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $sf;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $sfo;?></h6>
<center><a href='transfershow.php?flag=FIRST'><button>Tran Show</button></a></a> &emsp;<a href='untransferstudentshow.php?flag=FIRST'><button>UnTran Show</button></a></center>
			  </div>
			   
			  <div class="col-sm-3" style="background-color:#2BBBAD;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">SECOND</H5>	
	  	 <?php
	 
	 $sels="select * from registration where session='2018-2019' and trans!=' ' and subject='SECOND'";
	 $ress=mysqli_query($conn,$sels);
	 $nm10=mysqli_num_rows($ress);
//	 echo $nm10;
	 $ss=0;
	while( $rows=mysqli_fetch_array($ress,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $ss++;
	// echo $s;
	}
	$selso="select * from registration where session='2018-2019' and trans='' and subject='SECOND'";
	 $resso=mysqli_query($conn,$selso);
	 $nm11=mysqli_num_rows($resso);
	// echo $nm11;
	 $sso=0;
	while( $rowso=mysqli_fetch_array($resso,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $sso++;
	// echo $s;
	}?>
	</center>
	<h6 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $ss;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $sso;?></h6>
	<center><a href='transfershow.php?flag=SECOND'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=SECOND'><button>UnTran Show</button></a></center>
			  </div>
			   
			  <div class="col-sm-3" style="background-color:#0099CC;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">THIRD</H5>	
	   <?php
	 
	 $selt="select * from registration where session='2018-2019' and trans!=' ' and subject='THIRD'";
	 $rest=mysqli_query($conn,$selt);
	 $nm12=mysqli_num_rows($rest);
	// echo $nm12;
	 $st=0;
	while( $rowt=mysqli_fetch_array($rest,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $st++;
	// echo $s;
	}
	$selto="select * from registration where session='2018-2019' and trans='' and subject='THIRD'";
	 $resto=mysqli_query($conn,$selto);
	 $nm13=mysqli_num_rows($resto);
	// echo $nm13;
	 $sto=0;
	while( $rowto=mysqli_fetch_array($resto,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $sto++;
	// echo $s;
	}?>
	</center>
	<h6 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $st;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $sto;?></h6>
<center><a href='transfershow.php?flag=THIRD'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=THIRD'><button>UnTran Show</button></a></center>
			  </div>
			   
	   <div class="col-sm-3" style="background-color:green;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">FOURTH</H5>
<?php
	 
	 $self1="select * from registration where session='2018-2019' and trans!=' ' and subject='FOURTH'";
	 $resf1=mysqli_query($conn,$self1);
	 $nm14=mysqli_num_rows($resf1);
	// echo $nm14;
	 $sf1=0;
	while( $rowf1=mysqli_fetch_array($resf1,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $sf1++;
	// echo $s;
	}
	$self1o="select * from registration where session='2018-2019' and trans='' and subject='FOURTH'";
	 $resf1o=mysqli_query($conn,$self1o);
	 $nm15=mysqli_num_rows($resf1o);
	// echo $nm15;
	 $sf1o=0;
	while( $rowf1o=mysqli_fetch_array($resf1o,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $sf1o++;
	// echo $s;
	}?>	  
	</center>
<h6 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $sf1;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $sf1o;?></h6>
	<center><a href='transfershow.php?flag=FOURTH'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=FOURTH'><button>UnTran Show</button></a></center>
			  </div>
	  
	  </div>
	  	  <BR/>
	  <div class="row">
	
	  
	  <div class="col-sm-3" style="background-color:#00695c;height:150px">
	<center> <H5 style="color:white;font-weight:bold;background-color:red">FIFTH</H5>	
	<?php
	 
	 $self12="select * from registration where session='2018-2019' and trans!=' ' and subject='FIFTH'";
	 $resf12=mysqli_query($conn,$self12);
	 $nm16=mysqli_num_rows($resf12);
//	 echo $nm16;
	 $sf12=0;
	while( $rowf12=mysqli_fetch_array($resf12,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $sf12++;
	// echo $s;
	}
	$self12o="select * from registration where session='2018-2019' and trans='' and subject='FIFTH'";
	 $resf12o=mysqli_query($conn,$self12o);
	 $nm17=mysqli_num_rows($resf12o);
//	 echo $nm17;
	 $sf12o=0;
	while( $rowf12o=mysqli_fetch_array($resf12o,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $sf12o++;
	// echo $s;
	}?>	 
	</center>
	<h6 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $sf12;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $sf12o;?></h6>
	<center><a href='transfershow.php?flag=FIFTH'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=FIFTH'><button>UnTran Show</button></a></center>

			  </div>
			  
			  <div class="col-sm-3" style="background-color:#2BBBAD;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">SIXTH</H5>	
	  <?php
	 
	 $sels12="select * from registration where session='2018-2019' and trans!=' ' and subject='SIXTH'";
	 $ress12=mysqli_query($conn,$sels12);
	 $nm18=mysqli_num_rows($ress12);
//	 echo $nm18;
	 $ss12=0;
	while( $rows12=mysqli_fetch_array($ress12,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $ss12++;
	// echo $s;
	}
	$sels12o="select * from registration where session='2018-2019' and trans='' and subject='SIXTH'";
	 $ress12o=mysqli_query($conn,$sels12o);
	 $nm19=mysqli_num_rows($ress12o);
//	 echo $nm19;
	 $ss12o=0;
	while( $rows12o=mysqli_fetch_array($ress12o,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $ss12o++;
	// echo $s;
	}?>	
	</center>
<h6 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $ss12;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $ss12o;?></h6>
<center><a href='transfershow.php?flag=SIXTH'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=SIXTH'><button>UnTran Show</button></a></center>
			  </div>
			   
			  <div class="col-sm-3" style="background-color:#0099CC;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">SEVENTH</H5>	
	  	  <?php
	 
	 $sels121="select * from registration where session='2018-2019' and trans!=' ' and subject='SEVENTH'";
	 $ress121=mysqli_query($conn,$sels121);
	 $nm20=mysqli_num_rows($ress121);
//	 echo $nm20;
	 $ss121=0;
	while( $rows121=mysqli_fetch_array($ress121,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $ss121++;
	// echo $s;
	}
	$sels121o="select * from registration where session='2018-2019' and trans='' and subject='SEVENTH'";
	 $ress121o=mysqli_query($conn,$sels121o);
	 $nm21=mysqli_num_rows($ress121o);
//	 echo $nm21;
	 $ss121o=0;
	while( $rows121o=mysqli_fetch_array($ress121o,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $ss121o++;
	// echo $s;
	}?>
	</center>
<h6 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $ss121;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $ss121o;?></h6>
<center><a href='transfershow.php?flag=SEVENTH'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=SEVENTH'><button>UnTran Show</button></a></center>
			  </div>
	      			   
	   <div class="col-sm-3" style="background-color:green;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">EIGHTH</H5>
<?php
	 
	 $sele="select * from registration where session='2018-2019' and trans!='' and subject='EIGHTH'";
	 $rese=mysqli_query($conn,$sele);
	 $nm22=mysqli_num_rows($rese);
	// echo $nm22;
	 $se=0;
	while( $rowe=mysqli_fetch_array($rese,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $se++;
	// echo $s;
	}
	$seleo="select * from registration where session='2018-2019' and trans='' and subject='EIGHTH'";
	 $reseo=mysqli_query($conn,$seleo);
	 $nm23=mysqli_num_rows($reseo);
	// echo $nm23;
	 $seo=0;
	while( $roweo=mysqli_fetch_array($reseo,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $seo++;
	// echo $s;
	}?>	  
	</center>
	<h6 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $se;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $nm23;?></h6>
	<center><a href='transfershow.php?flag=EIGHTH'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=EIGHTH'><button>UnTran Show</button></a></center>
			  </div>
	  </div>
	  <br/>
	  <div class="row">
	      	   <div class="col-sm-3" style="background-color:#00695c;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">NINTH </H5>
<?php
	 
	 $selez6="select * from registration where session='2018-2019' and trans!='' and subject='NINTH'";
	 $resez6=mysqli_query($conn,$selez6);
	 $nm266=mysqli_num_rows($resez6);
//	 echo $nm26;
	 $sez=0;
	while( $rowe=mysqli_fetch_array($resez6,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $sez++;
	// echo $s;
	}
	$seleoz="select * from registration where session='2018-2019' and trans='' and subject='NINTH'";
	 $reseoz=mysqli_query($conn,$seleoz);
	 $nmzw=mysqli_num_rows($reseoz);
//	 echo $nmz;
	
	$selb23="select * from registration where session='2018-2019' and trans!=' '";
	$resb23=mysqli_query($conn,$selb23);
	$nm23=mysqli_num_rows($resb23);
	$selb231="select * from registration where session='2018-2019' and trans=''";
	$resb231=mysqli_query($conn,$selb231);
	$nm231=mysqli_num_rows($resb231);
	 // echo '<br/>';
//	echo $nm23;
	?>	  
	</center>
	<h5 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $nm266;?><br/><BR/><br/>UnTransfered Total-&emsp;&emsp; <?php echo $nmzw;?> </h5>
<center><a href='transfershow.php?flag=NINTH'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=NINTH'><button>UnTran Show</button></a></center>
			  </div>
			  <div class="col-sm-3" style="background-color:#2BBBAD;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">TENTH</H5>
<?php
	 
	 $sele="select * from registration where session='2018-2019' and trans!=' ' and subject='EIGHTH'";
	 $rese=mysqli_query($conn,$sele);
	 
	 $se=0;
	while( $rowe=mysqli_fetch_array($rese,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $se++;
	// echo $s;
	}
	$seleoa="select * from registration where session='2018-2019' and trans='' and subject='TENTH'";
	 $reseoa=mysqli_query($conn,$seleoa);
	 
	 $seoa=0;
	while( $roweo=mysqli_fetch_array($reseoa,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $seoa++;
	
	
	}
	// echo $seoa;
	$selb23831="select * from registration where session='2018-2019' and trans!='' and subject='TENTH'";
	$resb23831=mysqli_query($conn,$selb23831);
	$nm23831=mysqli_num_rows($resb23831);
	
	$selb23121="select * from registration where session='2018-2019' and trans='' and subject='TENTH'";
	$resb23121=mysqli_query($conn,$selb23121);
	$nm23121=mysqli_num_rows($resb23121);
	 // echo '<br/>';
//	echo $nm23;
	?>	  
	</center>
	<h5 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $nm23831;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $nm23121;?></h5>
<center><a href='transfershow.php?flag=TENTH'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=TENTH'><button>UnTran Show</button></a></center>
			  </div>
			  			  <div class="col-sm-3" style="background-color:#2BBBAD;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">ELEVENTH</H5>
<?php
	 
	 $sele="select * from registration where session='2018-2019' and trans!=' ' and subject='EIGHTH'";
	 $rese=mysqli_query($conn,$sele);
	 
	 $se=0;
	while( $rowe=mysqli_fetch_array($rese,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $se++;
	// echo $s;
	}
	$seleoa="select * from registration where session='2018-2019' and trans='' and subject='TENTH'";
	 $reseoa=mysqli_query($conn,$seleoa);
	 
	 $seoa=0;
	while( $roweo=mysqli_fetch_array($reseoa,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $seoa++;
	
	
	}
	// echo $seoa;
	$selb23834="select * from registration where session='2018-2019' and trans!='' and subject='ELEVENTH'";
	$resb23834=mysqli_query($conn,$selb23834);
	$nm23834=mysqli_num_rows($resb23834);
	
	$selb23124="select * from registration where session='2018-2019' and trans='' and subject='ELEVENTH'";
	$resb23124=mysqli_query($conn,$selb23124);
	$nm23124=mysqli_num_rows($resb23124);
	 // echo '<br/>';
//	echo $nm23;
	?>	  
	</center>
	<h5 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $nm23834;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $nm23124;?></h5>
<center><a href='transfershow.php?flag=ELEVENTH'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=ELEVENTH'><button>UnTran Show</button></a></center>
			  </div>
			  <div class="col-sm-3" style="background-color:#2BBBAD;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red"> TWELFTH</H5>
<?php
	 
	 $sele="select * from registration where session='2018-2019' and trans!=' ' and subject='EIGHTH'";
	 $rese=mysqli_query($conn,$sele);
	 
	 $se=0;
	while( $rowe=mysqli_fetch_array($rese,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $se++;
	// echo $s;
	}
	$seleoa="select * from registration where session='2018-2019' and trans='' and subject='TENTH'";
	 $reseoa=mysqli_query($conn,$seleoa);
	 
	 $seoa=0;
	while( $roweo=mysqli_fetch_array($reseoa,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $seoa++;
	
	
	}
	// echo $seoa;
	$selb2383="select * from registration where session='2018-2019' and trans!='' and subject='TWELFTH'";
	$resb2383=mysqli_query($conn,$selb2383);
	$nm2383=mysqli_num_rows($resb2383);
	
	$selb2312="select * from registration where session='2018-2019' and trans='' and subject='TWELFTH'";
	$resb2312=mysqli_query($conn,$selb2312);
	$nm2312=mysqli_num_rows($resb2312);
	 // echo '<br/>';
//	echo $nm23;
	?>	  
	</center>
	<h5 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $nm2383;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $nm2312;?></h5>
<center><a href='transfershow.php?flag=TWELFTH'><button>Tran Show</button></a>&emsp;<a href='untransferstudentshow.php?flag=TWELFTH'><button>UnTran Show</button></a></center>
			  </div>
			  	   <div class="col-sm-3" style="background-color:#0099CC;height:150px">
	  <center> <H5 style="color:white;font-weight:bold;background-color:red">TOTAL</H5>
<?php
	 
	 $sele="select * from registration where session='2018-2019' and trans!=' ' and subject='EIGHTH'";
	 $rese=mysqli_query($conn,$sele);
	 
	 $se=0;
	while( $rowe=mysqli_fetch_array($rese,MYSQLI_BOTH))
	{
		//$sch=$rowf['application'];
	// echo $sch;
	 $se++;
	// echo $s;
	}
	$seleoa="select * from registration where session='2018-2019' and trans='' and subject='TENTH'";
	 $reseoa=mysqli_query($conn,$seleoa);
	 
	 $seoa=0;
	while( $roweo=mysqli_fetch_array($reseoa,MYSQLI_BOTH))
	{
		//$sch=$rowfo['application'];
	// echo $sch;
	 $seoa++;
	
	
	}
	// echo $seoa;
	$selb238="select * from registration where session='2018-2019' and trans!=''";
	$resb238=mysqli_query($conn,$selb238);
	$nm238=mysqli_num_rows($resb238);
	
	$selb231="select * from registration where session='2018-2019' and trans='' ";
	$resb231=mysqli_query($conn,$selb231);
	$nm231=mysqli_num_rows($resb231);
	 // echo '<br/>';
//	echo $nm23;
	?>	  
	</center>
	<h5 style="font-weight:bold;color:white">Transfered Total- &emsp;&emsp; <?php echo $nm238;?><br/><BR/><br/>Untransfered Total - &emsp;&emsp; <?php echo $nm231;?></h5>

			  </div>
	  <?php
	   $selb="select * from studentfees where year='2019-2020' and reg!='0' and addm='0'";
	$resb=mysqli_query($conn,$selb);
	$nm=mysqli_num_rows($resb);
//	echo $nm;
    echo '<br/>';
	 $selb1="select * from registration where session='2019-2020' and tra!='' ";
	$resb1=mysqli_query($conn,$selb1);
	$nm1=mysqli_num_rows($resb1);
//	echo $nm1;
	$selb2="select * from registration where session='2018-2019' and trans='' ";
	$resb2=mysqli_query($conn,$selb2);
	$nm2=mysqli_num_rows($resb2);
	//  echo '<br/>';
//	echo $nm2;
  $selb2f="select * from registration where session='2019-2020' and tra='tra' and subject='UKG'";
	$resb2f=mysqli_query($conn,$selb2f);
	 // while($rowdf=mysqli_fetch_array($resb2f,MYSQLI_BOTH))
	  
	 $nm1d=mysqli_num_rows($resb2f);
//	 echo $nm1d;
	  ?>
	  
	  </div>
	 
	  </form>
	  <br/>
	 <div id="modal"></div>
    </div>
  </div>
  
	  </div>
		
  </div>
	
	<br/>
	<br/>
	<div id="show" style="display:none"></div>
  
</div>
<!-- modal for result-->
<div class="modal fade" id="editmodel">
<div class="modal-dialog"> 
<div class="modal-content"> 
<div class="modal-heading"> 
<button class="close" data-dismiss="modal"> <span> &times; </span> </button>
<center><h2 class="modal-title" style="color:green;background-color:yellow"> Load Data </h2> </center>
</div>

<div class="modal-body" id="editbody">


 </div>
<div class="modal-footer"> 




</div>


</div>
</div>


 </div>
<!-- modal for result-->
<!-- modal for result-->
<div class="modal fade" id="editmodel234">
<div class="modal-dialog"> 
<div class="modal-content"> 
<div class="modal-heading"> 
<button class="close" data-dismiss="modal"> <span> &times; </span> </button>
<center><h2 class="modal-title" style="color:green;background-color:yellow"> Fill Data</h2> </center>
</div>

<div class="modal-body" id="editbody1234">


 </div>
<div class="modal-footer"> 




</div>


</div>
</div>


 </div>
<!-- modal for result-->
<div class="modal fade" id="editmodel12">
<div class="modal-dialog"> 
<div class="modal-content"> 
<div class="modal-heading"> 
<button class="close" data-dismiss="modal"> <span> &times; </span> </button>
<center><h2 class="modal-title" style="color:green;background-color:yellow"> SLIP PRINT </h2> </center>
</div>
<div class="modal-body" id="editbody12">


 </div>
<div class="modal-footer"> 



</div>


</div>
</div>


 </div>
<div class="modal fade bs-example-modal-lg" id="editmodel121">
<div class="modal-dialog modal-lg"> 
<div class="modal-content"> 
<div class="modal-heading"> 


</div>
<div class="modal-body" id="editbody121">


 </div>
<div class="modal-footer"> 



</div>


</div>
</div>


 </div>
 
 <div class="modal fade bs-example-modal-lg" id="editmodel125">
<div class="modal-dialog modal-lg"> 
<div class="modal-content"> 
<div class="modal-heading"> 
<button class="close" data-dismiss="modal"> <span> &times; </span> </button>
<center><h2 class="modal-title" style="color:green;background-color:yellow"> UPDATION CASH RECEIPT  </h2> </center>
</div>
<div class="modal-body" id="editbody125">


 </div>
<div class="modal-footer"> 



</div>


</div>
</div>


 </div>
 
 
 <!-----for dus--->
 <div class="modal fade bs-example-modal-lg" id="editmodel89">
<div class="modal-dialog modal-lg"> 
<div class="modal-content"> 
<div class="modal-heading"> 


</div>
<div class="modal-body" id="editbody89">


 </div>
<div class="modal-footer"> 



</div>


</div>
</div>


 </div>
<!-- modal for result-->
<div  class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" id="editmodel120">
<div class="modal-dialog modal-lg"> 
<div class="modal-content"> 
<div class="modal-heading"> 
<button class="close" data-dismiss="modal"> <span style='font-size:40px'> &times; </span> </button>
<center><h2 class="modal-title" style="color:green;background-color:yellow"> FEES DETAILS</h2> </center>
</div>
<div class="modal-body" id="editbody120">


 </div>
<div class="modal-footer"> 



</div>


</div>
</div>


 </div>
 
 <!-- modal for slip new-->
<div  class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" id="editmodel12111">
<div class="modal-dialog modal-lg"> 
<div class="modal-content"> 
<div class="modal-heading"> 
<button class="close" data-dismiss="modal"> <span style='font-size:40px'> &times; </span> </button>
<center><h2 class="modal-title" style="color:green;background-color:yellow"> FEES SLIP</h2> </center>
</div>
<div class="modal-body" id="editbody12111">


 </div>
<div class="modal-footer"> 



</div>


</div>
</div>


 </div>

		</form>
		
		</div>
		</body>
		</html>

MMCT - 2023