Project

General

Profile

1 4235 leinfelder
<%@ page    language="java" %>
2
<%
3
/**
4
 *
5
 * '$RCSfile$'
6
 * Copyright: 2008 Regents of the University of California and the
7
 *             National Center for Ecological Analysis and Synthesis
8
 *    '$Author$'
9
 *      '$Date$'
10
 * '$Revision$'
11
 *
12
 * This program is free software; you can redistribute it and/or modify
13
 * it under the terms of the GNU General Public License as published by
14
 * the Free Software Foundation; either version 2 of the License, or
15
 * (at your option) any later version.
16
 *
17
 * This program is distributed in the hope that it will be useful,
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 * GNU General Public License for more details.
21
22
 * You should have received a copy of the GNU General Public License
23
 * along with this program; if not, write to the Free Software
24
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25
 */
26
%>
27 3510 leinfelder
28 4235 leinfelder
<%@ include file="../../common/common-settings.jsp"%>
29
<%@ include file="../../common/configure-check.jsp"%>
30 4380 leinfelder
<%@page import="edu.ucsb.nceas.metacat.service.SessionService"%>
31 3510 leinfelder
32
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
33
<html>
34
<head>
35
<title>FIRST Data Repository</title>
36
<link rel="stylesheet" type="text/css"
37 4235 leinfelder
	href="<%=STYLE_SKINS_URL%>/first/first.css"></link>
38 3510 leinfelder
</head>
39
40
<body>
41
<table width="760" border="0" cellspacing="0" cellpadding="0">
42
	<tr valign="top">
43
		<td>
44 4380 leinfelder
			<img src="<%=STYLE_SKINS_URL%>/first/images/first2banner.jpg">
45 3510 leinfelder
		</td>
46
		<td>
47
			<table>
48
				<tr>
49 4380 leinfelder
					<th colspan="3" class="title">
50
						FIRST Data Repository
51
					</th>
52 3510 leinfelder
				</tr>
53
				<tr>
54 4380 leinfelder
					<td>
55
						<a href="index.jsp" target="_top">
56
						Search
57
						</a>
58 3510 leinfelder
					</td>
59 4380 leinfelder
					<!--
60 3510 leinfelder
					<td valign="top">
61 4380 leinfelder
						<p><a href="http://www.first2.org" target=_top">FIRST Site</a></p>
62 3510 leinfelder
					</td>
63 4380 leinfelder
					-->
64 3510 leinfelder
					<td valign="top">
65 4380 leinfelder
						<p><a href="about.jsp" target="_top">About</a></p>
66 3510 leinfelder
					</td>
67 4380 leinfelder
					<td>
68
						<%
69
						String[] docids =
70
							SessionService.getRegisteredSession(request.getSession().getId()).getDocumentCart().getDocids();
71
						%>
72
						<a href="cart.jsp" target="_top">
73
							Cart Items:
74
						</a>
75
							<%=docids.length %>
76
					</td>
77 3510 leinfelder
				</tr>
78
			</table>
79 4380 leinfelder
		</td>
80 3510 leinfelder
	</tr>
81
</table>
82
</body>
83
</html>