Update index.php
This commit is contained in:
@@ -29,14 +29,13 @@ require_once $abs_path . "/php/controller/index-controller.php";
|
|||||||
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<?php if (isset($_SESSION["message"]) && $_SESSION["message"] == "new_article"): ?>
|
<?php
|
||||||
|
include_once $abs_path . '/includes/navbar.php';
|
||||||
|
if (isset($_SESSION["message"]) && $_SESSION["message"] == "new_article"): ?>
|
||||||
<p style="color:green">
|
<p style="color:green">
|
||||||
Dein Beitrag wurde erfolgreich veröffentlicht!
|
Dein Beitrag wurde erfolgreich veröffentlicht!
|
||||||
</p>
|
</p>
|
||||||
<?php endif; ?>
|
<?php endif;
|
||||||
|
|
||||||
<?php
|
|
||||||
include_once $abs_path . '/includes/navbar.php';
|
|
||||||
//Dynamischer Inhalt:
|
//Dynamischer Inhalt:
|
||||||
if (isset($_GET["pfad"])) {
|
if (isset($_GET["pfad"])) {
|
||||||
if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) {
|
if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user