<?php if(!empty($news['data'])): ?>
	<?php if(!empty($news['data'])):?>
		<?php if(sizeof($news['data'])>1):?>
			<?php foreach($news['data'] as $photo):?>
			<a href="<?php echo $this->baseUrl("/news/index/{$photo['id']}");?>"><h1><?php echo $photo['title'];?></h1></a>
			<p><em><u>Date: <?php echo App::Helper('Date')->dateFormated( $photo['entry_date']);?></u></em></p>
			<p><?php echo substr(strip_tags($photo['desc']),0,300);?>...</p>
			<P><a href="<?php echo $this->baseUrl("/news/index/{$photo['id']}");?>">Read More</a></P><br />
			<?php endforeach;?>
			<p><?php if($news['paging']!=""): ?><?php echo $news['link']; ?><?php endif; ?></p>
		<?php else:?>
			<h1><?php echo $news['data'][0]['title'];?></h1>
			<p><em><u>Date: <?php echo App::Helper('Date')->dateFormated( $news['data'][0]['entry_date']);?></u></em></p>
			<p><?php echo $news['data'][0]['desc'];?></p><br />
			<p><a href="<?php echo $this->baseUrl("/news");?>">News Home</a></p>
		<?php endif;?>
	<?php else:?>
	<p>No Data Found</p>
<?php endif;?>
<?php endif;?>