Newer
Older
Digital_Repository / Repositories / statistics / includes / inc.fns.cumulative_usage_country.es.php
<?php
/*
	Usage by countries
*/
/* -----------------------merge_countries----------------------- */
	$country_downloads = $sql->getCumulativeUsageCountryType("download");
	$country_abstracts = $sql->getCumulativeUsageCountryType("abstract");
	
	// NJS 2006-01-18: Calculate total number of countries.
	$total_download_countries = count($country_downloads);
	$total_abstract_countries = count($country_abstracts);
	
	$GLOBALS["db_values"] = merge_countries($country_abstracts,$country_downloads);
//	$debug->setDebug($GLOBALS["db_values"],__LINE__,__FILE__,'','','');

?>