<div id="view_without_paginzation">
<?php 
    $i = 0;
    foreach ($video_course_info['video_course'] as $video_info){ 
        $i++; ?>
    <div class="<?php
    echo ($i % 2 == 0) ? 'row white' : 'row gray';
    ?>">

<!-- --------------------Video Course & Creator Name start--------------------------- -->        
        <div class="col-sm-4 form-group" style="text-align: left !important">
            <a href="<?php echo base_url() ?>super-admin/video-course-detail/<?php echo $video_info->video_course_id;?>" target="_blank" class="red">
                <?php echo $video_info->video_course_title; ?>
            </a>
            <br>By- 
            <?php
                if(isset($video_course_info['video_course_person_info'][$video_info->video_course_id])){
                if ($video_course_info['video_course_person_info'][$video_info->video_course_id]->person_role == 6 || $video_course_info['video_course_person_info'][$video_info->video_course_id]->person_role == 1) {
                    echo '<span class="green">Talha Training</span>';
                } else{
                    ?>
                    <a href="<?php echo base_url() . $video_course_info['video_course_person_info'][$video_info->video_course_id]->url . '/profile' ?>" target="_blank">
                        <?php echo $video_course_info['video_course_person_info'][$video_info->video_course_id]->person_first_name.' '.$video_course_info['video_course_person_info'][$video_info->video_course_id]->person_last_name; ?>
                    </a>
                <?php } } ?>
        </div>
<!-- --------------------Video Course & Creator Name End--------------------------- -->

<!-- --------------------Video Course Price Start--------------------------- -->
        <div class="col-sm-2 form-group text-left" style="padding-left:0; padding-top: 10px">
            <?php 
            if(isset($video_course_info['video_course_price_info'][$video_info->video_course_id])){
                if($video_course_info['video_course_price_info'][$video_info->video_course_id]->price_currency == 1){
                    echo 'BDT '.$video_course_info['video_course_price_info'][$video_info->video_course_id]->price; 
                }else{
                    echo '$ '.$video_course_info['video_course_price_info'][$video_info->video_course_id]->price; 
                }
            }else{
                echo 'Free';
            }
            ?>
        </div>
<!-- --------------------Video Course Price End--------------------------- -->

        <div class="col-sm-1 form-group text-left" style="padding-left:0; padding-top: 10px">
            <?php
            switch ($video_info->video_course_skill_level) {
                case 1:
                    ?>
                    <span title="Any">
                        <img src="<?php echo base_url() . 'image/gray-box.jpg'; ?>" >
                        <img src="<?php echo base_url() . 'image/gray-box.jpg'; ?>" >
                        <img src="<?php echo base_url() . 'image/gray-box.jpg'; ?>" >
                    </span>
                    <?php
                    break;
                case 2:
                    ?>
                    <span title="Basic">
                        <img src="<?php echo base_url() . 'image/gray-box.jpg'; ?>" >
                        <img src="<?php echo base_url() . 'image/gray-box.jpg'; ?>" >
                        <img src="<?php echo base_url() . 'image/green-box.jpg'; ?>" >
                    </span>
                    <?php
                    break;
                case 3:
                    ?>
                    <span title="Intermediate">
                        <img src="<?php echo base_url() . 'image/gray-box.jpg'; ?>" >
                        <img src="<?php echo base_url() . 'image/green-box.jpg'; ?>" >
                        <img src="<?php echo base_url() . 'image/green-box.jpg'; ?>" >
                    </span>
                    <?php
                    break;
                case 4:
                    ?>
                    <span title="Advanced">
                        <img src="<?php echo base_url() . 'image/green-box.jpg'; ?>" >
                        <img src="<?php echo base_url() . 'image/green-box.jpg'; ?>" >
                        <img src="<?php echo base_url() . 'image/green-box.jpg'; ?>" >
                    </span>
                    <?php
                    break;
            }
            ?>
        </div>


<!-- --------------------Video Course Rating Start--------------------------- -->
        <div class="col-sm-2 form-group" style="text-align: left !important;padding: 5px; padding-top: 10px">
            <div class="rating-star">
                <div class="rating-star-value" style="width: <?php echo round((4 * 100) / 5) ?>%"></div>
                <div class="rating-star-bg"></div>
            </div>
        </div>
<!-- --------------------Video Course Rating End--------------------------- -->

<!-- --------------------Video Course Registration Part Start--------------------------- -->
        <div class="col-sm-3 form-group" style="padding-left:0;" style="padding-top: 10px; text-align: left !important">
            <a href="" 
               data-toggle="tooltip" title="Get Enrollment in this Course" data-placement="top">
                <img src="<?php echo base_url()?>image/registration-icon.png">
            </a>
        </div>
<!-- --------------------Video Course Registration Part End--------------------------- -->

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