<?php

ob_start();
session_start();


if( !isset($_SESSION['user']) ) {
       header('Location : index.php');
 exit;
}

?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css">
    <link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.6.1/css/buttons.dataTables.min.css">
    <title>Document</title>
   
</head>
<body>

    <form method="POST" action="genlilo.php">
        <div class="row">
           
            <div class="col-lg-2">
                <select name="team" id="team" class="form-control" required>
            
                    <option value="OLT" <?php /* echo $_POST['team'] == 'OLT'? 'selected' : ''  */?>> OLT </option>
                    <option value="Customer Care" <?php /* echo $_POST['team'] == 'Customer Care'? 'selected' : '' */ ?>>Customer Care</option>
                    <option value="Call Center" <?php /* echo $_POST['team'] == 'Customer Care'? 'selected' : '' */ ?>>Call Center</option>
                </select>
            </div>
            <div class="col-lg-4 form-inline">
                
                    <input type="date" name="from" class="form-control" value=""  required> - <input type="date" name= "to"  value=""  class="form-control" required>
            </div>
            <div class="col-lg-1 text-left">
                <button type="submit" class="btn btn-primary" name="teamfilter"> <i class="fa fa-filter" > </i> Download</button>

            </div>

        </div>


            
    </form>

<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.1/js/dataTables.buttons.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.1/js/buttons.html5.min.js"></script>

<script>
    
    $('#liloTbl').DataTable(
        {
            dom: 'Bfrtip',
            buttons: [
                
                'excelHtml5',
                'csvHtml5',
                
            ]
        }
    );
</script>
</body>
</html>


