Project

General

Profile

1 3106 perry
<%@ page    language="java" %>
2
<%
3
 /**
4
  *  '$RCSfile$'
5
  *      Authors: Matt Jones, CHad Berkley
6
  *    Copyright: 2000 Regents of the University of California and the
7
  *               National Center for Ecological Analysis and Synthesis
8
  *  For Details: http://www.nceas.ucsb.edu/
9
  *
10
  *   '$Author$'
11
  *     '$Date$'
12
  * '$Revision$'
13
  *
14
  * This program is free software; you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License as published by
16
  * the Free Software Foundation; either version 2 of the License, or
17
  * (at your option) any later version.
18
  *
19
  * This program is distributed in the hope that it will be useful,
20
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
  * GNU General Public License for more details.
23
  *
24
  * You should have received a copy of the GNU General Public License
25
  * along with this program; if not, write to the Free Software
26
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27
  *
28
  * This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to
29
  * convert an XML file showing the resultset of a query
30
  * into an HTML format suitable for rendering with modern web browsers.
31
  */
32
%>
33
<%@ include file="PORTAL_SETTINGS.jsp"%>
34
<%@ include file="include_session_vars.jsp"%>
35
<%@ page import="edu.ucsb.nceas.metacat.MetaCatUtil" %>
36
37
<%
38
///////////////////////////////////////////////////////////////////////////////
39
//
40
// NOTE:
41
//
42
//  GLOBAL CONSTANTS (SETTINGS SUCH AS METACAT URL, LDAP DOMAIN	AND DEBUG
43
//  SWITCH) ARE ALL IN THE INCLUDE FILE "PORTAL_SETTINGS.jsp"
44
//
45
///////////////////////////////////////////////////////////////////////////////
46
%>
47
48
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
49
<html>
50
<head>
51
<title>KNB :: The Knowledge Network for Biocomplexity</title>
52
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
53
<link href="./portalpages.css" rel="stylesheet" type="text/css">
54
<script language="JavaScript" type="text/JavaScript" src="./portalpages.js"></script>
55
</head>
56
57
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
58
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" class="maintable">
59
  <tr>
60
    <td width="10" height="21" align="right" valign="top" class="title">&nbsp;</td>
61
    <td width="80" rowspan="2" align="center" valign="bottom" class="title"><img src="./images/KNBLogo_top.gif"></td>
62
    <td width="650" rowspan="2" align="center" valign="middle" class="title"><img src="./images/knbTitleText.gif" width="510" height="23" border="0"></td>
63
    <td width="10" height="21" align="left" valign="top" class="title">&nbsp;</td>
64
  </tr>
65
  <tr>
66
    <td width="10" align="right" valign="top" class="title">&nbsp;</td>
67
    <td width="10" align="left" valign="top" class="title">&nbsp;</td>
68
  </tr>
69
  <tr>
70
    <td width="10" align="right" valign="top"><img src="./images/transparent1x1.gif" width="10" height="3"></td>
71
    <td width="80" rowspan="2" align="center" valign="top" class="sectionheader"><img src="./images/KNBLogo_bottom.gif" width="80" height="25"></td>
72
    <td colspan="2" align="left" valign="top"><img src="./images/transparent1x1.gif" width="660" height="3"><img src="./images/transparent1x1.gif" width="1" height="1"></td>
73
  </tr>
74
  <tr>
75
    <td width="10" align="right" valign="top" class="sectionheader">&nbsp;</td>
76
    <td colspan="2" align="center" valign="top" class="sectionheader">&nbsp;</td>
77
  </tr>
78
  <tr>
79
    <td colspan="4"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
80
        <tr>
81
          <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="text_plain">
82
              <tr>
83
                <td><p class="text_plain">The <b>Knowledge Network for Biocomplexity (KNB)</b> is a
84
                    national network intended to facilitate ecological and environmental
85
                    research on biocomplexity.
86
87
                    For scientists, the KNB is an efficient way to discover, access,
88
                    interpret, integrate and analyze complex <b>ecological data</b>
89
                    from a highly-distributed set of field stations, laboratories,
90
                    research sites, and individual researchers.
91
92
93
      <table>
94
       <tr>
95
        <td width="66%">
96
		<div class="text_plain"><span id="newsHeader">News</span>
97
		<ul style="padding:1px; margin:1px;">
98
		<li>We have added a list of <a href="community.jsp">sites using KNB software</a>. </li>
99
		<li> We are now <a href="callfordata.jsp">accepting nominations</a> for the inclusion of particularly valuable ecological
100
		data sets within the KNB. </li>
101
		<li> Slides are available for the <a href="knbworkshop2.jsp">Second KNB Data Management
102
		Tools Workshop</a>, which was held February 2-4, 2005. </li>
103
		<li> Slides are available for the <a href="knbworkshop.jsp">First KNB Data Management
104
		Tools Workshop</a>, which was held September 28-30, 2004. </li>
105
		</ul>
106
		</div>
107
	</td>
108
	<td align="center" width="33%">
109
	<% if ( MetaCatUtil.getOption("runSpatialOption").equals("true") ) { %>
110
	  <a href="./index_map_only.jsp" style="border:none"><img height="120" width="240" style="background-color: #C8E5F5; border: 1px solid #ccc" src="http://indus.msi.ucsb.edu:8180/knb/wms?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=metacat:world_borders,metacat:data_bounds,metacat:data_points&SRS=EPSG:4326&BBOX=-180,-90,180,90&WIDTH=240&HEIGHT=120&FORMAT=image/gif&STYLES=&TRANSPARENT=TRUE&UNIQUEID="> <br/> <span style="font-size:8pt"> Click to View Interactive Map </span> </a>
111
	<% } %>
112
	</td>
113
	</tr>
114
      </table>
115
116
</td>
117
              </tr>
118
            </table></td>
119
        </tr>
120
        <tr>
121
          <td class="loginStatus"><img src="images/transparent1x1.gif" width="200" height="5"></td>
122
        </tr>
123
        <tr>
124
          <td class="text_plain"><%@ include file="include_searchbox.jsp" %></td>
125
        </tr>
126
127
        <tr>
128
          <td class="loginStatus"><img src="images/transparent1x1.gif" width="200" height="5"></td>
129
        </tr>
130
        <tr>
131
          <td class="text_plain"><%@ include file="include_browse.jsp" %></td>
132
        </tr>
133
134
        <tr>
135
          <td><img src="images/transparent1x1.gif" width="200" height="5"></td>
136
        </tr>
137
        <tr>
138
          <td class="text_plain"><table width="100%" border="0" cellspacing="0" cellpadding="0">
139
              <tr>
140
                <td width="49%" align="center" valign="top"> <table width="365" border="0" cellspacing="0" cellpadding="0">
141
                    <tr>
142
                      <td width="10"><img src="./images/panelhead_bg_lcorner.gif" width="10" height="21"></td>
143
                      <td width="344" class="sectionheader">login &amp; registration</td>
144
                      <td width="10"><img src="./images/panelhead_bg_rcorner.gif" width="10" height="21"></td>
145
                    </tr>
146
                    <tr>
147
                      <td height="246" colspan="3" valign="top"> <table width="364" border="0" cellpadding="0" cellspacing="0" class="subpanel">
148
                          <tr>
149
                            <td width="1" rowspan="9"><img src="./images/transparent1x1.gif" width="1" height="245"></td>
150
                            <td colspan="2" class="text_plain"><a name="loginanchor"></a>Logging
151
                              into your account enables you to search any additional,
152
                              non-public data for which you may have access priviliges:<br> </br>
153
                              <%= loginStatus %></td>
154
                            <td width="105" rowspan="3" align="right" valign="top"  style="padding-top: 5px; padding-right: 5px;"><img src="./images/pen.jpg" width="100" height="100"></td>
155
                          </tr>
156
                          <form name="loginform" method="post" action="index.jsp" target="_top" onSubmit="return allowSubmit(this);">
157
                            <input type="hidden" name="action"  value="login">
158
                            <input type="hidden" name="ldapusername"  value="">
159
                            <input type="hidden" name="qformat" value="knb">
160
                            <input type="hidden" name="enableediting" value="true">
161
                            <tr valign="middle">
162
                              <td align="left" valign="middle" class="text_plain">username:</td>
163
                              <td width="173" align="left" class="text_plain" style="padding-top: 2px; padding-bottom: 2px;">
164
                                <input name="username" type="text" style="width: 140px;" value="<%=typedUserName%>" <%=loginEnabledDisabled%>></td>
165
                            </tr>
166
                            <tr valign="middle">
167
                              <td height="28" align="left" valign="middle" class="text_plain">organization:</td>
168
                              <td align="left" class="text_plain" style="padding-top: 2px; padding-bottom: 2px;">
169
                                <select name="organization" style="width:140px;" <%=loginEnabledDisabled%>>
170
                                  <option value=""       <%=((posted_organization.length()<1)?                 "selected":"")%>>&#8212;
171
                                  choose one &#8212;</option>
172
                                  <option value="NCEAS"        <%=((posted_organization.equalsIgnoreCase("NCEAS"))?        "selected":"")%>>NCEAS</option>
173
                                  <option value="LTER"         <%=((posted_organization.equalsIgnoreCase("LTER"))?         "selected":"")%>>LTER</option>
174
                                  <option value="UCNRS"          <%=((posted_organization.equalsIgnoreCase("UCNRS"))?          "selected":"")%>>UCNRS</option>
175
                                  <option value="PISCO"        <%=((posted_organization.equalsIgnoreCase("PISCO"))?        "selected":"")%>>PISCO</option>
176
                                  <option value="OBFS"         <%=((posted_organization.equalsIgnoreCase("OBFS"))?         "selected":"")%>>OBFS</option>
177
                                  <option value="SDSC"         <%=((posted_organization.equalsIgnoreCase("SDSC"))?         "selected":"")%>>SDSC</option>
178
                                  <option value="KU"         <%=((posted_organization.equalsIgnoreCase("KU"))?         "selected":"")%>>KU</option>
179
                                  <option value="unaffiliated" <%=((posted_organization.equalsIgnoreCase("unaffiliated"))? "selected":"")%>>unaffiliated</option>
180
                                </select></td>
181
                            </tr>
182
                            <tr valign="middle">
183
                              <td width="85" align="left" valign="middle" class="text_plain">password:</td>
184
                              <td colspan="2" align="left" class="text_plain" style="padding-top: 2px; padding-bottom: 2px;">
185
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
186
                                  <tr>
187
                                    <td width="150" align="left"> <input name="password" type="password" maxlength="50" style="width:140px;"
188
                                      value="<%=posted_password%>" <%=loginEnabledDisabled%>></td>
189
                                    <td align="center"class="<%= ((isLoggedIn)? "buttonBG_logout": "buttonBG_login") %>"><input                                      type="submit" name="loginAction" value="<%=loginButtonLabel%>" class="button_login" /></td>
190
                                    <td align="left">&nbsp;</td>
191
                                  </tr>
192
                                </table></td>
193
                            </tr>
194
                          </form>
195
                          <tr valign="middle">
196
                            <td colspan="2"><img src="./images/transparent1x1.gif" width="20" height="10"></td>
197
                            <td><img src="./images/transparent1x1.gif" width="10" height="5"></td>
198
                          </tr>
199
                          <tr valign="middle">
200
                            <td height="20">&nbsp;</td>
201
                            <td height="20" align="left"><a href="http://ldap.ecoinformatics.org/cgi-bin/ldapweb.cgi?cfg=knb" target="_blank">create
202
                              a new account</a></td>
203
                            <td height="20">&nbsp;</td>
204
                          </tr>
205
                          <tr valign="middle">
206
                            <td height="20">&nbsp;</td>
207
                            <td height="20" align="left"><a href="http://ldap.ecoinformatics.org/cgi-bin/ldapweb.cgi?stage=resetpass&cfg=knb" target="_blank">forgot
208
                              your password?</a></td>
209
                            <td height="20">&nbsp;</td>
210
                          </tr>
211
                          <tr valign="middle">
212
                            <td height="20">&nbsp;</td>
213
                            <td height="20" align="left"><a href="http://ldap.ecoinformatics.org/cgi-bin/ldapweb.cgi?stage=changepass&cfg=knb" target="_blank">change
214
                                your password</a></td>
215
                            <td height="20">&nbsp;</td>
216
                          </tr>
217
                          <tr valign="middle">
218
                            <td colspan="3"><img src="./images/transparent1x1.gif" width="20" height="2"></td>
219
                          </tr>
220
                      </table></td>
221
                    </tr>
222
                  </table></td>
223
                <td width="10">&nbsp;</td>
224
                <td width="49%" align="center" valign="top"> <table width="365" border="0" cellpadding="0" cellspacing="0">
225
                    <tr>
226
                      <td width="10"><img src="./images/panelhead_bg_lcorner.gif" width="10" height="21"></td>
227
                      <td width="344" class="sectionheader">data management</td>
228
                      <td width="10"><img src="./images/panelhead_bg_rcorner.gif" width="10" height="21"></td>
229
                    </tr>
230
                    <tr>
231
                      <td colspan="3"><table width="364" border="0" cellpadding="0" cellspacing="0" class="subpanel">
232
                          <tr valign="top">
233
                            <td width="1" rowspan="8"><img src="./images/transparent1x1.gif" width="1" height="245"></td>
234
                            <td valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
235
                                <tr class="text_plain">
236
                                  <td colspan="2" valign="bottom" class="text_plain"><b>Online
237
                                    Data Registry</b><br> </td>
238
                                  <td width="105" rowspan="3" align="right" valign="top" style="padding-top: 5px; padding-right: 5px;"><img src="images/MorphoButterfly.jpg" width="100" height="100"></td>
239
                                </tr>
240
                                <tr class="text_plain">
241
                                  <td width="22" class="text_plain" valign="top"><img src="./images/blue_dots.gif" width="8" height="10"></td>
242
                                  <td width="234" class="text_plain" valign="top"><%
243
																	/***************
244
																	NOT YET USED
245
																	String registerAnchor = (isLoggedIn)?
246
																	  "<a href=\"/cgi-bin/register-dataset.cgi?cfg=knb\">" :
247
																		 "<a href=\"#\" onclick=\"javascript:alert('You must be logged in to use the online registry!')\">";
248
249
																		***********/
250
																		%> <a href="/cgi-bin/register-dataset.cgi?cfg=knb<%=((sess_sessionId!=null)? "&sessionid="+sess_sessionId: "")%>">Register
251
                                    your dataset online</a></td>
252
                                </tr>
253
                                <tr class="text_plain">
254
                                  <td colspan="2" class="text_plain" valign="bottom"><b>Morpho</b>
255
                                    is easy-to-use data management software. Use it
256
                                    to:</td>
257
                                </tr>
258
                                <tr valign="baseline" class="text_plain">
259
                                  <td class="text_plain"><img src="./images/blue_dots.gif" width="8" height="10"></td>
260
                                  <td class="text_plain" colspan="2">query, view,
261
                                    retrieve and manipulate ecological data from the
262
                                    KNB network</td>
263
                                </tr>
264
                                <tr valign="baseline" class="text_plain">
265
                                  <td class="text_plain"><img src="./images/blue_dots.gif" width="8" height="10"></td>
266
                                  <td class="text_plain" colspan="2">create, view
267
                                    and manipulate your own datasets, and specify
268
                                    access control to manage their availability </td>
269
                                </tr>
270
                                <tr class="text_plain">
271
                                  <td colspan="3" align="center" style="height: 20px"> <p><a href="<%=knbSiteUrl%>/morphoportal.jsp" target="_self">Morpho:
272
                                      more information and downloads</a></p></td>
273
                                </tr>
274
                                <tr class="text_plain">
275
                                  <td colspan="3" style="height: 40px" align="center"> <p><b style="margin-top: 15px">Quick
276
                                      Download for:</b><br>
277
                                      <a href="<%=MORPHO_DOWNLOAD_LINK_WINDOWS%>">Windows</a>&nbsp;&nbsp;::&nbsp;&nbsp;<a href="<%=MORPHO_DOWNLOAD_LINK_MACOSX%>">Mac
278
                                      OS X</a>&nbsp;&nbsp;::&nbsp;&nbsp;<a href="<%=MORPHO_DOWNLOAD_LINK_LINUX%>">Linux</a></p></td>
279
                                </tr>
280
                              </table></td>
281
                          </tr>
282
                        </table></td>
283
                    </tr>
284
                  </table></td>
285
              </tr>
286
            </table></td>
287
        </tr>
288
        <tr>
289
          <td align="right" valign="top"><img src="images/transparent1x1.gif" width="200" height="5"></td>
290
        </tr>
291
        <tr>
292
          <td class="text_plain"><table width="100%" border="0" cellspacing="0" cellpadding="0">
293
              <tr>
294
                <td width="10" align="right" valign="top"><img src="images/panelhead_bg_lcorner.gif" width="10" height="21"></td>
295
                <td width="720" class="sectionheader">about the KNB project</td>
296
                <td width="10" align="left" valign="top"><img src="images/panelhead_bg_rcorner.gif" width="10" height="21"></td>
297
              </tr>
298
              <tr>
299
                <td colspan="3"><table width="740" border="0" cellpadding="2" cellspacing="0" class="subpanel">
300
                    <tr align="center" valign="middle">
301
                      <td height="36" colspan="4" align="left" class="text_plain_smaller"><a href="<%=knbSiteUrl%>/home.html">The
302
                        KNB Project</a> focuses on research into <a href="<%=knbSiteUrl%>/informatics">informatics</a>
303
                        and <a href="<%=knbSiteUrl%>/biodiversity">biocomplexity</a>, through the
304
                        development of <a href="<%=knbSiteUrl%>/software">software products</a> and
305
                        by providing <a href="<%=knbSiteUrl%>/education">education, outreach and training</a>
306
                      </td>
307
                    </tr>
308
                    <tr align="center" valign="middle">
309
                      <td colspan="2" align="left">&nbsp;</td>
310
                      <td colspan="2" align="right" class="text_plain_smaller"><a href="<%=knbSiteUrl%>/home.html">&gt;&gt;
311
                        more information about the KNB Project... &gt;&gt;</a></td>
312
                    </tr>
313
                    <tr align="center" valign="middle">
314
                      <td colspan="2" align="left" class="text_plain_smaller">Sponsored
315
                        and developed by:<br></td>
316
                      <td colspan="2" align="right">&nbsp;</td>
317
                    </tr>
318
                    <tr align="center" valign="middle">
319
                      <td width="25%"><a href="http://www.nceas.ucsb.edu" target="_blank"><img src="images/NCEASlogo_sm.gif" width="54" height="54" border="0"></a></td>
320
                      <td width="25%"><a href="http://www.ttu.edu" target="_blank"><img
321
 src="images/TTUlogo_sm.gif" alt="TTU Logo" width="43" height="43" border="0" align="middle"></a></td>
322
                      <td width="25%"><a href="http://www.lternet.edu" target="_blank"><img
323
 src="images/LTERlogo_sm.gif" alt="LTER Logo" width="40" height="40" border="0" align="middle"></a></td>
324
                      <td width="25%"><a href="http://www.sdsc.edu" target="_blank"><img src="images/SDSClogo_sm.gif" width="98" height="37" border="0"></a></td>
325
                    </tr>
326
                    <tr align="center" valign="middle">
327
                      <td width="25%"><a
328
 href="http://www.nceas.ucsb.edu" target="_blank" class="text_plain_smaller">National
329
                        Center for Ecological Analysis and Synthesis</a> </td>
330
                      <td width="25%"><a href="http://www.ttu.edu" target="_blank"
331
 class="text_plain_smaller">Texas Tech University</a> </td>
332
                      <td width="25%"><a href="http://www.lternet.edu" target="_blank"
333
 class="text_plain_smaller">Long Term Ecological Research Network</a> </td>
334
                      <td width="25%"><a href="http://www.sdsc.edu" target="_blank"
335
 class="text_plain_smaller">San Diego Supercomputer Center</a> </td>
336
                    </tr>
337
                    <tr>
338
                      <td align="left" valign="top" class="text_example" colspan="4"><img src="./images/transparent1x1.gif" width="200" height="10"></td>
339
                    </tr>
340
                    <tr>
341
                      <td align="left" valign="top" class="text_example" colspan="4"><a
342
 href="http://www.nsf.gov" target="_blank">National Science Foundation</a> Knowledge
343
                        and Distributed Intelligence Program</td>
344
                    </tr>
345
                    <tr>
346
                      <td align="left" valign="top" class="text_example" colspan="4">This
347
                        material is based upon work supported by the National Science
348
                        Foundation under Grant No. DEB99&#8211;80154. Any opinions,
349
                        findings and conclusions or recomendations expressed in this
350
                        material are those of the author(s) and do not necessarily
351
                        reflect the views of the National Science Foundation (NSF).
352
                      </td>
353
                    </tr>
354
                  </table> </td>
355
              </tr>
356
            </table></td>
357
        </tr>
358
      </table></td>
359
  </tr>
360
</table>
361
</td>
362
  </tr>
363
</table>
364
</body>
365
</html>