/* Jorge - frontend for mod_logdb - ejabberd server-side message archive module. Copyright (C) 2009 Zbigniew Zolkiewski This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ require_once("headers.php"); require_once("upper.php"); $html->set_body('
'.$logger_f1[$lang].' | '.$logger_f2[$lang].' | '.$logger_f3[$lang].' | '.$logger_f4[$lang].' |
'.$results[event].' | '.$results[log_time].' | '.$results[level].' | '.htmlspecialchars($ip_desc.$results[extra]).' |
'); for($i=0;$i < $nume;$i=$i+300){ if ($i!=$offset_start) { if (isset($event_id)){ $e="&e=$event_id"; } if (isset($level_id)){ $l="&l=$level_id"; } $html->set_body(' ['.$i.'] '); } else { $html->set_body(' -'.$i.'- '); } } $html->set_body(' |