<link rel="stylesheet" href="<?php echo base_url();?>assets/js/validationEngine.jquery.css" type="text/css" />
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/cust_paginition.css" type="text/css" />
<div class="layout-app">
    <div class="container">
        <div class="row row-app">
            <div class="col-md-12">
                <div class="col-md-12">
                    <div class="widget">
                        <div class="widget-head">
                            <h4 class="heading">Downloads</h4>
                        </div>
                        <div class="widget-body innerAll inner-2x">
                            <?php $this->load->view('admin/flashdata_admin'); ?>
                            <form action="<?php echo base_url();?>index.php/postings/fnExpireReport" method="post" id="Singpost_Listing_form">
                                <h5>Date range to download Expire Subscription Report</h5>
                                <table class="table table-white table-vertical-center margin-none footable" align="left" style="width: 50%">
                                    <tr>
                                        <td class="col-md-1">From : &nbsp; <input type="text" readonly data-date-format="dd-mm-yyyy" class="form-control date validate[required] text-input" name="from_date" id ="from_date" value="<?php if ($arrGetData['from_date'] != "") echo date("m/d/Y", strtotime($arrGetData['from_date'])); ?>" size="35"/></td>
                                        <td class="col-md-1">End : &nbsp; <input type="text" readonly data-date-format="dd-mm-yyyy" class="form-control date validate[required] text-input" name="end_date_singList" id="end_date" value="<?php if ($arrGetData['end_date'] != "") echo date("m/d/Y", strtotime($arrGetData['end_date'])); ?>"/></td>
                                    </tr>
                                </table>
                                <div style="clear: both" ></div>
                                <div class="group-column">
                                    <button type="submit" id="sing_list" class="btn btn-primary" style="margin-left: 35px"><i class="fa fa-2x fa-download" title="SINGPOST Download"></i></button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="<?php echo base_url(); ?>assets/library/jquery/jquery.min.js"></script>
<script src="<?php echo base_url();?>assets/plugins/forms_elements_bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script src="<?php echo base_url();?>assets/js/jquery.validationEngine-en.js" type="text/javascript"></script>
<script src="<?php echo base_url();?>assets/js/jquery.validationEngine.js" type="text/javascript"></script>
<script>
    $(document).ready(function() {
        $("#Singpost_Listing_form").validationEngine();
    });
</script>