Adjust links and resolve issues with german umlauts.

This commit is contained in:
2023-12-28 15:23:55 +01:00
parent 679257d709
commit d7858e4286
25 changed files with 65 additions and 64 deletions

View File

@@ -5,15 +5,15 @@ $sql2 = 'DELETE FROM Angebot WHERE ID = "' . $_POST['Titel'] . '"';
$result2 = $db->query($sql2);
if ($result2) {
echo "<p>Datenbankeintrag gel<EFBFBD>scht</p>\n";
echo "<p>Datenbankeintrag gelöscht</p>\n";
if (unlink($file)) {
echo "<p>Bild wurde gel<EFBFBD>scht</p>\n";
echo "<p>Bild wurde gelöscht</p>\n";
} else {
echo "<p>Fehler beim L<EFBFBD>schen des Bildes</p>\n";
echo "<p>Fehler beim Löschen des Bildes</p>\n";
}
} else {
echo "Fehler beim L<EFBFBD>schen";
echo "Fehler beim Löschen";
}
echo '<a href="index.php?section=angebote">Zur<EFBFBD>ck zur <EFBFBD>bersicht</a>';
echo '<a href="index.php?section=angebote">Zurück zur Übersicht</a>';

View File

@@ -1,4 +1,4 @@
<h3>Angebot <EFBFBD>ndern</h3>
<h3>Angebot ändern</h3>
<?php
if (!isset($_POST['Speichern'])) {
@@ -12,10 +12,10 @@ if (!isset($_POST['Speichern'])) {
<form action="index.php?section=angebote" method="post" enctype="multipart/form-data">
<input type="hidden" name="edit" value="speichern"/>
<input type="hidden" name="id" value="<?php echo $_POST['Titel']; ?>"/>
<label><EFBFBD>berschrift 1</label>
<label>Überschrift 1</label>
<input type="text" name="head1" value="<?php echo $nt1['head1']; ?>"/>
<br/>
<label><EFBFBD>berschrift 2</label>
<label>Überschrift 2</label>
<input type="text" name="head2" value="<?php echo $nt1['head2']; ?>"/>
<br/>
<label>Text</label>

View File

@@ -5,7 +5,7 @@ if (!isset($_POST['Speichern'])) {
?>
<form action="index.php?section=angebote" method="post" enctype="multipart/form-data">
<label>Foto ausw&auml;hlen</label>
<label>Foto auswählen</label>
<input type="hidden" name="new" value="speichern"/>
<input type="file" name="Foto"/>
<br/>
@@ -39,7 +39,7 @@ if (!isset($_POST['Speichern'])) {
<br/>
<textarea name="Leistungen" cols="90" rows="10"></textarea>
<br/>
<label>G<EFBFBD>ltigkeit</label>
<label>Gültigkeit</label>
<input type="text" name="Valid"/>
<br/>
<input type="submit" name="Speichern" value="Speichern"/>