64ed8519d95bbf138a50e2cdb81bf77971f7360d
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

step6.php       1) <?php
step6.php       2) session_start();
step6.php       3) if(!isset($_SESSION['phone'])) {
step6.php       4)     header('Location: index.php?error');
step6.php       5)     die();
step6.php       6) }
step6.php       7) 
step6.php       8) if (! $_SESSION['lname']) {
Bernd Wurst Dateinamen geändert

Bernd Wurst authored 6 years ago

frischsaft.php  9)     header('Location: address.php?error');
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

step6.php      10)     die();
step6.php      11) }
step6.php      12) 
step6.php      13) if (!isset($_SESSION['lieferart'])) {
Bernd Wurst Dateinamen geändert

Bernd Wurst authored 6 years ago

frischsaft.php 14)     header('Location: gitterbox.php?error');
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

step6.php      15)     die();
step6.php      16) }
step6.php      17) 
step6.php      18) if (!isset($_SESSION['kartons'])) {
Bernd Wurst Dateinamen geändert

Bernd Wurst authored 6 years ago

frischsaft.php 19)     header('Location: gebrauchte.php?error');
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

step6.php      20)     die();
step6.php      21) }
step6.php      22) 
step6.php      23) if (!isset($_SESSION['neue'])) {
Bernd Wurst Dateinamen geändert

Bernd Wurst authored 6 years ago

frischsaft.php 24)     header('Location: auftrag.php?error');
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

step6.php      25)     die();
step6.php      26) }
step6.php      27) 
step6.php      28) 
step6.php      29) 
step6.php      30) $headline = 'Frischsaft';
step6.php      31) $content = '';
step6.php      32) if (isset($_REQUEST['error'])) {
step6.php      33)     $content .= '<div class="panel panel-danger">
step6.php      34)     <div class="panel-heading">Fehler</div>
step6.php      35)     <div class="panel-body">Bitte wählen Sie, ob Sie auch unpasteurisierten Saft möchten.</div>
step6.php      36)     </div>';
step6.php      37) }
step6.php      38) 
step6.php      39) 
step6.php      40) $content .= '
step6.php      41)     <form class="form" action="save.php" method="post">
Bernd Wurst Spätere Anlieferung eingebaut

Bernd Wurst authored 6 years ago

frischsaft.php 42)     <input type="hidden" name="form" value="frischsaft">