-
Notifications
You must be signed in to change notification settings - Fork 0
/
selecttime.php
executable file
·48 lines (44 loc) · 1.1 KB
/
selecttime.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<title>AuctionBase</title>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css"/>
</head>
<body>
<div class="container">
<div class="row-fluid">
<div class="span2">
<h3>hey</h3>
</div>
<div class="span10">
<?php
include ('./navbar.php');
?>
<center>
<h3> Select a Time </h3>
<?php
$MM = $_POST["MM"];
$dd = $_POST["dd"];
$yyyy = $_POST["yyyy"];
$HH = $_POST["HH"];
$mm = $_POST["mm"];
$ss = $_POST["ss"];
$entername = htmlspecialchars($_POST["entername"]);
if($_POST["MM"]) {
$selectedtime = $yyyy."-".$MM."-".$dd." ".$HH.":".$mm.":".$ss;
echo "<center> (Hello, ".$entername.". Previously selected time was: ".$selectedtime.".)</center>";
}
echo "<br/>";
echo "<center>Please select a new time:</center>";
?>
<form method="POST" action="selecttime.php">
<?php
include ('./timetable.html');
?>
</form>
</center>
</div>
</div>
</div>
</body>
</html>