Project

General

Profile

1
<%@ 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: leinfelder $'
9
 *      '$Date: 2008-09-23 16:43:46 -0700 (Tue, 23 Sep 2008) $'
10
 * '$Revision: 4380 $'
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

    
28
<%@ include file="../../common/common-settings.jsp"%>
29
<%@ include file="../../common/configure-check.jsp"%>
30
<%@page import="edu.ucsb.nceas.metacat.service.SessionService"%>
31

    
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
	href="<%=STYLE_SKINS_URL%>/first/first.css"></link>
38
</head>
39

    
40
<body>
41
<table width="760" border="0" cellspacing="0" cellpadding="0">
42
	<tr valign="top">
43
		<td>
44
			<img src="<%=STYLE_SKINS_URL%>/first/images/first2banner.jpg">	
45
		</td>
46
		<td>
47
			<table>
48
				<tr>
49
					<th colspan="3" class="title">
50
						FIRST Data Repository
51
					</th>
52
				</tr>
53
				<tr>
54
					<td>
55
						<a href="index.jsp" target="_top">
56
						Search	
57
						</a>
58
					</td>
59
					<!--
60
					<td valign="top">
61
						<p><a href="http://www.first2.org" target=_top">FIRST Site</a></p>
62
					</td>
63
					-->
64
					<td valign="top">
65
						<p><a href="about.jsp" target="_top">About</a></p>
66
					</td>
67
					<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
				</tr>
78
			</table>
79
		</td>
80
	</tr>
81
</table>		
82
</body>
83
</html>
(11-11/13)