Location: PHPKode > projects > Dev's CMS > devscms/admin/templates/news/menu.tpl
<p><a href="?p=n&amp;a=n">Skapa ny</a></p>

<p>Nyheter:</p>

<? if (empty($news)): ?>
	<i>Inga nyheter</i>
	
<? else: ?>
	<ul>
	<? foreach ($news as $news_item): ?>

		<li><a href="?p=n&amp;a=e&amp;id=<?=$news_item['id']?>"><?=$news_item['title']?></a></li>
		
	<? endforeach; ?>
	</ul>
<? endif; ?>
Return current item: Dev's CMS