<?php
/**
 * Open Source Social Network
 *
 * @package   (softlab24.com).ossn
 * @author    OSSN Core Team <info@softlab24.com>
 * @copyright 2014-2016 SOFTLAB24 LIMITED
 * @license   General Public Licence http://www.opensource-socialnetwork.org/licence
 * @link      https://www.opensource-socialnetwork.org/
 */


$page = new \Ossn\Component\BusinessPage\Page;
$list = $page->getPages();
$count = $page->getPages(array(
		'count' => true,							  
));
?>


    	   
                     
	<?php
	if($list){
			foreach($list as $item){ ?>
		
		  
			
			        
			  
			    <div class="frog-to-frog">
			         <a href="<?php echo ossn_site_url("page/view/{$item->guid}");?>">  
			         <div class="logo3">
                        	<img src="<?php echo $item->photoURL();?>" />
                        	</div>
                        			</a>
			         <a href="<?php echo ossn_site_url("page/view/{$item->guid}");?>">  
			        <div class="business-page-cover3">
			            
			        <img src="<?php echo $item->coverURL();?>" />
			        
			        </div>
			       
			     		</a>
			          
			    <div class="row">
			     
    				
                        <div class="col-md-11">
                            
                        	 <a href="<?php echo ossn_site_url("page/view/{$item->guid}");?>">  
                        	 <div class="frog-title">
                        	 <?php echo $item->title;?>	
                        	 </div>
                        	 </a>
                        		
                        		<div class="top-container4">	
                        	
                        	 <div id="business-page-hr-menu" class="business-page-hr-menu">
                        		<div class="row business-page-metadata">
                        		
                        			<div class="col-md-12">
                        			<div class="business-page-desc">
                                		            <div class="post-contents">
                                		    <p class="addReadMore showlesscontent">
                            		<?php echo $item->description;?>
                            			</p>
                            		
                            	
                            			 </div>
                           			 </div>	 
                        		
                        		 </div>	 
                        		</div>	
                        	</div>
                        	</div>
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        </div>
   				 </div>
   		
   			  </div>
   		

   		
   	
   				    
     
     
     
     
     
     <?php	
			}
			echo ossn_view_pagination($count);
	}
	?>
