Project

General

Profile

1 4158 daigle
<%@ page    language="java"  import="java.util.Vector,edu.ucsb.nceas.metacat.util.OrganizationUtil"%>
2 2211 jones
<%
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 5031 daigle
<%@ page import="edu.ucsb.nceas.metacat.properties.PropertyService" %>
36 3097 perry
37 4080 daigle
<%
38 4158 daigle
	Vector<String> organizationList = OrganizationUtil.getOrganizations();
39 4080 daigle
%>
40
41 2211 jones
<%
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.</p>
95 3106 perry
96
			<div><span id="newsHeader">News</span>
97
			<ul>
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
108 2211 jones
                </td>
109
              </tr>
110
            </table></td>
111
        </tr>
112
        <tr>
113
          <td class="loginStatus"><img src="images/transparent1x1.gif" width="200" height="5"></td>
114
        </tr>
115
        <tr>
116
          <td class="text_plain"><%@ include file="include_searchbox.jsp" %></td>
117
        </tr>
118 3097 perry
119 4178 daigle
	<% if ( PropertyService.getProperty("spatial.runSpatialOption").equals("true") ) { %>
120 2211 jones
        <tr>
121 3041 perry
          <td class="text_plain"><%@ include file="include_map.jsp" %></td>
122
        </tr>
123 3097 perry
	<% } %>
124
125 3041 perry
        <tr>
126 3106 perry
          <td class="loginStatus"><img src="images/transparent1x1.gif" width="200" height="5"></td>
127
        </tr>
128
        <tr>
129
          <td class="text_plain"><%@ include file="include_browse.jsp" %></td>
130
        </tr>
131
132
        <tr>
133 2211 jones
          <td><img src="images/transparent1x1.gif" width="200" height="5"></td>
134
        </tr>
135
        <tr>
136
          <td class="text_plain"><table width="100%" border="0" cellspacing="0" cellpadding="0">
137
              <tr>
138
                <td width="49%" align="center" valign="top"> <table width="365" border="0" cellspacing="0" cellpadding="0">
139
                    <tr>
140
                      <td width="10"><img src="./images/panelhead_bg_lcorner.gif" width="10" height="21"></td>
141
                      <td width="344" class="sectionheader">login &amp; registration</td>
142
                      <td width="10"><img src="./images/panelhead_bg_rcorner.gif" width="10" height="21"></td>
143
                    </tr>
144
                    <tr>
145
                      <td height="246" colspan="3" valign="top"> <table width="364" border="0" cellpadding="0" cellspacing="0" class="subpanel">
146
                          <tr>
147
                            <td width="1" rowspan="9"><img src="./images/transparent1x1.gif" width="1" height="245"></td>
148
                            <td colspan="2" class="text_plain"><a name="loginanchor"></a>Logging
149
                              into your account enables you to search any additional,
150
                              non-public data for which you may have access priviliges:<br> </br>
151
                              <%= loginStatus %></td>
152
                            <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>
153
                          </tr>
154
                          <form name="loginform" method="post" action="index.jsp" target="_top" onSubmit="return allowSubmit(this);">
155
                            <input type="hidden" name="action"  value="login">
156
                            <input type="hidden" name="ldapusername"  value="">
157
                            <input type="hidden" name="qformat" value="knb">
158
                            <input type="hidden" name="enableediting" value="true">
159
                            <tr valign="middle">
160
                              <td align="left" valign="middle" class="text_plain">username:</td>
161
                              <td width="173" align="left" class="text_plain" style="padding-top: 2px; padding-bottom: 2px;">
162
                                <input name="username" type="text" style="width: 140px;" value="<%=typedUserName%>" <%=loginEnabledDisabled%>></td>
163
                            </tr>
164
                            <tr valign="middle">
165
                              <td height="28" align="left" valign="middle" class="text_plain">organization:</td>
166
                              <td align="left" class="text_plain" style="padding-top: 2px; padding-bottom: 2px;">
167
                                <select name="organization" style="width:140px;" <%=loginEnabledDisabled%>>
168
                                  <option value=""       <%=((posted_organization.length()<1)?                 "selected":"")%>>&#8212;
169
                                  choose one &#8212;</option>
170 4080 daigle
<%
171
							for (String orgName : organizationList) {
172
%>
173
                                  <option value="<%= orgName %>"        <%=((posted_organization.equalsIgnoreCase(orgName))?        "selected":"")%>><%= orgName %></option>
174
<%
175
							}
176
%>
177 2211 jones
                                </select></td>
178
                            </tr>
179
                            <tr valign="middle">
180
                              <td width="85" align="left" valign="middle" class="text_plain">password:</td>
181
                              <td colspan="2" align="left" class="text_plain" style="padding-top: 2px; padding-bottom: 2px;">
182
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
183
                                  <tr>
184
                                    <td width="150" align="left"> <input name="password" type="password" maxlength="50" style="width:140px;"
185
                                      value="<%=posted_password%>" <%=loginEnabledDisabled%>></td>
186
                                    <td align="center"class="<%= ((isLoggedIn)? "buttonBG_logout": "buttonBG_login") %>"><input                                      type="submit" name="loginAction" value="<%=loginButtonLabel%>" class="button_login" /></td>
187
                                    <td align="left">&nbsp;</td>
188
                                  </tr>
189
                                </table></td>
190
                            </tr>
191
                          </form>
192
                          <tr valign="middle">
193
                            <td colspan="2"><img src="./images/transparent1x1.gif" width="20" height="10"></td>
194
                            <td><img src="./images/transparent1x1.gif" width="10" height="5"></td>
195
                          </tr>
196
                          <tr valign="middle">
197
                            <td height="20">&nbsp;</td>
198 8526 tao
                            <td height="20" align="left"><a href="<%=USER_MANAGEMENT_URL%>" target="_blank">Need an account? Forgot password?</a></td>
199 2211 jones
                            <td height="20">&nbsp;</td>
200
                          </tr>
201
                          <tr valign="middle">
202
                            <td colspan="3"><img src="./images/transparent1x1.gif" width="20" height="2"></td>
203
                          </tr>
204
                      </table></td>
205
                    </tr>
206
                  </table></td>
207
                <td width="10">&nbsp;</td>
208
                <td width="49%" align="center" valign="top"> <table width="365" border="0" cellpadding="0" cellspacing="0">
209
                    <tr>
210
                      <td width="10"><img src="./images/panelhead_bg_lcorner.gif" width="10" height="21"></td>
211
                      <td width="344" class="sectionheader">data management</td>
212
                      <td width="10"><img src="./images/panelhead_bg_rcorner.gif" width="10" height="21"></td>
213
                    </tr>
214
                    <tr>
215
                      <td colspan="3"><table width="364" border="0" cellpadding="0" cellspacing="0" class="subpanel">
216
                          <tr valign="top">
217
                            <td width="1" rowspan="8"><img src="./images/transparent1x1.gif" width="1" height="245"></td>
218
                            <td valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
219
                                <tr class="text_plain">
220
                                  <td colspan="2" valign="bottom" class="text_plain"><b>Online
221
                                    Data Registry</b><br> </td>
222
                                  <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>
223
                                </tr>
224
                                <tr class="text_plain">
225
                                  <td width="22" class="text_plain" valign="top"><img src="./images/blue_dots.gif" width="8" height="10"></td>
226
                                  <td width="234" class="text_plain" valign="top"><%
227
																	/***************
228
																	NOT YET USED
229
																	String registerAnchor = (isLoggedIn)?
230
																	  "<a href=\"/cgi-bin/register-dataset.cgi?cfg=knb\">" :
231
																		 "<a href=\"#\" onclick=\"javascript:alert('You must be logged in to use the online registry!')\">";
232
233
																		***********/
234
																		%> <a href="/cgi-bin/register-dataset.cgi?cfg=knb<%=((sess_sessionId!=null)? "&sessionid="+sess_sessionId: "")%>">Register
235
                                    your dataset online</a></td>
236
                                </tr>
237
                                <tr class="text_plain">
238
                                  <td colspan="2" class="text_plain" valign="bottom"><b>Morpho</b>
239
                                    is easy-to-use data management software. Use it
240
                                    to:</td>
241
                                </tr>
242
                                <tr valign="baseline" class="text_plain">
243
                                  <td class="text_plain"><img src="./images/blue_dots.gif" width="8" height="10"></td>
244
                                  <td class="text_plain" colspan="2">query, view,
245
                                    retrieve and manipulate ecological data from the
246
                                    KNB network</td>
247
                                </tr>
248
                                <tr valign="baseline" class="text_plain">
249
                                  <td class="text_plain"><img src="./images/blue_dots.gif" width="8" height="10"></td>
250
                                  <td class="text_plain" colspan="2">create, view
251
                                    and manipulate your own datasets, and specify
252
                                    access control to manage their availability </td>
253
                                </tr>
254
                                <tr class="text_plain">
255
                                  <td colspan="3" align="center" style="height: 20px"> <p><a href="<%=knbSiteUrl%>/morphoportal.jsp" target="_self">Morpho:
256
                                      more information and downloads</a></p></td>
257
                                </tr>
258
                                <tr class="text_plain">
259
                                  <td colspan="3" style="height: 40px" align="center"> <p><b style="margin-top: 15px">Quick
260
                                      Download for:</b><br>
261
                                      <a href="<%=MORPHO_DOWNLOAD_LINK_WINDOWS%>">Windows</a>&nbsp;&nbsp;::&nbsp;&nbsp;<a href="<%=MORPHO_DOWNLOAD_LINK_MACOSX%>">Mac
262
                                      OS X</a>&nbsp;&nbsp;::&nbsp;&nbsp;<a href="<%=MORPHO_DOWNLOAD_LINK_LINUX%>">Linux</a></p></td>
263
                                </tr>
264
                              </table></td>
265
                          </tr>
266
                        </table></td>
267
                    </tr>
268
                  </table></td>
269
              </tr>
270
            </table></td>
271
        </tr>
272
        <tr>
273
          <td align="right" valign="top"><img src="images/transparent1x1.gif" width="200" height="5"></td>
274
        </tr>
275
        <tr>
276
          <td class="text_plain"><table width="100%" border="0" cellspacing="0" cellpadding="0">
277
              <tr>
278 2214 jones
                <td width="10" align="right" valign="top"><img src="images/panelhead_bg_lcorner.gif" width="10" height="21"></td>
279 2211 jones
                <td width="720" class="sectionheader">about the KNB project</td>
280 2214 jones
                <td width="10" align="left" valign="top"><img src="images/panelhead_bg_rcorner.gif" width="10" height="21"></td>
281 2211 jones
              </tr>
282
              <tr>
283
                <td colspan="3"><table width="740" border="0" cellpadding="2" cellspacing="0" class="subpanel">
284
                    <tr align="center" valign="middle">
285
                      <td height="36" colspan="4" align="left" class="text_plain_smaller"><a href="<%=knbSiteUrl%>/home.html">The
286
                        KNB Project</a> focuses on research into <a href="<%=knbSiteUrl%>/informatics">informatics</a>
287
                        and <a href="<%=knbSiteUrl%>/biodiversity">biocomplexity</a>, through the
288
                        development of <a href="<%=knbSiteUrl%>/software">software products</a> and
289
                        by providing <a href="<%=knbSiteUrl%>/education">education, outreach and training</a>
290
                      </td>
291
                    </tr>
292
                    <tr align="center" valign="middle">
293
                      <td colspan="2" align="left">&nbsp;</td>
294
                      <td colspan="2" align="right" class="text_plain_smaller"><a href="<%=knbSiteUrl%>/home.html">&gt;&gt;
295
                        more information about the KNB Project... &gt;&gt;</a></td>
296
                    </tr>
297
                    <tr align="center" valign="middle">
298
                      <td colspan="2" align="left" class="text_plain_smaller">Sponsored
299
                        and developed by:<br></td>
300
                      <td colspan="2" align="right">&nbsp;</td>
301
                    </tr>
302
                    <tr align="center" valign="middle">
303
                      <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>
304
                      <td width="25%"><a href="http://www.ttu.edu" target="_blank"><img
305
 src="images/TTUlogo_sm.gif" alt="TTU Logo" width="43" height="43" border="0" align="middle"></a></td>
306
                      <td width="25%"><a href="http://www.lternet.edu" target="_blank"><img
307
 src="images/LTERlogo_sm.gif" alt="LTER Logo" width="40" height="40" border="0" align="middle"></a></td>
308
                      <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>
309
                    </tr>
310
                    <tr align="center" valign="middle">
311
                      <td width="25%"><a
312
 href="http://www.nceas.ucsb.edu" target="_blank" class="text_plain_smaller">National
313
                        Center for Ecological Analysis and Synthesis</a> </td>
314
                      <td width="25%"><a href="http://www.ttu.edu" target="_blank"
315
 class="text_plain_smaller">Texas Tech University</a> </td>
316
                      <td width="25%"><a href="http://www.lternet.edu" target="_blank"
317
 class="text_plain_smaller">Long Term Ecological Research Network</a> </td>
318
                      <td width="25%"><a href="http://www.sdsc.edu" target="_blank"
319
 class="text_plain_smaller">San Diego Supercomputer Center</a> </td>
320
                    </tr>
321
                    <tr>
322
                      <td align="left" valign="top" class="text_example" colspan="4"><img src="./images/transparent1x1.gif" width="200" height="10"></td>
323
                    </tr>
324
                    <tr>
325
                      <td align="left" valign="top" class="text_example" colspan="4"><a
326
 href="http://www.nsf.gov" target="_blank">National Science Foundation</a> Knowledge
327
                        and Distributed Intelligence Program</td>
328
                    </tr>
329
                    <tr>
330
                      <td align="left" valign="top" class="text_example" colspan="4">This
331
                        material is based upon work supported by the National Science
332
                        Foundation under Grant No. DEB99&#8211;80154. Any opinions,
333
                        findings and conclusions or recomendations expressed in this
334
                        material are those of the author(s) and do not necessarily
335
                        reflect the views of the National Science Foundation (NSF).
336
                      </td>
337
                    </tr>
338
                  </table> </td>
339
              </tr>
340
            </table></td>
341
        </tr>
342
      </table></td>
343
  </tr>
344
</table>
345
</td>
346
  </tr>
347
</table>
348
</body>
349
</html>