-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgetReserve.php
More file actions
41 lines (32 loc) · 1018 Bytes
/
getReserve.php
File metadata and controls
41 lines (32 loc) · 1018 Bytes
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
<?php
$q=$_GET["q"];
if($q == "Yes"){
echo "<fieldset>
<h2>Reserve Request Form</h2>
<label for='author'>Author(s)/Editor(s) *</label>
<input type='text' name='author' value='$author' size='32'> <br />
<label for='title'>Title *</label>
<input type='text' name='title' value='$title' size='32'><br />
</fieldset>
";
}
if($q == "No"){
echo "<fieldset>
<h2>Item Information</h2>
<fieldset>
<label for='type'>Material Type *</label>
<select name='type' onChange='showCD(this.value)'>
<option value=''>Select a material type</option>
<option value='BOOK'>BOOKS</option>
<option value='PERIODICAL'>PERIODICAL SUBSCRIPTION</option>
<option value='ELECTRONIC'>ELECTRONIC RESOURCE</option>
<option value='VIDEOTITLE'>VIDEO TITLE</option>
</select>
<div id='txtHelp'></div>
</fieldset>
";
}
if($q == ""){
echo 'Please indicate if this is for course reserve';
}
?>