prepareQuery(); $table = $config->sql_tablename_publish_de(); $table_img = $config->sql_tablename_pictures(); $shortcode_passkey = $config->shortcode_passkey(); $pdo = $conn->prepareQuery(); $picpath = $config->picture_storepath(); $maxPageCount = $config->catg_max_results(); $page = $func->stripHtml($_REQUEST['p']); $CategoryName = strtolower($func->stripHtml($_REQUEST['i'])); $CategoryID = $func->categoryNametoID($CategoryName); $ReturnContentArray = $html->CategoryPageGenerateContentV3($page,$CategoryID); $description_text = $func->clear_description($ReturnContentArray["articletext"]); $robots = $ReturnContentArray["robots"]; $keywords = $ReturnContentArray["keywords"]; $category = $ReturnContentArray["category"]; $arrayCategoryHeaderText = $texts->categoryTexte(); $categoryHeaderText = $arrayCategoryHeaderText[$CategoryID]; $description_text = trim(substr($categoryHeaderText, 0, 150)); $content = array_merge( array('keywords'=>$keywords), array('robots'=>$robots), array('description'=>$description_text), array('breadcrumb'=>$ReturnContentArray["breadcrumb"]), array('canonical'=>"https://blog.onetopp.com/trends/$category"), array('title'=>"Free Trend Reports from Category $category - Blog.OneTOPP.com"), array('title_tags'=>"Free Trend Reports from Category $category - Blog.OneTOPP.com"), array('HtmlInlineCSS'=>$func->getIndexNewInlineCSS()), array('HtmlPageContent'=>$ReturnContentArray["returncontent"]) ); $design->setPath("/home/www/blog.onetop.com/tplv3/"); $HtmlOutputDesign = $design->display_cache('category_new', $content, false, false, 3600*24*3); $htmlMinified = $minObj->minifyHTML($HtmlOutputDesign); //$cache->set("CATEGORYPAGE".$CategoryID, $htmlMinified,3600*24*3); echo $htmlMinified; $logs->logQuerys("OneTOPP BLOG Category Page"); exit(0); ?>