// temp spamblock if($_GET["id_rez"] == 620) { $user_agent = $_SERVER["HTTP_USER_AGENT"]; if(substr_count($user_agent, "Mozilla/5.0 (Windows NT 10.0; WOW64")) { //exit; } } $user_agent = $_SERVER["HTTP_USER_AGENT"]; if(substr_count($user_agent, "ClaudeBot/")) { exit; } $user_agent = $_SERVER["HTTP_USER_AGENT"]; if(substr_count($user_agent, "GPTBot/")) { exit; } $user_agent = $_SERVER["HTTP_USER_AGENT"]; if(substr_count($user_agent, "facebook.com")) { exit; } /* if($_GET["id_rez"] == 411) { exit; } */ $ip = $_SERVER["REMOTE_ADDR"]; /* if(substr($ip, 0, 7) == "47.128.") { exit; } if(substr($ip, 0, 8) == "173.252.") { exit; } if(substr($ip, 0, 10) == "69.63.184.") { exit; } if(substr($ip, 0, 7) == "69.171.") { exit; } */ // end temp spamblock $user_agent = $_SERVER["HTTP_USER_AGENT"]; include("inc/config.inc.php"); include("inc/vars.inc.php"); include("inc/pagetitel.php"); require_once 'Mobile_Detect.php'; $detect = new Mobile_Detect; if($detect->isMobile() && !$detect->isTablet() ){ $client_device = "mobile"; } else { $client_device = "desktop"; } ?>
if($id_rez) { $sql = "SELECT * FROM rezepte WHERE id = '$id_rez'"; $qwr = $db->query($sql); $data = $qwr->fetch_assoc(); $arr_search = array("aaa", "uuu", "ooo"); $arr_replace = array("ä", "ü", "ö"); $data["rezept"] = str_replace($arr_search, $arr_replace, $data["rezept"]); $sql = "SELECT * FROM kategorien WHERE id = '$data[id_kat]'"; $qwr_kat = $db->query($sql); $data_kat = $qwr_kat->fetch_assoc(); } ?> if($data["og_img"]) { ?> "> "> "> } if($data["prop_img"]) { ?> if($io != 1) { ?> } } if($io == 1) { ?> } ?>
|
if($io != 1) {
?>
if($client_device == "desktop") {
?>
}
// banner right top mobile
if($client_device == "mobile" && !$show_new_rez) {
//print "mobile
if($client_device == "mobile") {
?>
}
?>
if((!$id_kat && !$id_rez && !$id_kw && !$id_regio && $action != "search" && !$show) || ($id_kat && !$id_rez)) {
?>
"; ?>
}
?>
Regionale Küchen:
include("inc/regionen.php");
?>
Stichworte:
include("inc/keywords.php");
?>
|