0byt3m1n1
Path:
/
home
/
k74ns2xygros
/
www
/
globetech
/
cms
/
admin
/
[
Home
]
File: export.php
<?php session_start(); date_default_timezone_set('Asia/Kolkata'); include "../assets/config.php"; include '../assets/head.php'; include '../assets/left_nav.php'; //require_once '../admin/database.php'; $db = new User(); $emps = $db->select_array_query('employee'); //$emps = $db->select_array('employee'); ?> <title>Export Employee</title> <link href="../vendors/datatables.net-bs/css/dataTables.bootstrap.min.css" rel="stylesheet"> <body> <!-- page content --> <div class="right_col" role="main" style="padding-top: 80px;text-transform: uppercase"> <div class=""> <div class="clearfix"></div> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="x_panel"> <div class="x_title"> <h2>Export Employee</h2> <div class="clearfix"></div> </div> <br> <div class="row" id="tdata"> <div class="x_panel"> <div class="x_content table-responsive" id="content" > <table id="example" class="table table-striped table-bordered bulk_action" style="width:100%"> <thead> <tr> <th>Name</th> <th>F Name</th> <th>Work</th> <th>Mo no</th> <th>Category No.</th> <th>Dob</th> <th>Bank A/C</th> <th>Bank Name</th> <th>BRANCH</th> <th>IFSC</th> <th>NOMINEE</th> <th>NOMINEE RELATION</th> </tr> </thead> <tbody> <?php foreach ($emps as $p): ?> <tr> <td><?= @$p['customer_name'] ?></td> <td><?= @$p['father_name'] ?></td> <td><?= @$p['work_type'] ?></td> <td><?= @$p['phone'] ?></td> <td><?= @$p['customer_name'] ?></td> <td><?= @$p['dob'] ?></td> <td><?= @$p['acc_no'] ?></td> <td><?= @$p['bank_name'] ?></td> <td><?= @$p['bank_branch'] ?></td> <td><?= @$p['ifsc'] ?></td> <td><?= @$p['nominee'] ?></td> <td><?= @$p['nominee_relation'] ?></td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div> </div> </div> </div> </div> <!-- /page content --> </div> </div> <?php include '../assets/foot.php'; ?> <!-- Datatables --> <script src="../vendors/datatables.net/js/jquery.dataTables.min.js"></script> <script src="../vendors/datatables.net-bs/js/dataTables.bootstrap.min.js"></script> <script src="../vendors/datatables.net-buttons/js/dataTables.buttons.min.js"></script> <script src="../vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js"></script> <script src="../vendors/datatables.net-buttons/js/buttons.flash.min.js"></script> <script src="../vendors/datatables.net-buttons/js/buttons.html5.min.js"></script> <script src="../vendors/datatables.net-buttons/js/buttons.print.min.js"></script> <script src="../vendors/jszip/dist/jszip.min.js"></script> <script src="../vendors/pdfmake/build/pdfmake.min.js"></script> <script src="../vendors/pdfmake/build/vfs_fonts.js"></script> <script type="text/javascript"> $(document).ready(function () { // $('#example').DataTable(); $('#example').DataTable({ dom: 'Bfrtip', buttons: ['copy', 'csv', 'excel', 'pdf', 'print'], paging: false, searching: true }); }); </script> </body>