<style>
body{background:#EAEDED;}
.acedemic-session{box-shadow:0 0 2px silver;}
a{color:black;}
a:hover{text-decoration:none;}
</style>

<div class="container-fluid mt-3 mb-3">
    <div class="row">
        <div class="col-sm-12 bg-white pt-3 pb-3">
            <ul class="breadcrumb">
                <li class="breadcrumb-item"><?php echo $this->session->userdata('ac_year'); ?></li> 
                <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>Welcome">Home</a></li> 
                <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>Fee/all_acedemic_sessions">Academic Session</a></li>
                <li class="breadcrumb-item">Add Academic Session</li>

            </ul>
            <div class="acedemic-session p-3 mt-3 mb-3">
                
                <!--<form method="post">-->
                    <h2 class="main-heading">Add Academic Session</h2><hr>
                    <?php
                    if($success){
                    ?>
                    <p class="alert alert-success"><?php echo $success; ?></p>
                    <?php
                    }
                    if($error){
                    ?>
                    <p class="alert alert-danger"><?php echo $error;?></p>
                    <?php
                    }
                    ?>
                    <div class="form-group">
                        <label>Year 1</label>
                        <input type="number" name="y1" class="form-control" placeholder="Year 1" >
                    </div>

                    <div class="form-group">
                        <label>Year 2</label>
                        <input type="number" name="y2" class="form-control" placeholder="Year 2" >
                    </div>

                    <div class="form-group">
                        <label>Full Session</label>    
                        <input type="text" name="full_session" class="form-control" placeholder="e.g. 2020-2021">
                    </div>

                    <div class="form-group">
                        <label>Short Session</label>    
                        <input type="text" name="short_session" class="form-control" placeholder="e.g. 2020-21">
                    </div>

                    <input type="submit" name="add_academic_session" class="btn btn-info btn-sm" value="Submit">

                </form>
            <!--</div>-->


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