112 lines
4.8 KiB
PHP
112 lines
4.8 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 Transportation</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="h_name">Transportation name:</label></td>
|
|
<td style="text-align: left"><input type="text" id="h_name" name="h_name" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="t_type">Transportation type:</label></td>
|
|
<td style="text-align: left"><input type="text" id="t_type" name="t_type" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="s_city">Departure City:</label></td>
|
|
<td style="text-align: left"><input type="text" id="s_city" name="s_city" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="e_city">Destination City:</label></td>
|
|
<td style="text-align: left"><input type="text" id="e_city" name="e_city" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="s_location">Departure Location:</label></td>
|
|
<td style="text-align: left"><input type="text" id="s_location" name="s_location" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="e_location">Destination Location:</label></td>
|
|
<td style="text-align: left"><input type="text" id="e_location" name="e_location" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="s_time">Departure time:</label></td>
|
|
<td style="text-align: left"><input type="time" id="s_time" name="s_time" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="e_time">Destination time:</label></td>
|
|
<td style="text-align: left"><input type="time" id="e_time" name="e_time" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="ticket">Ticket:</label></td>
|
|
<td style="text-align: left"><input type="text" id="ticket" name="ticket" required></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" style="text-align: center"><button type="submit">Add Transportation</button></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html> |