-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_game.php
169 lines (137 loc) · 5.48 KB
/
create_game.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<?php require_once('header.php'); ?>
<div class="container">
<h2>Hosting a Game</h2><p> </p><p> </p>
<form class="form-horizontal">
<h3>Supply Parameters</h3> <p> </p>
<fieldset>
<div class="control-group">
<label class="control-label" for="select01">Number of Groups</label>
<div class="controls">
<select class="span1" id="select01">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="appendedPrependedInput">Hotel's Marginal Cost</label>
<div class="controls">
<div class="input-prepend input-append">
<span class="add-on">$</span><input class="span1" id="appendedPrependedInput" size="16" type="text"><span class="add-on">.00</span>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="appendedPrependedInput">Hotel's Fixed Cost</label>
<div class="controls">
<div class="input-prepend input-append">
<span class="add-on">$</span><input class="span1" id="appendedPrependedInput" size="16" type="text"><span class="add-on">.00</span>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="appendedPrependedInput">Hotel's Capacity</label>
<div class="controls">
<div class="input-prepend input-append">
<input class="span1" id="appendedPrependedInput" size="16" type="text">
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="appendedPrependedInput">Fee charged by Expedia</label>
<div class="controls">
<div class="input-prepend input-append">
<span class="add-on">$</span><input class="span1" id="appendedPrependedInput" size="16" type="text"><span class="add-on">.00</span>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="appendedPrependedInput">Fee charged by Priceline</label>
<div class="controls">
<div class="input-prepend input-append">
<span class="add-on">$</span><input class="span1" id="appendedPrependedInput" size="16" type="text"><span class="add-on">.00</span>
</div>
</div>
</div>
<h3>Demand Parameters</h3>
<p> </p>
<div class="control-group">
<label class="control-label" for="appendedPrependedInput">Low Season: Lower Bound</label>
<div class="controls">
<div class="input-append">
<input class="span1" id="appendedPrependedInput" size="16" type="text"><span class="add-on">%</span>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="appendedPrependedInput">Low Season: Upper Bound</label>
<div class="controls">
<div class="input-append">
<input class="span1" id="appendedPrependedInput" size="16" type="text"><span class="add-on">%</span>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="appendedPrependedInput">High Season: Lower Bound</label>
<div class="controls">
<div class="input-append">
<input class="span1" id="appendedPrependedInput" size="16" type="text"><span class="add-on">%</span>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="appendedPrependedInput">High Season: Upper Bound</label>
<div class="controls">
<div class="input-append">
<input class="span1" id="appendedPrependedInput" size="16" type="text"><span class="add-on">%</span>
</div>
</div>
</div>
<h3>Game Info</h3>
<p> </p>
<div class="control-group">
<label class="control-label">Game Type</label>
<div class="controls">
<label class="radio">
<input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked="">
Option 1: Simple Pricing
</label>
<label class="radio">
<input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
Option 2: Opaque and Transparent Pricing
</label>
</div>
</div>
<div class="control-group">
<label class="control-label" for="appendedPrependedInput">Number of Rounds</label>
<div class="controls">
<div class="input-prepend input-append">
<input class="span1" id="appendedPrependedInput" size="16" type="text">
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="dp1">Deadline</label>
<div class="controls">
<div class="input-append date" id="dp1" data-date="12-02-2012" data-date-format="dd-mm-yyyy">
<input class="span2" size="16" type="text" value="12-02-2012">
<span class="add-on"><i class="icon-th"></i></span>
</div>
</div>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary">Host a game</button>
<button class="btn" >Cancel</button>
</div>
</fieldset>
</form>
</div> <!-- /container -->
<?php require_once('footer.php'); ?>