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

    
39

    
40
<%@ include file="portal_settings.jsp"%>
41
<%@ include file="include_session_vars.jsp"%>
42
<%
43
///////////////////////////////////////////////////////////////////////////////
44
// NOTE:
45
//
46
//  GLOBAL CONSTANTS (SETTINGS SUCH AS METACAT URL, LDAP DOMAIN	AND DEBUG
47
//  SWITCH) ARE ALL IN THE INCLUDE FILE "portal_settings.jsp"
48
///////////////////////////////////////////////////////////////////////////////
49
%>
50
<?xml version="1.0" encoding="utf-8"?>
51
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
52
<html>
53
  <head>
54
    <title>SBCLTER Data Catalog</title>
55
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
56
    <link rel="stylesheet" type="text/css"
57
          href="@style-skins-path@/@default-style@/@default-style@.css" />
58
  </head>
59

    
60
  <body>
61
    <!--begin the header area-->
62
    <!--
63
      these div's must have closing elements for the css to work. Don't
64
      reduce them to &lt;div id="blah" /&gt; 
65
    -->
66
    <div id="header">
67
      <!--begin the left logo area-->
68
      <div id="left_logo"></div>
69
      <!--end the left logo area-->
70
      <!--begin the banner area-->
71
      <div id="banner">
72
        <div class="header-title">
73
          Santa Barbara Coastal
74
        </div>
75
        <div class="header-subtitle">
76
          Long-Term Ecological Research
77
        </div>
78
      </div>
79
      <!--end the banner area-->
80
      <!--begin the right logo area-->
81
      <div id="right_logo"></div>
82
      <!--end the right logo area-->
83
    </div>
84
    <!--end the header area-->
85

    
86
    <!--begin the left sidebar area-->
87
    <!--
88
    <div id="left_sidebar"><img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_data_catalog_white.jpg" alt="data catalog" /><img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_search_orange.jpg" alt=""/><img src="@systemidserver@@style-skins-path@/@default-style@/images/nav_kelp.jpg" alt="" /></div>
89
    -->
90
   
91
    <!-- begin content -->
92
   
93
    <div id="content">
94

    
95
      <!-- this should be in header -->
96
      <div class="header-menu">
97
        <a class="menu" href="index.html">Home</a> |
98
        <a class="menu" href="sites/index.html">Site</a> |
99
        <a class="menu" href="people/index.html">People</a> |
100
        <a class="menu" href="research/index.html">Research</a> |
101
        <a class="menu" href="data/index.html">Data</a> |
102
        <a class="menu" href="education/index.html">Education</a> |
103
        <a class="menu" href="affiliates/index.html">Affiliates</a>
104
      </div>                                                  
105

    
106
      <div class="content-area">
107

    
108

    
109
      <!-- begin login form area -->
110
      <!--
111
      <div id="loginbox">
112
        <form name="loginForm" method="POST" 
113
          action="@systemidserver@@style-skins-path@/@default-style@/index.jsp">
114
          <label class="login"><%=loginStatus%></label>
115
          <% if (!isLoggedIn) {%> 
116
          <label class="login" for="username">username</label>
117
          <input class="login" type="text" name="username" value="<%=typedUserName%>" />
118
          <label class="login" for="password">password</label>
119
          <input class="login" type="password" name="password" />
120
          <input type="submit" name="loginAction" value="<%=loginButtonLabel%>" class="submit" />
121
          <% } else { %>
122
          <input type="submit" name="loginAction" value="<%=loginButtonLabel%>" class="submit" />
123
          <% } %>
124
          <input type="hidden" name="action" value="login">
125
          <input type="hidden" name="ldapusername"  value="">
126
          <input type="hidden" name="organization"  value="LTER">
127
          <input type="hidden" name="qformat" value="@default-style@">
128
          <input type="hidden" name="enableediting" value="true">
129
        </form> 
130
      </div>
131
      -->
132
      <!-- end login form area -->
133

    
134

    
135
      <!-- begin search box area -->
136
     <div id="search-box">
137
      <table class="group group_border">
138
        <tr>
139
         <th>
140
            Data by Research group:
141
          </th> 
142
          <th>
143
            Keyword Search:
144
          </th>
145
        </tr>
146

    
147
        <tr>
148
        <td>
149
	<a 
150
	href="@systemidserver@@servlet-path@?action=squery&amp;qformat=@default-style@&amp;query=
151
      	<%= java.net.URLEncoder.encode(
152
	"<?xml version=\"1.0\"?>" +
153
         "<pathquery version=\"1.2\">" +
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="@systemidserver@@servlet-path@?action=squery&amp;qformat=@default-style@&amp;query=
175
      	<%= java.net.URLEncoder.encode(
176
	"<?xml version=\"1.0\"?>" +
177
         "<pathquery version=\"1.2\">" +
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="@systemidserver@@servlet-path@?action=squery&amp;qformat=@default-style@&amp;query=
200
      	<%= java.net.URLEncoder.encode(
201
	"<?xml version=\"1.0\"?>" +
202
         "<pathquery version=\"1.2\">" +
203
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>" +
204
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>" +
205
           "<returnfield>dataset/title</returnfield>" +
206
           "<returnfield>dataTable/entityName</returnfield>" +
207
           "<returnfield>creator/individualName/surName</returnfield>" +
208
           "<returnfield>creator/organizationName</returnfield>" +
209
           "<returnfield>dataTable/physical/distribution/online/url</returnfield>" +
210
           "<querygroup operator=\"INTERSECT\">" +
211
             "<queryterm casesensitive=\"false\" searchmode=\"starts-with\">" +
212
               "<value>SBCLTER: Ocean</value>" +
213
               "<pathexpr>title</pathexpr>" +
214
             "</queryterm>" +
215
           "</querygroup>" +
216
         "</pathquery>") %>"
217
	>           
218
             SBCLTER - Ocean
219
        </a>
220
        <br />
221
            
222
            
223
        <a 
224
	href="@systemidserver@@servlet-path@?action=squery&amp;qformat=@default-style@&amp;query=
225
      	<%= java.net.URLEncoder.encode(
226
	"<?xml version=\"1.0\"?>" +
227
         "<pathquery version=\"1.2\">" +
228
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>" +
229
           "<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>" +
230
           "<returnfield>dataset/title</returnfield>" +
231
           "<returnfield>dataTable/entityName</returnfield>" +
232
           "<returnfield>creator/individualName/surName</returnfield>" +
233
           "<returnfield>creator/organizationName</returnfield>" +
234
           "<returnfield>dataTable/physical/distribution/online/url</returnfield>" +
235
           "<querygroup operator=\"INTERSECT\">" +
236
             "<queryterm casesensitive=\"false\" searchmode=\"starts-with\">" +
237
               "<value>SBCLTER:</value>" +
238
               "<pathexpr>title</pathexpr>" +
239
             "</queryterm>" +
240
           "</querygroup>" +
241
         "</pathquery>") %>"
242
	>
243
             All SBCLTER Data Packages
244
        </a>
245

    
246
          </td>
247
	<td>
248
       <em>Search not yet available</em>
249

    
250

    
251

    
252

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

    
259

    
260

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

    
263
          <!-- end mob's 20041103 add -->
264

    
265
      </div> <!-- end content-area -->
266
     </div> <!-- end data-catalog-area -->
267

    
268
    </div>    <!-- end content -->
269
  </body>
270
</html>
(1-1/4)