Project

General

Profile

1 3005 costa
<%@ page language="java"%>
2
3
<!--
4
/**
5
  *  '$RCSfile$'
6
  *      Authors:     Duane Costa
7
  *      Copyright:   2005 University of New Mexico and
8
  *                   Regents of the University of California and the
9
  *                   National Center for Ecological Analysis and Synthesis
10
  *      For Details: http://www.nceas.ucsb.edu/
11
  *
12
  *   '$Author$'
13
  *     '$Date$'
14
  * '$Revision$'
15
  *
16
  * This program is free software; you can redistribute it and/or modify
17
  * it under the terms of the GNU General Public License as published by
18
  * the Free Software Foundation; either version 2 of the License, or
19
  * (at your option) any later version.
20
  *
21
  * This program is distributed in the hope that it will be useful,
22
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
  * GNU General Public License for more details.
25
  *
26
  * You should have received a copy of the GNU General Public License
27
  * along with this program; if not, write to the Free Software
28
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
29
  *
30
  */
31
-->
32
33
<%@ include file="settings.jsp"%>
34
<%@ include file="session_vars.jsp"%>
35
36
<html>
37
38
  <head>
39 3780 daigle
    <link href="<%=STYLE_SKINS_URL%>/lter/lter.css" rel="stylesheet" type="text/css">
40
    <script language="javascript" type="text/javascript" src="<%=STYLE_SKINS_URL%>/lter/lter.js"></script>
41 3005 costa
    <title>Welcome to the LTER Data Catalog</title>
42
    <%
43
      Boolean loggedIn = (Boolean) session.getAttribute("loggedIn");
44
      String loggedInMessage = "";
45
      String username = (String) session.getAttribute("username");
46
47
      if ((loggedIn == null) || (loggedIn.booleanValue() == false)) {
48
        loggedInMessage = "<p>" +
49
                          "You may search the data catalog without being " +
50
                          "<a href=\"index_login.jsp\" target=\"_top\">logged in</a> to your account, " +
51
                          "but you will have access only to <em>public</em> data." +
52
                          "</p>";
53
      }
54
      else {
55
        loggedInMessage = "<p class=\"emphasis\">" +
56
                          "Welcome, " + username + ", you are now logged in." +
57
                          "</p>";
58
      }
59
    %>
60
    <script type="text/javascript" language="Javascript1.1">
61
62
      function submitRequest(form) {
63
        var canSearch = true;
64
65
        if (form.searchValue.value == "") {
66
          canSearch =
67
             confirm("Show *all* data in the catalog?\n(This may take some time!)");
68
        }
69
70
        return canSearch;
71
      }
72
73
    </script>
74
  </head>
75
76
  <body>
77
    <table class="bdyMiddleTable" border="0" cellpadding="10" cellspacing="0">
78
      <tr>
79
        <td class="bdyMiddleTd" colspan='2'>
80
          <h1 align='center'>Welcome to the LTER Data Catalog</h1>
81
            Data are one of the most valuable products of the LTER
82
            program.  The LTER Network seeks to inform the LTER and
83
            broader scientific community by creating well designed
84
            and well documented databases and to provide fast,
85
            effective, and open access to LTER data via a network-wide
86
            information system designed to facilitate data exchange
87
            and integration. Currently, the LTER Data Catalog contains
88
            entries for over 3000 ecological datasets from 26 LTER
89
            Network research sites, in addition to numerous other
90
            ecological field stations and research instituitions.
91
        </td>
92
      </tr>
93
      <tr>
94
        <td class="bdyMiddleTd" valign='top'>
95
          <h3 align='center'>Data Catalog</h3>
96
            <%= loggedInMessage %>
97
            <form name="searchForm"
98
                  action="metacatsearchforward.jsp"
99
                  method="POST"
100
                  onsubmit="return submitRequest(this)"
101
                  target="_top">
102
              <table>
103
                <tr>
104
                  <td>&nbsp;</td>
105
                </tr>
106
                <tr>
107
                  <td>Search Term:</td>
108
                  <td><input type="text" name="searchValue"/></td>
109
                  <td>
110 3780 daigle
                    <a target="_top" href="<%=STYLE_SKINS_URL%>/lter/index_advancedsearch.jsp">Advanced Search
111 3005 costa
                    </a>
112
                  </td>
113
                </tr>
114
                <!-- Test how a document looks when displayed in an iframe with fixed height.
115
                <tr>
116 3780 daigle
                  <td><a target="_top" href="<%=STYLE_SKINS_URL%>/lter/index_document.jsp?docid=knb-lter-kbs.2486">Test Document</a></td>
117 3005 costa
                </tr>
118
                -->
119
                <tr>
120
                  <td>&nbsp;</td>
121
                  <td>
122
                    <input type="submit" value="Search"/>&nbsp;&nbsp;<input type="reset" />
123
                  </td>
124
                </tr>
125
              </table>
126
            </form>
127
        </td>
128
        <td class="bdyMiddleTd" valign='top'>
129
          <h3 align='center'>LTER Data Policies</h3>
130
            The <a href='http://www.lternet.edu/data/netpolicy.html'>
131
            LTER data policy</a> includes three specific sections
132
            designed to express shared network policies regarding
133
            the release of LTER data products, user registration for
134
            accessing data, and the licensing agreements specifying
135
            the conditions for data use.
136
137
          <h3 align='center'>Other Databases</h3>
138
            Additional information is available through these value-added data products:
139
            <ul>
140
              <li><a target="_top" href='http://www.fsl.orst.edu/climhy/'>LTER/USFS Climate / Hydrology Data</a>
141
              <li><a target="_top" href='http://intranet.lternet.edu/cgi-bin/anpp.pl'>Annual Net Primary Productivity Data</a>
142
            </ul>
143
        </td>
144
      </tr>
145
    </table>
146
  </body>
147
148
</html>