1,5 → 1,5 |
<?php |
# $Id $ |
# $Id$ |
|
$Language = 'en'; |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { |
34,6 → 34,18 |
} |
$accessLogs = array_reverse($accessLogs); |
|
// Remove access before startTime |
if (isset($_GET['startTime'])) { |
$startTime = intval($_GET['startTime']); |
foreach ($accessLogs as $key => $access) { |
$timestamp = date_timestamp_get(date_create_from_format('d/m/Y H:i:s', $access->date)); |
if ($timestamp < $startTime) { |
$accessLogs = array_slice($accessLogs, 0, $key); |
break; |
} |
} |
} |
|
?> |
<!doctype html> |
<html> |