<div class="mobi_logo"><img src="images/logo.jpg"  style=" max-width:100%;" /></div>
<div class="container text-center">
<h1><?=$title?></h1>
</div>

<div class="container text-left">

  <?php if($books): foreach($books as $row):	   
    
if($result): foreach($result as $row1):

        if ($row['aid']==$row1['aid']):
		
		?>
      
        
        <div class="featured_list" >
        
       
        
        <?php if($row1['img']!=''): ?>
        <img src="<?php echo base_url('assets/images/'.$row1['img']) ; ?>"   border="0"/>
        <?php else: ?>
        <img src="<?php echo base_url('assets/web_images/no_image.jpg') ; ?>"  border="0"/>
        <?php endif; ?>
        
    
        <h4><?php echo $row1['title'] ; ?></h4>
        
        <div class="featured_list_bottom3"  style="bottom:20px;"  >
        
        <div class="featured_list_inne8" style="font-size:16px;">
		 
         <?php
         if($row1['text']!=''):?><p><?php echo (strlen(strip_tags($row1['text']))>130)?substr(strip_tags($row1['text']),0,130).'...':strip_tags($row1['text']); ?></p> <?php endif; ?>
 <a href="<?php echo site_url( 'services/view/'.$row1['aid'].'/'.url_title($row_off['title'], '-', TRUE) ) ; ?>" class="read2">Read More</a>
           
         </div>
        </div>

 
        
        </div>
        
        </a>
        
        <?php endif; endforeach; endif;  endforeach; endif; ?>       
 
    </div>