Query("SELECT * FROM content_cat WHERE CatName = '".$_GET['country']."'"); $arrct=mysql_fetch_array($rsct); if($_GET['country'] <> ""){ $rs=$db->Query("SELECT * FROM contents WHERE SubCatSubID = '".$arrct['CatID']."' AND ContentExpress = '1' ORDER BY ContentID DESC"); $arr=mysql_fetch_array($rs); $count_data_manu = mysql_num_rows($rs); $rs=$db->Query("SELECT * FROM contents WHERE SubCatSubID = '".$arrct['CatID']."' AND ContentExpress = '1' ORDER BY ContentID DESC LIMIT $start,$limit"); $count_data = mysql_num_rows($rs); }else{ $rs=$db->Query("SELECT * FROM contents WHERE CatID = 130 AND ContentExpress = '1' ORDER BY ContentID DESC"); $arr=mysql_fetch_array($rs); $count_data_manu = mysql_num_rows($rs); $rs=$db->Query("SELECT * FROM contents WHERE CatID = 130 AND ContentExpress = '1' ORDER BY ContentID DESC LIMIT $start,$limit"); $count_data = mysql_num_rows($rs); } ?>
ข้อมูลท่องเที่ยว
ข้อมูลท่องเที่ยว พบ รายการ
บทความข้อมูลท่องเที่ยว ดูทั้งหมด
    Query("SELECT * FROM content_cat WHERE CatParentID = 130 ORDER BY CatID ASC"); while($arrca=mysql_fetch_array($rsca)){ ?>
ดูบทความตามประเทศ
Query("SELECT * FROM contents_recommend_6,content_cat WHERE contents_recommend_6.ContentID = content_cat.CatID AND content_cat.CatParentID = 131 ORDER BY ContentRecommendRanking ASC"); while($datac1=mysql_fetch_array($rsc1)){ echo ""; } ?>
บทความที่เกี่ยวข้อง
Query("SELECT * FROM contents WHERE CatID = '130' ORDER BY RAND() LIMIT 3"); while($arrcsr=mysql_fetch_array($rscsr)){ $goto = "href=\"travel-detail.php?data=".$arrcsr['ContentURL']."\""; ?>
บทความยอดนิยม
Query("SELECT * FROM contents,contents_recommend_4 WHERE contents.ContentID = contents_recommend_4.ContentID ORDER BY contents_recommend_4.ContentRecommendRanking ASC LIMIT 0,3"); while($arrcsrr=mysql_fetch_array($rscsrr)){ $goto = "href=\"travel-detail.php?data=".$arrcsrr['ContentURL']."\""; ?>