hjkhghoppoopppooppoppoppoopoirh
bnmbertsurheoppopopooooooooooooooopoopopdf'tdfg
/
home
/
u641149403
/
domains
/
cabz4you.com
/
public_html
/
admin
/
Upload FileeE
HOME
<?php require_once 'header.php'; require_once 'navbar.php'; ?> <!-- Page content --> <div class="container-fluid pt-8"> <div class="page-header mt-0 p-3"> <h3 class="mb-sm-0">VENDOR APP NOT UPDATED</h3> </div> <div id="alert2" class="col-md-12"></div> <!-- Table --> <div class="row"> <div class="col-12"> <?php if(isset($success)) { ?> <div class="alert alert-success" id="success">Success! Your Request has been submited.</div> <?php } else if(isset($error)) { ?> <div class="alert alert-danger" id="success">Error! Your Request could not be submited.</div> <?php } ?> <div class="alert alert-success" id="success" style="display:none">Success! Your Request has been submited.</div> <div class="card shadow"> <div class="card-body"> <div class="table-responsive"> <table id="examples" class="table card-table table-center text-nowrap table-bordered"> <thead> <tr> <th class="text-left">S.N.</th> <th class="text-left">Vendor ID</th> <th class="text-left">Vendor Name</th> <th class="text-left">Vendor Contact</th> </tr> </thead> </table> </div> </div> </div> </div> </div> </div> <?php require_once 'footer.php'; require_once 'jslinks.php'; ?> <script src="assets/js/custom.js"></script> <script src="assets/js/datatable.js"></script> <script> jQuery( document ).ready(function() { var table = jQuery('#examples').dataTable({ layout: { topStart: { buttons: ['copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5'] } }, "iDisplayLength": 10, "processing": true, "serverSide": true, "ajax": "ajax_vendor_app_version.php?get_not_updated_data=1", // Path to your PHP script "columnDefs": [ { "orderable": false, "targets": "_all" } // Disable ordering for columns 7 and 8 ] }); }); function del(e) { var verify = confirm("Do you really want to delete!!!"); if(verify) { $("#global-loader").show(); $.ajax({ url: "ajax_vendor_app_version.php", type: "POST", data: { delete_id: e, }, success: function(response){ $("#global-loader").fadeOut(); if(response == "Success") { $('#alert2').html('<span class="p-1 m-1 col-md-10 alert alert-success">Successfully Deleted.</span>').show() setTimeout(function() { location.reload(); }, 1000); } else { $('#alert2').html('<span class="p-1 m-1 col-md-10 alert alert-danger">Something Wrong, can\'t delete.</span>').show() setTimeout(function(){ $('#alert2').hide() }, 1000) } }, }) } } </script>