Move accessible files to public folders and adjust paths.
This commit is contained in:
@@ -5,15 +5,13 @@ $table = "Kal_Amelie";
|
||||
$ref = "index.php?section=kal&t=amelie";
|
||||
|
||||
if (isset($_POST['add'])) {
|
||||
include "inhalte/kal/belegung/add.php";
|
||||
include __DIR__ . '/belegung/add.php';
|
||||
} elseif (isset($_POST['edit'])) {
|
||||
include "inhalte/kal/belegung/edit.php";
|
||||
include __DIR__ . '/belegung/edit.php';
|
||||
} elseif (isset($_POST['del'])) {
|
||||
include "inhalte/kal/belegung/del.php";
|
||||
include __DIR__ . '/belegung/del.php';
|
||||
} elseif (isset($_POST['view'])) {
|
||||
include "inhalte/kal/belegung/view.php";
|
||||
include __DIR__ . '/belegung/view.php';
|
||||
} else {
|
||||
include "inhalte/kal/belegung/standard.php";
|
||||
}
|
||||
|
||||
?>
|
||||
include __DIR__ . '/belegung/standard.php';
|
||||
}
|
||||
@@ -30,6 +30,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
}
|
||||
echo '<a href="' . $ref . '">Zurück zur Übersicht</a>';
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
@@ -7,6 +7,4 @@ if ($result2) {
|
||||
} else {
|
||||
echo "Fehler beim L<>schen";
|
||||
}
|
||||
echo '<a href="' . $ref . '">Zurück zur Übersicht</a>';
|
||||
|
||||
|
||||
echo '<a href="' . $ref . '">Zurück zur Übersicht</a>';
|
||||
@@ -5,7 +5,6 @@ $sql1 = 'SELECT * FROM ' . $table . ' WHERE ID = "' . $_POST['Titel'] . '";';
|
||||
$result1 = $db->query($sql1);
|
||||
$nt1 = $result1->fetch_assoc();
|
||||
if (!isset($_POST['Speichern'])) {
|
||||
var_dump($_POST);
|
||||
echo "<br />";
|
||||
?>
|
||||
|
||||
@@ -36,6 +35,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
}
|
||||
echo '<a href="' . $ref . '">Zurück zur Übersicht</a>';
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
@@ -5,15 +5,13 @@ $table = "Kal_Gaby";
|
||||
$ref = "index.php?section=kal&t=gaby";
|
||||
|
||||
if (isset($_POST['add'])) {
|
||||
include "inhalte/kal/belegung/add.php";
|
||||
include __DIR__ . '/belegung/add.php';
|
||||
} elseif (isset($_POST['edit'])) {
|
||||
include "inhalte/kal/belegung/edit.php";
|
||||
include __DIR__ . '/belegung/edit.php';
|
||||
} elseif (isset($_POST['del'])) {
|
||||
include "inhalte/kal/belegung/del.php";
|
||||
include __DIR__ . '/belegung/del.php';
|
||||
} elseif (isset($_POST['view'])) {
|
||||
include "inhalte/kal/belegung/view.php";
|
||||
include __DIR__ . '/belegung/view.php';
|
||||
} else {
|
||||
include "inhalte/kal/belegung/standard.php";
|
||||
}
|
||||
|
||||
?>
|
||||
include __DIR__ . '/belegung/standard.php';
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
if (isset($_POST['add'])) {
|
||||
include "inhalte/kal/saison/add.php";
|
||||
include __DIR__ . '/saison/add.php';
|
||||
} elseif (isset($_POST['edit'])) {
|
||||
include "inhalte/kal/saison/edit.php";
|
||||
include __DIR__ . '/saison/edit.php';
|
||||
} elseif (isset($_POST['del'])) {
|
||||
include "inhalte/kal/saison/del.php";
|
||||
include __DIR__ . '/saison/del.php';
|
||||
} else {
|
||||
include "inhalte/kal/saison/standard.php";
|
||||
include __DIR__ . '/saison/standard.php';
|
||||
}
|
||||
|
||||
|
||||
@@ -37,6 +37,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
die ('Query konnte nicht ausgeführt werden: ' . $stmt1->error);
|
||||
}
|
||||
echo '<a href="index.php?section=kal&t=saison">Zurück zur Übersicht</a>';
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
@@ -7,6 +7,4 @@ if ($result2) {
|
||||
} else {
|
||||
echo "Fehler beim L<>schen";
|
||||
}
|
||||
echo '<a href="index.php?section=kal&t=saison">Zurück zur Übersicht</a>';
|
||||
|
||||
|
||||
echo '<a href="index.php?section=kal&t=saison">Zurück zur Übersicht</a>';
|
||||
@@ -45,6 +45,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
die ('Query konnte nicht ausgeführt werden: ' . $stmt1->error);
|
||||
}
|
||||
echo '<a href="index.php?section=kal&t=saison">Zurück zur übersicht</a>';
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
Reference in New Issue
Block a user