
<div class="container">
 <div class="col-sm-12 col-12" id="mainpage">
  <div class="row">

   <div class="col-sm-9 col-12">

<?php							
                       
						$where1 = "content_type='Message'";
						$this->db->where($where1);
					    $query2 = $this->main_model->homecontent();
                        foreach($query2 as $row2):
						?>
     <div class="col-sm-12 col-12 p-0"  data-aos="fade-in" data-aos-duration="2000" >
       <ul class="list-group p-0">
        <li class="list-group-item font-weight-bold bg-success text-light" id="about"><?php echo $row2['title']; ?></li>
      </ul>
      <li class="list-group-item">
        <div style="font-size: 14px; line-height: 25px; text-align: justify;">
                 <img style="float:left; padding-right:15px;" width="50%" src="<?php echo base_url();?>admin/uploads/<?php echo $row2['home_image']; ?>"> <?php echo  $row2['details']; ?>
       </div>

     </li>

 <?php endforeach; ?> 

   </div>
 </div>