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.0.1</returndoctype>" +
153
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>" +
154
           "<returnfield>dataset/title</returnfield>" +
155
           "<returnfield>dataTable/entityName</returnfield>" +
156
           "<returnfield>creator/individualName/surName</returnfield>" +
157
           "<returnfield>creator/organizationName</returnfield>" +
158
           "<returnfield>dataTable/physical/distribution/online/url</returnfield>" +
159
           "<querygroup operator=\"INTERSECT\">" +
160
             "<queryterm casesensitive=\"false\" searchmode=\"starts-with\">" +
161
               "<value>SBCLTER: Land</value>" +
162
               "<pathexpr>title</pathexpr>" +
163
             "</queryterm>" +
164
           "</querygroup>" +
165
         "</pathquery>") %>"
166
	>
167
            SBCLTER - Land
168
        </a>
169
        <br />
170

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

    
244
          </td>
245
	<td>
246
       <em>Search not yet available</em>
247

    
248

    
249

    
250

    
251
	</td>
252
        </tr>
253
     </table>
254
    </div>
255
    <!-- end search-box area -->
256

    
257

    
258

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

    
261
          <!-- end mob's 20041103 add -->
262

    
263
      </div> <!-- end content-area -->
264
     </div> <!-- end data-catalog-area -->
265

    
266
    </div>    <!-- end content -->
267
  </body>
268
</html>
(1-1/4)