hjkhghtjhjjhjhjhjhjjhjhjjhrrtrtoirh
bnmbertsurrttrtrtrtrjhjhjjhjhhjhjhjhf'tdfg
/
home
/
u121159361
/
domains
/
infonixservice.com
/
public_html
/
u996761605_infonix
/
Upload FileeE
HOME
<?php session_start(); if(!($_SESSION["id"])) { header('location:index.php'); } $id = $_SESSION['id'] ; include('config/connection.php'); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>IST</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="font-awesome/css/font-awesome.css" rel="stylesheet"> <link href="css/plugins/iCheck/custom.css" rel="stylesheet"> <link href="css/plugins/steps/jquery.steps.css" rel="stylesheet"> <link href="css/animate.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> </head> <body> <div id="wrapper"> <?php include_once('includes/leftbar.php');?> <div id="page-wrapper" class="gray-bg"> <?php include_once('includes/header.php');?> <div class="row border-bottom"> </div> <div class="wrapper wrapper-content animated fadeInRight"> <div class="row"> <div class="col-lg-12"> <div class="ibox"> <div class="ibox-content"> <table class="table table-bordered mg-b-0"> <p style="text-align: center; color: blue;font-size: 30px">View All Services </p> <thead> <tr> <th>S.NO</th> <th>Service Title</th> <th>About Service</th> <th>Service Image</th> <th>Action</th> <th>Action</th> </tr> </thead> <?php $ret = "select * from service"; $run = mysqli_query($conn,$ret); $cnt=1; while ($row=mysqli_fetch_array($run)) { $id = $row['id']; ?> <tbody> <tr> <td><?php echo $cnt;?></td> <td><?php echo $row['title'];?></td> <td><?php echo $row['content'];?></td> <td><img src="<?php echo $row['image'];?>" width="50px" height="50px"></td> <td><a href="update_service.php?id=<?php echo $id;?>"> <img src="img/edit1.png" width="41"></a> <td><a href="delete_service.php?id=<?php echo $id;?>"> <img src="img/delete.png" width="41"></a> </tr> <?php $cnt=$cnt+1; }?> </tbody> </table> </div> </div> </div> </div> </div> <?php include_once('includes/footer.php');?> </div> </div> <!-- Mainly scripts --> <script src="js/jquery-3.1.1.min.js"></script> <script src="js/popper.min.js"></script> <script src="js/bootstrap.js"></script> <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script> <!-- Custom and plugin javascript --> <script src="js/inspinia.js"></script> <script src="js/plugins/pace/pace.min.js"></script> <!-- Steps --> <script src="js/plugins/steps/jquery.steps.min.js"></script> <!-- Jquery Validate --> <script src="js/plugins/validate/jquery.validate.min.js"></script> <script> $(document).ready(function(){ $("#wizard").steps(); $("#form").steps({ bodyTag: "fieldset", onStepChanging: function (event, currentIndex, newIndex) { // Always allow going backward even if the current step contains invalid fields! if (currentIndex > newIndex) { return true; } // Forbid suppressing "Warning" step if the user is to young if (newIndex === 3 && Number($("#age").val()) < 18) { return false; } var form = $(this); // Clean up if user went backward before if (currentIndex < newIndex) { // To remove error styles $(".body:eq(" + newIndex + ") label.error", form).remove(); $(".body:eq(" + newIndex + ") .error", form).removeClass("error"); } // Disable validation on fields that are disabled or hidden. form.validate().settings.ignore = ":disabled,:hidden"; // Start validation; Prevent going forward if false return form.valid(); }, onStepChanged: function (event, currentIndex, priorIndex) { // Suppress (skip) "Warning" step if the user is old enough. if (currentIndex === 2 && Number($("#age").val()) >= 18) { $(this).steps("next"); } // Suppress (skip) "Warning" step if the user is old enough and wants to the previous step. if (currentIndex === 2 && priorIndex === 3) { $(this).steps("previous"); } }, onFinishing: function (event, currentIndex) { var form = $(this); // Disable validation on fields that are disabled. // At this point it's recommended to do an overall check (mean ignoring only disabled fields) form.validate().settings.ignore = ":disabled"; // Start validation; Prevent form submission if false return form.valid(); }, onFinished: function (event, currentIndex) { var form = $(this); // Submit form input form.submit(); } }).validate({ errorPlacement: function (error, element) { element.before(error); }, rules: { confirm: { equalTo: "#password" } } }); }); </script> <?php $delete = $_GET['delete']; if(isset($_GET['delete'])){ ?> <script> alert("Delete Successfully"); </script> <?php } ?> <?php $update = $_GET['update']; if(isset($_GET['update'])){ ?> <script> alert("Updated Successfully"); </script> <?php } ?> </body> </html>