<% Sub ConnectDB() Set conn=Server.CreateObject("ADODB.Connection") conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.mappath("datalinks-more-add-del/linkstravelthailand/linksadadd.mdb") End Sub Sub DisconnectDB() conn.Close Set conn = Nothing End Sub Sub ShowPageNum(intPageCount, intPageCurrent, url, intAnswer) For i = 1 To intPageCount ' ถ้าแสดงอยู่ที่หน้าปัจจุบันไม่ต้องใส่ Hyperlink If i = CInt(intPageCurrent) Then If i = intPageCount Then Response.Write "" & i & "" Else Response.Write "" & i & " | " End If Else ' ถ้าไม่ได้แสดงอยู่ที่หน้าปัจจุบันให้ใส่ Hyperlink Response.Write "" If i = intPageCount Then Response.Write i & "" Else Response.Write i & " | " End If End If Next End Sub %> <% Const adOpenForwardOnly = 0 Const adOpenKeyset = 1 Const adOpenDynamic = 2 Const adOpenStatic = 3 Dim conn, rs, sql %> Destination Directory - ตาก, Tak, Thailand <%=cat%>

ตาก ภาคเหนือ

| Add Link | ท่องเที่ยว | ข้อมูลการท่องเที่ยว | " style="font-family: ms sans serif; font-size: 10pt; border: 1px double black;background:#FFFF99; COLOR: #000000">

Tak Directory Information - Links

เมืองตาก เป็นจังหวัดที่อยู่ทางภาคเหนือตอนล่าง มีชื่อเดิมว่า “เมืองระแหง” ในอดีตเป็นเมืองที่มีชาวมอญอาศัยอยู่มาก่อน ดังมีหลักฐานศิลปะมอญปรากฏอยู่ ตัวเมืองเดิมตั้งอยู่ที่อำเภอบ้านตาก เมืองนี้สร้างขึ้นก่อนสมัยกรุงสุโขทัยเป็นราชธานี ต่อมาเมื่อได้สถาปนากรุงสุโขทัยเป็นราชธานีแล้ว เมืองตากมีฐานะเป็นเมืองหน้าด่านที่สำคัญด้านฝั่งตะวันตก และยังเป็นเมืองที่มีความเกี่ยวข้องกับพระมหาราชในอดีตถึง 4 พระองค์ ที่เสด็จมาชุมนุมกองทัพ ณ ดินแดนเมืองตากแห่งนี้ ได้แก่ พ่อขุนรามคำแหงมหาราช สมเด็จพระนเรศวรมหาราช สมเด็จพระนารายณ์มหาราช และสมเด็จพระเจ้าตากสินมหาราช ในสมัยกรุงรัตนโกสินทร์พระบาทสมเด็จพระพุทธเลิศหล้านภาลัยได้โปรดเกล้าฯ ให้ย้ายตัวเมืองตากจากฝั่งขวา ของแม่น้ำปิงมายังฝั่งซ้ายบริเวณตำบลบ้านระแหงจนกระทั่งทุกวันนี้

และป่าไม้ เป็นจังหวัดที่มีอุทยานแห่งชาติหลายแห่งที่ยังคงความสมบูรณ์ของป่า และธรรมชาติ อาทิ อุทยานแห่งชาติตากสินมหาราช อุทยานแห่งชาติแม่เมย อุทยานแห่งชาติลานสาง และอุทยานแห่งชาติน้ำตกพาเจริญ ตลอดจนมีน้ำตกที่ นักท่องเที่ยวรักการผจญภัย และนิยมการล่องแก่งต้องมาเยือนสักครั้ง คือ น้ำตกทีลอซู และน้ำตกทีลอเร นอกจากความสวยงามตามธรรมชาติแล้ว ยังเป็นจังหวัดที่มีผลผลิตทางการเกษตรที่ขึ้นชื่อทั้งดอกไม้ และผลไม้ โดยเฉพาะทับทิม ซึ่งเป็นพันธุ์ ที่มีผลใหญ่ และกำลังได้รับความนิยมมาก

<% '---------------------------------------------------------------------------- ' 1.ประกาศตัวแปร Dim page, rowCount, i, ans, sWhere, sSearch '---------------------------------------------------------------------------- ' 2.Validate ตัวแปรที่เก็บค่าของหน้าในการแสดงผล RecordSet page = Trim(Request.QueryString("page")) If page = "" Then page = 1 sSearch = Trim(Request.Form("search")) ans = Trim(Request.QueryString("ans")) If sSearch = "" Then If IsNumeric(ans) Then If ans=1 Then sWhere = " where nanswer>=1" If ans=0 Then sWhere = " where nanswer=0" If ans=2 Then sWhere = " order by nanswer DESC, qnumber DESC" If ans=3 Then sWhere = " order by nanswer, qnumber DESC" Else sWhere = "" End If Else sWhere = " where qtopic like '%"& sSearch &"%' Or qnote like '%"& sSearch &"%'" End If '----------------------------------------------------------------- ' 3.ติดต่อฐานข้อมูลและดึงข้อมูลจากตาราง Questions มาแสดงผล Call ConnectDB() sql="select * from questions" & sWhere & " order by QNumber DESC" If ans="2" Or ans="3" Then sql="select * from questions" & sWhere Set rs = Server.CreateObject("ADODB.Recordset") rs.CursorType = adOpenStatic ' กำหนดจำนวนเรคคอร์ดที่จะแสดงในแต่ละหน้า rs.PageSize = 5 rs.Open sql,conn If Not rs.EOF Then ' กำหนดว่าต้องการแสดงผลลัพธ์จากหน้าไหน rs.AbsolutePage = CInt(page) rowCount = 0 Do While Not rs.EOF And rowCount < rs.PageSize %> <%If replace(left(rs("qdate"),10)," ","") = replace(formatdatetime(date,2)," ","") and rs("nanswer") = 0 then%>

<%elseif rs("nanswer") <> 0 then%> <%else%> <%end if%> #<%=right("00" & RS("QNumber"),5)%> Link to - <%response.write(Server.HTMLEncode(RS("QTopic")))%>
Url : <%response.write(Server.HTMLEncode(RS("QName")))%>

: <%response.write(Server.HTMLEncode(RS("QNote")))%>
Date : <%=rs("qdate")%>

<% rowCount = rowCount + 1 rs.MoveNext Loop End If %>

 

Pages <%Call ShowPageNum(rs.PageCount, Page, "default.asp", ans) rs.Close Set rs = Nothing Call DisconnectDB() %>

การท่องเที่ยวแห่งประเทศไทย Tourism in Thailand

ท่องเที่ยว ภาคกลาง

| กาญจนบุรี | ลพบุรี | สระบุรี | อยุทธยา | กรุงเทพ | ปราจีนบุรี | สระแก้ว | เพชรบุรี | ประจวบคีรีขันธ์

ท่องเที่ยว ภาคใต้

| ชุมพร | ระนอง | สุราษฎร์ธานี | พังงา | กระบี่ | ภูเก็ต | ตรัง | พัทลุง | สตูล | สงขลา | เกาะลันตา

ท่องเที่ยว ภาคตะวันออก

| ชลบุรี | พัทยา | ระยอง | จันทบุรี | ตราด | เกาะช้าง | เกาะกูด | เกาะหมาก

ท่องเที่ยว ภาคเหนือ

| แม่ฮ่องสอน | เชียงใหม่ | เชียงราย | น่าน | ตาก | สุโขทัย | พิษณุโลก | เพชรบูรณ์

ท่องเที่ยว ภาคตะวันออกเฉียงเหนือ

| ชัยภูมิ | นครราชสีมา | สุรินทร์ | อุบลราชธานี

เที่ยวต่างประเทศ - Travel and Tourism

| เที่ยวต่างประเทศ

Tourism Thailand Directory only offers tourism contents and searchable web-linked directories of Thai tourism companies. All product representations and sales are made by the operators featured in our directories. Tourism Thailand Directory therefore makes no warranty, assumes any legal liability or responsibility for the accuracy, completeness of any information and product posted by the operators. Many people when arriving in Thailand, do not really know what to expect, and know very little about the country and the people. However once they have been to Thailand once or twice, they will be sure to return, it is a kingdom that offers many marvels of undiscovered enchantment. With surprises and delights around every corner your trip to Thailand will open your eyes to a new world.

On this site we offer you accommodation such as hotels in Thailand with some very special rates, restaurant, bar, and transport reviews so that you can have an insiders idea of where to go and what to do in Thailand once you arrive. We offer you shopping tips, apartment options if you don't feel like staying in a hotel, guides to where you can connect to the internet and how much they cost. What you can do in Thailand from a tourist perspective, and much, much more. On this page we give you a little insight into Thailand and the People, a little lesson if you like into the history of this amazing country and its dynamic and beautiful people. Thailand covers an area of 513,115 sq. km. in the heart of South East Asia, and shares its borders with Laos, Myanmar, Cambodia, Malaysia, the Gulf of Thailand and the Indian Ocean.

Thailand itself is broken onto four natural regions, a) The North b) The Central Plain or the Chao Phraya River Basin c) The North East (Korat Plateau) and d) The South or Southern Peninsula. The Northern region is mountainous and full of forests, ridges and spectacular valleys, the main city of this region is Chiang Mai, a very popular tourist destination.

Advertise with Us : Koh Chang | ที่พักเกาะช้าง | Koh Samet | โหลดโปรแกรม | Ao Nang | เกาะเสม็ด | เกาะลันตา | เกาะหมาก | ล่องเรือ | ที่พักเกาะช้าง | เกาะกูด | เกาะช้าง | อ่าวนาง | เชียงใหม่ | เกาะหลีเป๊ะ | ล่องแก่ง | หลีเป๊ะ
| ที่พักอ่าวนาง | พัทยา | ตั๋วเครื่องบิน | ที่พักหัวหิน | น้ำตกทีลอซู | เช่ารถตู้ | กาญจนบุรี / เกาะล้าน / พัทยา / Donwaimarket / ที่พักเกาะเสม็ด / ตั๋วเครื่องบิน / ที่พักเกาะกูด | เช่ารถตู้