Beitrag erstellen #13
@@ -29,14 +29,13 @@ require_once $abs_path . "/php/controller/index-controller.php";
|
||||
|
||||
|
||||
<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">
|
||||
Dein Beitrag wurde erfolgreich veröffentlicht!
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
include_once $abs_path . '/includes/navbar.php';
|
||||
<?php endif;
|
||||
//Dynamischer Inhalt:
|
||||
if (isset($_GET["pfad"])) {
|
||||
if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) {
|
||||
|
||||
Reference in New Issue
Block a user