default: echo '<p style="height:500px"><font color="#FF0000"><b>Could not be found</b></font></p>'; } $include = ob_get_clean(); $row_detail['url_hinh'] != '' ? $image = 'http://' . $domain . '/' . $image_link . $row_detail['url_hinh'] : ($image = 'http://' . $domain . '/' . url_default_image); $url = 'http://' . $domain . '/' . $row_menu_one['url'] . $row_detail['name_rewrite'] . '.html'; $title = strip_tags($row_detail['name'], ''); $title = str_replace('"', ' ', $title); $description = strip_tags($row_detail['metaDescription'], ''); $description = str_replace('"', ' ', $description); $keyword = strip_tags($row_detail['metaKeyword']); $keyword = str_replace('"', ' ', $keyword); $seo = $tc->seo($domain, $title, $description, $keyword, $image, $url); } } else { $menu_one = $tc->menu_type(1, 0, $lang); $row_menu_one = mysql_fetch_array($menu_one); $idMenu = $menu_root = $row_menu_one['id']; $lang = $row_menu_one['lang']; include "languages/{$lang}.php"; include_once 'config.php'; $row_menu_one['url_hinh'] == '' ? $image = 'http://' . $domain . '/' . url_default_image : ($image = 'http://' . $domain . '/' . url_catalog_image . $row_menu_one['url_hinh']); $url = 'http://' . $domain; $title = strip_tags($row_menu_one['title'], ''); $title = str_replace('"', ' ', $title); $description = strip_tags($row_menu_one['metaDescription'], ''); $description = str_replace('"', ' ', $description); $keyword = strip_tags($row_menu_one['metaKeyword'], ''); $keyword = str_replace('"', ' ', $keyword); $seo = $tc->seo($domain, $title . $page_name, $description . $page_name, $keyword, $image, $url); $include = ob_start();
$include_detail = ob_get_clean(); $row_detail['url_hinh'] != '' ? $image = 'http://' . $domain . '/' . $image_link . $row_detail['url_hinh'] : ($image = 'http://' . $domain . '/' . url_default_image); $url = 'http://' . $domain . '/' . $row_menu_one['url'] . $row_detail['name_rewrite'] . '.html'; $title = strip_tags($row_detail['name'], ''); $title = str_replace('"', ' ', $title); $description = strip_tags($row_detail['metaDescription'], ''); $description = str_replace('"', ' ', $description); $keyword = strip_tags($row_detail['metaKeyword']); $keyword = str_replace('"', ' ', $keyword); } $seo = $tc->seo($domain, $title . $page_name, $description . $page_name, $keyword, $image, $url); $include = ob_start(); include_once 'blocks/content.php'; $include = ob_get_clean(); } else { $menu_one = $tc->menu_type(1, 0, $lang); $row_menu_one = mysql_fetch_array($menu_one); $idMenu = $row_menu_one['id']; $row_menu_one['url_hinh'] == '' ? $image = 'http://' . $domain . '/' . url_default_image : ($image = 'http://' . $domain . '/' . url_catalog_image . $row_menu_one['url_hinh']); $url = 'http://' . $domain; $title = strip_tags($row_menu_one['title'], ''); $title = str_replace('"', ' ', $title); $description = strip_tags($row_menu_one['metaDescription'], ''); $description = str_replace('"', ' ', $description); $keyword = strip_tags($row_menu_one['metaKeyword'], ''); $keyword = str_replace('"', ' ', $keyword); $seo = $tc->seo($domain, $title . $page_name, $description . $page_name, $keyword, $image, $url); $include = ob_start(); include_once 'blocks/home.php'; $include = ob_get_clean(); }
$url = 'http://' . $domain . '/' . $row_menu_one['url'] . $row_detail['name_rewrite'] . '.html'; $title = strip_tags($row_detail['name'], ''); $title = str_replace('"', ' ', $title); $description = strip_tags($row_detail['metaDescription'], ''); $description = str_replace('"', ' ', $description); $keyword = strip_tags($row_detail['metaKeyword']); $keyword = str_replace('"', ' ', $keyword); $seo = $tc->seo($domain, $title, $description, $keyword, $image, $url); } } else { include_once 'config.php'; $dir_lang = "languages/{$lang}.php"; if (file_exists($dir_lang)) { include_once $dir_lang; } $menu_one = $tc->menu_type(1, $lang, 0); $row_menu_one = mysql_fetch_array($menu_one); $idMenu = $menu_root = $row_menu_one['id']; $row_menu_one['url_hinh'] == '' ? $image = 'http://' . $domain . '/' . url_default_image : ($image = 'http://' . $domain . '/' . url_catalog_image . $row_menu_one['url_hinh']); $url = 'http://' . $domain; $title = strip_tags($row_menu_one['title'], ''); $title = str_replace('"', ' ', $title); $description = strip_tags($row_menu_one['metaDescription'], ''); $description = str_replace('"', ' ', $description); $keyword = strip_tags($row_menu_one['metaKeyword'], ''); $keyword = str_replace('"', ' ', $keyword); $seo = $tc->seo($domain, $title . $page_name, $description . $page_name, $keyword, $image, $url); $str_daynauan = '<h1>' . $row_config['contact_foo'] . '</h1>'; $include = ob_start(); include_once 'blocks/home.php'; $include = ob_get_clean();
default: echo '<p style="height:500px"><font color="#FF0000"><b>Could not be found</b></font></p>'; } $include = ob_get_clean(); $row_detail['url_hinh'] != '' ? $image = 'http://' . $domain . '/' . $image_link . $row_detail['url_hinh'] : ($image = 'http://' . $domain . '/' . url_default_image); $url = 'http://' . $domain . '/' . $row_menu_one['url'] . $row_detail['name_rewrite'] . '.html'; $title = strip_tags($row_detail['name'], ''); $title = str_replace('"', ' ', $title); $description = strip_tags($row_detail['metaDescription'], ''); $description = str_replace('"', ' ', $description); $keyword = strip_tags($row_detail['metaKeyword']); $keyword = str_replace('"', ' ', $keyword); $seo = $tc->seo($domain, $title, $description, $keyword, $image, $url); } } else { $menu_one = $tc->menu_type(1, 0, $lang); $row_menu_one = mysql_fetch_array($menu_one); $idMenu = $menu_root = $row_menu_one['id']; $row_menu_one['url_hinh'] == '' ? $image = 'http://' . $domain . '/' . url_default_image : ($image = 'http://' . $domain . '/' . url_catalog_image . $row_menu_one['url_hinh']); $url = 'http://' . $domain; $title = strip_tags($row_menu_one['title'], ''); $title = str_replace('"', ' ', $title); $description = strip_tags($row_menu_one['metaDescription'], ''); $description = str_replace('"', ' ', $description); $keyword = strip_tags($row_menu_one['metaKeyword'], ''); $keyword = str_replace('"', ' ', $keyword); $seo = $tc->seo($domain, $title . $page_name, $description . $page_name, $keyword, $image, $url); $include = ob_start(); include_once 'blocks/home.php'; $include = ob_get_clean(); }