<?php $this->display('inc.header.php');?>
<div class="page">
<section>
	<header><h1><?php echo $page_title?></h1></header>
	<?php if($pages){?>
	<ul id="events-list" class="cf">
		<?php foreach($pages as$p){
			$p['name']=ehtml($p['name']);?>
		<li>
			<article>
				<header>
					<h2><a href="<?php echo lang_item_link('',$p,'','noutati')?>" title="<?php echo $p['name']?>"><?php echo $p['name']?></a></h2>
				</header>
				<section class="description"><?php echo $p['short_description']?></section>
				<?php if($p['image']!=''){?>
				<a href="<?php echo lang_item_link('',$p,'','noutati')?>" title="<?php echo $p['name']?>" class="image fading">
					<img src="<?php echo image_link(lang_item_image('',$p,'imagini-noutati'),76)?>" alt="<?php echo $p['name']?>"/>
				</a>
				<?php }?>
				<section class="more">
					<a href="<?php echo lang_item_link('',$p,'','noutati')?>" title="<?php echo $p['name']?>" class="button"><?php echo l('mai mult')?></a>
				</section>
			</article>
		</li>
		<?php }?>
	</ul>
	<?php }else echo'<p>'.l('Nicio categorie.').'</p>';?>
</section>
<section class="pagination"><?php echo print_srcpages($total,$page,12,$pagination)?></section>
</div>
<?php $this->display('inc.footer.php');?>