Views/Clear the Geeklog Google Analytics Files.
" . "
"; if ($action == 'Clear Google Analytics File') { unlink($fpath . $log); $timestamp = strftime( "%c" ); $fd = fopen( $fpath . $log, a ); fputs( $fd, "$timestamp - Google Analytics File Cleared \n" ); fclose($fd); $action = 'View Google Analytics File'; } if ($action == 'View Google Analytics File') { $display .= "Stats File: $log
"
. implode('', file($fpath . $log))
. "";
}
$display .= COM_endBlock() . COM_siteFooter(false);
echo $display;
?>