Home » '; if(isset($arrayTypeName[$module])){ $title_page .= '' . $arrayTypeName[$module] . ''; } if($iCat!=0){ $menu = new menu(); $db_catetgory = new db_query("SELECT cat_name,cat_description,cat_show,cat_has_child,cat_parent_id FROM categories_multi WHERE categories_multi.lang_id = " . $lang_id . " AND cat_id=" . $iCat); if($row=mysql_fetch_array($db_catetgory->result)){ $con_site_title = $row["cat_name"]; $con_description = $row["cat_description"]; $cat_show = $row["cat_show"]; $cat_has_id = $row["cat_has_child"]; $cat_parent_id = $row["cat_parent_id"]; $title_page = $menu->getAllParentList("categories_multi","cat_id","cat_name","cat_parent_id",$iCat,'  »  ',"title_cat_parent",$module,1,$lang_path,$con_extenstion,$con_mod_rewrite); //if($row["cat_description"] != '') $con_meta_keywords = $row["cat_description"]; } $menuid = new menu(); $menuid->getArray("categories_multi","cat_id","cat_parent_id"," lang_id = " . $lang_id); $listiCat = $menuid->getAllChildId($iCat); $cat_parent = $menuid->getCatcha($iCat); $sqlcategory = " AND cat_id IN(" .$listiCat . ")"; $cap_con = count(explode(",",$listiCat)); $cat_cha = $menuid->getCatcha($iCat); $home_address .= ' » ' . $menuid->getAllParentList("categories_multi","cat_id","cat_name","cat_parent_id",$iCat,' » ',"",$module,($module!='') ? 1 : 0,$lang_path,$con_extenstion,$con_mod_rewrite); } switch($module){ case "product": $sqlTitle = "SELECT pro_name AS dat_title FROM products WHERE pro_id = " . $iData; break; case "static": $sqlTitle = "SELECT sta_title AS dat_title FROM statics WHERE sta_id =" . $iData; break; case "news": $sqlTitle = "SELECT new_title AS dat_title FROM news WHERE new_id =" . $iData; break; } if($sqlTitle!=''){ $db_title = new db_query($sqlTitle); if($row=mysql_fetch_array($db_title->result)){ $con_site_title = $row["dat_title"]; $con_meta_description = $con_site_title . ', ' . $con_meta_description; $con_meta_keywords = str_replace(" ",", ",$con_site_title) . ', ' . $con_meta_keywords; } } ?> <?=$con_site_title?> - <?=translate_display_text("Laptop giá rẻ USS")?> "> ">