| Server IP : 103.233.193.20 / Your IP : 216.73.216.169 Web Server : Apache/2 System : Linux host1.itclever.com 4.18.0-553.16.1.el8_10.x86_64 #1 SMP Thu Aug 8 17:47:08 UTC 2024 x86_64 User : oriscomadm ( 1120) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/oriscomadm/domains/oriscom.com/private_html/taxi_estimate/ |
Upload File : |
// ========== TRANSLATIONS (คำแปลสองภาษา TH/EN) ==========
const TRANSLATIONS = {
th: {
page_title: "เลือกเส้นทาง",
title: "ระบบประมาณการค่าโดยสาร",
origin_placeholder: "ตำแหน่งปัจจุบัน/ค้นหาจุดเริ่มต้น...",
destination_placeholder: "ค้นหาจุดหมาย...",
search_btn: "ค้นหา/ประมาณราคา",
searching: "กำลังค้นหาเส้นทาง...",
select_route: "เลือกเส้นทาง",
route1_title: "เส้นทางหลัก",
route2_title: "เส้นทางที่ 2",
recommended: "วิ่งทางด่วน",
economical: "ไม่วิ่งทางด่วน",
confirm_btn: "ยืนยันเส้นทางนี้",
success_msg: "บันทึกเส้นทางไว้อ้างอิงสำเร็จ!",
toggle_qr: "ซ่อน/แสดง QR Code",
qr_for_passenger: "QR Code สำหรับผู้โดยสาร",
scan_qr: "ให้ผู้โดยสารสแกน QR เพื่อกรอกข้อมูล",
use_current_location: "ใช้ตำแหน่งปัจจุบัน",
search_results: "ผลการค้นหา",
current_location: "(ตำแหน่งปัจจุบัน)",
km: "กม.",
hr: "ชม.",
min: "นาที",
baht: "บาท",
alert_select_locations: "กรุณาเลือกจุดเริ่มต้นและปลายทาง",
alert_select_route: "กรุณาเลือกเส้นทาง",
alert_gps_error: "ไม่สามารถเข้าถึงตำแหน่งปัจจุบันได้",
getting_location: "กำลังค้นหาตำแหน่ง...",
gps_permission_title: "ขออนุญาตเข้าถึงตำแหน่ง",
gps_permission_message: "แอปต้องการเข้าถึงตำแหน่ง GPS ของคุณ",
gps_denied_message: "ไม่สามารถเข้าถึง GPS ได้",
auto_detecting_location: "🔍 กำลังค้นหาตำแหน่งของคุณ...",
location_found: "✓ พบตำแหน่งของคุณแล้ว",
// 🔥 Debug messages
debug_no_traffic: "🚗 ไม่มีรถติด",
debug_with_traffic: "🚦 มีรถติด",
debug_traffic_impact: "⏱️ ผลกระทบจากรถติด",
debug_distance: "ระยะทาง",
debug_time: "เวลา",
debug_fare: "ค่าโดยสาร",
debug_extra_time: "เวลาเพิ่ม",
debug_extra_fare: "ค่าโดยสารเพิ่ม",
end_trip_btn: "จบงาน"
},
en: {
page_title: "Route Selection",
title: "Fare Estimation System",
origin_placeholder: "Current location/Search origin...",
destination_placeholder: "Search destination...",
search_btn: "Search/Estimate",
searching: "Searching for routes...",
select_route: "Select Route",
route1_title: "Main Route",
route2_title: "Second Route",
recommended: "Expressway",
economical: "No Expressway",
confirm_btn: "Confirm This Route",
success_msg: "Data Saved Successfully!",
toggle_qr: "Show/Hide QR Code",
qr_for_passenger: "QR Code for Passenger",
scan_qr: "Passenger can scan QR to fill in information",
use_current_location: "Use Current Location",
search_results: "Search Results",
current_location: "(Current Location)",
km: "km",
hr: "hr",
min: "min",
baht: "THB",
alert_select_locations: "Please select origin and destination",
alert_select_route: "Please select a route",
alert_gps_error: "Unable to access current location",
getting_location: "Getting location...",
gps_permission_title: "Location Permission Required",
gps_permission_message: "This app needs access to your GPS location",
gps_denied_message: "Unable to access GPS",
auto_detecting_location: "🔍 Detecting your location...",
location_found: "✓ Location found",
// 🔥 Debug messages
debug_no_traffic: "🚗 No Traffic",
debug_with_traffic: "🚦 With Traffic",
debug_traffic_impact: "⏱️ Traffic Impact",
debug_distance: "Distance",
debug_time: "Time",
debug_fare: "Fare",
debug_extra_time: "Extra Time",
debug_extra_fare: "Extra Fare",
end_trip_btn: "End Trip"
}
};