</div> <br><br> <div>'; $coodle_ressourcen = new coodle(); $coodle_ressourcen->getRessourcen($coodle_id); // alle termine der coodle umfrage holen $coodle_termine = new coodle(); $coodle_termine->getTermine($coodle_id); $datum = new datum(); echo "<div id='coodle_content' >\n <form action='' method='POST'>\n\n <table>\n <tr><td></td>"; foreach ($coodle_termine->result as $termin) { $class_auswahl = 'normal'; $time = strtotime($termin->uhrzeit); $coodle_auswahl = new coodle(); // Falls es schon eine Auswahl gibt - hervorheben if ($coodle_auswahl->checkTerminAuswahl($coodle_id, $termin->coodle_termin_id)) { $class_auswahl = 'auswahl'; } echo "<th class='" . $class_auswahl . "'>" . $datum->formatDatum($termin->datum, 'd.m.Y') . '<br>' . date('H:i', $time) . "</th>"; } if ($ersteller) { echo '<th class="normal">' . $p->t('coodle/keineAuswahl') . '</th>'; } echo "</tr>"; // ressourcen durchlaufen foreach ($coodle_ressourcen->result as $ressource) { $name = ''; $class = 'normal'; $benutzer = new benutzer(); // wenn uid gesetzt ist nimm uid if ($ressource->uid != '') {