</tr> <tr valign="top"> <td background="images/higru.jpg" valig="top"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="36" height="418" valign="top"> </td> <td height="418" valign="top"> <?php $wochentagCode = display_weekday_selection($wochentag, "schmalzbrot"); $itemsListArray = fetch_bauern_region_list($wochentagCode); foreach ($itemsListArray as $ID => $regionName) { if ($regionName != $oldRegionName) { if (isset($oldRegionName)) { echo "<br>"; } // if this is not the first call viewRegionSplit($regionName); $oldRegionName = $regionName; } echo "<br>"; viewItemDetail($ID, "list"); } ?>
</tr> <tr valign="top"> <td background="images/higru.jpg" valig="top"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="36" height="418" valign="top"> </td> <td height="418" valign="top"> <?php $wochentagCode = display_weekday_selection($wochentag, "gmap"); ?> <div id="actionBox"> <div id="actionBoxWorking">Do muaß i gach nochfrog'n ...</div> <?php $prevRegionName = ""; $itemsListArray = fetch_bauern_region_list(""); // fetch all foreach ($itemsListArray as $ID => $regionName) { $itemResult = mysql_query("SELECT id, name, famName, regionID FROM " . $tablePrefix . "bauer WHERE ID={$ID}") or die("mb_gmaps_backend.php;fetchReturnData(): Database error (" . mysql_error() . ")"); list($id, $name, $famName, $regionID) = mysql_fetch_row($itemResult); // generate region-item if neccessary if ($regionName != $prevRegionName) { if ($prevRegionName != "") { ?>