        <div class="innerBanner cmsImageWRapper">
            <?php //if($cmsDetails['banner_text']!=''){ ?>
                <!--<span class="innerBannerTitle"><?php echo $cmsDetails['banner_text']; ?></span>-->
            <?php //} ?>
                <div class="scrollable" style=" background: url(<?php echo  base_url().'assets/userfiles/'.$cmsDetails['path'].'/'.$cmsDetails['filename'].'.'.$cmsDetails['extension']; ?>) no-repeat center center/cover;"></div>
               </div>
               <?php 
                $section = '';
                if($cmsDetails['section_id']==1)
                {
                  $section = getLang('Insights');
                }
                elseif($cmsDetails['section_id']==2)
                {
                  $section = getLang('Community');
                }
                elseif($cmsDetails['section_id']==3)
                {
                  $section = getLang('Shop');
                }
                else
                {
                  $section = getLang('About_Us');
                }
               ?>
                
               
            <section class="content_wrapper innerPage cmsWhite">
              <div class="container">
                  <?php if($cmsDetails['preview_alt']!=''){ ?>
                      <p class="imgbanner_alttag"><?php echo $cmsDetails['preview_alt']; ?></p>
                  <?php } ?>
                <div class="breadcrump">
                  <a href="<?php echo base_url(); ?>"> Home</a> 
                  <a href="javascript:void(0)"><i class="fa fa-angle-right"></i> <?php echo $section; ?></a> 
                  <a href="javascript:void(0)" class="active"><i class="fa fa-angle-right"></i> <?php echo $cmsDetails['title']; ?></a>
                </div>
              </div>
             <div class="container narrow">

               <div class="box_large">
                 <h1><?php echo $cmsDetails['page_title']; ?></h1>
				 
                 <h4 class=""><?php echo $cmsDetails['sub_head']; ?></h4>
                 <div class="cmsImageWRapper">
                   <?php if($cmsDetails['page_image_id']>0) { $file = getFiles($cmsDetails['page_image_id']); ?>
                        <span><img class="img_fullwidth" src="<?php echo base_url().'assets/userfiles/'.$file['path'].'/'.$file['filename'].'.'.$file['extension']; ?>" alt="<?php echo $cmsDetails['page_alt']; ?>"></span>
                        <?php } else { ?>
                          <?php if($cmsDetails['video_url']){?>
                        <iframe src="<?php echo $cmsDetails['video_url']; ?>" frameborder="0" width="100%" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
                      <?php } ?>
                    <?php } ?> 
                    <?php if($cmsDetails['page_alt']!=''){ ?>
                      <p><?php echo $cmsDetails['page_alt']; ?></p>
                    <?php } ?>
                  </div>
                 <div class="text_gold"><?php echo html_entity_decode($cmsDetails['content']); ?></div>
               </div>
               <?php if(!empty($cmsSectionDetails) && $this->uri->segment(2)!='testimonial' ){
                    $i=0;
                        foreach ($cmsSectionDetails as $value) {
                          if($value['content_title']!='')
                          {
                      ?>
                     <div class="block_box clearfix <?php if(($i%2)==1){ echo 'reverse grey_bg'; }?>">
                       <h3><?php echo $value['content_title']; ?></h3>
                          <div class="<?php if($value['page_video']==''){ echo 'cmsImageWRapper'; } ?>">
                            <?php if($value['content_image_id']>0) { $files = getFiles($value['content_image_id']); ?>
                            <span><img src="<?php echo base_url().'assets/userfiles/'.$files['path'].'/'.$files['filename'].'.'.$files['extension']; ?>" width="100" alt="<?php echo $value['content_image_alt'] ?>"></span>
                            <?php } else { ?>      
                            <iframe class="<?php if($i==2){ echo 'iframeHeight'; }?>" src="<?php echo $value['page_video']; ?>" frameborder="0" width="100%" webkitallowfullscreen="webkitallowfullscreen" mozallowfullscreen="mozallowfullscreen" allowfullscreen="allowfullscreen"></iframe>
                            <?php } ?>
                            <div class="clearfix"></div>
                            <?php if($value['content_image_alt']!=''){ ?>
                              <p><?php echo $value['content_image_alt']; ?></p>
                            <?php } ?> 
                          </div>                 
                         <p><?php echo $value['page_content']; ?></p>
                       
                     </div>
               <?php } $i++; } }
					if(!empty($testimonials)){
                    $j=0;
                        foreach ($testimonials as $test) { ?>
					<div class="block_box clearfix <?php if(($j%2)==1){ echo 'reverse grey_bg'; }?>">
					 <h2><?php echo $test['name']; ?></h2>
						<?php if($test['image_id']>0) { $filestest = getFiles($test['image_id']); ?>
						<span><img src="<?php echo base_url().'assets/userfiles/'.$filestest['path'].'/'.$filestest['filename'].'.'.$filestest['extension']; ?>" width="100"></span>
						<?php } ?>      
						               
					   <p><?php echo $test['text']; ?></p>
                 
               </div>
			  <?php	$j++;	}
					}
			   ?>

              </div>
            </section>