GIF89a
<?php
include 'db.php';
if(isset($_GET['cid']))
{
$cid=intval($_GET['cid']);
mysqli_query($db,"delete from p18 where id='$cid'");
$insert = $db->query("update p18 where id='$cid'");
header("Location:Slider_view.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<!-- Mirrored from thememinister.com/crm/clist.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 03 Oct 2019 15:43:24 GMT -->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Slider Management</title>
<!-- Favicon and touch icons -->
<link rel="shortcut icon" href="assets/dist/img/ico/favicon.png" type="image/x-icon">
<!-- Start Global Mandatory Style
=====================================================================-->
<!-- jquery-ui css -->
<link href="assets/plugins/jquery-ui-1.12.1/jquery-ui.min.css" rel="stylesheet" type="text/css"/>
<!-- Bootstrap -->
<link href="assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<!-- Bootstrap rtl -->
<!--<link href="assets/bootstrap-rtl/bootstrap-rtl.min.css" rel="stylesheet" type="text/css"/>-->
<!-- Lobipanel css -->
<link href="assets/plugins/lobipanel/lobipanel.min.css" rel="stylesheet" type="text/css"/>
<!-- Pace css -->
<link href="assets/plugins/pace/flash.css" rel="stylesheet" type="text/css"/>
<!-- Font Awesome -->
<link href="assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<!-- Pe-icon -->
<link href="assets/pe-icon-7-stroke/css/pe-icon-7-stroke.css" rel="stylesheet" type="text/css"/>
<!-- Themify icons -->
<link href="assets/themify-icons/themify-icons.css" rel="stylesheet" type="text/css"/>
<!-- dataTables css -->
<link href="assets/plugins/datatables/dataTables.min.css" rel="stylesheet" type="text/css"/>
<!-- End Global Mandatory Style
=====================================================================-->
<!-- Start Theme Layout Style
=====================================================================-->
<!-- Theme style -->
<link href="assets/dist/css/stylecrm.css" rel="stylesheet" type="text/css"/>
<link href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css"/>
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
<!-- Theme style rtl -->
<!--<link href="assets/dist/css/stylecrm-rtl.css" rel="stylesheet" type="text/css"/>-->
<!-- End Theme Layout Style
=====================================================================-->
</head>
<body class="hold-transition sidebar-mini">
<?php include('include/header.php'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="header-icon">
<i class="fa fa-users"></i>
</div>
<div class="header-title">
<h1>Add Slider</h1>
</div>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-sm-12">
<div class="panel panel-bd lobidrag">
<div class="panel-heading">
<div class="btn-group" id="buttonexport">
<a href="#">
<h4>Slider View</h4>
</a>
</div>
</div>
<div class="panel-body">
<div class="table-responsive">
<table id="example" class="display" style="width:100%" border="1">
<thead >
<tr class="info">
<th>Slider Images</th>
<th>Manage</th>
</tr>
</thead>
<tbody>
<?php
$ret=mysqli_query($db,"select * from p18");
while($row=mysqli_fetch_array($ret))
{
?>
<tr>
<td><img src="image/Slider/<?php echo $row['file'];?>" style="height:200px;width:400px;"></td>
<td>
<a type="button" href="Slider_edit.php?cid=<?php echo $row['id'];?>" class="btn btn-success">Edit</a>
<a type="button" href="Slider_delete.php?cid=<?php echo $row['id'];?>&cid1=<?php echo $row['file'];?>" class="btn btn-danger">Delete</a>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- customer Modal1 -->
<div class="modal fade" id="customer1" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header modal-header-primary">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3><i class="fa fa-user m-r-5"></i> Update Enquiry</h3>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<form class="form-horizontal">
<fieldset>
<!-- Text input-->
<div class="col-md-4 form-group">
<label class="control-label">Name of the Student:</label>
<input type="text" placeholder="Name of the Student" class="form-control">
</div>
<!-- Text input-->
<div class="col-md-4 form-group">
<label class="control-label">Name of the Parent:</label>
<input type="text" placeholder="Name of the Parent" class="form-control">
</div>
<!-- Text input-->
<div class="col-md-4 form-group">
<label class="control-label">Course/Class</label>
<input type="text" placeholder="Course/Class" class="form-control">
</div>
<div class="col-md-6 form-group">
<label class="control-label">Date of Enqiry</label><br>
<input type="date" placeholder="Date of Enqiry" class="form-control">
</div>
<div class="col-md-6 form-group">
<label class="control-label">Expected Date of Joining</label>
<input type="text" placeholder="Expected Date of Joining" class="form-control">
</div>
<div class="col-md-6 form-group">
<label class="control-label">How do you know about Our School</label>
<input type="text" placeholder="How do you know about Our School" class="form-control">
</div>
<div class="col-md-6 form-group">
<label class="control-label">Incharge Staff</label>
<input type="text" placeholder="Incharge Staff" class="form-control">
</div>
<div class="col-md-6 form-group">
<label class="control-label">Staff Code</label>
<input type="text" placeholder="Staff Code" class="form-control">
</div>
<div class="col-md-12 form-group user-form-group">
<div class="pull-right">
<button type="button" class="btn btn-danger btn-sm">Cancel</button>
<button type="submit" class="btn btn-add btn-sm">Save</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger pull-left" data-dismiss="modal">Close</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<!-- Modal -->
<!-- Customer Modal2 -->
<div class="modal fade" id="customer2" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header modal-header-primary">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3><i class="fa fa-user m-r-5"></i> Delete Customer</h3>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<form class="form-horizontal">
<fieldset>
<div class="col-md-12 form-group user-form-group">
<label class="control-label">Delete Customer</label>
<div class="pull-right">
<button type="button" class="btn btn-danger btn-sm">NO</button>
<button type="submit" class="btn btn-add btn-sm">YES</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger pull-left" data-dismiss="modal">Close</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php include('include/footer.php'); ?>
</div>
<script type="text/javascript">
$(document).ready(function() {
$('#example').DataTable( {
"pagingType": "full_numbers"
} );
} );
</script>
<!-- ./wrapper -->
<!-- Start Core Plugins
=====================================================================-->
<!-- jQuery -->
<script data-cfasync="false" src="../cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script src="assets/plugins/jQuery/jquery-1.12.4.min.js" type="text/javascript"></script>
<!-- jquery-ui -->
<script src="assets/plugins/jquery-ui-1.12.1/jquery-ui.min.js" type="text/javascript"></script>
<!-- Bootstrap -->
<script src="assets/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<!-- lobipanel -->
<script src="assets/plugins/lobipanel/lobipanel.min.js" type="text/javascript"></script>
<!-- Pace js -->
<script src="assets/plugins/pace/pace.min.js" type="text/javascript"></script>
<!-- table-export js -->
<script src="assets/plugins/table-export/tableExport.js" type="text/javascript"></script>
<script src="assets/plugins/table-export/jquery.base64.js" type="text/javascript"></script>
<script src="assets/plugins/table-export/html2canvas.js" type="text/javascript"></script>
<script src="assets/plugins/table-export/sprintf.js" type="text/javascript"></script>
<script src="assets/plugins/table-export/jspdf.js" type="text/javascript"></script>
<script src="assets/plugins/table-export/base64.js" type="text/javascript"></script>
<!-- dataTables js -->
<script src="assets/plugins/datatables/dataTables.min.js" type="text/javascript"></script>
<!-- SlimScroll -->
<script src="assets/plugins/slimScroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<!-- FastClick -->
<script src="assets/plugins/fastclick/fastclick.min.js" type="text/javascript"></script>
<!-- CRMadmin frame -->
<script src="assets/dist/js/custom.js" type="text/javascript"></script>
<!-- End Core Plugins
=====================================================================-->
<!-- Start Theme label Script
=====================================================================-->
<!-- Dashboard js -->
<script src="assets/dist/js/dashboard.js" type="text/javascript"></script>
<!-- End Theme label Script
=====================================================================-->
</body>
<!-- Mirrored from thememinister.com/crm/clist.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 03 Oct 2019 15:44:01 GMT -->
</html>