<?php

include_once( dirname(dirname(__FILE__)) . '/classes/check.class.php');
include_once( dirname(dirname(__FILE__)) . '/admin/classes/functions.php');
protect("*");
include_once('header.php');
?>

<div class="container">
    <div class="row">
        <div class="col-md-12">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h2 class="text-center text-uppercase text-"><strong>Liste des clients</strong></h2>
                    <br>
                    <p><a class="btn btn-default" href="/admin/client.php">Créer un client</a></p>
                </div>
                <div class="panel-body">
                    <?php if( protectThis("Admin") ) : ?>
                    <table id="client_lists_dt" class="table table-bordered" cellspacing="0" width="100%">
                        <thead>
                        <tr>
                            <th>Prénom</th>
                            <th>Nom</th>
                            <th>Compagnie</th>
                            <th>Courriel</th>
                            <th>Adresse</th>
                            <th>Tél 1</th>
                            <th>Tél 2</th>
                            <th>Action</th>
                        </tr>
                        </thead>
                        <tfoot>
                        <tr>
                            <th>Prénom</th>
                            <th>Nom</th>
                            <th>Compagnie</th>
                            <th>Courriel</th>
                            <th>Adresse</th>
                            <th>Tél 1</th>
                            <th>Tél 2</th>
                            <th>Action</th>
                        </tr>
                        </tfoot>
                    </table>
                        <?php else : ?>
    <?php endif; ?>

                </div>
            </div>
        </div>
        <div class="col-md-6">

        </div>
    </div>
</div>

<?php include_once('footer.php'); ?>
