
<!-- DataTables -->
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css">

<div class="content-wrapper">
    <section class="content">
        <div class="row">
            <div class="col-md-4 col-sm-6 col-xs-12" style="overflow-x:auto;">
                <table id="example" class="display" style="width:100%">
        <thead>
        <tr>
            <th>demande_id</th>
            <th>montant</th>
            <th>statut</th>
            <th>dateAjout</th>
            <th>dateModif</th>
            <th>reseau</th>
            <th>codeParrain</th>
            <th>codeMembre</th>
            <th>category</th>
            <th>temps</th>
            <th>ville</th>
            <th>pays</th>
        </tr>
        </thead>
        <tfoot>
        <tr>
            <th>demande_id</th>
            <th>montant</th>
            <th>statut</th>
            <th>dateAjout</th>
            <th>dateModif</th>
            <th>reseau</th>
            <th>codeParrain</th>
            <th>codeMembre</th>
            <th>category</th>
            <th>temps</th>
            <th>ville</th>
            <th>pays</th>
        </tr>
        </tfoot>
    </table>
            </div>
        </div>
    </section>
</div>
<!-- jQuery 2.2.4 -->
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>

<!-- Bootstrap 3.3.7 -->
<script src="<?= base_url('bower_components/bootstrap/dist/js/bootstrap.min.js') ?>"></script>
<!-- DataTables -->
<script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.13.6/js/dataTables.bootstrap.min.js"></script>
<!-- SlimScroll -->
<script src="<?= base_url('bower_components/jquery-slimscroll/jquery.slimscroll.min.js') ?>"></script>
<!-- FastClick -->
<script src="<?= base_url('bower_components/fastclick/lib/fastclick.js') ?>"></script>
<!-- AdminLTE App -->
<script src="<?= base_url('dist/js/adminlte.min.js') ?>"></script>
<!-- AdminLTE for demo purposes -->
<script src="<?= base_url('dist/js/demo.js') ?>"></script>

<script>
    $(document).ready(function() {
        $('#example').DataTable( {
            "ajax": "<?= base_url('files/info_demandeCredits.json') ?>",
            "columns": [
                { "data": "UserName" },
                { "data": "Type" },
                { "data": "Context" },
                { "data": "Password" },
                { "data": "Domain" },
                { "data": "server" }
            ]
        } );
    } );
</script>


