sql_tablename_publish_de(); $table_img = $config->sql_tablename_pictures(); $shortcode_passkey = $config->shortcode_passkey(); $pdo = $conn->prepareQuery(); $picpath = $config->picture_storepath(); $shortcode = strtolower(trim($func->stripHtml($_REQUEST['a']))); // article shortcode /* if ( strlen($shortcode) != 9 ){ header("HTTP/1.1 301 Moved Permanently"); header("Location: https://www.buzzerstar.com/"); exit(0); */ if ( stripos($_SERVER['REQUEST_URI'], "show.php") !== FALSE ){ $gotofinalpage = "https://www.buzzerstar.com/p/spass/".$func->makeArticleLink($shortcode); header("HTTP/1.1 301 Moved Permanently"); header("Location: $gotofinalpage"); exit(0); } else { $seconds_to_cache = 2592000; $ts = gmdate("D, d M Y H:i:s", time() + $seconds_to_cache) . " GMT"; header("Content-Type: text/html; charset=UTF-8"); header("Expires: $ts"); header('Cache-Control: public, max-age=2592000, pre-check=2592000'); header('X-UA-Compatible: IE=edge,chrome=1'); header("Pragma: cache"); } $header = $html->StartpageGenerateHeader(0); $ReturnContentArray = $html->DetailpageGenerateContent($shortcode); $description_text = $func->clear_description($ReturnContentArray["articletext"]); $title_tags = strip_tags($ReturnContentArray["headline"]); $title_tags = str_replace('"',"",$title_tags); $content = array_merge( array('robots'=>"NOINDEX,FOLLOW"), array('title_tags'=>$title_tags), array('title'=>$ReturnContentArray["headline"]), array('description'=>"$description_text ... mit Video"), array('HtmlPageHeader'=>$header), array('HtmlInlineCSS'=>$func->getIndexNewInlineCSS()), // getIndexNewInlineCSS - old: getNewInlineCSS array('image'=>$ReturnContentArray["image"]), array('keywords'=>$ReturnContentArray["keywords"]), array('category'=>$ReturnContentArray["category"]), array('canonical'=>"https://www.buzzerstar.com/p/spass/".$func->makeArticleLink($shortcode)), array('video_yt_beautify_ssl'=>$ReturnContentArray["video_yt_beautify_ssl"]), array('HtmlPageContent'=>$ReturnContentArray["returncontent"]) ); $design->setPath( "/home/www/wwwbuzzerstar/p/spass/tpl-new" ); $design->display_cache('show_new', $content, true, 3600*24*3); // exit(0);