Updated data.php to use date quarry arguments.  e.g. data.php?before=Y-M-D&after=Y-M-D