} echo '<OPTION value="' . $basis->convert_html_chars($row->ampel_id) . '" ' . $selected . '>'; echo $basis->convert_html_chars($row->kurzbz); echo '</OPTION>'; } echo '</SELECT>'; echo '<input type="submit" value="OK" />'; echo '</form><br>'; if (!isset($_POST['ampel_id'])) { echo $p->t('tools/waehlenSieEineOEoderAmpel'); exit; } $oe_arr = $oe_kurzbz != '' ? array($oe_kurzbz) : $oes; //echo 'OE: '.$oe_kurzbz.' Ampel:'.$ampel_id; $ampel = new ampel(); if (!$ampel->loadAmpelMitarbeiter($oe_arr, $ampel_id)) { die('Fehler:' . $ampel->errormsg); } if ($ampel_id != '') { $ampel_aktuell = new ampel($ampel_id); echo $ampel_aktuell->beschreibung[$sprache]; } echo ' <table id="myTable" class="tablesorter"> <thead> <tr> <th>' . $p->t('tools/ampelStatus') . '</th> <th>' . $p->t('tools/ampelKurzbz') . '</th> <th>' . $p->t('tools/ampelMitarbeiter') . '</th> <th>' . $p->t('global/organisationseinheit') . '</th> <th>' . $p->t('tools/ampelBestaetigtAm') . '</th>