'.__('Group').' | ';
echo '';
print_select (get_user_groups (), "ag_group", $ag_group, 'this.form.submit();',
'', '0', false, false, false, 'w130');
echo " | ";
echo "".__('Monitor status')." | ";
$fields = array ();
$fields[0] = __('Normal'); //default
$fields[1] = __('Warning');
$fields[2] = __('Critical');
$fields[3] = __('Unknown');
$fields[4] = __('Not normal');
$fields[5] = __('Not init');
print_select ($fields, "status", $status, 'this.form.submit();', __('All'), -1);
echo ' | ';
echo ''.__('Module group').' | ';
echo '';
print_select_from_sql ("SELECT * FROM tmodule_group ORDER BY name",
'modulegroup', $modulegroup, '',__('All'), 0);
echo ' |
'.__('Module name').' | ';
echo '';
$modules = get_db_all_rows_filter ('tagente_modulo', false, 'DISTINCT(nombre)');
print_select (index_array ($modules, 'nombre', 'nombre'), "ag_modulename",
$ag_modulename, 'this.form.submit();', __('All'), '');
echo ' | '.__('Search').' | ';
echo '';
print_input_text ("ag_freestring", $ag_freestring, '', 15,30, false);
echo ' | ';
print_submit_button (__('Show'), "uptbutton", false, 'class="sub"');
echo "";
echo " |