<?php if(!empty($home_synopsis['data'])):?> 
<div class="clear"></div>
<h2 class="block-title"><?php echo App::Config()->setting('homepresssettings_title','Press');?></h2>
<?php foreach( $home_synopsis['data'] as $key => $val):?>	
	<?php if( App::Config()->setting('homepresssettings_displaymode','TextWithImage') == 'ImageBased'):?>
	<div class="grid_4 align-center">	
		<p>
			<a href="<?php echo App::PageManager()->LinkById($val['linkedto']); ?>" ><img src="<?php echo App::Config()->baseUrl("/uploads/filemanager/{$val['image']}");?>" /></a>
		</p>		
		<strong><?php echo($val['title']); ?></strong>
	<?php else:?>
	<div class="grid_4">	
		<h5><?php echo($val['title']); ?></h4>
		<?php if( App::Config()->setting('homepresssettings_displaymode','TextWithImage') == 'TextWithImage'):?>
		<a href="<?php echo App::PageManager()->LinkById($val['linkedto']); ?>">
			<img src="<?php echo App::Config()->baseUrl("/uploads/filemanager/{$val['image']}");?>" />
		</a>
		<?php endif;?>
		<p><?php echo(nl2br($val['shortdesc']));?></p>
		<?php if($val['linkedto']):?>			
			<p><a href="<?php echo App::PageManager()->LinkById($val['linkedto']); ?>" class="button white small" ><?php echo $this->__('Read More...');?></a></p>
		<?php endif;?>	
	<?php endif;?>
	</div>
<?php endforeach;?>
<?php endif;?>
