1
|
<%
|
2
|
/**
|
3
|
* '$RCSfile$'
|
4
|
* Authors: Matt Jones, CHad Berkley
|
5
|
* Copyright: 2000 Regents of the University of California and the
|
6
|
* National Center for Ecological Analysis and Synthesis
|
7
|
* For Details: http://www.nceas.ucsb.edu/
|
8
|
*
|
9
|
* '$Author: jones $'
|
10
|
* '$Date: 2004-07-13 14:28:32 -0700 (Tue, 13 Jul 2004) $'
|
11
|
* '$Revision: 2214 $'
|
12
|
*
|
13
|
* This program is free software; you can redistribute it and/or modify
|
14
|
* it under the terms of the GNU General Public License as published by
|
15
|
* the Free Software Foundation; either version 2 of the License, or
|
16
|
* (at your option) any later version.
|
17
|
*
|
18
|
* This program is distributed in the hope that it will be useful,
|
19
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
21
|
* GNU General Public License for more details.
|
22
|
*
|
23
|
* You should have received a copy of the GNU General Public License
|
24
|
* along with this program; if not, write to the Free Software
|
25
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
26
|
*
|
27
|
* This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to
|
28
|
* convert an XML file showing the resultset of a query
|
29
|
* into an HTML format suitable for rendering with modern web browsers.
|
30
|
*/
|
31
|
%>
|
32
|
<!-- *********************** START SEARCHBOX TABLE ************************* -->
|
33
|
<table width="740" border="0" cellspacing="0" cellpadding="0">
|
34
|
<tr>
|
35
|
<td width="10" align="right" valign="top"><img src="images/panelhead_bg_lcorner.gif" width="10" height="21"></td>
|
36
|
<td width="720" class="sectionheader">search for data on the
|
37
|
KNB</td>
|
38
|
<td width="10" align="left" valign="top"><img src="images/panelhead_bg_rcorner.gif" width="10" height="21"></td>
|
39
|
</tr>
|
40
|
<tr>
|
41
|
<td colspan="3"> <table width="740" border="0" cellpadding="0" cellspacing="0" class="subpanel">
|
42
|
<tr>
|
43
|
<td colspan="2"></td>
|
44
|
</tr>
|
45
|
<tr valign="baseline">
|
46
|
<td colspan="2"><form action="<%=METACAT_URL%>" name="searchForm"
|
47
|
method="post" target="_top" onSubmit="return allowSearch(this);">
|
48
|
<%=sessionidField%> <%=SIMPLE_SEARCH_METACAT_POST_FIELDS%>
|
49
|
<table width="100%" border="0" cellpadding="5" cellspacing="0">
|
50
|
<tr>
|
51
|
<td width="94" rowspan="2" align="left" valign="top"><img src="images/search.jpg" width="94" height="80"></td>
|
52
|
<td colspan="2" valign="middle" class="text_example"><p> <%= loginStatus %>  (<a href="index.jsp#loginanchor" target="_top"><%=loginButtonLabel%></a>). You may search the KNB without
|
53
|
being logged into your account, but will have access only
|
54
|
to "public" data (see "login & registration")<br></br>
|
55
|
Enter a search phrase (e.g. biodiversity) to search for
|
56
|
data sets in the KNB, or click "advanced search "
|
57
|
to enter more-detailed search criteria, or simply browse
|
58
|
by category using the links below.</p></td>
|
59
|
</tr>
|
60
|
<tr valign="middle">
|
61
|
<td align="right" class="searchcat"> <input type="text" name="anyfield" size="30" maxlength="200">
|
62
|
</td>
|
63
|
<td width="365" align="left" class="searchcat"> <input type="submit" value="Search KNB">
|
64
|
<a href="advancedsearch.jsp" target="_top">
|
65
|
» advanced search «</a></td>
|
66
|
</tr>
|
67
|
</table>
|
68
|
</form></td>
|
69
|
</tr>
|
70
|
<%
|
71
|
/*
|
72
|
US Geography
|
73
|
------------
|
74
|
Northeast, Southeast, South, Midwest, Northwest, Southwest, Pacific Ocean, Atlantic Ocean,
|
75
|
Great Lakes, (could also list states here)
|
76
|
*/
|
77
|
%>
|
78
|
<tr>
|
79
|
<td width="375" class="searchcat">Taxonomy</td>
|
80
|
<td width="365" class="searchcat">Measurements</td>
|
81
|
</tr>
|
82
|
<tr valign="top">
|
83
|
<td width="375" class="searchsubcat"> <a href="#" onClick="keywordSearch(document.searchForm, 'amphibian')" class="searchsubcat">Amphibian,</a>
|
84
|
<a href="#" onClick="keywordSearch(document.searchForm, 'bird')" class="searchsubcat">Bird,</a>
|
85
|
<a href="#" onClick="keywordSearch(document.searchForm, 'fish')" class="searchsubcat">Fish,</a>
|
86
|
<a href="#" onClick="keywordSearch(document.searchForm, 'fungus')" class="searchsubcat">Fungus,</a>
|
87
|
<a href="#" onClick="keywordSearch(document.searchForm, 'invertebrate')" class="searchsubcat">Invertebrate,</a>
|
88
|
<a href="#" onClick="keywordSearch(document.searchForm, 'mammal')" class="searchsubcat">Mammal,</a>
|
89
|
<a href="#" onClick="keywordSearch(document.searchForm, 'microbe')" class="searchsubcat">Microbe,</a>
|
90
|
<a href="#" onClick="keywordSearch(document.searchForm, 'plant')" class="searchsubcat">Plant,</a>
|
91
|
<a href="#" onClick="keywordSearch(document.searchForm, 'reptile')" class="searchsubcat">Reptile,</a>
|
92
|
<a href="#" onClick="keywordSearch(document.searchForm, 'virus')" class="searchsubcat">Virus</a></td>
|
93
|
<td width="365" class="searchsubcat"> <a href="#" onClick="keywordSearch(document.searchForm, 'biomass')" class="searchsubcat">Biomass,</a>
|
94
|
<a href="#" onClick="keywordSearch(document.searchForm, 'carbon')" class="searchsubcat">Carbon,</a>
|
95
|
<a href="#" onClick="keywordSearch(document.searchForm, 'chlorophyll')" class="searchsubcat">Chlorophyll,</a>
|
96
|
<a href="#" onClick="keywordSearch(document.searchForm, 'gis')" class="searchsubcat">GIS,</a>
|
97
|
<a href="#" onClick="keywordSearch(document.searchForm, 'nitrate')" class="searchsubcat">Nitrate,</a>
|
98
|
<a href="#" onClick="keywordSearch(document.searchForm, 'nutrient')" class="searchsubcat">Nutrients,</a>
|
99
|
<a href="#" onClick="keywordSearch(document.searchForm, 'precipitation')" class="searchsubcat">Precipitation,</a>
|
100
|
<a href="#" onClick="keywordSearch(document.searchForm, 'temperature')" class="searchsubcat">Temperature,</a>
|
101
|
<a href="#" onClick="keywordSearch(document.searchForm, 'radiation')" class="searchsubcat">Radiation,</a>
|
102
|
<a href="#" onClick="keywordSearch(document.searchForm, 'weather')" class="searchsubcat">Weather</a>
|
103
|
</tr>
|
104
|
<tr>
|
105
|
<td width="375"> </td>
|
106
|
<td width="365" class="searchsubcat"> </tr>
|
107
|
<tr>
|
108
|
<td width="375" class="searchcat">Level of Organization</td>
|
109
|
<td width="365" class="searchcat">Evolution</td>
|
110
|
</tr>
|
111
|
<tr valign="top">
|
112
|
<td width="375" class="searchsubcat"> <a href="#" onClick="keywordSearch(document.searchForm, 'molecul')" class="searchsubcat">Molecule,</a>
|
113
|
<a href="#" onClick="keywordSearch(document.searchForm, 'cell')" class="searchsubcat">Cell,</a>
|
114
|
<a href="#" onClick="keywordSearch(document.searchForm, 'organism')" class="searchsubcat">Organism,</a>
|
115
|
<a href="#" onClick="keywordSearch(document.searchForm, 'population')" class="searchsubcat">Population,</a>
|
116
|
<a href="#" onClick="keywordSearch(document.searchForm, 'community')" class="searchsubcat">Community,</a>
|
117
|
<a href="#" onClick="keywordSearch(document.searchForm, 'landscape')" class="searchsubcat">Landscape,</a>
|
118
|
<a href="#" onClick="keywordSearch(document.searchForm, 'ecosystem')" class="searchsubcat">Ecosystem,</a>
|
119
|
<a href="#" onClick="keywordSearch(document.searchForm, 'global')" class="searchsubcat">Global</a></td>
|
120
|
<td width="365" class="searchsubcat"> <a href="#" onClick="keywordSearch(document.searchForm, 'adaptation')" class="searchsubcat">Adaptation,</a>
|
121
|
<a href="#" onClick="keywordSearch(document.searchForm, 'evolution')" class="searchsubcat">Evolution,</a>
|
122
|
<a href="#" onClick="keywordSearch(document.searchForm, 'extinct')" class="searchsubcat">Extinction,</a>
|
123
|
<a href="#" onClick="keywordSearch(document.searchForm, 'genetics')" class="searchsubcat">Genetics,</a>
|
124
|
<a href="#" onClick="keywordSearch(document.searchForm, 'mutation')" class="searchsubcat">Mutation,</a>
|
125
|
<a href="#" onClick="keywordSearch(document.searchForm, 'selection')" class="searchsubcat">Selection,</a>
|
126
|
<a href="#" onClick="keywordSearch(document.searchForm, 'speciation')" class="searchsubcat">Speciation,</a>
|
127
|
<a href="#" onClick="keywordSearch(document.searchForm, 'survival')" class="searchsubcat">Survival</a></td>
|
128
|
</tr>
|
129
|
<tr>
|
130
|
<td width="375"> </td>
|
131
|
<td width="365"> </td>
|
132
|
</tr>
|
133
|
<tr>
|
134
|
<td width="375" class="searchcat">Ecology</td>
|
135
|
<td width="365" class="searchcat">Habitat</td>
|
136
|
</tr>
|
137
|
<tr valign="top">
|
138
|
<td width="375" class="searchsubcat"> <a href="#" onClick="keywordSearch(document.searchForm, 'biodiversity')" class="searchsubcat">Biodiversity,</a>
|
139
|
<a href="#" onClick="keywordSearch(document.searchForm, 'competition')" class="searchsubcat">Competition,</a>
|
140
|
<a href="#" onClick="keywordSearch(document.searchForm, 'decomposition')" class="searchsubcat">Decomposition,</a>
|
141
|
<a href="#" onClick="keywordSearch(document.searchForm, 'disturbance')" class="searchsubcat">Disturbance,</a>
|
142
|
<a href="#" onClick="keywordSearch(document.searchForm, 'endangered species')" class="searchsubcat">Endangered
|
143
|
Species,</a> <a href="#" onClick="keywordSearch(document.searchForm, 'herbivory')" class="searchsubcat">Herbivory,</a>
|
144
|
<a href="#" onClick="keywordSearch(document.searchForm, 'invasive species')" class="searchsubcat">Invasive
|
145
|
Species,</a> <a href="#" onClick="keywordSearch(document.searchForm, 'nutrient cycling')" class="searchsubcat">Nutrient
|
146
|
Cycling,</a> <a href="#" onClick="keywordSearch(document.searchForm, 'parasitism')" class="searchsubcat">Parasitism,</a>
|
147
|
<a href="#" onClick="keywordSearch(document.searchForm, 'population dynamics')" class="searchsubcat">Population
|
148
|
Dynamics,</a> <a href="#" onClick="keywordSearch(document.searchForm, 'predation')" class="searchsubcat">Predation,</a>
|
149
|
<a href="#" onClick="keywordSearch(document.searchForm, 'productivity')" class="searchsubcat">Productivity,</a>
|
150
|
<a href="#" onClick="keywordSearch(document.searchForm, 'succession')" class="searchsubcat">Succession,</a>
|
151
|
<a href="#" onClick="keywordSearch(document.searchForm, 'symbiosis')" class="searchsubcat">Symbiosis,</a>
|
152
|
<a href="#" onClick="keywordSearch(document.searchForm, 'trophic dynamics')" class="searchsubcat">Trophic
|
153
|
Dynamics</a></td>
|
154
|
<td width="365" class="searchsubcat"> <a href="#" onClick="keywordSearch(document.searchForm, 'alpine')" class="searchsubcat">Alpine,</a>
|
155
|
<a href="#" onClick="keywordSearch(document.searchForm, 'freshwater')" class="searchsubcat">Freshwater,</a>
|
156
|
<a href="#" onClick="keywordSearch(document.searchForm, 'benthic')" class="searchsubcat">Benthic,</a>
|
157
|
<a href="#" onClick="keywordSearch(document.searchForm, 'desert')" class="searchsubcat">Desert,</a>
|
158
|
<a href="#" onClick="keywordSearch(document.searchForm, 'estuar')" class="searchsubcat">Estuary,</a>
|
159
|
<a href="#" onClick="keywordSearch(document.searchForm, 'forest')" class="searchsubcat">Forest,</a>
|
160
|
<a href="#" onClick="keywordSearch(document.searchForm, 'grassland')" class="searchsubcat">Grassland,</a>
|
161
|
<a href="#" onClick="keywordSearch(document.searchForm, 'marine')" class="searchsubcat">Marine,</a>
|
162
|
<a href="#" onClick="keywordSearch(document.searchForm, 'montane')" class="searchsubcat">Montane,</a>
|
163
|
<a href="#" onClick="keywordSearch(document.searchForm, 'terrestrial')" class="searchsubcat">Terrestrial,</a>
|
164
|
<a href="#" onClick="keywordSearch(document.searchForm, 'tundra')" class="searchsubcat">Tundra,</a>
|
165
|
<a href="#" onClick="keywordSearch(document.searchForm, 'urban')" class="searchsubcat">Urban,</a>
|
166
|
<a href="#" onClick="keywordSearch(document.searchForm, 'wetland')" class="searchsubcat">Wetland</a></td>
|
167
|
</tr>
|
168
|
<tr>
|
169
|
<td width="375"> </td>
|
170
|
<td width="365"> </td>
|
171
|
</tr>
|
172
|
</table></td>
|
173
|
</tr>
|
174
|
</table>
|
175
|
<!-- ************************* END SEARCHBOX TABLE ************************* -->
|