<tr> <th height="50" width="350" bgcolor="#7fff00">Warenzugang</th> <th height="50" width="350" bgcolor="#f5f5dc">Ware umlagern</th> <th height="50" width="350" bgcolor="#6495ed">Ware versenden</th> </tr> </table> <br> <br> <?php $servername = "localhost"; $username = "******"; $password = "******"; $dbname = "hififabrik_intern"; if (CheckDataBaseReady($servername, $username, $password, $dbname)) { } else { echo "<br>database NOT ready to use<br>\n"; } //GetMKZandUGP($MKZ,$UGP); $UGP = "admin"; //$items = LoadMenuItems ($servername, $username, $password, $dbname, $MKZ, $UGP); $buchknz = LoadMenuItems($servername, $username, $password, $dbname, 'BUCHKZ', $UGP); BuildMenuTable($buchknz, 1050, 1, 3, 6, 50, 350, "center", array("#7fff0", "#f5f5dc", "#6495ed")); ?> </form> </body> </html>
require_once 'getorder.php'; GetMKZandUGP($MKZ, $UGP, $order, $func); $func = "WARES"; echo "<form action=\"lager.php" . "?MKZ=" . $MKZ . "&UPG=" . $UGP . "&function=" . $func . "\" method=\"POST\">"; $servername = "localhost"; $username = "******"; $password = "******"; $dbname = "hififabrik_intern"; if (CheckDataBaseReady($servername, $username, $password, $dbname)) { // echo "<br>database ready to use<br>\n"; } else { echo "<br>database NOT ready to use<br>\n"; } if ($func == "") { $lager = LoadMenuItems($servername, $username, $password, $dbname, 'LAGER', 'admin'); BuildMenuTable($lager, 300, 1, 1, 3, 50, 350, "center", array("#7fff0", "#f5f5dc", "#6495ed")); } else { // barcode scanfeld $eanorder = ""; if (isset($_POST["order"])) { $eanorder = $_POST["order"]; } if ($eanorder == "") { echo "<table border=\"0\" style='width: 1024px; border-collapse: collapse; '>"; echo "<tr><td colspan=3>"; echo GetUserInfo(); echo "</td></tr>"; echo "<tr>"; echo "<td colspan =2>"; echo "<p>Bitte <strong>scannen</strong> Sie die <strong>Auftragsnummer</strong> oder die <strong>EAN-Nummer</strong> des <strong>Artikels</strong></p>"; echo "</td><td>";