master
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

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

Bernd Wurst authored 6 years ago

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

Bernd Wurst authored 6 years ago

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

Bernd Wurst authored 6 years ago

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

Bernd Wurst authored 6 years ago

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

Bernd Wurst authored 6 years ago

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

Bernd Wurst authored 6 years ago

step5.php   20)     die();
step5.php   21) }
step5.php   22) 
step5.php   23) 
step5.php   24) 
step5.php   25) $headline = 'Ihr Auftrag';
step5.php   26) $content = '';
step5.php   27) if (isset($_REQUEST['error'])) {
Bernd Wurst Fehlermeldungen auf BS4 por...

Bernd Wurst authored 6 years ago

auftrag.php 28)     $content .= '<div class="card text-white bg-danger mb-3">
auftrag.php 29)     <div class="card-header">Fehler</div>
auftrag.php 30)     <div class="card-body">Bitte wählen Sie, in welche Gebinde wir abfüllen sollen.</div>
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

step5.php   31)     </div>';
step5.php   32) }
step5.php   33) 
Bernd Wurst API-Aufrufe über Guzzle um...

Bernd Wurst authored 8 months ago

auftrag.php 34) $prefix = '';
Bernd Wurst Schrift größer, Buttons mit...

Bernd Wurst authored 6 months ago

auftrag.php 35) $suffix = '';
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

step5.php   36) if ($_SESSION['kartons']) {
Bernd Wurst Schrift größer, Buttons mit...

Bernd Wurst authored 6 months ago

auftrag.php 37)     $prefix = 'Rest in<br>';
auftrag.php 38)     $suffix = '<br>nachdem die gebrauchten Kartons voll sind.';
Bernd Wurst API-Aufrufe über Guzzle um...

Bernd Wurst authored 8 months ago

auftrag.php 39) } else {
Bernd Wurst Schrift größer, Buttons mit...

Bernd Wurst authored 6 months ago

auftrag.php 40)     $prefix = 'Alles in <br>';
auftrag.php 41)     $suffix = '';
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

step5.php   42) }
step5.php   43) 
step5.php   44) $content .= '
step5.php   45)     <form class="form" action="save.php" method="post">
Bernd Wurst Spätere Anlieferung eingebaut

Bernd Wurst authored 6 years ago

auftrag.php 46)     <input type="hidden" name="form" value="auftrag">
Bernd Wurst Schrift größer, Buttons mit...

Bernd Wurst authored 6 months ago

auftrag.php 47)     <p>Welche <strong>Karton-Größen</strong> sollen wir für Sie herstellen?</p>
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

step5.php   48) 
step5.php   49)     <div class="form-group form-group-lg row">
Bernd Wurst Schrift größer, Buttons mit...

Bernd Wurst authored 6 months ago

auftrag.php 50)         <div class="col-sm-4 col-xs-12"><button class="btn btn-block btn-lg btn-light" id="btn-3er" name="3er" value="3er">'.$prefix.'<strong>3er</strong>'.$suffix.'</buton></div>
auftrag.php 51)         <div class="col-sm-4 col-xs-12"><button class="btn btn-block btn-lg btn-light" id="btn-5er" name="5er" value="5er">'.$prefix.'<strong>5er</strong>'.$suffix.'</buton></div>
auftrag.php 52)         <div class="col-sm-4 col-xs-12"><button class="btn btn-block btn-lg btn-light" id="btn-10er" name="10er" value="10er">'.$prefix.'<strong>10er</strong>'.$suffix.'</buton></div>
Bernd Wurst Initial commit

Bernd Wurst authored 6 years ago

step5.php   53)     </div>
step5.php   54)     <div class="form-group form-group-lg">
step5.php   55)         <label for="sonstiges">Falls obiges nicht zutrifft, beschreiben Sie bitte hier Ihren Wunsch.</label>
Bernd Wurst Migration to bootstrap-4.0.0

Bernd Wurst authored 6 years ago

auftrag.php 56)         <div class="row justify-content-center">
auftrag.php 57)         <div class="col-sm-10"><textarea class="form-control" name="sonstiges" id="sonstiges" placeholder="Ihr Wunsch"></textarea></div>