= 12 AND `id` <= 22 ORDER BY `id` DESC LIMIT 4"; $news = TSCache::get(md5($query_News)); if(empty($news)) { $News = $db->query($query_News); $news = $News->fetchAll(PDO::FETCH_ASSOC); TSCache::set(md5($query_News), $news, 600); } if(isset($_GET['category'])) { $qcat = $_GET['category']; } $qpage = "index"; require_once './functions/meta_title_h1.php'; $replace = array( 'src="./img/', 'src="./images/', 'src="./uploads/', "src='./img/", "src='./images/", "src='./uploads/", "./Scripts/", "./css/", ); $replaceWith = array( 'src="'.IMGPATH1, 'src="'.IMGPATH2, 'src="'.UPLOADSPATH, "src='".IMGPATH1, "src='".IMGPATH2, "src='".UPLOADSPATH, JSPATH, CSSPATH, ); $news[0]['content'] = str_replace($replace, $replaceWith, $news[0]['content']); $news[1]['content'] = str_replace($replace, $replaceWith, $news[1]['content']); $news[2]['content'] = str_replace($replace, $replaceWith, $news[2]['content']); $news[3]['content'] = str_replace($replace, $replaceWith, $news[3]['content']); $row_Info[0]['content'] = str_replace($replace, $replaceWith, $row_Info[0]['content']); // dgamoni task#564916 $news[1]['content'] = str_replace('http://', 'https://', $news[1]['content']); $news[3]['content'] = str_replace('http://', 'https://', $news[3]['content']); ?> = 24 ORDER BY `id` DESC LIMIT 1"; $home_header_message = TSCache::get(md5($query_home_header_message)); if(empty($home_header_message)) { $Home_header_message = $db->query($query_home_header_message); $home_header_message = $Home_header_message->fetchAll(PDO::FETCH_ASSOC); TSCache::set(md5($query_home_header_message), $home_header_message, 1200); } ?>

All The Best From Japan