<?php
/**
 * Open Source Social Network
 *
 * @package   (openteknik.com).ossn
 * @author    OSSN Core Team <info@openteknik.com>
 * @copyright (C) OpenTeknik LLC
 * @license   OPENTEKNIK  LLC, COMMERCIAL LICENSE, COMMERCIAL LICENSE https://www.openteknik.com/license/commercial-license-v1
 * @link      https://www.opensource-socialnetwork.org/
 */
$page = new \Ossn\Component\BusinessPage\Page;
$list = $page->getLikedPages(ossn_loggedin_user()->guid);
$count = $page->getLikedPages(ossn_loggedin_user()->guid, array(
		'count' => true,							  
));
?>

	<?php
	if($list){
			foreach($list as $item){ ?>
			<div class="business-page ossn-page-contents">
			    <div class="row list-item">
    					<div class="col-md-3">
    					    	<div class="logo4">
                        	<img src="<?php echo $item->photoURL();?>" />
                        </div>
                         </div>
                        <div class="col-md-9">
                        	<a href="<?php echo ossn_site_url("page/view/{$item->guid}");?>"><?php echo $item->title;?></a>
                        	<div class="business-page-desc2">
                        	<div class="post-contents">
                            <p class="addReadMore showlesscontent"><?php echo $item->description;?></p>
                              </div>
                        </div>
                        </div>
   				 </div>
   				 </div>
     <?php	
			}
			echo ossn_view_pagination($count);
	}
	?>
