' . $paramResult . "
"; return false; } $category = getById("tbl_categories", checkParamId("cat_id")); ?>

Kurs erstellen

" required>
?
?
(optional)
Kursdaten
Klassenzuweisung"; echo "
"; if (!empty($classesCategory)) { $groupedClasses = array(); foreach ($classesCategory as $class) { $level = $class['sek']; $groupedClasses[$level][] = $class; } foreach ($groupedClasses as $level => $levelClasses) { echo "
"; echo "
"; echo "
"; echo "$level"; echo "
"; // Checkbox für "Alle Auswählen" $idSafeLevel = str_replace(['.', ' '], '_', $level); $idSafeLevel = preg_replace('/[^A-Za-z0-9_]/', '', $idSafeLevel); echo "
"; echo ""; echo ""; echo "
"; foreach ($levelClasses as $class) { $classId = $class['id']; $className = htmlspecialchars($class['classDisplayName']); echo "
"; echo ""; echo ""; echo "
"; } echo "
"; echo "
"; } echo "
"; } else { echo "
Dieser Kategorie sind keine Klassen zugewiesen.
"; } ?>
' . $category["message"] . ""; } ?>