<div id="page-wrapper">
    <div class="header">
        <h1 class="page-header">

        </h1>
        <ol class="breadcrumb">
            <li><a href="#">SMS & Email</a></li>
            <li class="active">E-Mail</li>
        </ol>

    </div>
    <div id="page-inner">



        <div class="row">
            <div class="col-md-12">
                <!--   Kitchen Sink -->
                <div class="panel panel-default">
                    <div class="panel-heading d-flex justify-content-center">
                    E-Mail
                    </div>
                    <div class="panel-body">
                        <div class="app-title">
    <div>
       
    </div>
    <?php if (isset($_SESSION['mem_add']) && $_SESSION['mem_add'] != "") { ?>
        <div class="alert alert-success">
            <strong><?php echo $_SESSION['mem_add']; ?></strong>
        </div>
    <?php $_SESSION['mem_add'] = "";
    } ?>
  
</div>
<form method="post" action="<?php echo base_url(); ?>index.php/Demand/receipt_mail" id="member_add_" enctype='multipart/form-data'>
    <div class="row no-print">
        <div class="col-sm-3">
            <div>Division</div>
            <select name="division" id="division_id" class="form-control">
                <option value="">All</option>
                <?php foreach ($divisions as $div) { ?>
                    <option value="<?php echo $div['division']; ?>"><?php echo $div['division']; ?></option>
                <?php } ?>
            </select>
        </div>
        <div class="col-sm-3">
            <div>Section</div>
            <select name="section" id="section_id" class="form-control">
                <option value="">All</option>
                <?php foreach ($sections as $sec) { ?>
                    <option value="<?php echo $sec['section']; ?>"><?php echo $sec['section']; ?></option>
                <?php } ?>
            </select>
        </div>
        <div class="col-sm-2">
            <div>Month</div>
            <?php $m = date('F'); ?>
            <select name="month" class="form-control">
                <option value="">Select Month</option>
                <option <?php if ($m == "January") {
                            echo "";
                        } ?> value="January">January</option>
                <option <?php if ($m == "February") {
                            echo "";
                        } ?> value="February">February</option>
                <option <?php if ($m == "March") {
                            echo "";
                        } ?> value="March">March</option>
                <option <?php if ($m == "April") {
                            echo "";
                        } ?> value="April">April</option>
                <option <?php if ($m == "May") {
                            echo "";
                        } ?> value="May">May</option>
                <option <?php if ($m == "June") {
                            echo "";
                        } ?> value="June">June</option>
                <option <?php if ($m == "July") {
                            echo "";
                        } ?> value="July">July</option>
                <option <?php if ($m == "August") {
                            echo "";
                        } ?> value="August">August</option>
                <option <?php if ($m == "September") {
                            echo "";
                        } ?> value="September">September</option>
                <option <?php if ($m == "October") {
                            echo "";
                        } ?> value="October">October</option>
                <option <?php if ($m == "November") {
                            echo "";
                        } ?> value="November">November</option>
                <option <?php if ($m == "December") {
                            echo "";
                        } ?> value="December">December</option>
            </select>
        </div>
        <div class="col-sm-2">Year
            <?php $y = date('Y'); ?>
            <select name="year" class="form-control">
                <option value="">Select Year</option>
                <?php for ($j = $y; $j >= 2019; $j--) { ?>
                    <option <?php if ($j == $y) {
                                echo "";
                            } ?> value="<?php echo $j; ?>"><?php echo $j; ?></option>
                <?php } ?>
            </select>
        </div>
        <div class="col-sm-2 mt-4"><button type="submit" class="btn btn-primary">Submit</button></div>
</form>
</div>
</div>


</div>
</div>