Files
homepage/admin/inhalte/kal/saison/standard.php

34 lines
1014 B
PHP

<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>