forked from nitcalicut/Sockmonkey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
accommodation.php
61 lines (54 loc) · 1.2 KB
/
accommodation.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
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE HTML>
<html>
<head>
<title>Sockmonkey</title>
<?php
include 'source.php';
echo $header;
session_start();
if($_SESSION['user']!="hospitality")
header("Location: index.php");
?>
</head>
<body>
<div id='topbar'></div>
<div id='container'>
<?php
echo $topBar;
?>
<div class="g">
<h2>Need a place to stay ? <strong></strong></h2>
<form method="post" action="src/response.accommodation.php">
<label>
<strong>Captain ID</strong>
<input type="text" placeholder="Who leads you ?" name="captid">
</label>
<label>
<strong>Items issued</strong>
<input type="text" placeholder="Comma seperated values" name="items">
</label>
<label>
<strong>Room number</strong>
<input type="text" placeholder="Room sweet room !" name="room">
</label>
<label>
<strong>Team members</strong>
<input type="text" placeholder="Comma seperated tathva ids" name="team">
</label>
<label>
<strong>Need a place to stay ?</strong>
<select name="preq">
<option value="Y">Yes, Where else ?</option>
<option value="N">Nope ! No need.</option>
</select>
</label>
<input type="submit" value="Welcome :)" name="signIn" class="g-button">
</form>
</div>
</div><!-- /container -->
<?php
echo $bottomBar;
echo $scripts;
?>
</body>
</html>