Inserted data into frontend from models for some views

This commit is contained in:
2019-06-17 13:56:37 +02:00
parent 759f04d34f
commit 5179ea9de5
8 changed files with 128 additions and 101 deletions

View File

@@ -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>