';
} else {
$data[6] = '';
}
$data[6] .= print_timestamp ($module["utimestamp"], true);
$data[6] .= '';
if ($module["estado"] != 100) {
array_push ($table->data, $data);
//Monitor modules go on $table
} else {
array_push ($table_data->data, $data);
//Data modules go on $table_data
}
}
if (empty ($table->data)) {
echo ''.__('This agent doesn\'t have any active monitors').'
';
} else {
echo "".__('Full list of Monitors')."
";
print_table ($table);
}
if (empty ($table_data->data)) {
echo ''.__('This agent doesn\'t have any active data modules').'
';
} else {
echo "".__('Full list of Data Modules')."
";
print_table ($table_data);
}
unset ($table);
unset ($table_data);
?>