<?php
    foreach ($video_course as $video_course_data){
        $serial++;
?>
    <div class="col-sm-12 gray_ttc " style="padding-top: 10px;padding-bottom: 10px;">
        <div class="col-sm-1">
            <?php echo $serial; ?>
        </div>
        <div class="col-sm-6">
            <a href="<?php echo base_url().'view-single-video-course/'.$video_course_data->url; ?>">
                <?php echo $video_course_data->video_course_title; ?>
            </a>
        </div>
        <div class="col-sm-5">
            <?php 
                if(isset($send_invitation)){
                    if($send_invitation[$video_course_data->video_course_id] > 0){
                    ?>
                        <a href="<?php echo base_url().'view-video-course-invitation/'.$video_course_data->url; ?>">
                        <?php
                            echo $send_invitation[$video_course_data->video_course_id]; 
                        ?>
                        </a>
                    <?php
                    }else{
                        ?>
                        <a href="javascript:void(0)">
                        <?php
                            echo $send_invitation[$video_course_data->video_course_id]; 
                        ?>
                        </a>
                        <?php
                    }
                } 
           ?>
        </div>
    </div>
<?php } 
echo $manage_send_video_course_invitation_pagination; ?>
