Example #1
0
<?php

$object_article = new article();
$article_list = $object_article->returnAllArticles();
?>
<div class="article-list">
	<div class="button-area">
		<button onclick="goTo('./backoffice.php?pg=article-add');" class="green"><?php 
print $language["template"]["add"];
?>
</button>  
		<button onclick="buttonAction ('<?php 
print $language["template"]["are-you-sure"];
?>
','article-edit');" class="orange"><?php 
print $language["template"]["edit"];
?>
</button>
		<button onclick="buttonAction ('<?php 
print $language["template"]["are-you-sure"];
?>
','article-del');" class="red"><?php 
print $language["template"]["del"];
?>
</button>
	</div>
	<table class="db-list">
	  <tr>
		<th>#</th>
		<th>Titulo</th>
		<th>Categoria</th>