<div class="row">
    <div class="col-sm-12">
        <div class="panel panel-bd">

            <div class="panel-heading">
                <div class="panel-title">
                    <h4>
                    </h4>
                </div>
            </div>

            <div class="panel-body">

                <div class="panel-title bulk_add_emp_btn float-right">
                    <a style="color: #fff;" href="<?php base_url() ?>reports_list" class="btn btn-success"
                       id="reportLists">Reports List</a>
                </div>

                <div class="row">


                    <div class="form-group row">
                        <?php echo form_open('reports/Employee_controller/employee_by_birthdays', array('class' => '', 'id' => 'validate')); ?>
                        <div class="col-sm-2">
                            <input type="button" class="btn btn-warning" name="btnPrint" id="btnPrint" value="Print"
                                   onclick="printDiv();"/>
                            <a href="<?php base_url() ?>all_employee_birthday_export"
                               class="btn btn-warning" id="exportReport">Export</a>
                        </div>
                        <?php echo form_close() ?>
                    </div>


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

    </div>
</div>
<div class="row">
    <!--  table area -->

    <div class="panel panel-bd">

        <div class="panel-heading">
            <div class="panel-title">
                <h4>
                    <?php echo "Employee Info" ?>
                </h4>
            </div>
        </div>

        <div class="panel-body" id="printArea">
            <div class="table-responsive">
                <table class="table table-bordered table-hover">
                    <thead>
                    <tr>
                        <th><?php echo display('cid') ?></th>
                        <th><?php echo "Employee Name" ?></th>
                        <th><?php echo "Birthday" ?></th>

                    </tr>
                    </thead>
                    <tbody>
                    <?php if (!empty($employee_list)) { ?>
                        <?php $sl = 1; ?>
                        <?php foreach ($employee_list as $row) { ?>
                            <tr class="<?php echo ($sl & 1) ? "odd gradeX" : "even gradeC" ?>">
                                <td><?php echo $sl; ?></td>
                                <td><?php echo $row->first_name . ' ' . $row->last_name ?></td>
                                <td><?php echo $row->dob ?></td>
                            </tr>
                            <?php $sl++; ?>
                        <?php } ?>
                    <?php } ?>
                    </tbody>
                </table>  <!-- /.table-responsive -->

            </div>
            <div class="biopagination">  <?php echo $links ?></div>
        </div>
    </div>

</div>
