<% 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 - เพชรบุรี, Phetchaburi, Thailand <%=cat%>

เพชรบุรี ภาคกลาง

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

Phetchaburi Directory Information - Links

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

เพชรบุรี มีพื้นที่ ๖,๒๕๕.๑๓๘ ตารางกิโลเมตร สภาพภูมิประเทศทางด้านทิศตะวันตกเป็นป่าเขาสลับซับซ้อน มีเทือกเขาตะนาวศรีเป็นเส้นกั้นอาณาเขตระหว่างไทยกับสหภาพพม่า ส่วนทางด้านทิศตะวันออกเป็นที่ราบไปจนจดชายฝั่งทะเลอ่าวไทย พื้นที่ของจังหวัดเพชรบุรีมีแม่น้ำสายสำคัญไหลผ่าน ๓ สาย ได้แก่ แม่น้ำเพชรบุรี แม่น้ำบางกลอย และแม่น้ำบางตะบูน ประชากรจังหวัดเพชรบุรีส่วนใหญ่ประกอบอาชีพเกษตรกรรมเป็นหลัก มีการทำนา สวนผลไม้ ทำน้ำตาลโตนด เลี้ยงสัตว์ และทำการประมง

Phetchaburi, locally known by Thais as Muang Phetch, is located 160 kilometers south of Bangkok. One of Thailands central region provinces, Phetchaburi is situated on the western shore of the Gulf of Thailand with an overall area of approximately 6,225 square kilometers. Its terrains throughout the western border, where Tanaosri Range lies as a natural border between Thailand and Myanmar, are mountainous dense jungles. In the east, there is an 80-kilometer long coastline towards the Gulf of Thailand.

A very old city which used to be an important royal fort town, Phetchaburi had been given several names such as, Phripphri, Phripphli or Phetchaphli. Some historians have gone as far as to say that Phetchaburi could have been named in Indian style, as the Indian influence in those days day was strong. Others put forward the idea that the name Phetchaburi might have originated from Maenam Phetch the most important river of the town.

Whatever the assumptions are, the fact that Phetchaburi is an ancient city with a very long history is undeniable. This has been proven by many archaeological findings which could be dated back to the Dvaravati Period. During Sukhothai and Ayutthaya Kingdoms, Phetchaburi was a strategic royal fort in the west. Only a lineage of Kings had the rights to rule this historical city. That is why Phetchaburi has been called by some scholars as the "Living Ayutthaya" as the town shares many similar things to the City of Ayutthaya. The prosperity of the Ayutthaya Kingdom can be seen and appreciated in Phetchaburi's wealth of fine old temples.

<% '---------------------------------------------------------------------------- ' 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 / ที่พักเกาะเสม็ด / ตั๋วเครื่องบิน / ที่พักเกาะกูด | เช่ารถตู้