From 017fba74a9fbdd3b178193d65181e8834e3ce586 Mon Sep 17 00:00:00 2001 From: Eric Laufer <isaack0815@gmail.com> Date: Fri, 1 Dec 2017 18:59:39 +0100 Subject: [PATCH] 1.1 --- wartung.php | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 wartung.php diff --git a/wartung.php b/wartung.php new file mode 100644 index 0000000..c4f547d --- /dev/null +++ b/wartung.php @@ -0,0 +1,35 @@ +<?php require_once ('lib/layout.lib.php'); ?> +<html> + <head> + <title>..:: Wartungsmodus::..</title> + <meta name="Content-language" content="DE"> + <meta name="Page-type" content="Nicht Gewinnorientiert"> + <meta name="Robots" content="INDEX,FOLLOW"> + <link rel="stylesheet" href="/css/main.css" type="text/css"> + </head> + <body topmargin="0" leftmargin="0"> + + + <?php + // Variabeln + $filename = 'lib/texte/wartung.txt'; + + // Datei auslesen + $fp = fopen ($filename, "r"); + $inhalt = fread ($fp, filesize ($filename)); + fclose ($fp); + $inhalt = str_replace('\\', '', $inhalt); + ?> + <table width="500" align="center" height="100%"> + <tr> + <td height="100%" align="center" valign="middle"> + <?php + head("Diese Seite ist im Wartungsmodus"); + echo nl2br($inhalt); + foot(); + ?> + </td> + </tr> + </table> + </body> +</html> \ No newline at end of file -- GitLab