Files
Bkk1234 74d605f1c4 ระบบ affiliate พาร์ทเนอร์ + นับผู้เข้าชม + สายที่เปิดดูบ่อย + ความปลอดภัยรูป
== ระบบพาร์ทเนอร์ (affiliate) ==
- resource/data/affiliates.json — ข้อมูล 11 โปรแกรม (8 ใน footer) + ที่วางลิงก์แนะนำ
- home.init.js: initSponsors() สร้างไทล์ marquee จาก JSON (ไม่ฮาร์ดโค้ดใน HTML)
    · มี affiliate_link → <a target=_blank rel="noopener sponsored">
    · ยังไม่มีลิงก์   → <span> แสดงรูปเฉย ๆ (กดไม่ได้ ไม่พาไปหน้าเปล่า)
    · โหลด JSON ไม่ได้ → คงไทล์ fallback ที่ฝังใน HTML (8 ไทล์)
- เติมลิงก์ affiliate แล้ว 6 แบรนด์: 7-Eleven · Shopee · Lazada · airasia MOVE ·
  busonlineticket · Trip.com

== ระบบสถิติ (ฝั่งเบราว์เซอร์ ไม่มี backend) ==
- ui/popular.js — "สายที่เปิดดูบ่อย" ใน footer
    · score = hits × 0.5^(อายุวัน/30) — กันคะแนนเฟ้อ (ครึ่งชีวิต 30 วัน)
    · ทิ้งข้อมูลที่ตายเกิน 180 วันอัตโนมัติ · เก็บ 2 ตัวเลข/สาย (~24 ไบต์)
    · ไม่มีข้อมูล → ใช้ค่าเริ่มต้น 101/902/15/464
- ui/visitors.js — นับผู้เข้าชมจริง (ฐาน 12,834)
    · กันเฟ้อ 3 ชั้น: sessionStorage (F5 ไม่นับ) → 1 ครั้ง/วัน → dayKey กันล้าง session
    · กดตัวเลข 5 ครั้ง → ช่องกรอกรหัส (SHA-256 ไม่เก็บรหัสจริงในโค้ด) → รีเซ็ตเป็น 0
- หัวข้อ footer เปลี่ยนเป็น "สายที่เปิดดูบ่อย" / "Most Viewed Routes"

== ความปลอดภัยของรูป ==
- images.zip: ลบ EXIF/GPS ทั้งหมด 12 ไฟล์ (piexif — ไม่แตะ pixel data, คง ICC profile)
    · ตัด .image/partners/_original/ ออก (ไฟล์สำรองที่ไม่ควรแจก)
    · ตรวจแล้ว: GPS=0 · EXIF=0 · รูปเสีย=0 · 39.4 MB → 37 MB
- tcl999-angthong.jpg ย่อ 4032×3024 (2.5 MB) → 700×525 (86 KB) สำหรับใช้บนเว็บ

== UI ==
- nav (mu-topbar) z-index 50 → 1100 + isolation:isolate ที่กรอบแผนที่
  (Leaflet ใช้ z-index ถึง 1000 — เดิมปุ่มซูม/ป๊อปอัปทะลุขึ้นทับ nav)
- รูปสำรองสถานี: ไม่มีรูป → แสดง minibus-512x512 (.is-fallback ใช้ object-fit:contain)
- affiliate.json เป็น CRLF ตาม pattern เดิมของโปรเจกต์
2026-10-07 23:29:36 +07:00

258 lines
20 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"date": "2026-09-10",
"map": {
"origin": {
"coords": [
14.59489,
100.45161
],
"label": "บขส.อ่างทอง"
},
"groups": [
{
"id": "existing",
"label": "รถประจำทางผ่านอยู่แล้ว",
"routes": [
{
"id": "line15",
"geo_id": "15",
"line_color": "#7cb342",
"line_name": "สาย 15 (กรุงเทพ-อ่างทอง สายใน)",
"dest": {
"name": "BTS หมอชิต · MRT จตุจักร",
"coords": [
13.803471537697645,
100.55428211112948
]
},
"via": [],
"distance_km": null,
"duration_min": null,
"fare_thb": null,
"note": ""
},
{
"id": "line902",
"geo_id": "902",
"line_color": "#1f5fbf",
"line_name": "สาย 902 (กรุงเทพ-อ่างทอง สายเอเซีย)",
"dest": {
"name": "BTS หมอชิต · MRT จตุจักร",
"coords": [
13.803471537697645,
100.55428211112948
]
},
"via": [],
"distance_km": null,
"duration_min": null,
"fare_thb": null,
"note": ""
},
{
"id": "line952",
"geo_id": "952",
"line_color": "#7a4cc0",
"line_name": "สาย 952 (กรุงเทพ-วิเศษชัยชาญ)",
"dest": {
"name": "MRT คลองบางไผ่",
"coords": [
13.89239670552972, 100.40816596702227
]
},
"via": [],
"distance_km": null,
"duration_min": null,
"fare_thb": null,
"note": ""
},
{
"id": "line952",
"geo_id": "952",
"line_color": "#7a4cc0",
"line_name": "สาย 952 (กรุงเทพ-วิเศษชัยชาญ)",
"dest": {
"name": "MRT ตลาดบางใหญ่",
"coords": [
13.880976188776955, 100.40915071255077
]
},
"via": [],
"distance_km": null,
"duration_min": null,
"fare_thb": null,
"note": ""
}
]
},
{
"id": "improve",
"label": "ปรับปรุงจากเส้นทางเดิม",
"routes": [
{
"id": "line101",
"geo_id": "101",
"line_color": "#a51f2e",
"line_name": "สาย 101 (อ่างทอง-ป่าโมก-อยุธยา)",
"dest": {
"name": "สถานีรถไฟ/รถไฟฟ้าชานเมืองอยุธยา",
"coords": [
14.356766025721091,
100.58296985329517
]
},
"via": [],
"distance_km": null,
"duration_min": null,
"fare_thb": null,
"note": ""
},
{
"id": "line952b",
"geo_id": "952",
"line_color": "#FF8F94",
"line_name": "สาย 952 (ขยายถึงสถานีรถไฟฟ้าชานเมืองชุมทางตลิ่งชัน)",
"dest": {
"name": "สถานีรถไฟฟ้าชานเมืองชุมทางตลิ่งชัน",
"coords": [
13.78935132220992, 100.43941463521845
]
},
"via": [],
"distance_km": null,
"duration_min": null,
"fare_thb": null,
"note": ""
}
]
},
{
"id": "new",
"label": "เปิดเส้นทางใหม่",
"routes": [
{
"id": "banchang",
"geo_id": "dream-banchang",
"line_color": "#a51f2e",
"line_name": "สถานีรถไฟฟ้าชานเมืองชุมทางบ้านภาชี (สายสีแดงเข้ม)",
"dest": {
"name": "ชุมทางบ้านภาชี",
"coords": [
14.450689476023536,
100.72094907399251
]
},
"via": [],
"distance_km": null,
"duration_min": null,
"fare_thb": null,
"note": ""
},
{
"id": "ayutthaya-hsr",
"geo_id": "dream-ayutthaya-hsr",
"line_color": "#a51f2e",
"line_name": "สถานีรถไฟความเร็วสูงอยุธยา",
"dest": {
"name": "สถานีรถไฟความเร็วสูงอยุธยา",
"coords": [
14.356766025721091,
100.58296985329517
]
},
"via": [],
"distance_km": null,
"duration_min": null,
"fare_thb": null,
"note": ""
},
{
"id": "pakkret",
"geo_id": "dream-pakkret",
"line_color": "#e0509b",
"line_name": "MRT แยกปากเกร็ด (รางเดี่ยวสีชมพู)",
"dest": {
"name": "MRT แยกปากเกร็ด",
"coords": [
13.906656941460735,
100.50553319459016
]
},
"via": [],
"distance_km": null,
"duration_min": null,
"fare_thb": null,
"note": ""
},
{
"id": "muangthong",
"geo_id": "dream-muangthong",
"line_color": "#e0509b",
"line_name": "MRT ทะเลสาบเมืองทองธานี (รางเดี่ยวสีชมพู)",
"dest": {
"name": "MRT ทะเลสาบเมืองทองธานี",
"coords": [
13.918274061982352,
100.54526798554069
]
},
"via": [],
"distance_km": null,
"duration_min": null,
"fare_thb": null,
"note": ""
},
{
"id": "Watcharapol",
"geo_id": "dream-Watcharapol",
"line_color": "#e0509b",
"line_name": "MRT วัชรพล (รางเดี่ยวสีชมพู)",
"dest": {
"name": "MRT วัชรพล",
"coords": [
13.8496,
100.64198
]
},
"via": [],
"distance_km": null,
"duration_min": null,
"fare_thb": null,
"note": ""
}
]
}
]
},
"th": {
"title": "อยากให้มีรถประจำทางเชื่อมต่อสถานีรถไฟฟ้า",
"tag": "ความฝัน",
"body": [
"เราเป็นคนชอบนั่งรถไฟฟ้า เราก็ฝันอยากให้จังหวัดอ่างทองมีเส้นทางที่วิ่งตรงจาก บขส.อ่างทอง ผ่านสถานีขนส่งประจำอำเภอยิงตรงจอดหน้าหรือใต้สถานีรถไฟฟ้าสายต่างๆไม่ต้องเปลี่ยนรถหลายรอบ",
"เอาจริงๆเราก็รู้แหละว่าไม่น่าเป็นไปได้จากหลายสาเหตุ เช่น ใครจะมาประกอบธุรกิจมันหมดยุครถประจำทางแล้ว ทุกบ้านมีมอไซ 2-3 คัน รถยนต์อีก 1-2 คัน ใครจะขึ้นเวลาใครถามก็บอกดีๆแต่จะเหลือคนขึ้นรถประจำทางจริงๆเท่าไร ขนาดเราเองก็ไม่ได้ขึ้นรถประจำทางนานมากแล้ว ระบบราชการ ระเบียบใช้คำว่าอะไรดีแปลกๆมั้งแบบว่าหห้ามออกใบอนุญาตทับเส้นทางกัน คือสมมติ เขาวิ่งแค่เช้าเย็นแล้วเส้นทางเราทับเขา แต่เราวิ่งสายกับบ่าย เขาก็ประท้วงได้ แบบ??? หะ",
"แบ่งเส้นทางออกเป็นสองกลุ่มคือ 1.รถประจำทางผ่านอยู่แล้ว 2.ปรับปรุงจากเส้นทางเดิม 3.เปิดเส้นทางใหม่",
"1.รถประจำทางผ่านอยู่แล้ว ได้แก่ รถไฟฟ้าสายสีเขียวอ่อน และสายสีน้ำเงิน โดยสายที่ผ่านได้แก่ 15 กรุงเทพ-ป่าโมก-อ่างทอง(สายใน) และ 902 กรุงเทพ-อ่างทอง(สายเอเซีย) ผ่าน BTS หมอชิตและ MRT จตุจักร และรถไฟฟ้าสายสีม่วง ได้แก่ 952 · กรุงเทพ-วิเศษชัยชาญ ผ่าน MRT คลองบางไผ่ กับ ตลาดบางใหญ่",
"2.ปรับปรุงจากเส้นทางเดิม เส้นทางเดิมห่างจากสถานีรถไฟฟ้าเกือบ 1 กิโลเมตร อยากให้กรมการขนส่งและผู้ประกอบการเห็นพ้องกันขยายเส้นทางไปถึงหน้าสถานีรถไฟฟ้า ได้ สายสีแดงเข้ม(สถานีในอนาคต) 101 อ่างทอง-อยุธยา ปัจจุบันต้องจอดก่อนสามแยกเข้าเจ้าพรหม เดิน 300-400 เมตร นั่งเรือข้ามฟาก เดินอีก 100+ เมตร ถึงสถานีรถไฟอยุธยาซึ่งสถานีใหม่เยื้องๆไปหน่อยนึงแค่ข้ามสะพานเลี้ยวซ้ายไปเกือบๆครึ่งโลจะถึงแล้วไม่รู้จะมีอุปสรรคหรือลุงๆคนขับจะอยากขับอ้อมไป-กลับอีกหรือเปล่า หรือเอาเข้าจริงพอสถานีก่อสร้างเสร็จคนอ่างทองจะไปจริงๆหรือเปล่า หรือจะแบ่งเป็นสายย่อยก็ได้ส่วนใหญ่ลุงก็ขับแบบเดิมแต่มี ช่วง (อ่างทอง-สถานีรถไฟฟ้าชานเมืองอยุธยา) ต่างห่างแบบ มินิบัสซักคัน ตั้งเป้าว่าจะไปให้ถึงสถานีก่อนรถไฟฟ้าออกซัก 10-15 นาที เพราะเราเชื่อว่ารถไฟฟ้าชานเมืองไม่ได้ออกถี่ๆเท่ากับรถไฟฟ้าสีเขียว สีน้ำเงินระยะทางมันไกล และสายสีแดงอ่อนสถานีรถไฟฟ้าชุมทางตลิ่งชัน ปัจจุบันยังไม่น่าสนใจแต่ถ้ารถไฟฟ้าชานเมืองก่อสร้างเต็มระบบ สถานีนี้สามารถไปนครปฐม สถานีกลางกรุงเทพอภิวัฒน์ และโรงพยาบาลศิริราชได้ด้วยรถไฟฟ้าไม่ต้องผ่ารถติด สาย 952 กรุงเทพ-วิเศษชัยชาญ เคยไป3-4 ครั้งถนนแอบงงๆ แต่ก็อยากให้ขยายเส้นทางอยู่ดี",
"3.เปิดเส้นทางใหม่ เอาจริงๆข้อนี้ก็ยากเพราะข้าราชการจะยอมเปิดเส้นทางใหม่มั้ย ถ้าเปิดเส้นทางใหม่แล้วใครจะมาประมูลใบอนุญาตและกลุ่มผู้โดยสารขาประจำจะมีเพียงพอมั้ยก็ไม่รู้ อยากเสนอให้พิจารณา ได้แก่ ",
"รถไฟฟ้าสายสีแดงเข้ม อ่างทอง-ป่าโมก-สถานีชุมทางบ้านภาชี ทั้งๆที่มีสถานีรถไฟชานเมืองอยู่แล้ว แม้ว่าจะอ้อมกว่าเล็กน้อยจะเสนอ เพราะว่าการขึ้นสถานีต้นทางประกันว่ามีที่นั่งแน่นอนและหนีความวุ่นวาย สถานีรถไฟฟ้าอยุธยาต้องวุ่นวายทั้งคนรอรถไฟความเร็วสูง รถไฟฟ้าชานเมือง นักท่องเที่ยว ",
"รถไฟฟ้าความเร็วสูง อ่างทอง-ป่าโมก-สถานีรถไฟฟ้าความเร็วสูงอยุธยา ทั้งๆที่ตั้งอยู่ที่เดียวกันนั่นแหละ แต่เสนอเพราะอยากให้เดินทางเร็วสอดคล้องกับเที่ยวรถไฟความเร็วสูงคนที่จะไป อีสานและกรุงเทพ ",
"รถไฟฟ้ารางเดี่ยวสีชมพู อ่างทอง-ป่าโมก-MRT แยกปากเกร็ด หรือ ทะเลสาบเมืองทองธานี หรือวัชรพล เชื่อมต่อรถไฟฟ้ารางเดี่ยว ส่งคนชอบดูงานอีเว้นชอบสามารถพาไปส่วนต่างๆของนนทบุรีได้และต่อไปรถไฟฟ้าสายสีอื่นๆได้ "
]
},
"en": {
"title": "I wish there were buses connecting to the rail lines",
"tag": "A dream",
"body": [
"I'm a rail person at heart, and I keep dreaming that Ang Thong would have routes running straight from the Ang Thong Bus Terminal, through the district bus stations, and stopping right at — or under — the various rail stations, without having to change buses several times.",
"Honestly, I know it's unlikely for a lot of reasons. Who's going to build a business on it when the era of the bus is over? Every household has two or three motorbikes and another one or two cars. Who's going to ride? Ask anyone and they'll be polite about it, but how many people will actually still take the bus? Even I haven't taken one in ages. Then there's the bureaucracy — some odd rule about not granting a licence that overlaps another operator's route. Say they only run mornings and evenings and our route overlaps theirs: even if we run in the afternoon, they can still file an objection. Like… what?",
"I'd split the routes into two groups: 1) buses that already pass through, 2) improvements to existing routes, 3) brand-new routes.",
"1. Buses that already pass through: the Light Green and Blue lines. The routes that qualify are 15 (Bangkok–Pa Mok–Ang Thong, local line) and 902 (Bangkok–Ang Thong, Asia line), which pass Mo Chit BTS and Chatuchak MRT. And the Purple Line: 952, Bangkok–Wiset Chai Chan, passing Khlong Bang Phai MRT and Bang Yai market.",
"2. Improving existing routes: the old routes stop nearly a kilometre from the rail stations. I'd like the Department of Land Transport and the operators to agree on extending them right up to the station forecourt. Take the Dark Red Line (a future station): route 101, Ang Thong–Ayutthaya, currently has to stop before the junction into Chao Phrom — walk 300–400 metres, take a ferry across, walk another 100-plus metres, and you reach Ayutthaya railway station, whose new building sits slightly off to one side; cross the bridge, turn left, and it's almost another half a kilometre. I don't know whether there'll be obstacles, or whether the drivers will want to make the detour out and back. Or, honestly, whether people from Ang Thong will actually go once the station is finished. Or it could be split into a sub-route — most of the drivers would keep running as they do now, but with a stretch (Ang Thong–Ayutthaya suburban rail station) served separately, maybe by a minibus. The aim would be to arrive at the station 10–15 minutes before the train leaves, because I don't believe the suburban rail runs as frequently as the Green or Blue lines — the distance is much longer. And the Light Red Line's Taling Chan station isn't very appealing right now, but once the suburban rail system is fully built, that station can reach Nakhon Pathom, Krung Thep Aphiwat Central Terminal and Siriraj Hospital by rail, without getting stuck in traffic. As for route 952, Bangkok–Wiset Chai Chan, I've taken it three or four times and the roads still confuse me — but I'd still like to see its route extended.",
"3. Brand-new routes: honestly, this part is hard, because will the officials even allow a new route? And if they do, who'll bid for the licence, and will there be enough regular passengers? I don't know. But I'd like the following to be considered:",
"The Dark Red Line: Ang Thong–Pa Mok–Ban Phachi Junction. Even though it's a bit of a detour, I'd propose it because starting at the origin station guarantees you a seat and lets you skip the crowds. Ayutthaya's rail station is chaotic — people waiting for the high-speed train, the suburban rail, and tourists all at once.",
"The High-Speed Rail: Ang Thong–Pa Mok–Ayutthaya High-Speed Rail Station. It's at the same place, yes, but I propose it because it makes for fast travel that lines up with the high-speed train's own departures — for people heading to Isan and to Bangkok.",
"The Pink monorail: Ang Thong–Pa Mok–Pak Kret MRT, or Muang Thong Thani lakeside, or Watcharaphol. Connecting to the monorail lets you reach different parts of Nonthaburi and then transfer to other rail lines."
]
}
}