Files
homepage/admin/inhalte/kal/saison/standard.php
2023-12-28 12:13:55 +01:00

34 lines
798 B
PHP
Raw Blame History

<h2>Saisonverlauf</h2>
<?php
$sql1 = 'SELECT * FROM Saison';
$result1 = $db->query($sql1);
?>
<fieldset>
<form action="index.php?section=kal&t=saison" method="post">
<fieldset>
<legend>neuen Zeitraum erstellen</legend>
<input type="submit" name="add" value="Erstellen" />
<br />
</fieldset>
<br />
<select name="Titel">
<?php
while ($nt1 = $result1->fetch_assoc()) {
echo '<option value="'.$nt1['ID'].'">'.$nt1['Von'].' '.$nt1['Bis'].' '.$nt1['Typ'].'</option>';
}
?>
</select>
<br />
<fieldset>
<legend>Zeitraum bearbeiten</legend>
<input type="submit" name="edit" value="Bearbeiten" />
<br />
</fieldset>
<br />
<fieldset>
<legend>Zeitraum löschen</legend>
<input type="submit" name="del" value="L<>schen" />
<br />
</fieldset>
</fieldset>