<?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">Projects</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="#">Projects</a></span></div>
    </div>
    <!-- /.container --> 
  </div>
  <!-- /.parallax -->
  
<div class="wrapper light-wrapper">
    <div class="container inner text-center pt-40 pb-60">
       <div class="tiles tiles-m">
         <div class="isotope row grid-1 ">
         <?php foreach($projects as $row):?>
           <div class="item grid-sizer col-sm-6 col-md-4 gallery" >
                <figure class="overlay overlay9">
                    <a href="<?php echo base_url();?>info/<?php echo base64_encode($row->p_id);?>" ></a>
                      <img src="<?php echo base_url();?>assets/uploads/projects/project_<?php echo $row->p_id;?>.jpg" alt="" style="height: 300px"/>
                       <figcaption>
                         <h5 class="from-top"><?php echo $row->p_name;?></h5>
                       </figcaption>
                </figure>
           </div>
           <!-- /column -->
         <?php endforeach;?>
        </div>
       </div>
       <!--/.tiles -->
     </div>

   </div></div>

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