internal/template.php
d2dcc66a
 <!DOCTYPE html>
 <html lang="de">
   <head>
     <meta charset="utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>Mosterei Wurst - Arbeitsplatz</title>
 
     <script src="/assets/jquery.js"></script>
     <script src="/assets/jquery-ui/jquery-ui.min.js"></script>
     <link href="/assets/jquery-ui/jquery-ui.min.css" rel="stylesheet">
     <script src="/assets/fontawesome/svg-with-js/js/fontawesome-all.min.js"></script>
     <link href="/assets/fontawesome/svg-with-js/css/fa-svg-with-js.css" rel="stylesheet">
     <script src="/assets/bootstrap/js/bootstrap.min.js"></script>
     <link href="/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet">
     <link href="assets/style.css" rel="stylesheet">
     <script src="assets/script.js"></script>
     <?php
b45f49d3
     $f = 'assets/'.str_replace('.php','.js', basename($_SERVER['PHP_SELF']));
d2dcc66a
     if (file_exists($f)) {
       echo '<script src="'.$f.'"></script>';
     }
     ?>
    </head>
   <body>
     <div id="banner" class="mb-3">
         <div id="banner-back">
 <?php if (isset($previous)) { ?>
        <a href="<?= $previous ?>"><img src="/assets/images/back.svg" width="65" height="65" alt="<"></a>
 <?php } ?>
         </div>
         <div id="banner-headline"><h1><?= $headline ?></h1></div>
         <div id="banner-clear"></div>
      </div>
   <div class="container">
     <?= $content ?>
   </div>
  
  </body>
 </html>