- Added intelligent navigation bars.
- Made all paths relative.
1 parent 5f5e3cc commit 3be579c922983bf2eb8066446748697a91a80e85
nstanger authored on 27 Nov 2005
Showing 10 changed files
View
20
Repositories/statistics/includes/inc.fns.navbar.es.php 0 → 100755
<?php
function outputNavBar($link_list)
{
foreach ($link_list as $key1 => $link)
{
print "[";
if (!$link["match"])
{
print '<a href="' . $link["href"] . '">';
}
print $link["text"];
if (!$link["match"])
{
print "</a>";
}
print "] ";
}
}
?>
View
23
Repositories/statistics/includes/inc.html.cumulative_usage.es.php
<?php
$current_year = date("Y");
$last_year = date("Y")-1;
require("inc.html.navbar_global.es.php");
?>
<h3>Abstract views and document downloads by month/year</h3>
 
<p>Most viewed eprints:
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=show_detail_date;range=4w">Past four weeks</a>]
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=show_detail_date;year=<?php print $current_year; ?>">This year</a>]
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=show_detail_date;year=<?php print $last_year; ?>">Last year</a>]
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=show_detail_date">All years</a>]
<br />Repository-wide statistics:
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=cumulative_usage;range=all">by Year/month</a>]
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=cumulative_usage_country">by Country</a>]
</p>
<h3>Abstract views and document downloads by year/month</h3>
 
<?php
$max_count = $GLOBALS["db_values"][0]["abstracts"];
for ($rs=0;$rs<count($GLOBALS["db_values"]);$rs++)
{
View
15
Repositories/statistics/includes/inc.html.cumulative_usage_country.es.php
<?php
$current_year = date("Y");
$last_year = date("Y")-1;
require("inc.html.navbar_global.es.php");
?>
 
<h3>Abstract views and document downloads by country (derived from IP address of query)</h3>
 
<p>Most viewed eprints:
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=show_detail_date;range=4w">Past four weeks</a>]
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=show_detail_date;year=<?php print $current_year; ?>">This year</a>]
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=show_detail_date;year=<?php print $last_year; ?>">Last year</a>]
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=show_detail_date">All years</a>]
<br />Repository-wide statistics:
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=cumulative_usage;range=all">by Year/month</a>]
[<a href="<?php print $_SERVER['PHP_SELF']; ?>?action=cumulative_usage_country">by Country</a>]
</p>
 
<?php
$max_width=500;
View
14
Repositories/statistics/includes/inc.html.footer.es.php
<table width="725" border="0" align="center">
<tr>
<td class="footer">
<p>
<a href="http://eprints.otago.ac.nz/">Home</a> |
<a href="http://eprints.otago.ac.nz/perl/search">Search</a> |
<a href="http://eprints.otago.ac.nz/view/">Browse</a> |
<a href="http://eprints.otago.ac.nz/perl/users/home">User Area</a> |
<a href="http://eprints.otago.ac.nz/perl/register">Register</a> |
<a href="http://eprints.otago.ac.nz/help/">Help</a> |
<a href="http://eprints.otago.ac.nz/information.html">About</a>
<a href="/">Home</a> |
<a href="/perl/search">Search</a> |
<a href="/view/">Browse</a> |
<a href="/perl/users/home">User Area</a> |
<a href="/perl/register">Register</a> |
<a href="/help/">Help</a> |
<a href="/information.html">About</a>
</p>
</td>
</tr>
</table>
View
36
Repositories/statistics/includes/inc.html.header.es.php
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
-->
<title>University of Otago School of Business Pilot Repository - Statistics</title>
<style type="text/css" media="screen">
@import url(http://eprints.otago.ac.nz/otago.css);
@import url(http://eprints.otago.ac.nz/eprints.css);
@import url(/otago.css);
@import url(/eprints.css);
</style>
<style type="text/css" media="print">
@import url(http://eprints.otago.ac.nz/eprints.css);
@import url(http://eprints.otago.ac.nz/print.css);
@import url(/eprints.css);
@import url(/print.css);
</style>
<link rel="Top" href="http://eprints.otago.ac.nz/" />
<link rel="Search" href="http://eprints.otago.ac.nz/perl/search" />
<link rel="Help" href="http://eprints.otago.ac.nz/help" />
<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="http://eprints.otago.ac.nz/images/header.gif" width="725" height="108" border="0" hspace="0" vspace="0" alt="" usemap="#title_bannerMap" id="title_banner" /></a></td>
<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="http://eprints.otago.ac.nz/images/spacer.gif" width="130" height="19" border="0" alt="" /></a></td>
<td width="160"><a href="http://eprints.otago.ac.nz/">Home</a></td>
<td width="160"><a href="http://eprints.otago.ac.nz/perl/search">Search</a></td>
<td width="160"><a href="http://eprints.otago.ac.nz/view/">Browse</a></td>
<td width="160"><a href="http://eprints.otago.ac.nz/perl/users/home">User Area</a></td>
<td width="160"><a href="http://eprints.otago.ac.nz/perl/register">Register</a></td>
<td width="160"><a href="http://eprints.otago.ac.nz/help/">Help</a></td>
<td width="160"><a href="http://eprints.otago.ac.nz/information.html">About</a></td>
<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">User Area</a></td>
<td width="160"><a href="/perl/register">Register</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="http://eprints.otago.ac.nz/images/index_r3_c1.gif" width="235" height="13" hspace="0" vspace="0" border="0" alt="" /></a></td>
<td colspan="2"><img src="http://eprints.otago.ac.nz/images/index_r3_c2.gif" alt="" name="index_r3_c2" width="490" height="13" border="0" id="index_r3_c2" /></td>
<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">
View
Repositories/statistics/includes/inc.html.navbar_eprint.es.php 0 → 100755
View
Repositories/statistics/includes/inc.html.navbar_global.es.php 0 → 100755
View
Repositories/statistics/includes/inc.html.pub_default.es.php
View
Repositories/statistics/includes/inc.html.show_detail_date.es.php
View
Repositories/statistics/includes/inc.html.show_detail_eprint.es.php