Example #1
0
            <h3><?php 
echo $oneCentre['name'];
?>
</h3>   
            <?php 
// getting all events
$events = new Event();
$allEvents = $events->getEventsByCentreIdent($centreIdent);
$counter = 0;
if (sizeOf($allEvents) == 0) {
    echo "<b>Keine Veranstaltungen eingetragen</b>";
} else {
    ?>
   
                    <table width="100%" border="0" cellpadding="4" cellspacing="0">
                      <colgroup>
                        <col width="5%">
                        <col width="12%">
                        <col width="58%">
                        <col width="13%">
                      </colgroup>
                      <tr>
                        <th>Id</th>
                        <th>Beginn</th>
                        <th>Veranstaltung</th>
                        <th colspan="2">Fahrten</th>
                      </tr>    
                      <tr>
                      <?php 
    // iterating over all Events