-
Notifications
You must be signed in to change notification settings - Fork 0
/
reserve-guest.frm
31 lines (30 loc) · 966 Bytes
/
reserve-guest.frm
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
<p><span class="alert" style="font-size: 1.4em;">To reserve a room, you must select a guest already registered with us, or create a new guest record.</span></p>
<div id="toggleForm" style="display: block">
<h2>Select from previous guest list</h2>
<form action="<? echo $_SERVER['PHP_SELF']; ?>" method="POST">
<input type="hidden" name="activity" value="Request room">
<input type="hidden" name="form_action" value="reserve">
<? include('guests-list.sql'); ?>
<input type="submit" value="Make reservation" class="menuItem">
</form>
</div>
<h1>
<a id="displayText" href="javascript:toggle();" class="fauxLink"><strong>OR add guest</strong></a>
</h1>
<div id="toggleText" style="display: none">
<h2>Fill out and submit new guest form</h2>
<?
$activity="Request room";
$form_action="add";
$db_lastName="";
$db_firstName="";
$db_guestID="";
$db_residence="";
$db_address1="";
$db_address2="";
$db_city="";
$db_country="";
$db_email="";
include('guests.frm');
?>
</div>