D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
buildteksolution
/
public_html
/
superadmin
/
Filename :
all-user.php
back
Copy
<?php session_start(); ?> <!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <link rel="stylesheet" href="https://cdn.datatables.net/1.11.3/css/dataTables.bootstrap4.min.css" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.2/css/bootstrap.css" crossorigin="anonymous"> <title>Plus Admin</title> <style> .scrollbar{ overflow:auto ; white-space: nowrap; } </style> </head> <body> <div class="container-scroller"> <!-- <div class="row p-0 m-0 proBanner" id="proBanner"> <div class="col-md-12 p-0 m-0"> <div class="card-body card-body-padding d-flex align-items-center justify-content-between"> <div class="ps-lg-1"> <div class="d-flex align-items-center justify-content-between"> <p class="mb-0 font-weight-medium me-3 buy-now-text">Free 24/7 customer support, updates, and more with this template!</p> <a href="https://www.bootstrapdash.com/product/plus-admin-template/?utm_source=organic&utm_medium=banner&utm_campaign=buynow_demo" target="_blank" class="btn me-2 buy-now-btn border-0">Get Pro</a> </div> </div> <div class="d-flex align-items-center justify-content-between"> <a href="https://www.bootstrapdash.com/product/plus-admin-template/"><i class="mdi mdi-home me-3 text-white"></i></a> <button id="bannerClose" class="btn border-0 p-0"> <i class="mdi mdi-close text-white me-0"></i> </button> </div> </div> </div> </div> --> <!-- partial:partials/_sidebar.html --> <?php include 'header.php'; ?> <!-- partial --> <div class="main-panel"> <div class="content-wrapper pb-0"> <!-- <div class="page-header flex-wrap"> <div class="header-left"> <button class="btn btn-primary mb-2 mb-md-0 me-2"> Create new document </button> <button class="btn btn-outline-primary bg-white mb-2 mb-md-0"> Import documents </button> </div> <div class="header-right d-flex flex-wrap mt-2 mt-sm-0"> <div class="d-flex align-items-center"> <a href="#"> <p class="m-0 pe-3">Dashboard</p> </a> <a class="ps-3 me-4" href="#"> <p class="m-0">ADE-00234</p> </a> </div> <button type="button" class="btn btn-primary mt-2 mt-sm-0 btn-icon-text"> <i class="mdi mdi-plus-circle"></i> Add Prodcut </button> </div> </div> --> <div class="col-12 grid-margin stretch-card"> <div class="card"> <div class="container"> <div> <h2 style="text-align:center;margin-top:8px;">All Employee</h2> </div> <div class="scrollbar"> <table id="example" class="table table-striped table-bordered" style="width:100%"> <thead> <tr> <th>Full Name</th> <th>Mobile Number</th> <th>Country</th> <th>State</th> <th>City</th> <th>Description</th> <th>Gender</th> <th>Education</th> <th>Branch</th> <th>Certification</th> <th>Language</th> <th>Project Name</th> <th>Project Url</th> <!-- <th>Project Name</th> --> <th>Project Description</th> <th>Location</th> <th>Resume</th> <th>Action</th> </tr> </thead> <tbody> <?php // $conn = mysqli_connect("localhost","root","","job_portal"); $sql ="SELECT * FROM `job_profile`"; $run =mysqli_query($conn,$sql); if($run) { foreach($run as $row) { // print_r($row); ?> <tr> <td><?php echo $row['full_name']; ?></td> <td><?php echo $row['number']; ?></td> <td><?php echo $row['country']; ?></td> <td><?php echo $row['state']; ?></td> <td><?php echo $row['city']; ?></td> <td><?php echo $row['about']; ?></td> <td><?php echo $row['gender']; ?></td> <td><?php echo $row['education']; ?></td> <td><?php echo $row['branch']; ?></td> <td><?php echo $row['certification']; ?></td> <td><?php echo $row['language']; ?></td> <td><?php echo $row['Project_name']; ?></td> <td><?php echo $row['project_Url']; ?></td> <td><?php echo $row['Project_Description']; ?></td> <td><?php echo $row['location']; ?> <td><?php echo $row['resume']; ?> <td> <button type="button" data-bs-toggle="modal" class="jack btn btn-success" data-bs-target="#exampleWarningModal" data-id="<?php echo $row['id']; ?>">Status Approve</button> <button type="button" class="deleteRecord btn btn-danger" data-bs-target="#exampleWarningModal" data-id="<?php echo $row['id']; ?>">Delete</button> </td> </tr> <?php } } ?> </tfoot> </table> </div> </div> </div> </div> </div> <!-- content-wrapper ends --> <!-- partial:partials/_footer.html --> <?php include'footer.php'; ?> <!-- partial --> </div> <!-- main-panel ends --> </div> <!-- page-body-wrapper ends --> </div> <!-- container-scroller --> <script src="https://code.jquery.com/jquery-3.5.1.js"></script> <script src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script> <script src="https://cdn.datatables.net/1.11.3/js/dataTables.bootstrap4.min.js"></script> <script> $(document).ready(function() { $('#example').DataTable(); } ); </script> <script> $(".jack").click(function(e) { e.preventDefault(); var U_id = $(this).data("id"); $.ajax({ url: 'new-action.php', method: 'POST', data: { U_id: U_id }, dataType:'JSON', success: function(response) { // console.log(response); if(response == 1){ $('#status'+U_id).removeClass("btn btn-success"); $('#status'+U_id).addClass("btn btn-primary"); // $('#wishlist_icon'+prod_id).css({color:'red'}) }else if(response == 0){ $('#status'+U_id).removeClass("btn btn-primary"); $('#status'+U_id).addClass("btn btn-success"); // $('#wishlist_icon'+prod_id).css({color:'white'}) } } }); }); </script> <script> $(".deleteRecord").click(function(e) { var r_id = $(this).data("id"); $.ajax({ url: "new-action.php", type: 'post', data: { 'r_id':r_id }, success: function(response) { // console.log(response); if(response == 1) { $('#mytablerow').remove(); swal("Great",'Item Remove your Cart',"success"); }else if(response == 0){ // swal("Great","Item added To your Cart", "success"); } } }); }); </script> <script> // function deleteRecord(rec) { // $id = $('#deleteid').val(); // } // Change the item quantity </script> </body> </html>