Newer
Older
Digital_Repository / Repositories / statistics / includes / inc.fns.cumulative_usage.es.php
  1. <?php
  2. /*
  3. Usage by dates, totals.
  4.  
  5. */
  6. // Consider different date ranges.
  7. $id = '';
  8. if(isset($_REQUEST["id"])) { $id = $_REQUEST["id"]; }
  9. /* -----------------------------------------------------------
  10. Altered lookups and merge
  11. (c) Copyright 2004 Arthur Sale University of Tasmania
  12. ----------------------------------------------------------- */
  13. $month_downloads = $sql->getCumulativeUsageType($id,'download');
  14. $month_abstracts = $sql->getCumulativeUsageType($id,'abstract');
  15. $GLOBALS["db_values"] = merge_dates($month_abstracts,$month_downloads);
  16. // $debug->setDebug($GLOBALS["db_values"],__LINE__,__FILE__,'','','');
  17.  
  18. ?>