Server IP : 178.16.136.84 / 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 ] |
---|
<html> <head> <?php include("../link/admin_headconnection.php"); session_start(); include('../link/databaseconnection.php'); $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> body { background-image:url(../image/back3.jpg); } .work { min-height:200px; } .gap { height:100px; } th { text-align:center; } </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> function showdata() { $("#show").load("../code/gallerycode.php?flag=64"); } $(document).ready(function(){ showdata(); $("#regform").submit(function(e){ e.preventDefault(); $.ajax({ url:"../code/gallerycode.php?flag=63", type:"POST", data: new FormData(this), contentType:false, processData:false, cache:false, success:function(res){ alert(res); $("#regform").trigger("reset"); showdata(); }, error:function(){ alert("error"); } }); }); }); $(document).ready(function(){ $("#regform1").submit(function(e){ e.preventDefault(); $.ajax({ url:"../code/gallerycode.php?flag=64", type:"POST", data: new FormData(this), contentType:false, processData:false, cache:false, success:function(res){ // alert(res); //$("#regform").trigger("reset"); $('#show').html(res); }, error:function(){ alert("error"); } }); }); }); function deleterow(id) { //alert(id); var a=confirm("Are You Sure"); if(a==true) { $.ajax({ url:"../code/gallerycode.php?flag=65", type:"POST", data:{rowid:id}, success:function(res){ alert(res); showdata(); }, error:function(){ alert("error"); } }); } } $("document").ready(function(){ $("#sch").keyup(function(){ var sch1=$("#sch").val(); //alert(sch1); $.ajax({ url:"../code/gallerycode.php?flag=61", type:"POST", data:{rowid:sch1}, success:function(res){ //alert(res); //showdata(); $("#name").val(res); }, error:function(){ alert("error"); } }); }); }); $("document").ready(function(){ $("#sch").keyup(function(){ var sch11=$("#sch").val(); //alert(sch1); $.ajax({ url:"../code/gallerycode.php?flag=62", type:"POST", data:{rowid:sch11}, success:function(res){ //alert(res); //showdata(); $("#class").val(res); }, error:function(){ alert("error"); } }); }); }); </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/freemenu.php");?> </div> <!--menu--close--> <div class="col-sm-10"> <div class="panel-group"> <div class="panel panel-primary"> <div class="panel-heading"><center><h4>Free Fees and Conv</h4></center></div> <form id="regform"> <div class="panel-body"> <div class="form-group"> <label class="col-sm-6 control-label">Session-</label> <div class="col-sm-6"> <?php $selc="select * from session order by id desc"; $resc=mysqli_query($conn,$selc); ?> <select class="form-control" style="font-weight:bold" id="select" name="session" required> <option value=''>--Select--</option> <?php while($rowc=mysqli_fetch_array($resc,MYSQLI_BOTH)) { ?> <option><?php echo $rowc['session'];?></option> <?php } ?> </select> </div> <br/> </div> <br/> <div class="form-group"> <label class="col-sm-6">Sch.</label> <div class="col-sm-6"><input type="text" class="form-control" id ='sch' name="sch" required /> <br/> </div> </div> <div class="form-group"> <label class=" col-sm-6 label-control">Name <span style="color:red">*</span></label> <div class="col-sm-6"> <input type="text" class="form-control" id ='name' name="name" required readonly /> <br/> </div> </div> <br/><br/> <div class="form-group"> <label class=" col-sm-6 label-control">Class <span style="color:red">*</span></label> <div class="col-sm-6"> <input type="text" class="form-control" id ='class' name="class" required readonly /> <br/> </div> </div> <div class="form-group"> <label class="col-sm-6"> Fees-Free.</label> <div class="col-sm-6"><select class="form-control" name="fee" required> <option value="">--Select----</option> <option>YES</option> <option>NO</option> </select> <br/> </div> </div> <br/> <div class="form-group"> <label class="col-sm-6">Free-Convenience</label> <div class="col-sm-6"><select class="form-control" name="conv" required> <option value="">--Select--</option> <option>YES</option> <option>NO</option> </select> <br/> </div> </div> <div class="form-group"> <label class="col-sm-6">Conncession-Fixed.</label> <div class="col-sm-6"> <input type="number" class="form-control" name="fix" required value="0"> <br/> </div> <br/> </div> <div class="form-group"> <label class="col-sm-6">Reason</label> <div class="col-sm-6"><textarea name="reason" class="form-control" required ></textarea> <br/><br/> </div> </div> <center><button class="btn btn-primary">Submit</button></center> </form> </div> <br/> </div> <div id="show"></div> </div> </div> </div> </div> </html>