<?php /* Usage by countries */ /* -----------------------merge_countries----------------------- */ // NJS 2006-06-14: Added archive name as argument. $country_downloads = $sql->getCumulativeUsageCountryType($GLOBALS["config_vars"]["archivename"],"download"); $country_abstracts = $sql->getCumulativeUsageCountryType($GLOBALS["config_vars"]["archivename"],"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__,'','',''); ?>