Project

General

Profile

1
<%@ 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: perry $'
11
  *     '$Date: 2006-09-11 17:13:18 -0700 (Mon, 11 Sep 2006) $'
12
  * '$Revision: 3041 $'
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
<%
36
///////////////////////////////////////////////////////////////////////////////
37
//
38
// NOTE:
39
//
40
//  GLOBAL CONSTANTS (SETTINGS SUCH AS METACAT URL, LDAP DOMAIN	AND DEBUG
41
//  SWITCH) ARE ALL IN THE INCLUDE FILE "PORTAL_SETTINGS.jsp"
42
//
43
///////////////////////////////////////////////////////////////////////////////
44
%>
45

    
46
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
47
<html>
48
<head>
49
<title>KNB :: The Knowledge Network for Biocomplexity</title>
50
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
51
<link href="./portalpages.css" rel="stylesheet" type="text/css">
52
<script language="JavaScript" type="text/JavaScript" src="./portalpages.js"></script>
53
</head>
54

    
55
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
56
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" class="maintable">
57
  <tr>
58
    <td width="10" height="21" align="right" valign="top" class="title">&nbsp;</td>
59
    <td width="80" rowspan="2" align="center" valign="bottom" class="title"><img src="./images/KNBLogo_top.gif"></td>
60
    <td width="650" rowspan="2" align="center" valign="middle" class="title"><img src="./images/knbTitleText.gif" width="510" height="23" border="0"></td>
61
    <td width="10" height="21" align="left" valign="top" class="title">&nbsp;</td>
62
  </tr>
63
  <tr>
64
    <td width="10" align="right" valign="top" class="title">&nbsp;</td>
65
    <td width="10" align="left" valign="top" class="title">&nbsp;</td>
66
  </tr>
67
  <tr>
68
    <td width="10" align="right" valign="top"><img src="./images/transparent1x1.gif" width="10" height="3"></td>
69
    <td width="80" rowspan="2" align="center" valign="top" class="sectionheader"><img src="./images/KNBLogo_bottom.gif" width="80" height="25"></td>
70
    <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>
71
  </tr>
72
  <tr>
73
    <td width="10" align="right" valign="top" class="sectionheader">&nbsp;</td>
74
    <td colspan="2" align="center" valign="top" class="sectionheader">&nbsp;</td>
75
  </tr>
76
  <tr>
77
    <td colspan="4"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
78
        <tr>
79
          <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="text_plain">
80
              <tr>
81
                <td><p class="text_plain">The <b>Knowledge Network for Biocomplexity (KNB)</b> is a
82
                    national network intended to facilitate ecological and environmental
83
                    research on biocomplexity.
84
                    
85
                    For scientists, the KNB is an efficient way to discover, access,
86
                    interpret, integrate and analyze complex <b>ecological data</b>
87
                    from a highly-distributed set of field stations, laboratories,
88
                    research sites, and individual researchers.</p>
89
                    <div class="news">News</div>
90
                    <p class="text_plain_no_padding">Registration opened for the
91
                      <a href="<%=knbSiteUrl%>/knbworkshop.jsp">KNB Data Management 
92
                      Tools Workshop</a>, September 28-30, 2004
93
                    </p>
94
                </td>
95
              </tr>
96
            </table></td>
97
        </tr>
98
        <tr>
99
          <td class="loginStatus"><img src="images/transparent1x1.gif" width="200" height="5"></td>
100
        </tr>
101
        <tr>
102
          <td class="text_plain"><%@ include file="include_searchbox.jsp" %></td>
103
        </tr>
104
        <tr>
105
          <td class="text_plain"><%@ include file="include_map.jsp" %></td>
106
        </tr>
107
        <tr>
108
          <td><img src="images/transparent1x1.gif" width="200" height="5"></td>
109
        </tr>
110
        <tr>
111
          <td class="text_plain"><table width="100%" border="0" cellspacing="0" cellpadding="0">
112
              <tr>
113
                <td width="49%" align="center" valign="top"> <table width="365" border="0" cellspacing="0" cellpadding="0">
114
                    <tr>
115
                      <td width="10"><img src="./images/panelhead_bg_lcorner.gif" width="10" height="21"></td>
116
                      <td width="344" class="sectionheader">login &amp; registration</td>
117
                      <td width="10"><img src="./images/panelhead_bg_rcorner.gif" width="10" height="21"></td>
118
                    </tr>
119
                    <tr>
120
                      <td height="246" colspan="3" valign="top"> <table width="364" border="0" cellpadding="0" cellspacing="0" class="subpanel">
121
                          <tr>
122
                            <td width="1" rowspan="9"><img src="./images/transparent1x1.gif" width="1" height="245"></td>
123
                            <td colspan="2" class="text_plain"><a name="loginanchor"></a>Logging
124
                              into your account enables you to search any additional,
125
                              non-public data for which you may have access priviliges:<br> </br>
126
                              <%= loginStatus %></td>
127
                            <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>
128
                          </tr>
129
                          <form name="loginform" method="post" action="index.jsp" target="_top" onSubmit="return allowSubmit(this);">
130
                            <input type="hidden" name="action"  value="login">
131
                            <input type="hidden" name="ldapusername"  value="">
132
                            <input type="hidden" name="qformat" value="knb">
133
                            <input type="hidden" name="enableediting" value="true">
134
                            <tr valign="middle">
135
                              <td align="left" valign="middle" class="text_plain">username:</td>
136
                              <td width="173" align="left" class="text_plain" style="padding-top: 2px; padding-bottom: 2px;">
137
                                <input name="username" type="text" style="width: 140px;" value="<%=typedUserName%>" <%=loginEnabledDisabled%>></td>
138
                            </tr>
139
                            <tr valign="middle">
140
                              <td height="28" align="left" valign="middle" class="text_plain">organization:</td>
141
                              <td align="left" class="text_plain" style="padding-top: 2px; padding-bottom: 2px;">
142
                                <select name="organization" style="width:140px;" <%=loginEnabledDisabled%>>
143
                                  <option value=""       <%=((posted_organization.length()<1)?                 "selected":"")%>>&#8212;
144
                                  choose one &#8212;</option>
145
                                  <option value="NCEAS"        <%=((posted_organization.equalsIgnoreCase("NCEAS"))?        "selected":"")%>>NCEAS</option>
146
                                  <option value="LTER"         <%=((posted_organization.equalsIgnoreCase("LTER"))?         "selected":"")%>>LTER</option>
147
                                  <option value="UCNRS"          <%=((posted_organization.equalsIgnoreCase("UCNRS"))?          "selected":"")%>>UCNRS</option>
148
                                  <option value="PISCO"        <%=((posted_organization.equalsIgnoreCase("PISCO"))?        "selected":"")%>>PISCO</option>
149
                                  <option value="OBFS"         <%=((posted_organization.equalsIgnoreCase("OBFS"))?         "selected":"")%>>OBFS</option>
150
                                  <option value="SDSC"         <%=((posted_organization.equalsIgnoreCase("SDSC"))?         "selected":"")%>>SDSC</option>
151
                                  <option value="KU"         <%=((posted_organization.equalsIgnoreCase("KU"))?         "selected":"")%>>KU</option>
152
                                  <option value="unaffiliated" <%=((posted_organization.equalsIgnoreCase("unaffiliated"))? "selected":"")%>>unaffiliated</option>
153
                                </select></td>
154
                            </tr>
155
                            <tr valign="middle">
156
                              <td width="85" align="left" valign="middle" class="text_plain">password:</td>
157
                              <td colspan="2" align="left" class="text_plain" style="padding-top: 2px; padding-bottom: 2px;">
158
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
159
                                  <tr>
160
                                    <td width="150" align="left"> <input name="password" type="password" maxlength="50" style="width:140px;"
161
                                      value="<%=posted_password%>" <%=loginEnabledDisabled%>></td>
162
                                    <td align="center"class="<%= ((isLoggedIn)? "buttonBG_logout": "buttonBG_login") %>"><input                                      type="submit" name="loginAction" value="<%=loginButtonLabel%>" class="button_login" /></td>
163
                                    <td align="left">&nbsp;</td>
164
                                  </tr>
165
                                </table></td>
166
                            </tr>
167
                          </form>
168
                          <tr valign="middle">
169
                            <td colspan="2"><img src="./images/transparent1x1.gif" width="20" height="10"></td>
170
                            <td><img src="./images/transparent1x1.gif" width="10" height="5"></td>
171
                          </tr>
172
                          <tr valign="middle">
173
                            <td height="20">&nbsp;</td>
174
                            <td height="20" align="left"><a href="http://ldap.ecoinformatics.org/cgi-bin/ldapweb.cgi?cfg=knb" target="_blank">create
175
                              a new account</a></td>
176
                            <td height="20">&nbsp;</td>
177
                          </tr>
178
                          <tr valign="middle">
179
                            <td height="20">&nbsp;</td>
180
                            <td height="20" align="left"><a href="http://ldap.ecoinformatics.org/cgi-bin/ldapweb.cgi?stage=resetpass&cfg=knb" target="_blank">forgot
181
                              your password?</a></td>
182
                            <td height="20">&nbsp;</td>
183
                          </tr>
184
                          <tr valign="middle">
185
                            <td height="20">&nbsp;</td>
186
                            <td height="20" align="left"><a href="http://ldap.ecoinformatics.org/cgi-bin/ldapweb.cgi?stage=changepass&cfg=knb" target="_blank">change
187
                                your password</a></td>
188
                            <td height="20">&nbsp;</td>
189
                          </tr>
190
                          <tr valign="middle">
191
                            <td colspan="3"><img src="./images/transparent1x1.gif" width="20" height="2"></td>
192
                          </tr>
193
                      </table></td>
194
                    </tr>
195
                  </table></td>
196
                <td width="10">&nbsp;</td>
197
                <td width="49%" align="center" valign="top"> <table width="365" border="0" cellpadding="0" cellspacing="0">
198
                    <tr>
199
                      <td width="10"><img src="./images/panelhead_bg_lcorner.gif" width="10" height="21"></td>
200
                      <td width="344" class="sectionheader">data management</td>
201
                      <td width="10"><img src="./images/panelhead_bg_rcorner.gif" width="10" height="21"></td>
202
                    </tr>
203
                    <tr>
204
                      <td colspan="3"><table width="364" border="0" cellpadding="0" cellspacing="0" class="subpanel">
205
                          <tr valign="top">
206
                            <td width="1" rowspan="8"><img src="./images/transparent1x1.gif" width="1" height="245"></td>
207
                            <td valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
208
                                <tr class="text_plain"> 
209
                                  <td colspan="2" valign="bottom" class="text_plain"><b>Online 
210
                                    Data Registry</b><br> </td>
211
                                  <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>
212
                                </tr>
213
                                <tr class="text_plain"> 
214
                                  <td width="22" class="text_plain" valign="top"><img src="./images/blue_dots.gif" width="8" height="10"></td>
215
                                  <td width="234" class="text_plain" valign="top"><%
216
																	/***************
217
																	NOT YET USED
218
																	String registerAnchor = (isLoggedIn)?
219
																	  "<a href=\"/cgi-bin/register-dataset.cgi?cfg=knb\">" : 
220
																		 "<a href=\"#\" onclick=\"javascript:alert('You must be logged in to use the online registry!')\">";
221
																		
222
																		***********/
223
																		%> <a href="/cgi-bin/register-dataset.cgi?cfg=knb<%=((sess_sessionId!=null)? "&sessionid="+sess_sessionId: "")%>">Register 
224
                                    your dataset online</a></td>
225
                                </tr>
226
                                <tr class="text_plain"> 
227
                                  <td colspan="2" class="text_plain" valign="bottom"><b>Morpho</b> 
228
                                    is easy-to-use data management software. Use it 
229
                                    to:</td>
230
                                </tr>
231
                                <tr valign="baseline" class="text_plain"> 
232
                                  <td class="text_plain"><img src="./images/blue_dots.gif" width="8" height="10"></td>
233
                                  <td class="text_plain" colspan="2">query, view, 
234
                                    retrieve and manipulate ecological data from the 
235
                                    KNB network</td>
236
                                </tr>
237
                                <tr valign="baseline" class="text_plain"> 
238
                                  <td class="text_plain"><img src="./images/blue_dots.gif" width="8" height="10"></td>
239
                                  <td class="text_plain" colspan="2">create, view 
240
                                    and manipulate your own datasets, and specify 
241
                                    access control to manage their availability </td>
242
                                </tr>
243
                                <tr class="text_plain"> 
244
                                  <td colspan="3" align="center" style="height: 20px"> <p><a href="<%=knbSiteUrl%>/morphoportal.jsp" target="_self">Morpho: 
245
                                      more information and downloads</a></p></td>
246
                                </tr>
247
                                <tr class="text_plain"> 
248
                                  <td colspan="3" style="height: 40px" align="center"> <p><b style="margin-top: 15px">Quick 
249
                                      Download for:</b><br>
250
                                      <a href="<%=MORPHO_DOWNLOAD_LINK_WINDOWS%>">Windows</a>&nbsp;&nbsp;::&nbsp;&nbsp;<a href="<%=MORPHO_DOWNLOAD_LINK_MACOSX%>">Mac 
251
                                      OS X</a>&nbsp;&nbsp;::&nbsp;&nbsp;<a href="<%=MORPHO_DOWNLOAD_LINK_LINUX%>">Linux</a></p></td>
252
                                </tr>
253
                              </table></td>
254
                          </tr>
255
                        </table></td>
256
                    </tr>
257
                  </table></td>
258
              </tr>
259
            </table></td>
260
        </tr>
261
        <tr>
262
          <td align="right" valign="top"><img src="images/transparent1x1.gif" width="200" height="5"></td>
263
        </tr>
264
        <tr>
265
          <td class="text_plain"><table width="100%" border="0" cellspacing="0" cellpadding="0">
266
              <tr> 
267
                <td width="10" align="right" valign="top"><img src="images/panelhead_bg_lcorner.gif" width="10" height="21"></td>
268
                <td width="720" class="sectionheader">about the KNB project</td>
269
                <td width="10" align="left" valign="top"><img src="images/panelhead_bg_rcorner.gif" width="10" height="21"></td>
270
              </tr>
271
              <tr> 
272
                <td colspan="3"><table width="740" border="0" cellpadding="2" cellspacing="0" class="subpanel">
273
                    <tr align="center" valign="middle"> 
274
                      <td height="36" colspan="4" align="left" class="text_plain_smaller"><a href="<%=knbSiteUrl%>/home.html">The 
275
                        KNB Project</a> focuses on research into <a href="<%=knbSiteUrl%>/informatics">informatics</a> 
276
                        and <a href="<%=knbSiteUrl%>/biodiversity">biocomplexity</a>, through the 
277
                        development of <a href="<%=knbSiteUrl%>/software">software products</a> and 
278
                        by providing <a href="<%=knbSiteUrl%>/education">education, outreach and training</a> 
279
                      </td>
280
                    </tr>
281
                    <tr align="center" valign="middle"> 
282
                      <td colspan="2" align="left">&nbsp;</td>
283
                      <td colspan="2" align="right" class="text_plain_smaller"><a href="<%=knbSiteUrl%>/home.html">&gt;&gt; 
284
                        more information about the KNB Project... &gt;&gt;</a></td>
285
                    </tr>
286
                    <tr align="center" valign="middle"> 
287
                      <td colspan="2" align="left" class="text_plain_smaller">Sponsored 
288
                        and developed by:<br></td>
289
                      <td colspan="2" align="right">&nbsp;</td>
290
                    </tr>
291
                    <tr align="center" valign="middle"> 
292
                      <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>
293
                      <td width="25%"><a href="http://www.ttu.edu" target="_blank"><img
294
 src="images/TTUlogo_sm.gif" alt="TTU Logo" width="43" height="43" border="0" align="middle"></a></td>
295
                      <td width="25%"><a href="http://www.lternet.edu" target="_blank"><img
296
 src="images/LTERlogo_sm.gif" alt="LTER Logo" width="40" height="40" border="0" align="middle"></a></td>
297
                      <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>
298
                    </tr>
299
                    <tr align="center" valign="middle"> 
300
                      <td width="25%"><a
301
 href="http://www.nceas.ucsb.edu" target="_blank" class="text_plain_smaller">National 
302
                        Center for Ecological Analysis and Synthesis</a> </td>
303
                      <td width="25%"><a href="http://www.ttu.edu" target="_blank"
304
 class="text_plain_smaller">Texas Tech University</a> </td>
305
                      <td width="25%"><a href="http://www.lternet.edu" target="_blank"
306
 class="text_plain_smaller">Long Term Ecological Research Network</a> </td>
307
                      <td width="25%"><a href="http://www.sdsc.edu" target="_blank"
308
 class="text_plain_smaller">San Diego Supercomputer Center</a> </td>
309
                    </tr>
310
                    <tr> 
311
                      <td align="left" valign="top" class="text_example" colspan="4"><img src="./images/transparent1x1.gif" width="200" height="10"></td>
312
                    </tr>
313
                    <tr> 
314
                      <td align="left" valign="top" class="text_example" colspan="4"><a
315
 href="http://www.nsf.gov" target="_blank">National Science Foundation</a> Knowledge 
316
                        and Distributed Intelligence Program</td>
317
                    </tr>
318
                    <tr> 
319
                      <td align="left" valign="top" class="text_example" colspan="4">This 
320
                        material is based upon work supported by the National Science 
321
                        Foundation under Grant No. DEB99&#8211;80154. Any opinions, 
322
                        findings and conclusions or recomendations expressed in this 
323
                        material are those of the author(s) and do not necessarily 
324
                        reflect the views of the National Science Foundation (NSF). 
325
                      </td>
326
                    </tr>
327
                  </table> </td>
328
              </tr>
329
            </table></td>
330
        </tr>
331
      </table></td>
332
  </tr>
333
</table>
334
</td>
335
  </tr>
336
</table>
337
</body>
338
</html>
(9-9/16)