1 |
dpavlin |
1 |
<?php |
2 |
|
|
// Load globals |
3 |
|
|
require_once ("global_vars.php"); |
4 |
|
|
|
5 |
|
|
|
6 |
|
|
// Includes |
7 |
|
|
require_once ("db_connect.php"); |
8 |
|
|
require_once ("public_controls.php"); |
9 |
|
|
|
10 |
|
|
|
11 |
|
|
// HTML header |
12 |
|
|
printf("<HTML>\n"); |
13 |
|
|
printf("<HEAD>\n"); |
14 |
|
|
printf("<title>Research QuickStart: Select a Subject</title>\n"); |
15 |
|
|
print "<link rel=\"stylesheet\" href=\"libdata.css\" type=\"text/css\">\n"; |
16 |
|
|
printf("</HEAD>\n"); |
17 |
|
|
|
18 |
|
|
printf("<center>\n"); |
19 |
|
|
require_once("header.phtml"); |
20 |
|
|
?> |
21 |
|
|
|
22 |
|
|
<table width="75%" class="backLight" border="1" cellpadding="3"> |
23 |
|
|
<tr> |
24 |
|
|
<td class="cellPlain"> |
25 |
|
|
Select a Subject |
26 |
|
|
</td> |
27 |
|
|
</tr> |
28 |
|
|
|
29 |
|
|
<tr> |
30 |
|
|
<td> |
31 |
|
|
<br> |
32 |
|
|
<b> |
33 |
|
|
<a href="subjects.phtml">A-Z</a> or |
34 |
|
|
<?php printAlphabet(" ", "subjects.phtml"); ?> |
35 |
|
|
</b> |
36 |
|
|
<br><br> |
37 |
|
|
|
38 |
|
|
<form method="GET" action="rqs.phtml"> |
39 |
|
|
<select size="7" name="subject_id"> |
40 |
|
|
<?php dropDownFieldOmit($con, "subject", "subject", "subject_id", "WHERE SUBJECT_ID > 1 AND rqs_published = 1 |
41 |
|
|
AND subject LIKE '$letter%'"); ?> |
42 |
|
|
</select><br><br> |
43 |
|
|
<input type="submit" value ="Submit"> |
44 |
|
|
</form> |
45 |
|
|
</td> |
46 |
|
|
</tr> |
47 |
|
|
</table> |
48 |
|
|
|
49 |
|
|
<?php |
50 |
|
|
require_once ("footer.phtml"); |
51 |
|
|
?> |
52 |
|
|
|