Project

General

Profile

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