(.*)<\/title>/",$noidung, $title); $title = explode("-", $title[1]); $title = trim($title[0]); //echo $title; $noidung = get_content($noidung,'
','
'); $getcm = get_content($noidung,'
'); $getcm = strip_tags($getcm); if (preg_match ('/Trò chuyện cuộc sống/i',$getcm)) { $idcm = '32'; $tencm = 'Trò chuyện cuộc sống'; } if (preg_match ('/Truyện dài/i',$getcm)) { $idcm = '07'; $tencm = 'Truyện dài'; } if (preg_match ('/Trà sữa cho tâm hồn/i',$getcm)) { $idcm = '04'; $tencm = 'Trà sữa tâm hồn'; } if (preg_match ('/Blog Radio/i',$getcm)) { $idcm = '34'; $tencm = 'Blog Radio'; } if (preg_match ('/Made By Teens/i',$getcm)) { $idcm = '33'; $tencm = 'Made By Teens'; } if (preg_match ('/Cafe chiều thứ 7/i',$getcm)) { $idcm = '35'; $tencm = 'Cafe chiều thứ 7'; } if (preg_match ('/Truyện Ngắn/i',$getcm)) { $idcm = '03'; $tencm = 'Truyện Ngắn'; } if (preg_match ('/Teen Story/i',$getcm)) { $idcm = '12'; $tencm = 'Truyện Teen'; } if(preg_match ('/
','
','