9402d7993005f5fac3d45bfad3543921dcb2203f
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

1) <!DOCTYPE html>
2) <html lang="de">
3)   <head>
4)     <meta charset="utf-8">
5)     <meta http-equiv="X-UA-Compatible" content="IE=edge">
6)     <meta name="viewport" content="width=device-width, initial-scale=1">
7)     <title>Mosterei Wurst - Auftrag erteilen</title>
8) 
9)     <script src="assets/jquery.js"></script>
10)     <script src="assets/jquery-ui/jquery-ui.min.js"></script>
11)     <link href="assets/jquery-ui/jquery-ui.min.css" rel="stylesheet">
12)     <script src="assets/bootstrap/js/bootstrap.min.js"></script>
13)     <link href="assets/bootstrap/css/bootstrap.min.css" rel="stylesheet">
14)     <link href="assets/style.css" rel="stylesheet">
15)     <script src="assets/script.js"></script>
16)     <?php
17)     $f = 'assets/'.str_replace('.php','.js', $_SERVER['PHP_SELF']);
18)     if (file_exists($f)) {
19)       echo '<script src="'.$f.'"></script>';
20)     }
21)     ?>
22)    </head>
23)   <body>
24)   <div class="container text-center">
25)     <div><img src="assets/images/banner.png" width="280" height="66" alt="Mosterei Wurst - Murrhardt-Köchersberg - 07192-936436"></div>
26)   <h1><?= $headline ?></h1>
27)     <?= $content ?>
28)     <?php if (basename($_SERVER['PHP_SELF']) != 'finish.php') { ?>
Bernd Wurst Spätere Anlieferung eingebaut

Bernd Wurst authored 6 years ago

29)     <div>
30)         <ul class="pagination">
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

31)         <?php 
32)         $pages = array(
33)             1 => 'index.php',
Bernd Wurst Dateinamen geändert

Bernd Wurst authored 6 years ago

34)             2 => 'address.php',
Bernd Wurst Spätere Anlieferung eingebaut

Bernd Wurst authored 6 years ago

35)             3 => 'anlieferung.php',
36)             4 => 'gitterbox.php',
37)             5 => 'gebrauchte.php',
38)             6 => 'auftrag.php',
39)             7 => 'frischsaft.php',
40)             8 => 'summary.php');
41)         if (isset($_SESSION['angeliefert']) && $_SESSION['angeliefert'] === false) {
42)             $pages[4] = 'gitterbox_spaeter.php';
43)         }
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

44)         foreach ($pages as $index => $file) {   
45)         echo '<li'.($file === basename($_SERVER['PHP_SELF']) ? ' class="active"' : '').'><a href="'.$file.'">'.$index.'</a></li>';
46) }
47) ?>
Bernd Wurst Spätere Anlieferung eingebaut

Bernd Wurst authored 6 years ago

48)     </ul></div>
49)     <a class="btn btn-sm btn-block btn-danger" href="clear.php">Alle Eingaben löschen und von vorne beginnen</a>
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

50)     <div class="panel panel-info" id="footer">
51)         <div class="panel-heading">Hilfe?</div>
52)         <div class="panel-body"><p>Für Unterstützung bei der Nutzung dieses Formulars können Sie gerne unsere Telefonnummer <a href="tel:+497192936434">07192-936434</a> anrufen.</p></div>
53)         <div class="panel-footer"><a href="https://mosterei-wurst.de/impressum/">Impressum</a> · <a href="https://mosterei-wurst.de/">Website besuchen</a></div>
54)     </div>
Bernd Wurst Ergänze lokale Vorwahl bei...

Bernd Wurst authored 6 years ago

55)     <?php } ?>