$error_sql = "Lỗi kết nối"; define(does_not_exist, 'Mục này không tồn tại.'); include_once 'class/class.trangchu.php'; $tc = new trangchu(); if (@$_GET['danhmuc']) { $dm = $_GET['danhmuc']; $dm = explode('/', $dm); $danhmuc = $dm[0]; if ($dm[1] == '') { $page = 1; $page_name = ''; } else { $page = $dm[1]; $page_name = ' - Page ' . $page; } $menu_one = $tc->menu_one($danhmuc); $row_menu_one = mysql_fetch_array($menu_one); $idMenu = $row_menu_one['id']; $type = $row_menu_one['type_id']; $lang = $row_menu_one['lang']; include "languages/{$lang}.php"; include_once 'config.php'; $menu_root = $tc->menu_root($row_menu_one['parent_id'], $idMenu); if (!@$_GET['detail']) { $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 . '/' . $row_menu_one['url']; $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'], '');