id = 'delete_table'; $table->class = 'databox filters'; $table->width = '100%'; $table->data = array (); $table->style = array (); $table->style[0] = 'font-weight: bold;'; $table->style[2] = 'font-weight: bold'; $table->size = array (); $table->size[0] = '15%'; $table->size[1] = '35%'; $table->size[2] = '15%'; $table->size[3] = '35%'; $table->data = array (); $table->data[0][0] = __('Group'); $table->data[0][1] = html_print_select_groups(false, "AW", true, 'id_group', $id_group, false, '', '', true); $table->data[0][2] = __('Group recursion'); $table->data[0][3] = html_print_checkbox ("recursion", 1, $recursion, true, false); $status_list = array (); $status_list[AGENT_STATUS_NORMAL] = __('Normal'); $status_list[AGENT_STATUS_WARNING] = __('Warning'); $status_list[AGENT_STATUS_CRITICAL] = __('Critical'); $status_list[AGENT_STATUS_UNKNOWN] = __('Unknown'); $status_list[AGENT_STATUS_NOT_NORMAL] = __('Not normal'); $status_list[AGENT_STATUS_NOT_INIT] = __('Not init'); $table->data[1][0] = __('Status'); $table->data[1][1] = html_print_select($status_list, 'status_agents', 'selected', '', __('All'), AGENT_STATUS_ALL, true); $table->data[2][0] = __('Agents'); $table->data[2][0] .= ''; $table->data[2][0] .= html_print_image('images/spinner.png', true); $table->data[2][0] .= ''; $table->data[2][1] = html_print_select( agents_get_group_agents(array_keys (users_get_groups ($config["id_user"], "AW", false)), false, "none"), 'id_agents[]', 0, false, '', '', true, true); echo '
'; echo '