<!-- Home Design Inner Pages -->
<div class="ulockd-inner-home">
    <div class="container">
        <div class="row">
            <div class="inner-conraimer-details">
                <div class="col-md-12">
                    <h1 class="text-uppercase"><?php echo $this->lang->line('video'); ?> <?php echo $this->lang->line('gallery'); ?></h1>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Home Design Inner Pages -->
<div class="ulockd-inner-page">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <div class="ulockd-icd-layer">
                    <ul class="list-inline ulockd-icd-sub-menu">
                        <li><a href="<?php echo site_url(); ?>"> <?php echo $this->lang->line('home'); ?> </a></li>
                        <li>></li>
                        <li><?php echo $this->lang->line('gallery'); ?></li>
                        <li>></li>
                        <li><?php echo $this->lang->line('video'); ?> <?php echo $this->lang->line('gallery'); ?></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Inner Pages Main Section -->

<!-- Our Videos -->
<section class="ulockd-fservice">
    <div class="container">
        <div class="row">
            <div class="col-md-6 col-md-offset-3 text-center">
                <div class="ulockd-main-title">
                    <h2 class="mt-separator"><?php echo $this->lang->line('our'); ?> <?php echo $this->lang->line('video'); ?> <?php echo $this->lang->line('gallery'); ?></h2>
                    <?php if ($this->session->userdata('site_lang') == 'bengali') { ?>
                        <p class="text-justify"><?php echo isset($this->sections->bn_video) && !empty($this->sections->bn_video) ? $this->sections->bn_video : ''; ?></p>
                    <?php } else { ?>
                        <p class="text-justify"><?php echo isset($this->sections->video) && !empty($this->sections->video) ? $this->sections->video : ''; ?></p>
                    <?php } ?>
                </div>
            </div>
        </div>

        <?php if (isset($videos) && !empty($videos)) { ?>
            <div class="row">
                <?php foreach ($videos as $obj) { ?>
                    <div class="col-xxs-12 col-xs-6 col-sm-6 col-md-4">
                        <div class="project-box text-center ulockd-mrgn1250" style="min-height: 450px;">
                            <div class="pb-thumb">
                                <?php if ($obj->image) { ?>
                                    <img style="height: 230px;" class="img-responsive img-whp" src="<?php echo UPLOAD_PATH; ?>gallery-image/<?php echo $obj->image; ?>" alt="<?php echo $this->session->userdata('site_lang') == 'bengali' ? $obj->bn_title : $obj->title; ?>" />
                                <?php } else { ?>
                                    <img style="height: 230px;" class="img-responsive img-whp" src="<?php echo IMG_URL; ?>gallery.jpg" alt="gallery">
                                <?php } ?>
                                <div class="overlay">
                                    <?php if ($this->session->userdata('site_lang') == 'bengali') { ?>
                                        <h4><?php echo $obj->bn_title; ?></h4>
                                    <?php } else { ?>
                                        <h4><?php echo $obj->title; ?></h4>
                                    <?php } ?>
                                </div>
                            </div>
                            <div class="pb-details">
                                <?php if ($this->session->userdata('site_lang') == 'bengali') { ?>
                                    <h3><?php echo $obj->bn_title; ?></h3>
                                <?php } else { ?>
                                    <h3><?php echo $obj->title; ?></h3>
                                <?php } ?>

                                <?php if ($this->session->userdata('site_lang') == 'bengali') { ?>
                                    <p class="text-justify"><?php echo strip_tags(word_limiter($obj->bn_description, 15)); ?></p>
                                <?php } else { ?>
                                    <p class="text-justify"><?php echo strip_tags(word_limiter($obj->description, 15)); ?></p>
                                <?php } ?>
                                <a class="btn ulockd-btn-thm2" href="<?php echo site_url('videos/gallery/' . $obj->id); ?>">
                                    <?php echo $this->lang->line('see_videos'); ?>
                                    <span class="fa fa-angle-double-right"></span>
                                </a>
                            </div>
                        </div>
                    </div>
                <?php } ?>
            </div>
        <?php } ?>
    </div>
</section>