<?php
session_start();
include "../verwalt/connect.inc.php";
session_destroy();
?>
<!DOCTYPE html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><!-- 21.04.2009 -->
<META HTTP-EQUIV="content-type" content="text/html; charset=utf-8">
<TITLE>[___ B Ä C K E R E I - P A N I F I C I O N Ä C K L E R ___ wir backen's ... ___] _____________________________________________________</TITLE>
<meta name="robots" content="all">
<meta name="description" content="Brot fuer alle - schon seit drei Generationen">
<meta name="abstract" content="Brot fuer alle - schon seit drei Generationen">
<meta name="author" content="Rudolf Weissenegger">
<meta name="keywords" content="baeckerei, naeckler, näckler, bäckerei, panificio, pane, brot, backen, welschnofen, nova levante, südtirol, alto adige, italien, italia, weissbrot, schwarzbrot, semmel, kornspitz, brezen, brezel, laugenbrot, gebäck, kuchen, torten, ...">
<meta name="robots" content="index, follow">
<meta name="revisit-after" content="21 days">
<meta http-equiv="expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<link rev="made" href="mailto:info@softconsult.it">
<link href="../css/verwalt.css" rel="stylesheet" type="text/css" />
<script src="../css/routinen.js"></script>
</head>
<body onload="self.focus();document.f.name.focus()" leftmargin="0" topmargin="0" border="0" bgcolor="#6b270e" marginheight="0" marginwidth="0">
<table border="0" cellpadding="0" cellspacing="0" height="99%" width="99%">
<tr>
<td align="center" valign="top" cellpadding="0" cellspacing="0">
<!-- ============================== HEADER ============================= -->
<?php include("../inc/header_de.inc.php") ?>
<table bgcolor="#ffb51e" border="0" cellpadding="0" cellspacing="0">
<tr valign='center'>
<td align='center'><img src="../../grafiken/pixel.gif" alt="" border="0" height="1" width="1"><br>
<img src="../../grafiken/pixel-braun.gif" alt="" border="0" height="1" width="960"><br>
<img src="../../grafiken/pixel.gif" alt="" border="0" height="1" width="1"><br>
<img src="../../grafiken/pixel-braun.gif" alt="" border="0" height="1" width="960"></td>
</tr>
<tr>
<td><img src="../../grafiken/pixel.gif" alt="" border="0" height="15" width="1"></td>
</tr>
<tr>
<td align="center">
<table border='0' cellpadding="5" cellspacing="0" width="944px">
<tr>
<td class="weiss" align="center" bgcolor="#6b270e"><b>Login zur Online-Bestellung</b></td>
</tr>
</table>
<!-- Formularbeginn Login -->
<form name="f" action="bestellung.php" method="post">
<table border="0" cellpadding="0" cellspacing="0" width="900">
<tr height="2">
<td width="150"></td>
<td width="210"></td>
<td width="30"></td>
<td width="285"></td>
</tr>
<tr>
<td align="center" valign="middle" colspan="4" height="30"><b>Bitte Benutzer und Passwort eingeben und danach bestätigen!</b>
</td>
</tr>
<tr>
<td align="left"><b>Benutzer </b></td>
<td align="left"><input type="text" name="name" style="width: 200px;" type="text"></td>
<td align="center" valign="bottom" rowspan="2" height="30"></td>
<td> </td>
</tr>
<tr>
<td align="left"><b>Passwort </b></td>
<td align="left"><input type="password" name="pw" style="width: 200px;" type="text"></td>
<td align="center" valign="bottom" colspan="2" height="30"><input type="submit" value="Login zur Bestellseite"></td>
</tr>
<tr>
<td align="center" colspan="4" height="20"></td>
</tr>
<tr>
<td align="left" valign="top"><b>Bitte beachten: </b></td>
<td colspan="3" align="left">Online Bestellungen können nur von angemeldeten Benutzern durchgeführt werden.<br />
Sollten Sie noch keine Benutzerdaten haben, wenden Sie sich hierzu bitte direkt an die <a href="http://www.naeckler.it/deutsch/kontakt.htm">
<span style='font-size:12px; color:#660000; font-weight: bold; text-decoration: none'>Bäckerei Näckler</span></a>.
</td>
</tr>
</table>
</form>
<!-- Formularende Login -->
<br>
<table border rules='all' cellpadding="1" cellspacing="0" width="944px">
<tbody>
<tr>
<td class="weiss" colspan="7" align="center" bgcolor="#6b270e" height="40"><b>Unser Brotwaren Sortiment</b></td>
</tr>
<tr>
<td class="weiss2" align="center" width='250px' bgcolor="#984f27"><b>Beschreibung</b></td>
<td class="weiss2" align="center" width='100px' bgcolor="#984f27"><b>Gewicht</b></td>
<td class="weiss2" align="center" width='60px' bgcolor="#984f27"><b>Bestell- einheit</b></td>
<td class='dunkel' width="1"><img src="../../grafiken/pixel.gif" alt="" border="0" height="1" width="1"></td>
<td class="weiss2" align="center" width='250px' bgcolor="#984f27"><b>Beschreibung</b></td>
<td class="weiss2" align="center" width='100px' bgcolor="#984f27"><b>Gewicht</b></td>
<td class="weiss2" align="center" width='60px' bgcolor="#984f27"><b>Bestell- einheit</b></td>
</tr>
<!-- #################################################################################################################### -->
<?php
// Sprache für Include-Seiten festlegen
$caller = "de";
// Spezialangebote anzeigen ##################################################################
$res = mysql_query("SELECT * FROM times_spezial WHERE aktiv=1 AND deleted=0 ");
$dsatz = mysql_fetch_assoc($res);
$spnum = mysql_affected_rows(); //Kontrolle ob ein Spezialangebot aktiv ist
if ($spnum > 0) {
// Bezeichnung des Spezialangebotes definieren
$stitel = $dsatz["typ"];
if ($stitel == "ostern")
$stitel = "Ostern spezial";
elseif ($stitel == "aller")
$stitel = "Allerheiligen spezial";
elseif ($stitel == "weihn")
$stitel = "Weihnachten spezial";
$abfrage = "SELECT * FROM categories_online WHERE bez_dt = '" . $stitel ."'";
$sprache = "dt"; // Sprachkennzeichen festlegen
$sql = mysql_query($abfrage); // Spezialangebot Kategorie ermitteln
while ($cdat = mysql_fetch_assoc($sql)) { // Produkte suchen, die zum Spezialangebot gehören
$c = $cdat["id"];
// Abfrage für alle Artikel in dieser Kategorie
$linesql = mysql_query("SELECT P.id, P.titel, P.gewicht, P.geschnitten, P.cat_on_nr, P.cat_on_sp, P.einheit_id, P.vk_einheit_id, P.days, M.mass as einheit, V.mass as vke, C.id as cid, C.bez_dt as ctitel
FROM products as P
INNER JOIN (SELECT id, mass FROM misures) as M ON M.id = P.einheit_id
INNER JOIN (SELECT id, mass FROM misures) as V ON V.id = P.vk_einheit_id
INNER JOIN (SELECT id, bez_dt, pos FROM categories_online) as C ON C.id = P.cat_on_id
WHERE P.cat_on_id = " . $c . " AND P.aktiv = 1
ORDER BY C.id, P.cat_on_nr, P.cat_on_sp");
}
$num = mysql_num_rows($linesql); // Zeilenanzahl gefundene Produkte
$x = 1;
$lines = "";
while ($linedat = mysql_fetch_assoc($linesql)) {
$lines[$x] = array('id' => $linedat['id'], 'titel' => $linedat['titel'], 'gewicht' => $linedat['gewicht'], 'geschnitten' => $linedat['geschnitten'], 'einheit' => $linedat['einheit'], 'vke' => $linedat['vke'], 'cat_on_nr' => $linedat['cat_on_nr'], 'cat_on_sp' => $linedat['cat_on_sp'], 'days' => $linedat['days'], 'col' => $cdat['id'], 'cat' => $linedat['ctitel']);
$x = $x + 1;
}
$heute = date("Y-m-d");
$datEnde = sprintf("%02d.%02d.%04d", substr( $dsatz["dat_ende"], 8, 2), substr( $dsatz["dat_ende"], 5, 2), substr( $dsatz["dat_ende"], 0, 4));
if( ($dsatz["dat_start"]<=$heute) && ($dsatz["dat_ende"]>=$heute) )
include("../inc/_produkte_tablespezbest.inc.php");
elseif( ($_SESSION["nach"] == 1) && ($dsatz["dat_ende"]<$heute) && ($dsatz["nachliefer"]>=$heute) )
include("../inc/_produkte_tablespezbest.inc.php");
}
// #################################################################################################################### -->
// #################################################################################################################### -->
//Kategorien ermitteln
$sql = mysql_query("SELECT * FROM categories_online WHERE pos > 0 ORDER BY pos");
$sprache = "dt"; // Sprachkennzeichen festlegen
$catnum = mysql_num_rows($sql); // Anzahl Kategorien abfragen
$cnum = 1;
// alle abgefragten Kategorien in Tabellenform darstellen
while ($cdat = mysql_fetch_assoc($sql)) {
$c = $cdat["id"];
// Abfrage für alle Artikel in dieser Kategorie
$linesql = mysql_query("SELECT P.id, P.titel, P.gewicht, P.geschnitten, P.cat_on_nr, P.cat_on_sp, P.einheit_id, P.vk_einheit_id, P.days, M.mass as einheit, V.mass as vke, C.id as cid, C.bez_dt as ctitel
FROM products as P
INNER JOIN (SELECT id, mass FROM misures) as M ON M.id = P.einheit_id
INNER JOIN (SELECT id, mass FROM misures) as V ON V.id = P.vk_einheit_id
INNER JOIN (SELECT id, bez_dt, pos FROM categories_online) as C ON C.id = P.cat_on_id
WHERE P.cat_on_id = " . $c . " AND P.aktiv = 1
ORDER BY C.id, P.cat_on_nr, P.cat_on_sp");
// Artikel der aktuellen Kategorie in temporären Array schreiben ################################################################################
if ($cdat["pos"] % 2 != 0) { // ungerade
$x = 1;
while ($linedat = mysql_fetch_assoc($linesql)) {
$leftone[$x] = array('id' => $linedat['id'], 'titel' => $linedat['titel'], 'gewicht' => $linedat['gewicht'], 'geschnitten' => $linedat['geschnitten'], 'einheit' => $linedat['einheit'], 'vke' => $linedat['vke'], 'cat_on_nr' => $linedat['cat_on_nr'], 'cat_on_sp' => $linedat['cat_on_sp'], 'days' => $linedat['days'], 'col' => $cdat['id'], 'cat' => $linedat['ctitel']);
$leftonelines = mysql_num_rows($linesql);
$x = $x + 1;
}
} elseif ($cdat["pos"] % 2 == 0) { // gerade
$y = 1;
while ($linedat = mysql_fetch_assoc($linesql)) {
$righttwo[$y] = array('id' => $linedat['id'], 'titel' => $linedat['titel'], 'gewicht' => $linedat['gewicht'], 'geschnitten' => $linedat['geschnitten'], 'einheit' => $linedat['einheit'], 'vke' => $linedat['vke'], 'cat_on_nr' => $linedat['cat_on_nr'], 'cat_on_sp' => $linedat['cat_on_sp'], 'days' => $linedat['days'], 'col' => $cdat['id'], 'cat' => $linedat['ctitel']);
$righttwolines = mysql_num_rows($linesql);
$y = $y + 1;
}
}
// Anzahl $lines -> bestimmen, ob linke oder rechte Spalte größer
if ($leftonelines > $righttwolines)
$num = $leftonelines;
else
$num = $righttwolines;
if (($cdat["pos"] % 2 == 0) || ($cnum == $catnum)) {
// Kategorien Tabellenüberschrift
echo "<tr><td class='weiss' colspan='3' align='center' bgcolor='#6b270e'><b>" . $leftone[1]['cat'] . "</b></td>";
echo "<td class='dunkel' width='1'><img src='../../grafiken/pixel.gif' alt='' border='0' height='1' width='1'></td>";
echo "<td class='weiss' colspan='3' align='center' bgcolor='#6b270e'><b>" . $righttwo[1]['cat'] . "</b></td></tr>";
// #####################################################################################################################
// Zeilen der beiden Kategorien zusammenstellen
for ($i=1; $i<=$num; $i++) {
$colprinted = "0";
// linke Spalte ##############################################################################################################
echo "<tr>";
if ($leftone[$i]['titel'] <> "") {
$id = $leftone[$i]['id'];
echo "<td><b>" . $leftone[$i]['titel'] . "</b></td><td align='center'>";
if (($leftone[$i]['einheit']=="gr.") || ($leftone[$i]['einheit']=="gr"))
echo $leftone[$i]['gewicht'];
else
echo "1";
echo " " . $leftone[$i]['einheit'] ."</td>";
echo "<td align='center'>" . $leftone[$i]['vke'] ."</td>";
echo "<td class='dunkel' width='1'><img src='../../grafiken/pixel.gif' alt='' border='0' height='1' width='1'></td>";
$colprinted = "1";
}
else {
if ($colprinted == "0") {
echo "<tr><td> </td><td> </td><td> </td>";
echo "<td bgcolor='#6b270e' width='1'><img src='../../grafiken/pixel.gif' alt='' border='0' height='1' width='1'></td>";
}
}
$colprinted = "0";
// rechte Spalte #############################################################################################################
if ($righttwo[$i]['titel'] <> "") {
$id = $righttwo[$i]['id'];
echo "<td><b>" . $righttwo[$i]['titel'] . "</b></td><td align='center'>";
if (($righttwo[$i]['einheit']=="gr.") || ($righttwo[$i]['einheit']=="gr"))
echo $righttwo[$i]['gewicht'];
else
echo "1";
echo " " . $righttwo[$i]['einheit'] ."</td>";
echo "<td align='center'>" . $righttwo[$i]['vke'] ."</td></tr>";
$colprinted = "1";
}
else {
if ($colprinted == "0") {
echo "<td> </td><td> </td><td> </td></tr>";
}
}
}
// Variable resettieren
$leftone = NULL;
$leftonelines = NULL;
$righttwo = NULL;
$righttwolines = NULL;
}
$cnum = $cnum + 1;
}
/*
* mit Hilfe der Variablen $colprinted wird die linke Hälfte der Tabelle überwacht
* wenn in der 1. Spalte kein Artikel steht, dann werden automatisch die notwendigen leeren Tabellenspalten erzeugt
* und somit bleibt der Aufbau der Tabelle konstant und die Artikel werden auf der richtigen Seite dargestellt
*/
?>
</td>
</tr>
</table>
<!-- ============================== ENDE ============================= -->
<br /><br />
<table border="0" cellpadding="4" cellspacing="0" width="944px">
<tbody><tr>
<td class="weiss" align="center" bgcolor="#6b270e"><b>WINTER-</b> und <b>SOMMERSAISON</b> auch an
<b>SONN</b>- und <b>FEIERTAGEN</b> frisches <b>BROT</b>!!<br>
<b>ALLE GROSSBROTE</b> auch <b>GESCHNITTEN</b>
erhältlich!!!</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td><img src="../../grafiken/pixel.gif" alt="" border="0" height="15" width="1"></td>
</tr>
<tr>
<td align='center'><img src="../../grafiken/pixel-braun.gif" alt="" border="0" height="1" width="960"><br>
<img src="../../grafiken/pixel.gif" alt="" border="0" height="1" width="1"><br>
<img src="../../grafiken/pixel-braun.gif" alt="" border="0" height="1" width="960"><br>
<img src="../../grafiken/pixel.gif" alt="" border="0" height="1" width="1"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body></html>
- Output for git.master, git.master_jit, rfc.property-hooks
- Warning: include(): open_basedir restriction in effect. File(../verwalt/connect.inc.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/WoOGS on line 3
Warning: include(../verwalt/connect.inc.php): Failed to open stream: Operation not permitted in /in/WoOGS on line 3
Warning: include(): Failed opening '../verwalt/connect.inc.php' for inclusion (include_path='.:') in /in/WoOGS on line 3
<!DOCTYPE html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><!-- 21.04.2009 -->
<META HTTP-EQUIV="content-type" content="text/html; charset=utf-8">
<TITLE>[___ B Ä C K E R E I - P A N I F I C I O N Ä C K L E R ___ wir backen's ... ___] _____________________________________________________</TITLE>
<meta name="robots" content="all">
<meta name="description" content="Brot fuer alle - schon seit drei Generationen">
<meta name="abstract" content="Brot fuer alle - schon seit drei Generationen">
<meta name="author" content="Rudolf Weissenegger">
<meta name="keywords" content="baeckerei, naeckler, näckler, bäckerei, panificio, pane, brot, backen, welschnofen, nova levante, südtirol, alto adige, italien, italia, weissbrot, schwarzbrot, semmel, kornspitz, brezen, brezel, laugenbrot, gebäck, kuchen, torten, ...">
<meta name="robots" content="index, follow">
<meta name="revisit-after" content="21 days">
<meta http-equiv="expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<link rev="made" href="mailto:info@softconsult.it">
<link href="../css/verwalt.css" rel="stylesheet" type="text/css" />
<script src="../css/routinen.js"></script>
</head>
<body onload="self.focus();document.f.name.focus()" leftmargin="0" topmargin="0" border="0" bgcolor="#6b270e" marginheight="0" marginwidth="0">
<table border="0" cellpadding="0" cellspacing="0" height="99%" width="99%">
<tr>
<td align="center" valign="top" cellpadding="0" cellspacing="0">
<!-- ============================== HEADER ============================= -->
Warning: include(): open_basedir restriction in effect. File(../inc/header_de.inc.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/WoOGS on line 34
Warning: include(../inc/header_de.inc.php): Failed to open stream: Operation not permitted in /in/WoOGS on line 34
Warning: include(): Failed opening '../inc/header_de.inc.php' for inclusion (include_path='.:') in /in/WoOGS on line 34
<table bgcolor="#ffb51e" border="0" cellpadding="0" cellspacing="0">
<tr valign='center'>
<td align='center'><img src="../../grafiken/pixel.gif" alt="" border="0" height="1" width="1"><br>
<img src="../../grafiken/pixel-braun.gif" alt="" border="0" height="1" width="960"><br>
<img src="../../grafiken/pixel.gif" alt="" border="0" height="1" width="1"><br>
<img src="../../grafiken/pixel-braun.gif" alt="" border="0" height="1" width="960"></td>
</tr>
<tr>
<td><img src="../../grafiken/pixel.gif" alt="" border="0" height="15" width="1"></td>
</tr>
<tr>
<td align="center">
<table border='0' cellpadding="5" cellspacing="0" width="944px">
<tr>
<td class="weiss" align="center" bgcolor="#6b270e"><b>Login zur Online-Bestellung</b></td>
</tr>
</table>
<!-- Formularbeginn Login -->
<form name="f" action="bestellung.php" method="post">
<table border="0" cellpadding="0" cellspacing="0" width="900">
<tr height="2">
<td width="150"></td>
<td width="210"></td>
<td width="30"></td>
<td width="285"></td>
</tr>
<tr>
<td align="center" valign="middle" colspan="4" height="30"><b>Bitte Benutzer und Passwort eingeben und danach bestätigen!</b>
</td>
</tr>
<tr>
<td align="left"><b>Benutzer </b></td>
<td align="left"><input type="text" name="name" style="width: 200px;" type="text"></td>
<td align="center" valign="bottom" rowspan="2" height="30"></td>
<td> </td>
</tr>
<tr>
<td align="left"><b>Passwort </b></td>
<td align="left"><input type="password" name="pw" style="width: 200px;" type="text"></td>
<td align="center" valign="bottom" colspan="2" height="30"><input type="submit" value="Login zur Bestellseite"></td>
</tr>
<tr>
<td align="center" colspan="4" height="20"></td>
</tr>
<tr>
<td align="left" valign="top"><b>Bitte beachten: </b></td>
<td colspan="3" align="left">Online Bestellungen können nur von angemeldeten Benutzern durchgeführt werden.<br />
Sollten Sie noch keine Benutzerdaten haben, wenden Sie sich hierzu bitte direkt an die <a href="http://www.naeckler.it/deutsch/kontakt.htm">
<span style='font-size:12px; color:#660000; font-weight: bold; text-decoration: none'>Bäckerei Näckler</span></a>.
</td>
</tr>
</table>
</form>
<!-- Formularende Login -->
<br>
<table border rules='all' cellpadding="1" cellspacing="0" width="944px">
<tbody>
<tr>
<td class="weiss" colspan="7" align="center" bgcolor="#6b270e" height="40"><b>Unser Brotwaren Sortiment</b></td>
</tr>
<tr>
<td class="weiss2" align="center" width='250px' bgcolor="#984f27"><b>Beschreibung</b></td>
<td class="weiss2" align="center" width='100px' bgcolor="#984f27"><b>Gewicht</b></td>
<td class="weiss2" align="center" width='60px' bgcolor="#984f27"><b>Bestell- einheit</b></td>
<td class='dunkel' width="1"><img src="../../grafiken/pixel.gif" alt="" border="0" height="1" width="1"></td>
<td class="weiss2" align="center" width='250px' bgcolor="#984f27"><b>Beschreibung</b></td>
<td class="weiss2" align="center" width='100px' bgcolor="#984f27"><b>Gewicht</b></td>
<td class="weiss2" align="center" width='60px' bgcolor="#984f27"><b>Bestell- einheit</b></td>
</tr>
<!-- #################################################################################################################### -->
Fatal error: Uncaught Error: Call to undefined function mysql_query() in /in/WoOGS:113
Stack trace:
#0 {main}
thrown in /in/WoOGS on line 113
Process exited with code 255.
This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.
Active branches
Archived branches
Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page
preferences:
71.55 ms | 409 KiB | 8 Q