Project

General

Profile

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 &lt;div id="blah" /&gt; 
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&amp;qformat=sbclter&amp;query=
149
      	<%= java.net.URLEncoder.encode(
150
	"<?xml version=\"1.0\"?>" +
151
         "<pathquery version=\"1.2\">" +
152
           "<returndoctype>eml://ecoinformatics.org/eml-2.1.0</returndoctype>" +
153
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>" +
154
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>" +
155
           "<returnfield>dataset/title</returnfield>" +
156
           "<returnfield>dataTable/entityName</returnfield>" +
157
           "<returnfield>creator/individualName/surName</returnfield>" +
158
           "<returnfield>creator/organizationName</returnfield>" +
159
           "<returnfield>dataTable/physical/distribution/online/url</returnfield>" +
160
           "<querygroup operator=\"INTERSECT\">" +
161
             "<queryterm casesensitive=\"false\" searchmode=\"starts-with\">" +
162
               "<value>SBCLTER: Land</value>" +
163
               "<pathexpr>title</pathexpr>" +
164
             "</queryterm>" +
165
           "</querygroup>" +
166
         "</pathquery>") %>"
167
	>
168
            SBCLTER - Land
169
        </a>
170
        <br />
171

    
172
	<a 
173
	href="<%= SERVLET_URL %>?action=squery&amp;qformat=sbclter&amp;query=
174
      	<%= java.net.URLEncoder.encode(
175
	"<?xml version=\"1.0\"?>" +
176
         "<pathquery version=\"1.2\">" +
177
           "<returndoctype>eml://ecoinformatics.org/eml-2.1.0</returndoctype>" +
178
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>" +
179
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>" +
180
           "<returnfield>dataset/title</returnfield>" +
181
           "<returnfield>dataTable/entityName</returnfield>" +
182
           "<returnfield>creator/individualName/surName</returnfield>" +
183
           "<returnfield>creator/organizationName</returnfield>" +
184
           "<returnfield>dataTable/physical/distribution/online/url</returnfield>" +
185
           "<querygroup operator=\"INTERSECT\">" +
186
             "<queryterm casesensitive=\"false\" searchmode=\"starts-with\">" +
187
               "<value>SBCLTER: Reef</value>" +
188
               "<pathexpr>title</pathexpr>" +
189
             "</queryterm>" +
190
           "</querygroup>" +
191
         "</pathquery>") %>"
192
	>           
193
              SBCLTER - Reef
194
        </a>
195
        <br />
196
             
197
             
198
	<a 
199
	href="<%= SERVLET_URL %>?action=squery&amp;qformat=sbclter&amp;query=
200
      	<%= java.net.URLEncoder.encode(
201
	"<?xml version=\"1.0\"?>" +
202
         "<pathquery version=\"1.2\">" +
203
           "<returndoctype>eml://ecoinformatics.org/eml-2.1.0</returndoctype>" +
204
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>" +
205
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>" +
206
           "<returnfield>dataset/title</returnfield>" +
207
           "<returnfield>dataTable/entityName</returnfield>" +
208
           "<returnfield>creator/individualName/surName</returnfield>" +
209
           "<returnfield>creator/organizationName</returnfield>" +
210
           "<returnfield>dataTable/physical/distribution/online/url</returnfield>" +
211
           "<querygroup operator=\"INTERSECT\">" +
212
             "<queryterm casesensitive=\"false\" searchmode=\"starts-with\">" +
213
               "<value>SBCLTER: Ocean</value>" +
214
               "<pathexpr>title</pathexpr>" +
215
             "</queryterm>" +
216
           "</querygroup>" +
217
         "</pathquery>") %>"
218
	>           
219
             SBCLTER - Ocean
220
        </a>
221
        <br />
222
            
223
            
224
        <a 
225
	href="<%= SERVLET_URL %>?action=squery&amp;qformat=sbclter&amp;query=
226
      	<%= java.net.URLEncoder.encode(
227
	"<?xml version=\"1.0\"?>" +
228
         "<pathquery version=\"1.2\">" +
229
           "<returndoctype>eml://ecoinformatics.org/eml-2.1.0</returndoctype>" +
230
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>" +
231
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>" +
232
           "<returnfield>dataset/title</returnfield>" +
233
           "<returnfield>dataTable/entityName</returnfield>" +
234
           "<returnfield>creator/individualName/surName</returnfield>" +
235
           "<returnfield>creator/organizationName</returnfield>" +
236
           "<returnfield>dataTable/physical/distribution/online/url</returnfield>" +
237
           "<querygroup operator=\"INTERSECT\">" +
238
             "<queryterm casesensitive=\"false\" searchmode=\"starts-with\">" +
239
               "<value>SBCLTER:</value>" +
240
               "<pathexpr>title</pathexpr>" +
241
             "</queryterm>" +
242
           "</querygroup>" +
243
         "</pathquery>") %>"
244
	>
245
             All SBCLTER Data Packages
246
        </a>
247

    
248
          </td>
249
	<td>
250
       <em>Search not yet available</em>
251

    
252

    
253

    
254

    
255
	</td>
256
        </tr>
257
     </table>
258
    </div>
259
    <!-- end search-box area -->
260

    
261

    
262

    
263
          </div>  <!-- end  content-area (starts after quick-links table) -->
264

    
265
          <!-- end mob's 20041103 add -->
266

    
267
      </div> <!-- end content-area -->
268
     </div> <!-- end data-catalog-area -->
269

    
270
    </div>    <!-- end content -->
271
  </body>
272
</html>
(1-1/4)