Newer
Older
Digital_Repository / Repositories / statistics / includes / inc.html.header.es.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
  <head>
<!-- 
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />  
 -->
    <title>
<?php
	// NJS 2006-06-14: Added support for multiple archives.
	print $GLOBALS["config_vars"]["general"]["repository_name"][$GLOBALS["config_vars"]["archivename"]];
	print ': Usage Statistics';
?>
	</title>
	<style type="text/css" media="screen">
@import  url(/otago.css);
@import  url(/eprints.css);
	</style>
	<style type="text/css" media="print">
@import  url(/eprints.css);
@import  url(/print.css);
	</style>
    <link rel="Top" href="/" />
    <link rel="Search" href="/perl/search" />
    <link rel="Help" href="/help" />
    
  </head>

<body class="indexbody">
    
<a name="top"></a>

<table width="725" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="3"><a href="http://www.business.otago.ac.nz/"><img name="title_banner" src="/images/header.gif" width="725" height="108" border="0" hspace="0" vspace="0" alt="" usemap="#title_bannerMap" id="title_banner" /></a></td>
	</tr>
	<tr>
		<td colspan="3" class="navstripindex">
			<table border="0" cellpadding="0" cellspacing="0" class="navstripindextable" summary="Repository user navigation">
				<tr>
					<td><a href="http://www.otago.ac.nz/"><img src="/images/spacer.gif" width="130" height="19" border="0" alt="" /></a></td>
					<td width="160"><a href="/">Home</a></td>
					<td width="160"><a href="/perl/search">Search</a></td>
					<td width="160"><a href="/view/">Browse</a></td>
					<td width="160"><a href="/perl/users/home_local">User Area</a></td>
					<td width="160">
<?php
	// NJS 2006-06-14: Made statistics link dynamic according to which
	// archive we're looking at.
	print '<a href="/es/?archive='
		. $GLOBALS["config_vars"]["archivename"]
		. '">Statistics</a>';
?>
					</td>
					<td width="160"><a href="/help/">Help</a></td>
					<td width="160"><a href="/information.html">About</a></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td><a href="http://www.otago.ac.nz/"><img name="index_r3_c1" src="/images/index_r3_c1.gif" width="235" height="13" hspace="0" vspace="0" border="0" alt="" /></a></td>
		<td colspan="2"><img src="/images/index_r3_c2.gif" alt="" name="index_r3_c2" width="490" height="13" border="0" id="index_r3_c2" /></td>
	</tr>
</table>

<table width="695" border="0" align="center">
  <tr> 
    <td align="left" valign="top">    
	    <h1>
<?php
	// NJS 2006-06-14: Added support for multiple archives.
	print $GLOBALS["config_vars"]["general"]["repository_name"][$GLOBALS["config_vars"]["archivename"]];
	print ': Usage Statistics<br />';
	print '<span style="font-size:small;color:#cccccc;">[Last updated ' .
		$sql->getLastProc() . ']</span>';
	
	if ( $GLOBALS["config_vars"]["archivename"] == 'default' )
		print '<p style="color:red;">These statistics are accumulated across <em>all</em> of the repositories hosted on this server. If you want usage statistics for a specific repository, please follow the statistics link from that repository&rsquo;s home page.</p>';
?>
</h1>