<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Tour & Travel</title>
</head>
<body>
    <h1>รายการทัวร์</h1>
    <!-- <ul>
        <% tours.forEach(tour => { %>
            <li><%= tour.name %> - <%= tour.location %> - $<%= tour.price %></li>
        <% }) %>
    </ul> -->
    <h2>เพิ่มทัวร์ใหม่</h2>
    <form action="/add" method="POST">
        <input type="text" name="name" placeholder="ชื่อทัวร์" required>
        <input type="text" name="location" placeholder="สถานที่" required>
        <input type="number" name="price" placeholder="ราคา" required>
        <textarea name="description" placeholder="รายละเอียด"></textarea>
        <button type="submit">เพิ่มทัวร์</button>
    </form>
</body>
</html>