<caption>Vokabeln in "<a id='lesson'><b><?php echo $_GET['name']; ?> </b></a>" verwalten</caption> <thead> <tr> <th><input type="checkbox" id="check_all"></th> <th>Muttersprache</th> <th>Fremdsprache</th> <th>Stufe</th> <th></th> </tr> </thead> <?php $db = new DatabaseConnector($_SESSION['user_id']); $vocable_list = $db->getVocablesByLessonName($_GET['name']); foreach ($vocable_list as $vocable) { echo "<tr><td><input type='checkbox' value='" . $vocable->getId() . "' id='v-" . $vocable->getId() . "'/></td>"; echo "<td id=ol-" . $vocable->getId() . ">" . $vocable->getOwnLang() . "</td><td id=fl-" . $vocable->getId() . ">" . $vocable->getForeignLang() . "</td>"; echo "<td>" . $vocable->getStep() . "</td><td><button onclick='change(this)' value=" . $vocable->getId() . ">Ändern</button></td></tr>"; } ?> </table> <div class='bottom_line'> <a>Ausgewählte:</a><br> <div class='manage_box'> <button id='delete'>Löschen</button> </div> <div class='manage_box'> <button id='reset'>Zurücksetzen</button><br> <a> auf Stufe </a>