<?php include "include/header.php" ?>
 
<div class="parallax inverse-text page-title-wrapper" data-parallax-img="<?php echo base_url();?>assets/images/pattern.jpg" data-parallax-img-width="1920" data-parallax-img-height="455">
    <div class="container inner text-center pt-40 pb-40 ">
      <h1 class="section-title">Gallery</h1>
      <div class="space10"></div>
      <div class="meta breadcrumbs text-center mb-0"><span><a href="<?php echo base_url();?>">Home</a></span><span><a href="#">Gallery</a></span></div>
    </div>
    <!-- /.container --> 
  </div>
  <!-- /.parallax -->
  
<div class="wrapper light-wrapper">
    <div class="portfolio grid-view text-center pt-40 pb-60">
          <div class="isotope-filter button-group text-center" data-target=".grid-1">
          <ul>
            <li><a class="button active" data-filter="*">ALL</a></li>
			<?php foreach($gt_type as $grow):?>
            <li><a class="button text-uppercase" data-filter=".gallery<?php echo $grow->gt_id;?>"><?php echo $grow->gt_type;?></a></li>
			<?php endforeach;?>
          </ul>
        </div>
       <div class="tiles tiles-m no-gutter">
         <div class="isotope row grid-1  effect-parent light-gallery">
         <?php foreach($gallery as $row):?>
           <div class="item grid-sizer col-sm-6 col-md-3 gallery<?php echo $row->gt_id; ?>" >
                <figure class="overlay overlay4">
                    <a href="<?php echo base_url();?>assets/uploads/news/gallery_<?php echo $row->g_id;?>.jpg" data-sub-html="#<?php echo $row->g_id;?>"></a>
                    <img src="<?php echo base_url();?>assets/uploads/news/gallery_<?php echo $row->g_id;?>.jpg" alt="" style="height: 250px"/>
                       <!--<figcaption>
                         <h5 class="from-top"><?php echo $row->g_name;?></h5>
                       </figcaption>-->
                </figure>
               <div id="<?php echo $row->g_id;?>" class="hidden">
                    <h3><?php echo $row->g_name;?></h3>
               </div>

           </div>
           <!-- /column -->
         <?php endforeach;?>
        </div>
       </div>
       <!--/.tiles -->
     </div>

   </div></div>

<?php include "include/footer.php" ?>
