1
|
<%@ page language="java" %>
|
2
|
<%
|
3
|
/**
|
4
|
* '$RCSfile: index.jsp,v $'
|
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: cjones $'
|
10
|
* '$Date: 2004/10/07 07:24:38 $'
|
11
|
* '$Revision: 1.2 $'
|
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
|
<%
|
33
|
//* mob - created header.jsp. includes r&l logos, banner, header menu
|
34
|
//* searchbox for each page. to get the urlencoded urls from the searchbox into resultset. probably not the best way. - but could use it for other pages
|
35
|
//*/
|
36
|
%>
|
37
|
|
38
|
<%@ include file="portal_settings.jsp"%>
|
39
|
<%@ include file="include_session_vars.jsp"%>
|
40
|
<%
|
41
|
///////////////////////////////////////////////////////////////////////////////
|
42
|
// NOTE:
|
43
|
//
|
44
|
// GLOBAL CONSTANTS (SETTINGS SUCH AS METACAT URL, LDAP DOMAIN AND DEBUG
|
45
|
// SWITCH) ARE ALL IN THE INCLUDE FILE "portal_settings.jsp"
|
46
|
///////////////////////////////////////////////////////////////////////////////
|
47
|
%>
|
48
|
<?xml version="1.0" encoding="utf-8"?>
|
49
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
50
|
<html>
|
51
|
<head>
|
52
|
<title>SBCLTER Data Catalog</title>
|
53
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
54
|
<link rel="stylesheet" type="text/css"
|
55
|
href="<%=STYLE_SKINS_URL%>/sbclter/sbclter.css" />
|
56
|
</head>
|
57
|
|
58
|
<body>
|
59
|
<!--begin the header area-->
|
60
|
<!--
|
61
|
these div's must have closing elements for the css to work. Don't
|
62
|
reduce them to <div id="blah" />
|
63
|
-->
|
64
|
<div id="header">
|
65
|
<!--begin the left logo area-->
|
66
|
<div id="left_logo"></div>
|
67
|
<!--end the left logo area-->
|
68
|
<!--begin the banner area-->
|
69
|
<div id="banner">
|
70
|
<div class="header-title">
|
71
|
Santa Barbara Coastal
|
72
|
</div>
|
73
|
<div class="header-subtitle">
|
74
|
Long-Term Ecological Research
|
75
|
</div>
|
76
|
</div>
|
77
|
<!--end the banner area-->
|
78
|
<!--begin the right logo area-->
|
79
|
<div id="right_logo"></div>
|
80
|
<!--end the right logo area-->
|
81
|
</div>
|
82
|
<!--end the header area-->
|
83
|
|
84
|
<!--begin the left sidebar area-->
|
85
|
<!--
|
86
|
<div id="left_sidebar"><img src="<%=STYLE_SKINS_URL%>/sbclter/images/nav_data_catalog_white.jpg" alt="data catalog" /><img src="<%=STYLE_SKINS_URL%>/sbclter/images/nav_search_orange.jpg" alt=""/><img src="<%=STYLE_SKINS_URL%>/sbclter/images/nav_kelp.jpg" alt="" /></div>
|
87
|
-->
|
88
|
|
89
|
<!-- begin content -->
|
90
|
|
91
|
<div id="content">
|
92
|
|
93
|
<!-- this should be in header -->
|
94
|
<div class="header-menu">
|
95
|
<a class="menu" href="index.html">Home</a> |
|
96
|
<a class="menu" href="sites/index.html">Site</a> |
|
97
|
<a class="menu" href="people/index.html">People</a> |
|
98
|
<a class="menu" href="research/index.html">Research</a> |
|
99
|
<a class="menu" href="data/index.html">Data</a> |
|
100
|
<a class="menu" href="education/index.html">Education</a> |
|
101
|
<a class="menu" href="affiliates/index.html">Affiliates</a>
|
102
|
</div>
|
103
|
|
104
|
<div class="content-area">
|
105
|
|
106
|
|
107
|
<!-- begin login form area -->
|
108
|
<!--
|
109
|
<div id="loginbox">
|
110
|
<form name="loginForm" method="POST"
|
111
|
action="<%=STYLE_SKINS_URL%>/sbclter/index.jsp">
|
112
|
<label class="login"><%=loginStatus%></label>
|
113
|
<% if (!isLoggedIn) {%>
|
114
|
<label class="login" for="username">username</label>
|
115
|
<input class="login" type="text" name="username" value="<%=typedUserName%>" />
|
116
|
<label class="login" for="password">password</label>
|
117
|
<input class="login" type="password" name="password" />
|
118
|
<input type="submit" name="loginAction" value="<%=loginButtonLabel%>" class="submit" />
|
119
|
<% } else { %>
|
120
|
<input type="submit" name="loginAction" value="<%=loginButtonLabel%>" class="submit" />
|
121
|
<% } %>
|
122
|
<input type="hidden" name="action" value="login">
|
123
|
<input type="hidden" name="ldapusername" value="">
|
124
|
<input type="hidden" name="organization" value="LTER">
|
125
|
<input type="hidden" name="qformat" value="sbclter">
|
126
|
<input type="hidden" name="enableediting" value="true">
|
127
|
</form>
|
128
|
</div>
|
129
|
-->
|
130
|
<!-- end login form area -->
|
131
|
|
132
|
|
133
|
<!-- begin search box area -->
|
134
|
<div id="search-box">
|
135
|
<table class="group group_border">
|
136
|
<tr>
|
137
|
<th>
|
138
|
Data by Research group:
|
139
|
</th>
|
140
|
<th>
|
141
|
Keyword Search:
|
142
|
</th>
|
143
|
</tr>
|
144
|
|
145
|
<tr>
|
146
|
<td>
|
147
|
<a
|
148
|
href="<%= SERVLET_URL %>?action=squery&qformat=sbclter&query=
|
149
|
<%= java.net.URLEncoder.encode(
|
150
|
"<?xml version=\"1.0\"?>" +
|
151
|
"<pathquery version=\"1.2\">" +
|
152
|
"<returndoctype>eml://ecoinformatics.org/eml-2.1.1</returndoctype>" +
|
153
|
"<returndoctype>eml://ecoinformatics.org/eml-2.1.0</returndoctype>" +
|
154
|
"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>" +
|
155
|
"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>" +
|
156
|
"<returnfield>dataset/title</returnfield>" +
|
157
|
"<returnfield>dataTable/entityName</returnfield>" +
|
158
|
"<returnfield>creator/individualName/surName</returnfield>" +
|
159
|
"<returnfield>creator/organizationName</returnfield>" +
|
160
|
"<returnfield>dataTable/physical/distribution/online/url</returnfield>" +
|
161
|
"<querygroup operator=\"INTERSECT\">" +
|
162
|
"<queryterm casesensitive=\"false\" searchmode=\"starts-with\">" +
|
163
|
"<value>SBCLTER: Land</value>" +
|
164
|
"<pathexpr>title</pathexpr>" +
|
165
|
"</queryterm>" +
|
166
|
"</querygroup>" +
|
167
|
"</pathquery>") %>"
|
168
|
>
|
169
|
SBCLTER - Land
|
170
|
</a>
|
171
|
<br />
|
172
|
|
173
|
<a
|
174
|
href="<%= SERVLET_URL %>?action=squery&qformat=sbclter&query=
|
175
|
<%= java.net.URLEncoder.encode(
|
176
|
"<?xml version=\"1.0\"?>" +
|
177
|
"<pathquery version=\"1.2\">" +
|
178
|
"<returndoctype>eml://ecoinformatics.org/eml-2.1.1</returndoctype>" +
|
179
|
"<returndoctype>eml://ecoinformatics.org/eml-2.1.0</returndoctype>" +
|
180
|
"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>" +
|
181
|
"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>" +
|
182
|
"<returnfield>dataset/title</returnfield>" +
|
183
|
"<returnfield>dataTable/entityName</returnfield>" +
|
184
|
"<returnfield>creator/individualName/surName</returnfield>" +
|
185
|
"<returnfield>creator/organizationName</returnfield>" +
|
186
|
"<returnfield>dataTable/physical/distribution/online/url</returnfield>" +
|
187
|
"<querygroup operator=\"INTERSECT\">" +
|
188
|
"<queryterm casesensitive=\"false\" searchmode=\"starts-with\">" +
|
189
|
"<value>SBCLTER: Reef</value>" +
|
190
|
"<pathexpr>title</pathexpr>" +
|
191
|
"</queryterm>" +
|
192
|
"</querygroup>" +
|
193
|
"</pathquery>") %>"
|
194
|
>
|
195
|
SBCLTER - Reef
|
196
|
</a>
|
197
|
<br />
|
198
|
|
199
|
|
200
|
<a
|
201
|
href="<%= SERVLET_URL %>?action=squery&qformat=sbclter&query=
|
202
|
<%= java.net.URLEncoder.encode(
|
203
|
"<?xml version=\"1.0\"?>" +
|
204
|
"<pathquery version=\"1.2\">" +
|
205
|
"<returndoctype>eml://ecoinformatics.org/eml-2.1.1</returndoctype>" +
|
206
|
"<returndoctype>eml://ecoinformatics.org/eml-2.1.0</returndoctype>" +
|
207
|
"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>" +
|
208
|
"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>" +
|
209
|
"<returnfield>dataset/title</returnfield>" +
|
210
|
"<returnfield>dataTable/entityName</returnfield>" +
|
211
|
"<returnfield>creator/individualName/surName</returnfield>" +
|
212
|
"<returnfield>creator/organizationName</returnfield>" +
|
213
|
"<returnfield>dataTable/physical/distribution/online/url</returnfield>" +
|
214
|
"<querygroup operator=\"INTERSECT\">" +
|
215
|
"<queryterm casesensitive=\"false\" searchmode=\"starts-with\">" +
|
216
|
"<value>SBCLTER: Ocean</value>" +
|
217
|
"<pathexpr>title</pathexpr>" +
|
218
|
"</queryterm>" +
|
219
|
"</querygroup>" +
|
220
|
"</pathquery>") %>"
|
221
|
>
|
222
|
SBCLTER - Ocean
|
223
|
</a>
|
224
|
<br />
|
225
|
|
226
|
|
227
|
<a
|
228
|
href="<%= SERVLET_URL %>?action=squery&qformat=sbclter&query=
|
229
|
<%= java.net.URLEncoder.encode(
|
230
|
"<?xml version=\"1.0\"?>" +
|
231
|
"<pathquery version=\"1.2\">" +
|
232
|
"<returndoctype>eml://ecoinformatics.org/eml-2.1.1</returndoctype>" +
|
233
|
"<returndoctype>eml://ecoinformatics.org/eml-2.1.0</returndoctype>" +
|
234
|
"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>" +
|
235
|
"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>" +
|
236
|
"<returnfield>dataset/title</returnfield>" +
|
237
|
"<returnfield>dataTable/entityName</returnfield>" +
|
238
|
"<returnfield>creator/individualName/surName</returnfield>" +
|
239
|
"<returnfield>creator/organizationName</returnfield>" +
|
240
|
"<returnfield>dataTable/physical/distribution/online/url</returnfield>" +
|
241
|
"<querygroup operator=\"INTERSECT\">" +
|
242
|
"<queryterm casesensitive=\"false\" searchmode=\"starts-with\">" +
|
243
|
"<value>SBCLTER:</value>" +
|
244
|
"<pathexpr>title</pathexpr>" +
|
245
|
"</queryterm>" +
|
246
|
"</querygroup>" +
|
247
|
"</pathquery>") %>"
|
248
|
>
|
249
|
All SBCLTER Data Packages
|
250
|
</a>
|
251
|
|
252
|
</td>
|
253
|
<td>
|
254
|
<em>Search not yet available</em>
|
255
|
|
256
|
|
257
|
|
258
|
|
259
|
</td>
|
260
|
</tr>
|
261
|
</table>
|
262
|
</div>
|
263
|
<!-- end search-box area -->
|
264
|
|
265
|
|
266
|
|
267
|
</div> <!-- end content-area (starts after quick-links table) -->
|
268
|
|
269
|
<!-- end mob's 20041103 add -->
|
270
|
|
271
|
</div> <!-- end content-area -->
|
272
|
</div> <!-- end data-catalog-area -->
|
273
|
|
274
|
</div> <!-- end content -->
|
275
|
</body>
|
276
|
</html>
|