Inserted data into frontend from models for some views
This commit is contained in:
@@ -8,3 +8,22 @@ defined('_JEXEC') or die;
|
||||
<pre>
|
||||
Ort Verein Adresse Ansprechpartner Email
|
||||
</pre>
|
||||
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<th>Ort</th>
|
||||
<th>Verein</th>
|
||||
<th>Adresse</th>
|
||||
<th>Vorsitzener</th>
|
||||
<th>E-Mail-Adresse</th>
|
||||
</tr>
|
||||
<?php foreach ($this->clubs as $club): ?>
|
||||
<tr>
|
||||
<td><?php echo htmlentities($club->getCity()); ?></td>
|
||||
<td><?php echo htmlentities($club->getName()); ?></td>
|
||||
<td><?php echo nl2br(htmlentities($club->getAddress())); ?></td>
|
||||
<td><?php echo htmlentities($club->getPresident()->getName()); ?></td>
|
||||
<td><a href='mailto:<?php echo htmlentities($club->getMail()); ?>'><?php echo htmlentities($club->getMail()); ?></a></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user