diff --git a/pandora_console/godmode/servers/manage_recontask.php b/pandora_console/godmode/servers/manage_recontask.php index 6160426eeb..b5eb0117ee 100644 --- a/pandora_console/godmode/servers/manage_recontask.php +++ b/pandora_console/godmode/servers/manage_recontask.php @@ -247,6 +247,7 @@ else { } $color=1; if ($result !== false) { + $table = new StdClass(); $table->head = array (__('Name'), __('Network'), __('Mode'), __('Group'), __('Incident'), __('OS'), __('Interval'), __('Ports'), __('Action')); $table->align = array ("","","","center","","","center","center"); $table->width = "99%"; diff --git a/pandora_console/godmode/servers/manage_recontask_form.php b/pandora_console/godmode/servers/manage_recontask_form.php index 6acf1110f6..2ac1d031ce 100644 --- a/pandora_console/godmode/servers/manage_recontask_form.php +++ b/pandora_console/godmode/servers/manage_recontask_form.php @@ -168,6 +168,7 @@ if ($is_windows) { echo ''; } +$table = new StdClass(); $table->id = 'table_recon'; $table->width = '98%'; $table->cellspacing = 4; diff --git a/pandora_console/godmode/servers/servers.build_table.php b/pandora_console/godmode/servers/servers.build_table.php index a0b1686c08..448f5b48fc 100644 --- a/pandora_console/godmode/servers/servers.build_table.php +++ b/pandora_console/godmode/servers/servers.build_table.php @@ -37,6 +37,7 @@ if ($servers === false) { return; } +$table = new StdClass(); $table->width = '100%'; $table->class = 'databox data'; $table->size = array (); diff --git a/pandora_console/godmode/setup/performance.php b/pandora_console/godmode/setup/performance.php index 6d35e9e056..7c0c47bba9 100644 --- a/pandora_console/godmode/setup/performance.php +++ b/pandora_console/godmode/setup/performance.php @@ -35,7 +35,7 @@ enterprise_include_once ('godmode/setup/setup.php'); to add it there. */ - +$table = new StdClass(); $table->width = '98%'; $table->data = array (); @@ -66,7 +66,7 @@ $table->data[7][1] = html_print_input_text ('days_compact', $config["days_compac $table->data[8][0] = __('Max. days before delete unknown modules'); $table->data[8][1] = html_print_input_text ('days_delete_unknown', $config["days_delete_unknown"], '', 5, 5, true); - +$table_other = new StdClass(); $table_other->width = '98%'; $table_other->data = array (); diff --git a/pandora_console/godmode/setup/setup_auth.php b/pandora_console/godmode/setup/setup_auth.php index 1e7b0e34e1..af857ba58d 100644 --- a/pandora_console/godmode/setup/setup_auth.php +++ b/pandora_console/godmode/setup/setup_auth.php @@ -29,7 +29,7 @@ include_once($config['homedir'] . "/include/functions_profile.php"); // Load enterprise extensions enterprise_include ('godmode/setup/setup_auth.php'); - +$table = new StdClass(); $table->data = array (); $table->width = '98%'; $table->size[0] = '30%'; diff --git a/pandora_console/godmode/setup/setup_general.php b/pandora_console/godmode/setup/setup_general.php index 5fc56a2997..56de8cdc4f 100644 --- a/pandora_console/godmode/setup/setup_general.php +++ b/pandora_console/godmode/setup/setup_general.php @@ -18,6 +18,7 @@ global $config; check_login (); +$table = new StdClass(); $table->width = '100%'; $table->data = array (); $table->size = array(); diff --git a/pandora_console/godmode/setup/setup_visuals.php b/pandora_console/godmode/setup/setup_visuals.php index 0ae45ec0fb..5370c76098 100644 --- a/pandora_console/godmode/setup/setup_visuals.php +++ b/pandora_console/godmode/setup/setup_visuals.php @@ -45,6 +45,7 @@ enterprise_include ('godmode/setup/setup_visuals.php'); require_once ('include/functions_themes.php'); require_once ('include/functions_gis.php'); +$table = new StdClass(); $table->width = '98%'; $table->data = array (); diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php index da7217ea23..ab4c4e7b3b 100644 --- a/pandora_console/operation/agentes/estado_agente.php +++ b/pandora_console/operation/agentes/estado_agente.php @@ -435,6 +435,7 @@ ui_pagination ($total_agents, ui_get_url_refresh (array ('group_id' => $group_id, 'recursion' => $recursion, 'search' => $search, 'sort_field' => $sortField, 'sort' => $sort, 'status' => $status))); // Show data. +$table = new StdClass(); $table->cellpadding = 0; $table->cellspacing = 0; $table->width = "100%"; diff --git a/pandora_console/operation/servers/recon_view.php b/pandora_console/operation/servers/recon_view.php index b062a89fee..70627ec81b 100644 --- a/pandora_console/operation/servers/recon_view.php +++ b/pandora_console/operation/servers/recon_view.php @@ -73,7 +73,8 @@ else{ if ($recon_tasks === false) { $recon_tasks = array (); } - + + $table = new StdClass(); $table->cellpadding = 4; $table->cellspacing = 4; $table->width = "99%";