4dcba87472366959277b6592a631c3ba8ced868a
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">
Bernd Wurst Migration to bootstrap-4.0.0

Bernd Wurst authored 6 years ago

12)     <script src="assets/fontawesome/svg-with-js/js/fontawesome-all.min.js"></script>
13)     <link href="assets/fontawesome/svg-with-js/css/fa-svg-with-js.css" rel="stylesheet">
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

14)     <script src="assets/bootstrap/js/bootstrap.min.js"></script>
15)     <link href="assets/bootstrap/css/bootstrap.min.css" rel="stylesheet">
16)     <link href="assets/style.css" rel="stylesheet">
17)     <script src="assets/script.js"></script>
18)     <?php
19)     $f = 'assets/'.str_replace('.php','.js', $_SERVER['PHP_SELF']);
20)     if (file_exists($f)) {
21)       echo '<script src="'.$f.'"></script>';
22)     }
23)     ?>
24)    </head>
25)   <body>
26)   <div class="container text-center">
27)     <div><img src="assets/images/banner.png" width="280" height="66" alt="Mosterei Wurst - Murrhardt-Köchersberg - 07192-936436"></div>
28)   <h1><?= $headline ?></h1>
29)     <?= $content ?>
30)     <?php if (basename($_SERVER['PHP_SELF']) != 'finish.php') { ?>
Bernd Wurst Migration to bootstrap-4.0.0

Bernd Wurst authored 6 years ago

31)     <nav aria-label="Zu anderen Schritten springen">
32)         <ul class="pagination pagination-sm justify-content-center">
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

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

Bernd Wurst authored 6 years ago

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

Bernd Wurst authored 6 years ago

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

Bernd Wurst authored 6 years ago

46)         foreach ($pages as $index => $file) {   
Bernd Wurst Migration to bootstrap-4.0.0

Bernd Wurst authored 6 years ago

47)         echo '<li class="page-item'.($file === basename($_SERVER['PHP_SELF']) ? ' active' : '').'"><a class="page-link" href="'.$file.'">'.$index.'</a></li>';
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

48) }
49) ?>
Bernd Wurst Migration to bootstrap-4.0.0

Bernd Wurst authored 6 years ago

50)     </ul></nav>
51)     <a id="allesloeschen" data-toggle="modal" data-target="#allesloeschen-dialog"class="btn btn-sm btn-block btn-outline-danger" href="clear.php">Alle Eingaben löschen und von vorne beginnen</a>
52)     <div class="modal fade" id="allesloeschen-dialog" tabindex="-1" role="dialog" aria-labelledby="Bestaetigung" aria-hidden="true">
53)         <div class="modal-dialog">
54)             <div class="modal-content">
55)                 <div class="modal-header">
56)                     <h4 class="modal-title">Alle Eingaben löschen?</h4>
57)                 </div>
58) 
59)                 <div class="modal-body">
60)                     <p>Alles was Sie bisher eingegeben haben wird gelöscht und Sie möchten von vorne beginnen?</p>
61)                 </div>
62) 
63)                 <div class="modal-footer">
64)                     <button type="button" class="btn btn-light" data-dismiss="modal">Abbrechen</button>
65)                     <a class="btn btn-danger btn-ok">Eingaben löschen</a>
66)                 </div>
67)             </div>
68)         </div>
69)     </div>
70)     <div class="card" id="footer">
71)         <div class="card-header">Hilfe?</div>
72)         <div class="card-body"><p class="card-text">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>
73)         <div class="card-footer"><a href="https://mosterei-wurst.de/impressum/">Impressum</a> · <a href="https://mosterei-wurst.de/">Website besuchen</a></div>
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

74)     </div>
Bernd Wurst Ergänze lokale Vorwahl bei...

Bernd Wurst authored 6 years ago

75)     <?php } ?>