2025-06-06 17:31:03 +08:00

105 lines
4.2 KiB
PHP

<html>
<head>
<title>RoamEase</title>
<link rel="shortcut icon" href="../../icon/favicon/favicon.ico" type="image/x-icon" />
<link rel="icon" href="../../icon/favicon/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="../user/home.css?version=1" type="text/css" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
td{padding:3px;}
table{background-color:rgb(255, 255, 255,0.5);}
#div_ground {
position: absolute;
top: 100px;
left: 0px;
width: 100%;
height: 100%;
background-color:rgb(225, 240, 255);
}
#div_add {
position: absolute;
top: 25%;
left: 25%;
width: 50%;
height: 50%;
}
</style>
</head>
<body>
<header>
<div class="logo">
<a href="home.php"><img src="../../icon/favicon/logo_white.svg" alt="RoamEase"></a>
</div>
<div class="nav-links">
<a href="../seller/home.php">Home</a>
<a href="#">Search</a>
<a href="../../login/username.php">Log out</a>
</div>
</header>
<header>
<nav>
<a href="stays.php">
<img src="../../icon/header/stays.svg" alt="Stays">
</a>
<a href="transport.php">
<img src="../../icon/header/transportations.svg" alt="Transportations">
</a>
<a href="foods.php">
<img src="../../icon/header/foods.svg" alt="Foods">
</a>
<a href="attractions.php">
<img src="../../icon/header/attractions.svg" alt="Attractions">
</a>
<a href="guiding.php">
<img src="../../icon/header/guiding.svg" alt="Guiding">
</a>
</nav>
</header>
<div id="div_ground"></div>
<div id="div_add">
<form method="POST" action="">
<table style="text-align: right;border:black '1';width: 100%;height: 100%;" align="center">
<tr>
<td colspan="2"><p style="text-align: center;font-size: 30px;"><b>Add Hotel</p></td>
</tr>
<tr>
<td ><label for="h_name">Hotel name:</label></td>
<td style="text-align: left"><input type="text" id="h_name" name="h_name" required></td>
</tr>
<tr>
<td><label for="city">City:</label></td>
<td style="text-align: left"><input type="text" id="city" name="city" required></td>
</tr>
<tr>
<td><label for="location">Location:</label></td>
<td style="text-align: left"><input type="text" id="location" name="location" required></td>
</tr>
<tr>
<td><label for="roomtype">Room type:</label></td>
<td style="text-align: left"><input type="text" id="roomtype" name="roomtype" required></td>
</tr>
<tr>
<td><label for="fee">Fee:</label></td>
<td style="text-align: left"><input type="text" id="fee" name="fee" required></td>
</tr>
<tr>
<td><label for="characteristics">Characteristics:</label></td>
<td style="text-align: left"><textarea id="characteristics" name="characteristics" required></textarea></td>
</tr>
<tr>
<td><label for="description">Description:</label></td>
<td style="text-align: left"><textarea id="description" name="description" required></textarea></td>
</tr>
<tr>
<td colspan="2" style="text-align: center;"><button type="submit">Add Hotel</button></td>
</tr>
</table>
</form>
</div>
</body>
</html>