executeAndFetchAll($sql); if(count($tag) == 1) { $tag = $tag[0]; } else { echo "tag nicht gefunden"; } // Routen holen // $routes = $this->dbGetRoutes($tag_id_full, $use_route_tags); if($use_route_tags) { $sql = "SELECT RouteIDFull FROM FR_RouteTag WHERE TagIDFull='$tag_id_full'"; $route_ids = $pdo->executeAndFetchAll($sql); $route_id_array = array(); foreach($route_ids as $route_id) { $route_id_array[] = "'{$route_id["RouteIDFull"]}'"; } if(count($route_id_array) == 0) { return array(); } $sql = "SELECT * FROM FR_Route, FR_RouteType WHERE FR_Route.RouteTypeID=FR_RouteType.RouteTypeID AND FR_Route.RouteIDFull IN (".implode(", ", $route_id_array).") ORDER BY FR_Route.RouteDescGer ASC"; } else { $sql = "SELECT * FROM FR_Route, FR_RouteType WHERE FR_Route.RouteTypeID=FR_RouteType.RouteTypeID AND FR_Route.RegionTagIDFull='$tag_id_full' ORDER BY FR_Route.RouteDescGer ASC"; } $routes = $pdo->executeAndFetchAll($sql); // if(count($routes) == 0) {} // debug echo "---------------" . count($routes) . "---------------" ; echo '' . $tag["MetaHtmTitle"] . '' . "\n"; echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; echo '' . "\n"; ?> <
$route) { if(strlen($route["RouteContentGer"]) > $cfg_max_route_short_desc_length + 3) { $routes[$index]["RouteContentShortGer"] = substr($routes[$index]["RouteContentShortGer"], 0, $cfg_max_route_short_desc_length)."..."; } else { $routes[$index]["RouteContentShortGer"] = $route["RouteContentGer"]; } $routes[$index]["RouteLink"] = "https://www.froutes.de/" . $route["RouteIDFull"]; // IsLinkOnly und $routes[$index]["Bookmark"] ignoriert! // Achtung: Schleife wird unten beendet! ?>

km

">

Start:
Froutes
.gif" alt="" width="57" height="57"/>