<div class="col-sm-10">
    <div class="row ">

        <div class="col-sm-12 ">
            <span class="col-sm-6 text-left"><h3> Student List</h3></span>
        </div>
        <div class="col-sm-12"><hr></div>

        <div class="col-sm-12">

            <div class="col-sm-12  text-left  "style="margin-bottom: 5px;font-weight: bold; border-bottom: 2px solid #80c12c">
                <div class="col-sm-3">Name</div>
                <div class="col-sm-2">Mobile</div>
                <div class="col-sm-3">Email</div>
                <div class="col-sm-2">Status</div>
                <div class="col-sm-2">Action</div>
            </div>
            <?php
            $payment_status = array('', 'Paid', 'Partial paid', 'Unpaid', 'Drop', 'Cancel', 'Pending', 'Free');
            foreach ($classroom_assigned_student as $student_value) {
                ?>
                <div>
                    <div class="col-sm-12 text-left " style="padding: 10px;background-color:#F2F9EA;border: 1px solid #ededed">
                        <div class="col-sm-3">
                            <a href="<?php echo base_url() . $student_value->url . '/profile'; ?>" target="_blank">
                                <?php echo $student_value->person_first_name . ' ' . $student_value->person_last_name; ?>
                            </a>
                        </div>
                        <div class="col-sm-2"><?php echo $student_value->person_contact_number; ?></div>
                        <div class="col-sm-3"><?php echo $student_value->person_email; ?></div>
                        <div class="col-sm-2">
                            <?php
                            echo $payment_status[$student_value->payment_status];
                            ?>
                        </div>
                        <div class="col-sm-2" id="sActions<?php echo $student_value->student_id; ?>">
                            <?php
                            if ($assign_student_info[$student_value->student_id]) {
                                ?>
                                <a href="javascript:void(0)" onclick="changeStudentPermission1('<?php echo base_url() . 'change-backend-student-permission'; ?>', '<?php echo $classroom_info->course_id ?>', '<?php echo $student_value->student_id; ?>', '<?php echo $classroom_info->classroom_id; ?>', 'Unassign')">  
                                    <i class="fa fa-times-circle-o" title="Unassign"></i>
                                </a>&nbsp;&nbsp;&nbsp;
                                <?php
                            } 
                            ?>
                            <a href="<?php echo base_url() . 'view-invoice-set-id/' . $student_value->payment_id ?>" target="_blank">  
                                <i class="fa fa-dollar" title="Invoice"></i>
                            </a>
                        </div>
                    </div>
                    <div class="col-sm-12 form-group"></div>
                </div>
            <?php } ?>
        </div>
    </div>
</div>
<script src="<?php echo base_url()?>back_end_resource/classroom/classroom.js" type="text/javascript"></script>
<script>