<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="../css/all.css" rel="stylesheet" type="text/css" />
    <link href="../css/jquery-ui.css" rel="stylesheet" id="master-css">
    <link href="../css/bootstrap.css" rel="stylesheet" id="bootstrap-css">
    <link href="/css/jquery.datatables.min.css" rel="stylesheet" >
    <link href="/css/buttons.bootstrap4.min.css" rel="stylesheet">
    <link href="../css/alert.css" rel="stylesheet" id="alert-css">
    <link href="../css/custom.css" rel="stylesheet" id="custom-css">
    <link href="../css/master.css" rel="stylesheet" id="master-css">
    <title>SMS Mailer</title>
</head>
<body>
    <input type="checkbox" name="nav-toggle" id="nav-toggle">
    <div class="sidebar">
        <div class="sidebar-brand">
            <h2>
                <i class="fas fa-warehouse"></i><span>Tornson</span>
            </h2>
        </div>

        <?php require_once("sidebar.txt"); ?>
    </div>

    <div class="main-content">
        <div class="header">
            <h2>
                <label for="nav-toggle">
                    <i class="fas fa-bars"></i>
                </label>
                SMS Log
            </h2>

            <div class="search-wrapper">
               <i class="fas fa-search"></i>
                <input type="text" name="search" id="search" placeholder="Search here ...">
            </div>

            <div class="user-wrapper">
                <img src="../images/user_profiles/1.jpg"  hieight="40px" width="40px"alt="">
                <div>
                    <h4>Jozibeck Properties Ltd</h4>
                    <small>Super Admin</small>
                </div>
            </div>
        </div>
        <main>
            <div id="smslogerrordiv"></div>
            <div class="card">
                <div class="card-header">
                     Filter Options
                </div>
                <div class="card-body">
                    <div class="d-flex align-contents-center">   
                        <div class="form-group mr-3">
                            <label for="status">Status:</label>
                            <select name="status" id="status" class="form-control form-control-sm"></select>
                        </div>
                        <div class="form-group mr-3">
                            <label for="startdate">Start date:</label>
                            <input type="text" name="startdate" id="startdate" class="form-control form-control-sm datepicker">
                        </div>
                        <div class="form-group mr-3">
                            <label for="enddate">End Date:</label>
                            <input type="text" name="enddate" id="enddate" class="form-control form-control-sm datepicker">
                        </div>
                        <div class="form-group mr-3">
                            <label>&nbsp;</label>
                            <button class="btn btn-success btn-sm d-block" id="filtersmslog">Filter Logs</button>
                        </div>
                        
                    </div>
                </div>
            </div>
            <div class="card mt-2">
                <div class="card-body">
                    <table class="table table-sm table-striped" id="smslogs">
                        <thead>
                            <th>#</th>
                            <th>Timestamp</th>
                            <th>CustomerId</th> 
                            <th>Customer#</th>
                            <th>Customer Name</th>
                            <th>Message</th>
                            <th>Status</th>
                        </thead>
                        <tbody></tbody>
                    </table>
                </div>
            </div>
           
        </main>
    </div>
</body>
<script src="../js/jquery-2.2.4.js"></script>
<script src="../js/jquery_ui.js"></script>
<script src="../js/bootstrap.js"></script>
<script src="../js/popper.js"></script>
<script src="../js/jquery.dataTables.min.js"></script>
<script src="../js/dataTables.bootstrap4.min.js"></script>
<script src="/js/dataTables.bootstrap4.min.js"></script>
<!-- <script src="/js/dataTables.buttons.min.js"></script> -->
<script src="../js/alert.js"></script>
<script src="../js/functions.js"></script>
<script src="../js/smslog.js"></script>

</html>