Newer
Older
Digital_Repository / Repositories / statistics / includes / inc.fns.cumulative_usage.es.php
<?php
/*
	Usage by dates, totals.

*/
	// Consider different date ranges.
	$id = '';
	if(isset($_REQUEST["id"])) { $id = $_REQUEST["id"]; }
/* -----------------------------------------------------------
	Altered lookups and merge
	(c) Copyright 2004 Arthur Sale University of Tasmania
----------------------------------------------------------- */
	$month_downloads = $sql->getCumulativeUsageType($id,'download');
	$month_abstracts = $sql->getCumulativeUsageType($id,'abstract');
	$GLOBALS["db_values"] = merge_dates($month_abstracts,$month_downloads);
//	$debug->setDebug($GLOBALS["db_values"],__LINE__,__FILE__,'','','');

?>