$row["name"], "beschreibung" => $row["beschreibung"], "cityFull" => $row["cityFull"], "plz" => $row["plz"], "str" => $row["str"], "hausNr" => $row["hausNr"], "tel" => $row["tel"], "fax" => $row["fax"], "mobil" => $row["mobil"], "url" => $row["url"], "email" => $row["email"], "wap" => $row["wap"], "intern" => $row["intern"], "vip" => $row["vip"], "sliceX" => $row["sliceX"], "sliceY" => $row["sliceY"], "posX" => $row["posX"], "posY" => $row["posY"], "cityFull" => $row["cityFull"], "cityID" => "", "id" => $row["id"] ); session_register("STANDORT"); $sql="SELECT * FROM isStaedte WHERE cityFull='".$STANDORT["cityFull"]."'"; $res=send_sql($sql); $row=mysql_fetch_array($res, MYSQL_ASSOC); // *** Aktuelle Stadt in Session-Variable $INF[...] aktualisieren $INF["cityID"]=$row["cityID"]; $STANDORT["cityID"]=$row["cityID"]; session_register("INF"); // *** Stadtdaten in Session-Variable $CITY[...] abspeichern $zoomfaktorX=$row["slicesX_In"]/$row["slicesX_Std"]; $zoomfaktorY=$row["slicesY_In"]/$row["slicesY_Std"]; $stepX_Std=$row["overviewSizeX"]/$row["slicesX_Std"]; $stepY_Std=$row["overviewSizeY"]/$row["slicesY_Std"]; $stepX_In=$row["overviewSizeX"]/$row["slicesX_In"]; $stepY_In=$row["overviewSizeY"]/$row["slicesY_In"]; $CITY=array( "city" => $row["city"], "cityFull" => $row["cityFull"], "slicesX_Std" => $row["slicesX_Std"], "slicesY_Std" => $row["slicesY_Std"], "slicesX_In" => $row["slicesX_In"], "slicesY_In" => $row["slicesY_In"], "overviewSizeX" => $row["overviewSizeX"], "overviewSizeY" => $row["overviewSizeY"], "stepX_Std" => $stepX_Std, "stepY_Std" => $stepY_Std, "stepX_In" => $stepX_In, "stepY_In" => $stepY_In, "sliceX" => $STANDORT["sliceX"]-1, "sliceY" => $STANDORT["sliceY"]-1, "posX" => $STANDORT["posX"], "posY" => $STANDORT["posY"], "zoomX" => $zoomfaktorX, "zoomY" => $zoomfaktorY, "zoom" => "in" ); session_register("CITY"); $POSITION=array( "in_sliceX" => $STANDORT["sliceX"], "in_sliceY" => $STANDORT["sliceY"], "in_posX" => $STANDORT["posX"], "in_posY" => $STANDORT["posY"], "std_sliceX"=> "", "std_sliceY"=> "", "std_posX" => "", "std_posY" => "" ); $MARKER=array( "marker" => true, "str" => "", "type" => "firm", "id" => $STANDORT["id"], "in_sliceX" => $STANDORT["sliceX"], "in_sliceY" => $STANDORT["sliceY"], "in_posX" => $STANDORT["posX"], "in_posY" => $STANDORT["posY"] ); session_register("MARKER"); while($POSITION["in_posX"]>=200) { $POSITION["in_posX"]-=200; $POSITION["in_sliceX"]+=1; } while($POSITION["in_posY"]>=150) { $POSITION["in_posY"]-=150; $POSITION["in_sliceY"]+=1; } // berechnung der Position für die Weitsicht $absX=floor((($POSITION["in_sliceX"]-1)*200+$POSITION["in_posX"])/$CITY["zoomX"]); $absY=floor((($POSITION["in_sliceY"]-1)*150+$POSITION["in_posY"])/$CITY["zoomY"]); $POSITION["std_sliceX"]=floor($absX/200)+1; $POSITION["std_sliceY"]=floor($absY/150)+1; $POSITION["std_posX"]=$absX-($POSITION["std_sliceX"]-1)*200; $POSITION["std_posY"]=$absY-($POSITION["std_sliceY"]-1)*150; session_register("POSITION"); $sliceX=$CITY["sliceX"]; $sliceY=$CITY["sliceY"]; } else { $CITY["sliceX"]=$sliceX; $CITY["sliceY"]=$sliceY; if(isset($zoom)) $CITY["zoom"]=$zoom; } ?> Internetstadtplan.de (C)opyright 2000-2003 by VWW - Verlag Wirtschaft und Werbung

".$STANDORT["name"]."
"; echo $STANDORT["str"]." ".$STANDORT["hausNr"]."
"; echo $STANDORT["plz"]." ".$STANDORT["cityFull"]."
"; echo "
"; if($STANDORT["tel"]!="-1") echo "Tel.: ".$STANDORT["tel"]."
"; if($STANDORT["fax"]!="-1") echo "Fax: ".$STANDORT["fax"]."
"; if($STANDORT["mobil"]!="-1") echo "Mobil: ".$STANDORT["mobil"]."
"; echo "
"; if($STANDORT["url"]!="-1") echo "Internet: http://".$STANDORT["url"]."
"; if($STANDORT["email"]!="-1") echo "E-Mail: ".$STANDORT["email"]."
"; if($STANDORT["wap"]!="-1") echo "WAP: ".$STANDORT["wap"]."
"; echo "
"; if($STANDORT["beschreibung"]!="-1") { ?>
Schnellnavigation
Um sich im Stadtplan zu bewegen,
klicken Sie einfach auf die
gewünschte Richtung im
Navigationskreuz. Durch klick
auf 'Zoom' ändern
Sie den Kartenaussschnitt.
=$markerX-2)&&($CITY["sliceY"]<=$markerY)&&($CITY["sliceY"]>=$markerY-2)) { ?>
Standort: