<?php
foreach ($all_video_course as $v_video_course) {
    ?>
    <div class="col-sm-12 gray text-left" >
        <div class="col-sm-4" style="padding-top: 5px ">
            <a href="<?php echo base_url().'view-single-video-course/'.$v_video_course->url;?>"><?php echo $v_video_course->video_course_title; ?></a>
        </div>
        <div class="col-sm-3" style="padding-top: 5px">
            <a href=""><?php echo $v_video_course->person_first_name; ?></a>
        </div>
        <div class="col-sm-3" style="padding-top: 5px">
            <a href=""><?php echo $v_video_course->topic_name; ?></a>
        </div>
        <div class="col-sm-2" id="video_course_status">
            <a>
                <i class="fa fa-user-plus" title="Active"></i>
            </a>
            <a>
                <i class="fa fa-user-times" title="Inactive"></i>
            </a>
            <a>
                <i class="fa fa-refresh fa-spin" title="Pending"></i>
            </a>
            <a>
                <i class="fa fa-dropbox" title="Draft"></i>
            </a>
            <a href="<?php echo base_url() . 'edit-admin-video-course/' . $v_video_course->video_course_id; ?>">
                <i class="fa fa-edit" title="Edit"></i>
            </a>
            <a href="<?php echo base_url() . 'send-video-course-invitation/'. $v_video_course->url; ?>">
                <i class="fa fa-envelope-o" title="Invite Learners"></i>
            </a>
            <a href="<?php echo base_url() . 'view-video-course-invitation/'. $v_video_course->url; ?>">
                <i class="fa fa-telegram" title="View Invitation"></i>
            </a>
            <a href="<?php echo base_url(); ?>super-admin/registered-sutdent-for-paid-course">
                <i class="fa fa-registered" title="View Registered Student"></i>
            </a>
            <a href="<?php echo base_url() . 'manage-video-section/' . $v_video_course->video_course_id;?>">
                <i class="fa fa-clone" title="Add Section"></i>
            </a>
            <a href="<?php echo base_url() ?>super-admin/manage-video-course-section">
                <i class="fa fa-puzzle-piece" title="View Section"></i>
            </a>
            <a href="<?php echo base_url() ?>super-admin/course-url/add-video">
                <i class="fa fa-file-video-o" title="Add Video/ Work file"></i>
            </a>
            <a href="<?php echo base_url() . 'super-admin/view-video-back-end'; ?>">
                <i class="fa fa-film" title="View Video"></i>
            </a>
            <a href="">
                <i class="fa fa-star" title="View rating"></i>
            </a>
            <a href="<?php echo base_url() . 'super-admin/add-video-course-meta-back-end'; ?>">
                <i class="fa fa-info-circle" title="Add Meta"></i>
            </a>
            <a href="javascript:void(0)" data-toggle="modal" data-target="#deleteVideoCoures<?php echo $v_video_course->video_course_id; ?>">
                <i class="fa fa-trash-o" title="Delete"></i>
            </a>
        </div>
    </div>
    <div class="col-sm-12"><br></div> 
    <div class="modal" style="" id="deleteVideoCoures<?php echo $v_video_course->video_course_id; ?>" tabindex="-1" role="dialog" aria-labelledby="changeRole" aria-hidden="true">
        <div class='modal-dialog'>
            <div class='modal-content' style='top: 180px;border: 5px solid #80c12c;border-top: 20px solid #80c12c !important;margin: 0 auto;max-width: 400px'>           
                <div class='modal-body text-center' style='padding-bottom: 0px;'>
                    <span class='text-center'>Are you sure want to Delete this video course?</span>
                </div>
                <div class='modal-footer'>
                    <div  class='col-sm-12 text-center'>  
                        <span class='col-sm-3 col-sm-offset-3'>
                            <button type='button' class='btn btn-danger  col-sm-12' data-dismiss='modal' style='font-size: 14px;'>No</button>
                        </span> 
                        <span class='col-sm-3'>
                            <button onclick="deleteVideoCoures('<?php echo base_url('delete-admin-video-course/' . $v_video_course->video_course_id); ?>')" class='btn btn-success col-sm-12' data-dismiss='modal'>Yes</button>
                        </span>

                    </div>
                </div>            
            </div>
        </div>
    </div>
    <?php
}
echo $video_course_pagination;
?>