Exemple #1
0
">
	<div id="wrapper">
		<?php 
echo theme::render_header();
?>
		<div id="header">
			<div id="logo" class="left">
				<h1><?php 
echo html::anchor(url::site(), store::name());
?>
</h1>
			</div>
			<div id="navigation" class="right">
				<ul>
					<?php 
foreach (links::get('main') as $link) {
    ?>
						<li><?php 
    echo $link->display();
    ?>
</li>
					<?php 
}
?>
				</ul>
			</div>
			<div class="clear"></div>
		</div>
		
		<div id="sidebar" class="left">
			<div id="categories" class="box">
Exemple #2
0
				<?php 
foreach (products::all() as $product) {
    ?>
					<li><?php 
    echo $product->link();
    ?>
</li>
				<?php 
}
?>
			</ul>
			
			<ul class="left">
				<li>Resources</li>
				<?php 
foreach (links::get('footer') as $link) {
    ?>
					<li><?php 
    echo $link->display();
    ?>
</li>
				<?php 
}
?>
			</ul>
			<div class="clear"></div>
		</div>
	</div>
	<?php 
echo theme::render_footer();
?>