X-Git-Url: https://git.llucax.com/z.facultad/75.43/tp1.git/blobdiff_plain/271d752bc3321b73e78343ed03935dd46b5fb551..dff05914ca6f622974ed9fcbd7a6c1b0052de438:/src/admin.log.php diff --git a/src/admin.log.php b/src/admin.log.php index 7863e97..7aa4d75 100644 --- a/src/admin.log.php +++ b/src/admin.log.php @@ -20,7 +20,7 @@ p($_SESSION['user']->toHtml()); $desde = 0; $mes = date('m'); -$dia = 1; +$dia = date('d'); $anio = date('Y'); // Cargo datos que vienen por GET (si corresponde) if (isset($_GET['admin_anio']) and isset($_GET['admin_mes']) @@ -31,13 +31,14 @@ if (isset($_GET['admin_anio']) and isset($_GET['admin_mes']) $anio = intval($_GET['admin_anio']); } -if (check_fecha($anio, $mes, $dia)) $desde = mktime(0, 0, 0, $mes, $dia, $anio); +if (!isset($_GET['admin_todo']) and check_fecha($anio, $mes, $dia)) + $desde = mktime(0, 0, 0, $mes, $dia, $anio); $log = new LogMsg($_SESSION['user'], $desde); listar($log, 'admin.log.php'); admin_form_log_desde($anio, $mes, $dia); -marco_pie('Leandro Lucarella', 'llucare@fi.uba.ar'); +marco_pie('Leandro Lucarella', 'llucare@fi.uba.ar', 'img/luca.png'); ?> \ No newline at end of file