<?php 
$acedemic_session=$this->session->userdata('acedemic_session');
$sid=$this->session->userdata('sid');
?>

<style>
    .profile-sec{width:100%;min-height:150px;height:auto;
    background:#2A3B4B;
    }
    .profile-img{width:35%;float:left;text-align:center;}
    .profile-img img{height:120px;width:auto;margin-top:0px;margin-bottom:0px;border-radius:50%;}
    .profile-data{width:65%;float:left;vertical-align:middle;font-weight:600;}
    
    .profile-data .profile-item{text-align:left;width:100%;font-weight:600;font-size:14px;padding:5px;border-left:5px solid #0364AB; margin-top:10px !important;color:#fff;}
    .profile-data .profile-item-name{text-align:left;width:100%;font-weight:600;font-size:18px;padding:5px;border-left:5px solid #0364AB; margin-top:10px !important;color:#fff;}
@media only screen and (max-width: 450px){
    .profile-sec{width:100%;min-height:250px;height:auto;}
    .profile-img{width:100%;text-align:center;}
    .profile-data{width:100%;float:left;vertical-align:middle;font-weight:600;text-align:center;}
    .profile-data .profile-item{text-align:center;width:100%;font-weight:600;font-size:14px;padding:0px !important; }
    .profile-img img{height:150px;width:auto;margin-top:0px;margin-bottom:0px;border-radius:50%;}
    .profile-data .profile-item{text-align:center;width:100%;font-weight:600;font-size:14px;padding:0px;border-left:none; margin-top:5px !important;}
    .profile-data .profile-item-name{text-align:center;width:100%;font-weight:600;font-size:18px;padding:0px;border-left:none; margin-top:0px !important;}
}
    /*body{background:#EAEDED;}*/
    .link-line-item{background:#fff;box-shadow:2px 2px 5px silver;border-radius:25px;height:150px;border:2px solid #0464AE;}
    /*.welcome-sec{margin-top:80px !important;}*/
    .link-line-item-data{width:33%;float:left;height:auto;text-align:center;text-decoration:none;color:#392577;font-weight:600;}
    .link-line-item-data img{width:100px;height:100px;border-radius:50%;}
    .welcome-strip{text-align:right;border-radius:25px;background:#0364AB;}
    .welcome-strip p a{text-decoration:none;color:#fff;}
    .welcome-strip p{padding:0px;margin:0px;color:#fff;}
</style>
<div class="container welcome-sec student-portal">
    <div class="row">
        <div class="col-sm-12">
            <div class="welcome-strip mt-3 p-3">
                <p>Welcome <b><?php echo $this->session->userdata('student_name');?></b> | Your Last Login at : <?php echo $this->session->userdata('login_at');?></p>
                <p><a href="<?php echo base_url();?>Home/profile">Profile</a> | <a href="#">Change Password</a> | <a href="<?php echo base_url();?>Logout">Logout</a></p>        
            </div>
        </div>
        
        <!--<div class="col-sm-12">-->
        <!--    <div class="profile-sec bg-white mt-3 mb-3 p-3">-->
        <!--        <div class="profile-img">-->
                    
        <!--            <a class="navbar-brand" href="<?php echo base_url();?>Home/profile" style="padding-left:15px;">-->
        <!--                <img src="<?php echo base_url();?>assets/student-profile-pic.jpg" style="height:65px;width:auto;margin-top:0px;margin-bottom:0px;border-radius:50%;"><br>-->
        <!--                <?php echo $this->session->userdata('student_name');?>-->
        <!--                </a>-->
                    
        <!--        </div>-->
        <!--        <div class="profile-data"></div>-->
        <!--        <div class="profile-data"></div>-->
        <!--    </div>-->
        <!--</div>-->
        
        <div class="col-sm-12">
            
            <div class="profile-sec mt-3 mb-3 p-3">
                <div class="profile-img">
                    
                    <a class="navbar-brand" href="<?php echo base_url();?>Home/profile" style="">
                        <img src="<?php echo base_url();?>assets/student-profile-pic.jpg" style="">
                    </a>
                    
                </div>
                <div class="profile-data">
                    <div class="profile-item-name" style=""><?php echo $this->session->userdata('student_name');?></div>
                    <div class="profile-item" style="">Class : <?php ?></div>
                    
                    <div class="profile-item" class="" style="">Roll No. : <?php ?></div>
                </div>
                <!--<div class="profile-data"></div>-->
            </div>
            
            
            <div class="bg-white mt-3 mb-3 pt-3 pb-3 link-line-item">
                <a href="#" class="link-line-item-data">
                    <img src="<?php echo base_url();?>assets/erp-icons/14.png">
                    <br>Pay Fee
                    </a>
                <a href="<?php echo base_url();?>Home/fee_paid_detail" class="link-line-item-data">
                    <img src="<?php echo base_url();?>assets/erp-icons/15.png"><br>Fee Invoices</a>
                <div class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/16.png"><br>Fee Dues</div>
            </div>
            <div class="bg-white mt-3 mb-3 pt-3 pb-3 link-line-item">
                <a href="<?php echo base_url();?>Home/attendance" class="link-line-item-data">
                    <img src="<?php echo base_url();?>assets/erp-icons/4.png"><br>Attendance
                </a>
                <div class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/11.png"><br>Leaves</div>
                <div class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/8.png"><br>Calander</div>
            </div>
            <div class="bg-white mt-3 mb-3 pt-3 pb-3 link-line-item">
                <div class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/5.png"><br>Circular</div>
                <div class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/6.png"><br>My Diary</div>
                <div class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/10.png"><br>Notice</div>
            </div>
            <div class="bg-white mt-3 mb-3 pt-3 pb-3 link-line-item">
                <div class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/12.png">Exams</div>
                <div class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/13.png">Result</div>
                <a href="<?php echo base_url();?>Home/my_teachers" class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/3.png"><br>My Teachers</a>
            </div>
            <div class="bg-white mt-3 mb-3 pt-3 pb-3 link-line-item">
                <div class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/17.png"><br>Transport</div>
                <div class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/birthday-list.png"><br>Birthdays</div>
                <div class="link-line-item-data"><img src="<?php echo base_url();?>assets/erp-icons/10.png"></div>
            </div>
        </div>
        <div class="col-sm-4 bg-white mt-3 mb-3 pt-3 pb-3" style="height:100% !important;"></div>
    </div>
</div>