include_once("script/include_common_file.php"); if($MOBILE){ $url = str_replace("renew/sublist.html","m2/sub_list.html",$CPAGE); Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: $url" ); exit; } if($code1 && !$code2){ $sql = "select * from ez_tour_category2 where code1=$code1 and bit_hide<>1 $CTGFILTER order by seq asc limit 1"; $dbo->query($sql); $rs=$dbo->next_record(); $code2=$rs[id_no]; } if($code1=="26") $code1_name= get_category_name_path($code2,2); else $code1_name= get_category_name_path($code1,1); if($code1==26 && !$code3){ $sql = "select * from ez_tour_category3 where code2=$code2 and bit_hide<>1 $CTGFILTER order by seq asc limit 1"; $dbo->query($sql); $rs=$dbo->next_record(); $code3=$rs[id_no]; } switch($code1){ case "13": $code1_name2 = "SAESON";break; case "14": $code1_name2 = "THEME";break; case "15": $code1_name2 = "PGA/LPGA";break; case "16": $code1_name2 = "SPECIAL";break; case "6": $code1_name2 = "BUSAN/DAEGU";break; } $DESCRIPTION = "${SITE_NAME}에서 전개하는 ". str_replace("여행","",$code1_name) ." 여행상품을 소개합니다."; $SITE_NAME = $code1_name ." - " .$SITE_NAME; ?>