<?php
include_once 'header.php';
?>

<?php if ($_SESSION["tenant"] == 'lsv_mastertenant' || @$_SESSION['tenant_admin']) { ?>

    <div class="card shadow mb-4">
        <div class="card-header py-3">
            <h6 class="m-0 font-weight-bold text-primary float-left" data-localize="agents"></h6>
            <div class="float-right"><a href="agent.php" class=""><i class="fas fa-plus fa-2x text-300"></i></a></div>
        </div>
        <div class="card-body">
            <div class="table-responsive">

                <table class="table table-bordered" id="agents_table" width="100%" cellspacing="0">
                    <thead>
                        <tr>
                            <th class="text-center" data-localize="username"></th>
                            <th class="text-center" data-localize="name"></th>
                            <th class="text-center" data-localize="tenant"></th>
                            <th class="text-center" data-localize="email"></th>
                            <th class="text-center" data-localize="is_admin"></th>
                            <th class="text-center" data-localize="action"></th>
                        </tr>
                    </thead>
                    <tbody>

                    </tbody>

                </table>
            </div>

        </div>

    </div>
<?php } ?>

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