From afd7eb2d058bd0475bcbd8f3175225f767c7ea34 Mon Sep 17 00:00:00 2001 From: raulmateos Date: Wed, 6 Jun 2007 16:23:24 +0000 Subject: [PATCH] 2007-06-06 Raul Mateos * godmode/*.php: Closed a lot of unclosed html tags. Updated near all of files with new table style. * godmode/agentes/alert_manager.php: Solved stupid bugs added some days ago due to an unclosed html tag. * images/groups_small/applications.png: New icon for applications group. * pandoradb_data.sql: Updated default applications icon name. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 13 + pandora_console/godmode/admin_access_logs.php | 9 +- .../godmode/agentes/alert_manager.php | 4 +- .../godmode/agentes/manage_config.php | 10 +- .../godmode/agentes/modificar_agente.php | 18 +- .../godmode/alerts/configure_alert.php | 27 +- .../godmode/alerts/modify_alert.php | 5 +- pandora_console/godmode/db/db_audit.php | 20 +- pandora_console/godmode/db/db_event.php | 14 +- pandora_console/godmode/db/db_purge.php | 11 +- pandora_console/godmode/db/db_refine.php | 12 +- pandora_console/godmode/menu.php | 2 +- .../godmode/modules/manage_nc_groups.php | 9 +- .../godmode/modules/manage_nc_groups_form.php | 22 +- .../modules/manage_network_components.php | 31 +- .../manage_network_components_form.php | 82 +++--- .../modules/manage_network_templates.php | 38 +-- .../modules/manage_network_templates_form.php | 41 ++- .../godmode/modules/module_list.php | 15 +- .../godmode/profiles/profile_list.php | 264 ++++++++++-------- .../godmode/servers/manage_recontask_form.php | 5 +- pandora_console/godmode/setup/links.php | 37 ++- pandora_console/godmode/setup/setup.php | 2 +- .../godmode/users/configure_user.php | 64 +++-- pandora_console/godmode/users/user_list.php | 9 +- .../images/groups_small/applications.png | Bin 0 -> 465 bytes .../operation/agentes/exportdata.php | 1 - pandora_console/pandoradb_data.sql | 4 +- 28 files changed, 423 insertions(+), 346 deletions(-) create mode 100644 pandora_console/images/groups_small/applications.png diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index bfc4d0fb4e..55b315f557 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,16 @@ +2007-06-06 Raul Mateos + + * godmode/*.php: Closed a lot of unclosed html tags. Updated near all of + files with new table style. + + * godmode/agentes/alert_manager.php: Solved stupid bugs added some days + ago due to an unclosed html tag. + + * images/groups_small/applications.png: New icon for applications group. + + * pandoradb_data.sql: Updated default applications icon name. + + 2007-06-02 Raul Mateos * include/styles/pandora.css: Updated. diff --git a/pandora_console/godmode/admin_access_logs.php b/pandora_console/godmode/admin_access_logs.php index 7f0085d5e0..5246e999de 100644 --- a/pandora_console/godmode/admin_access_logs.php +++ b/pandora_console/godmode/admin_access_logs.php @@ -60,10 +60,11 @@ echo "  ".$lang_label["help"].""; echo "
"; - echo "
"; + echo " +
".$lang_label["action"].""; echo "'; + echo '
'; echo ''; echo ''; echo ''; @@ -137,6 +138,6 @@ } // end table - echo "
'.$lang_label["user"].''.$lang_label["action"].'
"; + echo "
"; ?> \ No newline at end of file diff --git a/pandora_console/godmode/agentes/alert_manager.php b/pandora_console/godmode/agentes/alert_manager.php index f25c78e261..f3cce85a1e 100644 --- a/pandora_console/godmode/agentes/alert_manager.php +++ b/pandora_console/godmode/agentes/alert_manager.php @@ -245,7 +245,7 @@ if ($update_alert != 1) { $result2=mysql_query($sql2); while ($row2=mysql_fetch_array($result2)){ if ($row2["id_tipo_modulo"] != -1) { - $sql1='SELECT nombre FROM ttipo_modulo WHERE id_tipo = '.$row2["id_tipo_modulo"].''; + $sql1='SELECT nombre FROM ttipo_modulo WHERE id_tipo = '.$row2["id_tipo_modulo"]; $result=mysql_query($sql1); while ($row=mysql_fetch_array($result)){ echo ""; @@ -260,7 +260,7 @@ if ($update_alert != 1) { // End block only if $creacion_agente != 1; -echo "
"; +echo ""; echo ''; echo '
'; if ($update_alert== "1"){ diff --git a/pandora_console/godmode/agentes/manage_config.php b/pandora_console/godmode/agentes/manage_config.php index faef0ac27f..172960c036 100644 --- a/pandora_console/godmode/agentes/manage_config.php +++ b/pandora_console/godmode/agentes/manage_config.php @@ -252,13 +252,13 @@ if (comprueba_login() == 0)

>  

- +
'; - echo '


  

'; + echo '  

'; echo "".$lang_label["modules"]."

"; echo ""; +echo "
"; echo ""; echo "
".$lang_label["group"].""; echo ""; - echo "
".$lang_label["agent_name"]; - echo "".$lang_label["os"]; - echo "".$lang_label["group"]; - echo "".$lang_label["description"]; - echo "".$lang_label["delete"]; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; $color=1; while ($row=mysql_fetch_array($result)){ $id_grupo = $row["id_grupo"]; @@ -189,8 +189,8 @@ if (mysql_num_rows($result)){ echo ""; } } - echo ""; - echo "
".$lang_label["agent_name"]."".$lang_label["os"]."".$lang_label["group"]."".$lang_label["description"]."".$lang_label["delete"]."
"; + echo "
"; + echo "
"; } else { echo "
".$lang_label["no_agent_def"]."
"; echo " 
"; diff --git a/pandora_console/godmode/alerts/configure_alert.php b/pandora_console/godmode/alerts/configure_alert.php index 72733643f9..7ed53ef27f 100644 --- a/pandora_console/godmode/alerts/configure_alert.php +++ b/pandora_console/godmode/alerts/configure_alert.php @@ -63,9 +63,7 @@ echo "

".$lang_label["alert_config"]." > "; '.$lang_label["help"].''; echo "

"; ?> - - - + "; echo ""; } ?> - -
- - + + + + - + +
+
- + +   Macros:
_field1_
@@ -91,19 +91,20 @@ _agent_
_timestamp_
_data_
- -
+
+
"; echo ""; - echo ""; + echo ""; } - echo "
"; + echo ""; } else { - echo ""; + echo ""; } ?> diff --git a/pandora_console/godmode/alerts/modify_alert.php b/pandora_console/godmode/alerts/modify_alert.php index bf15782649..909b8c56ae 100644 --- a/pandora_console/godmode/alerts/modify_alert.php +++ b/pandora_console/godmode/alerts/modify_alert.php @@ -68,11 +68,10 @@ if ( (give_acl($id_user, 0, "LM")==1)){ } echo "
".$row["nombre"]."".$row["descripcion"]."
"; - echo "
"; + echo "
"; echo ""; echo ""; + echo ""; + echo "
"; echo "
"; diff --git a/pandora_console/godmode/db/db_audit.php b/pandora_console/godmode/db/db_audit.php index 0a3a0e0916..ca4b354198 100644 --- a/pandora_console/godmode/db/db_audit.php +++ b/pandora_console/godmode/db/db_audit.php @@ -97,29 +97,29 @@ if (comprueba_login() == 0) echo "

".$lang_label["dbmain_title"]." > "; echo $lang_label["db_purge_audit"]." ".$lang_label["help"]."

"; - echo ""; + echo "
"; echo ""; + echo ""; echo ""; $result_t=mysql_query("SELECT min(fecha) FROM tsesion"); $row=mysql_fetch_array($result_t); - echo ""; + echo ""; echo "
"; $result_t=mysql_query("SELECT COUNT(*) FROM tsesion"); $row=mysql_fetch_array($result_t); - echo "".$lang_label["total"].""; - echo "".$row[0]." ".$lang_label["records"]; + echo "".$lang_label["total"]."".$row[0]." ".$lang_label["records"]."
".$lang_label["first_date"].""; - echo "".$row[0]; + echo "".$lang_label["first_date"]."".$row[0]."
"; $result_t=mysql_query("SELECT max(fecha) FROM tsesion"); $row=mysql_fetch_array($result_t); - echo "".$lang_label["latest_date"].""; - echo "".$row[0]; - echo "
"; + echo "".$lang_label["latest_date"]."
".$row[0]."
"; ?>

- +
- " onClick="if (!confirm('')) return false;"> + " onClick="if (!confirm('')) return false;">
diff --git a/pandora_console/godmode/db/db_event.php b/pandora_console/godmode/db/db_event.php index b30d6f7137..dfd45a6f60 100644 --- a/pandora_console/godmode/db/db_event.php +++ b/pandora_console/godmode/db/db_event.php @@ -76,31 +76,31 @@ if (comprueba_login() == 0) echo "

".$lang_label["dbmain_title"]." > "; echo $lang_label["db_purge_event"]." ".$lang_label["help"]."

"; - echo ""; + echo "
"; echo ""; echo ""; $result_t=mysql_query("SELECT min(timestamp) FROM tevento"); $row=mysql_fetch_array($result_t); - echo ""; + echo ""; echo ""; echo "
"; $result_t=mysql_query("SELECT COUNT(*) FROM tevento"); $row=mysql_fetch_array($result_t); echo "".$lang_label["total"].""; - echo "".$row[0]." ".$lang_label["records"]; + echo "".$row[0]." ".$lang_label["records"]."
".$lang_label["first_date"].""; - echo "".$row[0]; + echo "".$lang_label["first_date"]."".$row[0]."
"; $result_t=mysql_query("SELECT max(timestamp) FROM tevento"); $row=mysql_fetch_array($result_t); echo "".$lang_label["latest_date"].""; - echo "".$row[0]; + echo "".$row[0]."
"; ?>

- +
- " onClick="if (!confirm('')) return false;"> + " onClick="if (!confirm('')) return false;">
diff --git a/pandora_console/godmode/db/db_purge.php b/pandora_console/godmode/db/db_purge.php index fa9fb7a301..72aa13e8b0 100644 --- a/pandora_console/godmode/db/db_purge.php +++ b/pandora_console/godmode/db/db_purge.php @@ -121,7 +121,8 @@ if (comprueba_login() == 0) # Select Agent for further operations. ?>
- diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 7029abffcb..d61867b99d 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -159,7 +159,7 @@ if (comprueba_login() == 0){ echo ""; if (isset($_GET["sec2"]) && $_GET["sec2"] == "godmode/db/db_purge"){ - echo "
"; + echo "
"; } else echo ""; diff --git a/pandora_console/godmode/modules/manage_nc_groups.php b/pandora_console/godmode/modules/manage_nc_groups.php index 372d56da45..f8c5832e88 100644 --- a/pandora_console/godmode/modules/manage_nc_groups.php +++ b/pandora_console/godmode/modules/manage_nc_groups.php @@ -78,7 +78,7 @@ if (isset($_GET["delete"])){ // if delete echo "

".$lang_label["module_management"]." > "; echo $lang_label["network_component_group_management"]."

"; -echo "
+ +
  - +  

@@ -173,7 +174,7 @@ if (comprueba_login() == 0) ?> - +
@@ -225,7 +226,7 @@ if (comprueba_login() == 0)

- +
- " onClick="if (!confirm('')) return false;"> + " onClick="if (!confirm('')) return false;">
diff --git a/pandora_console/godmode/db/db_refine.php b/pandora_console/godmode/db/db_refine.php index 49e0f386ec..98b5865545 100644 --- a/pandora_console/godmode/db/db_refine.php +++ b/pandora_console/godmode/db/db_refine.php @@ -49,7 +49,7 @@ if (comprueba_login() == 0)

>  

- +


  

'; + echo '  

'; echo "".$lang_label["modules"]."

"; echo ""; @@ -88,7 +88,7 @@ if (comprueba_login() == 0)
- '; ?> + '; ?>
"; +echo "
"; echo ""; echo ""; echo ""; @@ -96,7 +96,7 @@ while ($row=mysql_fetch_array($result)){ } echo ""; } -echo ""; -echo "
".$lang_label["name"]."".$lang_label["parent"]."".$lang_label["delete"]."
- ".$row["name"]." + ".$row["name"]." ".give_network_component_group_name ($row["parent"])." @@ -110,8 +110,9 @@ while ($row=mysql_fetch_array($result)){
"; +echo "
"; +echo ''; +echo '
'; echo ""; echo ""; echo "
"; diff --git a/pandora_console/godmode/modules/manage_nc_groups_form.php b/pandora_console/godmode/modules/manage_nc_groups_form.php index 405e03f8f6..3530056029 100644 --- a/pandora_console/godmode/modules/manage_nc_groups_form.php +++ b/pandora_console/godmode/modules/manage_nc_groups_form.php @@ -50,20 +50,20 @@ if (isset($_GET["edit"])){ // Edit mode } echo "

".$lang_label["network_component_group_management"]."

"; -echo ''; +echo '
'; // Different Form url if it's a create or if it's a update form if ($id_sg != -1) - echo ""; + echo ""; else - echo ""; + echo ""; -echo ""; +echo ""; +echo ""; echo ""; -echo ""; echo " -
"; -echo "".$lang_label["name"]; -echo ""; +echo "
".$lang_label["name"]."
".$lang_label["parent"]; +echo "".$lang_label["parent"].""; echo ""; - -echo "
"; +echo "
"; +echo '
'; +echo '
'; if ($id_sg == -1) echo ""; else echo ""; -echo "
"; +echo "
"; ?> \ No newline at end of file diff --git a/pandora_console/godmode/modules/manage_network_components.php b/pandora_console/godmode/modules/manage_network_components.php index 6f3ab9b726..d50ddee8a0 100644 --- a/pandora_console/godmode/modules/manage_network_components.php +++ b/pandora_console/godmode/modules/manage_network_components.php @@ -166,7 +166,7 @@ else echo "
"; -echo ""; +echo "
"; echo ""; echo "
".$lang_label["group"].""; echo ""; echo ""; echo ""; -echo "


"; +echo "

"; if ($ncgroup != 0) $sql1 = "SELECT * FROM tnetwork_component WHERE id_group = $ncgroup"; @@ -189,16 +189,16 @@ else $result = mysql_query ($sql1); if ( $row = mysql_num_rows ($result)){ - echo ''; + echo '
'; echo ''; - echo ""; + echo ""; + echo ""; + echo ""; + echo ""; //echo ""; + echo ""; $color=1; while ($row=mysql_fetch_array($result)){ if ($color == 1){ @@ -218,7 +218,7 @@ if ( $row = mysql_num_rows ($result)){ $module_group2 = $row["id_module_group"]; echo ""; echo ""; echo ""; echo ""; //echo ""; + echo ""; } - echo ""; - echo "
".$lang_label["module_name"]; - echo "".$lang_label["type"]; - echo "".$lang_label["interval"]; - echo "".$lang_label["description"]; - echo "".$lang_label["nc.group"]; + echo "".$lang_label["module_name"]."".$lang_label["type"]."".$lang_label["interval"]."".$lang_label["description"]."".$lang_label["nc.group"]."".$lang_label["module_group"]; - echo "".$lang_label["max_min"]; - echo "".$lang_label["action"]; + echo "".$lang_label["max_min"]."".$lang_label["action"]."
"; - echo "".$nombre_modulo.""; + echo "".$nombre_modulo.""; if ($id_tipo > 0) { echo ""; @@ -228,6 +228,7 @@ if ( $row = mysql_num_rows ($result)){ } else { echo " N/A"; } + echo "".substr($descripcion,0,30)."".give_network_component_group_name($id_group)."". @@ -240,10 +241,12 @@ if ( $row = mysql_num_rows ($result)){ echo $module_max." / ".$module_min; echo ""; echo ""; - echo "".$lang_label["delete"].""; + echo "".$lang_label["delete"]."
"; + echo "
"; + echo ""; + echo "
"; echo "
"; echo ""; echo "
"; diff --git a/pandora_console/godmode/modules/manage_network_components_form.php b/pandora_console/godmode/modules/manage_network_components_form.php index 34be08540e..db2bc4d1c5 100644 --- a/pandora_console/godmode/modules/manage_network_components_form.php +++ b/pandora_console/godmode/modules/manage_network_components_form.php @@ -184,44 +184,44 @@ if (isset($_GET["update"])){ // Edit mode } echo "

".$lang_label["network_component_management"]."

"; -echo ''; +echo '
'; // Different Form url if it's a create or if it's a update form -if ($id_nc != -1) +if ($id_nc != -1) { echo ""; -else +} else { echo ""; -echo ""; echo '"; echo ""; echo ""; -echo ""; echo ""; echo '"; @@ -238,27 +238,34 @@ echo ' + + + + + + + + + + + + +"; -echo ""; +echo ""; +echo "
"; - +} echo "
'.$lang_label["module_name"]; echo ""; //-- Module type combobox -echo "".$lang_label["module_type"]; +echo "".$lang_label["module_type"].""; echo '"; +echo "
".$lang_label["group"]; +echo "".$lang_label["group"].""; echo ""; -echo "".$lang_label["module_group"]; +echo "".$lang_label["module_group"]."'; echo '"; echo "
'; echo ''; ?> - - - -
- - - - - - -
- - - - - -
- - - - + + +
+ + + +
+ + + +
+ + + +
'.$lang_label["comments"]; @@ -266,15 +273,16 @@ echo ''; echo '"; -echo "
"; -echo "
"; +echo ""; +echo "
"; if ($id_nc != "-1") echo ''; else echo ''; echo ""; -echo "
"; +echo "
"; ?> diff --git a/pandora_console/godmode/modules/manage_network_templates.php b/pandora_console/godmode/modules/manage_network_templates.php index 4e50664079..a412e00bfa 100644 --- a/pandora_console/godmode/modules/manage_network_templates.php +++ b/pandora_console/godmode/modules/manage_network_templates.php @@ -49,7 +49,7 @@ $sql1='SELECT * FROM tnetwork_profile ORDER BY name'; $result=mysql_query($sql1); $color=0; if (mysql_num_rows($result)) { - echo ""; + echo "
"; echo ""; echo ""; echo ""; @@ -63,29 +63,31 @@ while ($row=mysql_fetch_array($result)){ $tdcolor = "datos2"; $color = 1; } - echo " - - - - "; + echo " + + + + + "; } if (mysql_num_rows($result)) { - echo ""; + echo "
".$lang_label["name"]."".$lang_label["description"]."".$lang_label["action"]."
- ".$row["name"]." - - ".$row["description"]." - - - -
+ ".$row["name"]." + + ".$row["description"]." + + + +
"; } else { echo "
".$lang_label["no_netprofiles"]."
"; - echo ""; + } -echo "'; + echo '
"; +echo ""; +echo "
"; echo "
"; echo ""; echo "
"; diff --git a/pandora_console/godmode/modules/manage_network_templates_form.php b/pandora_console/godmode/modules/manage_network_templates_form.php index 2132cae6f1..887bffac1f 100644 --- a/pandora_console/godmode/modules/manage_network_templates_form.php +++ b/pandora_console/godmode/modules/manage_network_templates_form.php @@ -102,20 +102,20 @@ if (isset($_GET["update"])){ // Update profile } } - -echo "

".$lang_label["network_profile_management"]."

"; -echo ""; +echo "

".$lang_label["module_management"]." > "; +echo $lang_label["network_profile_management"]."

"; +echo "
"; if ($id_np == -1) - echo '"; echo ""; +echo ""; echo " + '; echo ''; - echo ' + '; + echo ""; + echo "'; - echo '
'; + echo ''; else - echo '
'; + echo ''; -echo "
".$lang_label["name"]; +echo "
".$lang_label["name"].""; echo ""; - -echo "
".$lang_label["description"]; +echo "
".$lang_label["description"].""; echo " +
+ +
'.$lang_label["group_avail"].'
'.$lang_label["group_avail"].' + '; - echo "
".$lang_label["profiles"]; - echo "
".$lang_label["profiles"]." + '; - echo '
'; - echo "

"; + echo '
'; + echo ""; + echo "
"; + echo "

"; // Show user profile / groups assigned $sql1='SELECT * FROM tusuario_perfil WHERE id_usuario = "'.$id_usuario_mio.'"'; $result=mysql_query($sql1); @@ -245,9 +254,10 @@ if (comprueba_login() == 0) ?>
'; - echo ''; + echo '
'; + echo ''; + echo '
'; + echo ''; } ?> diff --git a/pandora_console/godmode/users/user_list.php b/pandora_console/godmode/users/user_list.php index 249c8a6372..c1b6d68918 100644 --- a/pandora_console/godmode/users/user_list.php +++ b/pandora_console/godmode/users/user_list.php @@ -29,7 +29,7 @@ if (comprueba_login() == 0)

>  

- +
"; echo ""; - echo ""; } - echo ""; - echo "
@@ -84,10 +84,11 @@ while ($rowdup=mysql_fetch_array($resq1)){ echo "".substr($real_name,0,16)."".$comments.""; + echo "
"; + echo "
"; + echo ""; + echo "
"; echo "
"; echo ""; echo "
"; diff --git a/pandora_console/images/groups_small/applications.png b/pandora_console/images/groups_small/applications.png new file mode 100644 index 0000000000000000000000000000000000000000..3bc0bd32fceb21d70368f7842a00a53d6369ba48 GIT binary patch literal 465 zcmV;?0WSWDP)zJNu3H-P zO&@UpeyZQXi7jKe-Hk?r-sue;aDce_XqkvXP+W#F_*ot`jB?BS93Uw71|U^ZjLH`yP%FO7U<6!nLCG} z$SDlW"; // Submit button - echo '      '; echo ""; echo "
"; echo ""; diff --git a/pandora_console/pandoradb_data.sql b/pandora_console/pandoradb_data.sql index 4a9339821b..1cf637ed95 100644 --- a/pandora_console/pandoradb_data.sql +++ b/pandora_console/pandoradb_data.sql @@ -27,7 +27,7 @@ UNLOCK TABLES; /*!40000 ALTER TABLE `tconfig_os` DISABLE KEYS */; LOCK TABLES `tconfig_os` WRITE; -INSERT INTO `tconfig_os` VALUES (1,'Linux','Linux: All versions','so_linux.gif'),(2,'Solaris','Sun Solaris','so_solaris.gif'),(3,'AIX','IBM AIX','so_aix.gif'),(4,'BSD','OpenBSD, FreeBSD and Others','so_bsd.gif'),(5,'HP-UX','HP-UX Unix OS','so_hpux.gif'),(6,'BeOS','BeOS','so_beos.gif'),(7,'Cisco','CISCO IOS','so_cisco.gif'),(8,'MacOS','MAC OS','so_mac.gif'),(9,'Windows','Microsoft Windows OS','so_win.gif'),(10,'Other','Other SO','so_other.gif'),(11,'Network','Pandora Network Agent','network.gif'); +INSERT INTO `tconfig_os` VALUES (1,'GNU/Linux','Linux: All versions','so_linux.gif'),(2,'Solaris','Sun Solaris','so_solaris.gif'),(3,'AIX','IBM AIX','so_aix.gif'),(4,'BSD','OpenBSD, FreeBSD and Others','so_bsd.gif'),(5,'HP-UX','HP-UX Unix OS','so_hpux.gif'),(6,'BeOS','BeOS','so_beos.gif'),(7,'Cisco','CISCO IOS','so_cisco.gif'),(8,'MacOS','MAC OS','so_mac.gif'),(9,'Windows','Microsoft Windows OS','so_win.gif'),(10,'Other','Other SO','so_other.gif'),(11,'Network','Pandora Network Agent','network.gif'); UNLOCK TABLES; /*!40000 ALTER TABLE `tconfig_os` ENABLE KEYS */; @@ -44,7 +44,7 @@ INSERT INTO `tgrupo` VALUES (8,'Databases','database_gear',0,0); INSERT INTO `tgrupo` VALUES (9,'Comms','transmit',0,0); INSERT INTO `tgrupo` VALUES (10,'Others','house',0,0); INSERT INTO `tgrupo` VALUES (11,'Workstations','computer',0,0); -INSERT INTO `tgrupo` VALUES (12,'Applications','bricks',0,0); +INSERT INTO `tgrupo` VALUES (12,'Applications','applications',0,0); UNLOCK TABLES; /*!40000 ALTER TABLE `tgrupo` ENABLE KEYS */;