D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
buildteksolution
/
www
/
superadmin
/
Filename :
Employer-profile.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;">Employer Profile</h2> </div> <div class="scrollbar"> <table id="example" class="table table-striped table-bordered" style="width:100%"> <thead> <tr> <th>Company Name</th> <th>Number Of Employee</th> <th>Description</th> <th>Industry</th> <th>Established Year</th> <th>Email</th> <th>Number</th> <th>Website</th> <th>Facebook</th> <th>Linkedin</th> <th>Created Date</th> <th>Action</th> </tr> </thead> <tbody> <?php $conn = mysqli_connect("localhost","root","","job_portal"); $sql ="SELECT * FROM `employer`"; $run =mysqli_query($conn,$sql); if($run) { foreach($run as $row) { // print_r($row); ?> <tr> <td><?php echo $row['Company']; ?></td> <td><?php echo $row['strenght']; ?></td> <td><?php echo $row['Description']; ?></td> <td><?php echo $row['Industry']; ?></td> <td><?php echo $row['Established']; ?></td> <td><?php echo $row['email']; ?></td> <td><?php echo $row['Number']; ?></td> <td><?php echo $row['Website']; ?></td> <td><?php echo $row['facebook']; ?></td> <td><?php echo $row['Linkedin']; ?></td> <td><?php echo $row['created_date']; ?></td> <td> <button type="button" id="status<?php echo $row['id'] ?>" class="jack btn btn-success" data-id="<?php echo $row['id']; ?>">Status Approve</button> <button type="button" data-bs-toggle="modal" class="jack btn btn-danger" data-bs-target="#exampleWarningModal" data-id="<?php echo $row['discussion_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 r_id = $(this).data("id"); $.ajax({ url: 'new-action.php', method: 'POST', data: { r_id: r_id }, dataType:'JSON', success: function(response) { console.log(response); if(response == 1){ $('#status'+r_id).removeClass("btn btn-success"); $('#status'+r_id).addClass("btn btn-primary"); // $('#wishlist_icon'+prod_id).css({color:'red'}) }else if(response == 0){ $('#status'+r_id).removeClass("btn btn-primary"); $('#status'+r_id).addClass("btn btn-success"); // $('#wishlist_icon'+prod_id).css({color:'white'}) } } }); }); </script> </body> </html>