<div class="grid_column_2" align="center">


<div class="css_clear css_spacing"></div>


<div class="full_width">


<table class="seminarmancoursetable" summary="seminarman" id="example" style="">
<thead>
<tr>
<th id="qf_title" class="sectiontableheader">Codice</th>
<th id="qf_title" class="sectiontableheader">Corso</th>
<th id="qf_title" class="sectiontableheader">Certificato</th>

<th id="qf_title" class="sectiontableheader">Prezzo in € escl. IVA</th>
<th id="qf_title" class="sectiontableheader"></th>
</tr>
</thead>
<tfoot>
<tr>
<th>Codice</th>
<th>Corso</th>
<th></th>

<th></th>
<th></th></tr>
</tfoot>
<tbody>

<?php 
$db =& JFactory::getDBO();
$query = "SELECT * FROM j25_seminarman_courses WHERE state=1";
$db->setQuery($query);
$nomes = $db->loadAssocList();
foreach ( $nomes as $v ) {
$cod = $v['code'];
$alias = $v['alias'];
$title = $v['title'];
$certificate_text= $v['certificate_text'];

$price= $v['price'];
echo "<tr><td>".$cod."</td><td><a href=\"/listacorsi/1-corsi/".$cod."-".$alias."\"><b>".$title."</b></a></td><td>".$certificate_text."</td><td>".$price.

"</td><td><a href=\"/listacorsi/1-corsi/".$cod."-".$alias."?buchung=1#appform"."\"><b>Prenota</b></a></td></tr>";
}
?>

</tbody>

</table>

</div>
</div>

</div>