2011-03-17 19:12:03 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// Pandora FMS - http://pandorafms.com
|
|
|
|
// ==================================================
|
|
|
|
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
|
|
|
|
// Please see http://pandorafms.org for full contribution list
|
|
|
|
|
|
|
|
// 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 for version 2.
|
|
|
|
// 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.
|
|
|
|
|
|
|
|
global $result;
|
|
|
|
|
|
|
|
$table->width = "98%";
|
|
|
|
$table->class = "databox";
|
|
|
|
|
|
|
|
$table->head[0] = __('Description');
|
|
|
|
$table->head[1] = __('User');
|
|
|
|
$table->head[2] = __('Date');
|
|
|
|
|
|
|
|
$table->data = array();
|
|
|
|
|
2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form.php,
godmode/servers/plugin.php, operation/search_users.getdata.php,
operation/visual_console/render_view.php,
operation/events/events_marquee.php,
operation/events/events_list.php,
operation/snmpconsole/snmp_view.php,
operation/gis_maps/render_view.php,
operation/integria_incidents/incident.files.php,
operation/integria_incidents/incident.tracking.php,
operation/integria_incidents/incident.list.php: fixed the old refr
access for the config instead the get var.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 18:32:18 +02:00
|
|
|
if (isset($result['tracking'][0]) && is_array($result['tracking'][0])) {
|
2011-03-17 19:12:03 +01:00
|
|
|
$tracking = $result['tracking'];
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$tracking = $result;
|
|
|
|
}
|
|
|
|
|
|
|
|
$row = 0;
|
2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form.php,
godmode/servers/plugin.php, operation/search_users.getdata.php,
operation/visual_console/render_view.php,
operation/events/events_marquee.php,
operation/events/events_list.php,
operation/snmpconsole/snmp_view.php,
operation/gis_maps/render_view.php,
operation/integria_incidents/incident.files.php,
operation/integria_incidents/incident.tracking.php,
operation/integria_incidents/incident.list.php: fixed the old refr
access for the config instead the get var.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 18:32:18 +02:00
|
|
|
foreach ($tracking as $value) {
|
2011-03-17 19:12:03 +01:00
|
|
|
|
|
|
|
$table->data[$row][0] = $value['description'];
|
|
|
|
$table->data[$row][1] = $value['id_user'];
|
|
|
|
$table->data[$row][2] = $value['timestamp'];
|
|
|
|
$row++;
|
|
|
|
}
|
|
|
|
|
2011-04-27 15:43:31 +02:00
|
|
|
html_print_table($table);
|
2011-03-17 19:12:03 +01:00
|
|
|
|
|
|
|
?>
|