Server IP : 162.214.80.37 / Your IP : 216.73.216.68 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/imyrqtmy/www/inventory/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); $se = $_SESSION["id"]; if (!isset($_SESSION['id'])) { header("Location: login.php"); } include("include/db.php");; ?> <!doctype html> <html lang="en"> <!-- Mirrored from themesdesign.in/morvin/layouts/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 04 Apr 2022 13:25:02 GMT --> <head> <?php include 'include/head.php'; ?> </head> <body> <!-- Begin page --> <div id="layout-wrapper"> <?php include 'include/header.php'; ?> <!-- ========== Left Sidebar Start ========== --> <div class="vertical-menu"> <?php include 'include/sidebar.php'; ?> </div> <!-- Left Sidebar End --> <!-- ============================================================== --> <!-- Start right Content here --> <!-- ============================================================== --> <div class="main-content"> <div class="page-content"> <!-- start page title --> <div class="page-title-box"> <div class="container-fluid"> <div class="row align-items-center"> <div class="col-sm-6"> <div class="page-title"> <h4>Owner </h4> <!-- <ol class="breadcrumb m-0"> <li class="breadcrumb-item"><a href="javascript: void(0);">Morvin</a></li> <li class="breadcrumb-item"><a href="javascript: void(0);">Tables</a></li> <li class="breadcrumb-item active">Data Tables</li> </ol> --> </div> </div> <div class="col-sm-6"> <div class="float-end d-none d-sm-block" style="margin-right: 9px;"> <a href="owner_add.php" class="btn btn-success"><i class="fa fa-plus" aria-hidden="true"></i> New</a> </div> </div> </div> </div> </div> <!-- end page title --> <div class="container-fluid"> <div class="page-content-wrapper"> <!-- end row --> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> <?php if(@$_SESSION['flash_message'] == 'add') { $message = $_SESSION['flash_message']; unset($_SESSION['flash_message']); ?> <div class="alert alert-success login-error"><?php echo 'Data Added Sucessfully'; ?></div> <?php } if(@$_SESSION['flash_message'] == 'edit') { $message = $_SESSION['flash_message']; unset($_SESSION['flash_message']); ?> <div class="alert alert-success login-error"><?php echo 'Data Edit Sucessfully'; ?></div> <?php } if(@$_SESSION['flash_message'] == 'odelete') { $message = $_SESSION['flash_message']; unset($_SESSION['flash_message']); ?> <div class="alert alert-danger login-error"><?php echo 'Data Delete Sucessfully '; ?></div> <?php } ?> <table id="datatable-buttons" class="table table-striped table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;"> <thead> <tr> <th>#</th> <th>NAME</th> <th>Email</th> <th>Password</th> <th>Action</th> </tr> </thead> <tbody> <?php $count = 1; $sql = "select * from tbl_admin where type='user'"; $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con)); while ($sql_row = mysqli_fetch_assoc($sql_res)){ ?> <tr> <td> <?php echo $count; ?> </td> <td><?php echo $sql_row['name']; ?></td> <td><?php echo $sql_row['email']; ?></td> <td><?php echo $sql_row['password']; ?></td> <td> <a href="./owner_edit.php?id=<?php echo $sql_row['id']; ?>" class=" text-primary"> <i class="fa fa-edit font-size-18"></i> </a> <a href="./action/delete.php?id=<?php echo $sql_row['id']; ?>&table=<?php echo 'owner'; ?>" class=" text-primary"> <i class="fa fa-trash font-size-18"></i> </a> </td> </tr> <?php $count++; } ?> </tbody> </table> </div> </div> </div> <!-- end col --> </div> <!-- end row --> </div> </div> <!-- container-fluid --> </div> <!-- End Page-content --> <footer class="footer"> <?php include 'include/footer.php'; ?> </footer> </div> <!-- end main content--> </div> <!-- END layout-wrapper --> <!-- Right Sidebar --> <!-- /Right-bar --> <!-- Right bar overlay--> <div class="rightbar-overlay"></div> <!-- JAVASCRIPT --> <?php include 'include/bscript.php'; ?> </body> <script> $(document).ready(function() { $('.login-error').delay(3000).fadeOut(300); }); </script> <script> $(document).ready(function() { //set initial state. $('.moreaction').hide(); $('.slect_all').click(function() { if (this.checked) { $('.checkbox').each(function() { this.checked = true; $('.moreaction').show(); }); } else { $('.checkbox').each(function() { this.checked = false; $('.moreaction').hide(); }); } }); }); </script> <script> // $(document).ready(function() { // //set initial state. // $('.moreaction').hide(); // $('.checkbox').click(function() { // var id = $(this).attr('id').split('e').pop(); // alert(id); // if (this.checked) { // $('#sd'+id).(function() { // this.checked = true; // $('.moreaction').show(); // }); // } else { // $('#sd'+id).each(function() { // this.checked = false; // $('.moreaction').hide(); // }); // } // }); // }); </script> <!-- Mirrored from themesdesign.in/morvin/layouts/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 04 Apr 2022 13:25:42 GMT --> </html>