<div class="col-sm-8">
    <div class="row ">
        <div class="col-sm-12 ">
            <div class="col-sm-12 gray">
                <span class="text-center" style="font-size: 18px"><?php echo $video_course_info->video_course_title; ?></span>
            </div>

            <div class="col-sm-12"><br></div> 
            <?php
            $security_code = '#learn';
            foreach ($all_video as $v_video) {
                $id = $v_video->upload_video_id . $security_code;
                $e_id = $this->encrypt->encode($id);
                $e_id = str_replace('/', '%F2', $e_id);
                ?>
                <div class="col-sm-12 gray" >
               

                    <div class="col-sm-6" style="border-right: 1px solid #ddd ">
                        <address class="text-left">
                            <a href="<?php echo base_url() . 'my-video/' . $video_course_info->url . '/' . $e_id; ?>">
                                <?php echo $v_video->upload_video_name; ?>
                            </a>
                            <br>
                            By <a href="<?php echo base_url() . $video_course_info->p_url . '/profile'; ?>">    <?php echo $video_course_info->person_first_name . ' ' . $video_course_info->person_last_name; ?></a><br><br>
                            <!--<span class="col-sm-1" style="padding: 0"> <img src="images/logo-50.png" class="img-responsive" style="width: 20px"></span> Talha Corporation-->
                        </address>
                    </div>

                    <div class="col-sm-3" style="padding: 2px;font-size: 14px" >
                        <address class="text-center" >
                            <span>Uploaded</span><span style="margin-left: 10px"><?php echo date('Y:m:d', strtotime($v_video->upload_video_date)); ?></span><br><hr>
                            <span>Viewed</span><span style="margin-left: 20px"><?php echo $v_video->upload_video_view; ?></span>
                        </address>
                    </div>
                </div>  
            <?php } ?>

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



            <div class="col-sm-12" >
                <nav class="course-pagination">
                    <ul class="pagination">
                        <li>
                            <a href="#" aria-label="Previous">
                                <span aria-hidden="true" title="First Page">&laquo;&laquo;</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" aria-label="Previous">
                                <span aria-hidden="true" title="Previous Page">&laquo;</span>
                            </a>
                        </li>
                        <li><a href="#">1</a></li>
                        <li><a href="#">2</a></li>
                        <li><a href="#">3</a></li>
                        <li><a href="#">4</a></li>
                        <li><a href="#">5</a></li>
                        <li>
                            <a href="#" aria-label="Next">
                                <span aria-hidden="true" title="Next Page">&raquo;</span>
                            </a>
                        </li>
                        <li>
                            <a href="#" aria-label="Next">
                                <span aria-hidden="true" title="Last Page">&raquo;&raquo;</span>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>




        </div>

    </div>

</div>