- Update several files with the new table colors (Pandora Console)

- Update CSS (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@75 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2006-07-03 10:49:42 +00:00
parent 4e6270f73b
commit b1a688bdab
23 changed files with 291 additions and 156 deletions

View File

@ -99,15 +99,23 @@ if (comprueba_login() == 0)
}
$offset_counter = 0;
$color=0;
// Get data
while ($row=mysql_fetch_array($result) and ($offset_counter < $block_size) ){
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
$usuario=$row["ID_usuario"];
echo '<tr><td class="datos_id">'.$usuario;
echo '<td class="datos">'.$row["accion"];
echo '<td class="datosf9">'.$row["fecha"];
echo '<td class="datosf9">'.$row["IP_origen"];
echo '<td class="datos">'.$row["descripcion"];
echo '<tr><td class="'.$tdcolor.'_id">'.$usuario;
echo '<td class="'.$tdcolor.'">'.$row["accion"];
echo '<td class="'.$tdcolor.'f9">'.$row["fecha"];
echo '<td class="'.$tdcolor.'f9">'.$row["IP_origen"];
echo '<td class="'.$tdcolor.'">'.$row["descripcion"];
echo '</tr>';
$offset_counter++;
}

View File

@ -578,7 +578,7 @@ echo '<td class="datos"><b>'.$lang_label["agent_name"].'</b></td><td class="dato
if (isset($_GET["creacion"])){
echo "&nbsp;";
} else {
echo "&nbsp;<a href='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente=".$id_agente."' <img src='images/setup.gif' width=25 valign='top' align='middle' border=0></a>&nbsp;<a href='index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=".$id_agente."'><img src='images/lupa.gif' border='0' align='middle'></a>";
echo "&nbsp;<a href='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente=".$id_agente."' <img src='images/setup.gif' width='19' valign='top' align='middle' border='0'></a>&nbsp;<a href='index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=".$id_agente."'><img src='images/lupa.gif' border='0' align='middle'></a>";
}
?>
<tr><td class="datos2"><b><?php echo $lang_label["ip_address"]?></b><td class="datos2"><input type="text" name="direccion" size=30 value="<?php echo $direccion_agente ?>">
@ -700,8 +700,8 @@ if ( $creacion_agente != 1) {
$module_interval2 = $row["module_interval"];
$module_group2 = $row["id_module_group"];
echo "<tr><td class='$tdcolor_id'>".$nombre_modulo;
echo "<td class='$tdcolorf9'>";
echo "<tr><td class='".$tdcolor."_id'>".$nombre_modulo;
echo "<td class='".$tdcolor."f9'>";
if ($id_tipo > 0) {
echo "<img src='images/".$iconindex[$id_tipo]."' border=0>";
}
@ -910,7 +910,7 @@ if (isset($_POST["oid"])){
<textarea name="descripcion" cols=52 rows=2>
<?php echo $modulo_descripcion ?>
</textarea>
<tr><td colspan='7'><div class='raya'></div></td></tr>
<tr><td colspan='5'><div class='raya'></div></td></tr>
<tr><td colspan="5" align="right">
<?php
if ($update_module == "1"){

View File

@ -64,14 +64,22 @@ if (give_acl($id_user, 0, "AW")==1) {
echo "<th>".$lang_label["group"];
echo "<th>".$lang_label["description"];
echo "<th>".$lang_label["delete"];
$color=0;
while ($row=mysql_fetch_array($result)){
$id_grupo = $row["id_grupo"];
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
if (give_acl($id_user, $id_grupo, "AW")==1){
echo "<tr><td class='datos'><b><a href='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente=".$row["id_agente"]."'>".$row["nombre"]."</a></b>";
echo '<td class="datos"> <img src="images/g_'.$iconindex_g[$id_grupo].'.gif" border="0"> ( '.dame_grupo($id_grupo).' )</td>';
echo '<td class="datos">'.$row["comentarios"].'</td>';
echo '<td class="datos" align="center"><a href="index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&borrar_agente='.$row["id_agente"].'" onClick="if (!confirm(\' '.$lang_label["are_you_sure"].'\')) return false;"><img border="0" src="images/cancel.gif"></a></td>';
echo "<tr><td class='$tdcolor'><b><a href='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente=".$row["id_agente"]."'>".$row["nombre"]."</a></b>";
echo "<td class='$tdcolor'> <img src='images/g_".$iconindex_g[$id_grupo].".gif' border='0'> ( ".dame_grupo($id_grupo)." )</td>";
echo "<td class='$tdcolor'>".$row["comentarios"]."</td>";
echo "<td class='$tdcolor' align='center'><a href='index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&borrar_agente=".$row["id_agente"]."' onClick='if (!confirm(\' ".$lang_label["are_you_sure"]."\')) return false;'><img border='0' src='images/cancel.gif'></a></td>";
}
}
echo "<tr><td colspan='4'><div class='raya'></div></td></tr>";

View File

@ -56,13 +56,23 @@ if ( (give_acl($id_user, 0, "LM")==1)){
echo "<th class='w100'>".$lang_label["alertname"];
echo "<th>".$lang_label["description"];
echo "<th>".$lang_label["delete"];
$color=0;
$sql1='SELECT * FROM talerta ORDER BY nombre';
$result=mysql_query($sql1);
while ($row=mysql_fetch_array($result)){
echo "<tr><td class='datos'><b><a href='index.php?sec=galertas&sec2=godmode/alertas/configurar_alerta&id_alerta=".$row["id_alerta"]."'>".$row["nombre"]."</a></b>";
echo "<td class='datos'>".$row["descripcion"];
echo '<td class="datos" align="center"><a href="index.php?sec=galertas&sec2=godmode/alertas/modificar_alerta&borrar_alerta='.$row["id_alerta"].'" onClick="if (!confirm(\' '.$lang_label["are_you_sure"].'\')) return false;"><img border=0 src="images/cancel.gif"></a>';
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
echo "<tr><td class='$tdcolor'><b><a href='index.php?sec=galertas&sec2=godmode/alertas/configurar_alerta&id_alerta=".$row["id_alerta"]."'>".$row["nombre"]."</a></b>";
echo "<td class='$tdcolor'>".$row["descripcion"];
echo "<td class='$tdcolor' align='center'><a href='index.php?sec=gagente&sec2=godmode/alertas/modificar_alerta&borrar_alerta=".$row["id_alerta"]."' onClick='if (!confirm(\' ".$lang_label["are_you_sure"]."\')) return false;'><img border='0' src='images/cancel.gif'></a>";
}
echo "<tr><td colspan='3'><div class='raya'></div></td></tr>";
echo "<tr><td align='right' colspan='3'>";
echo "<form method=post action='index.php?sec=galertas&sec2=godmode/alertas/configurar_alerta&creacion=1'>";

View File

@ -91,14 +91,14 @@ if (comprueba_login() == 0)
echo "<tr><td class='datos'>";
$result_t=mysql_query("SELECT COUNT(*) FROM tsesion");
$row=mysql_fetch_array($result_t);
echo "<B>".$lang_label["total"]."</b>";
echo "<td class=datos>".$row[0]." ".$lang_label["records"];
echo "<b>".$lang_label["total"]."</b>";
echo "<td class='datos'>".$row[0]." ".$lang_label["records"];
echo "<tr>";
$result_t=mysql_query("SELECT min(fecha) FROM tsesion");
$row=mysql_fetch_array($result_t);
echo "<td class='datos'><b>".$lang_label["first_date"]."</b>";
echo "<td class='datos'>".$row[0];
echo "<td class='datos2'><b>".$lang_label["first_date"]."</b>";
echo "<td class='datos2'>".$row[0];
echo "<tr><td class='datos'>";
$result_t=mysql_query("SELECT max(fecha) FROM tsesion");

View File

@ -88,8 +88,8 @@ if (comprueba_login() == 0)
echo "<tr>";
$result_t=mysql_query("SELECT min(timestamp) FROM tevento");
$row=mysql_fetch_array($result_t);
echo "<td class='datos'><b>".$lang_label["first_date"]."</b>";
echo "<td class='datos'>".$row[0];
echo "<td class='datos2'><b>".$lang_label["first_date"]."</b>";
echo "<td class='datos2'>".$row[0];
echo "<tr><td class='datos'>";

View File

@ -27,6 +27,7 @@ if (comprueba_login() == 0)
echo "<tr><th>".$lang_label["agent_name"];
echo "<th>".$lang_label["assigned_module"];
echo "<th>".$lang_label["total_data"];
$color=0;
$result_2=mysql_query("SELECT id_agente FROM tagente");
while ($row2=mysql_fetch_array($result_2)){
@ -40,9 +41,17 @@ if (comprueba_login() == 0)
$row4=mysql_fetch_array($result_4);
$total_agente=$total_agente + $row4[0];
}
echo "<tr><td class='datos'><b><a href='index.php?sec=gagente&sec2=operation/agentes/ver_agente&id_agente=".$row2["id_agente"]."'>".dame_nombre_agente($row2[0])."</a></b>";
echo "<td class=datos>".$row3c[0];
echo "<td class=datos>".$total_agente;
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
echo "<tr><td class='$tdcolor'><b><a href='index.php?sec=gagente&sec2=operation/agentes/ver_agente&id_agente=".$row2["id_agente"]."'>".dame_nombre_agente($row2[0])."</a></b>";
echo "<td class='$tdcolor'>".$row3c[0];
echo "<td class='$tdcolor'>".$total_agente;
flush();
//ob_flush();
}

View File

@ -178,38 +178,52 @@ if (comprueba_login() == 0)
<table width=300 border=0>
<tr><td class=datos>
<?php echo $lang_label["rango3"]?>
</td>
<td class=datos>
<?php echo $datos_rango3 ?>
</td>
<tr><td class=datos>
<tr><td class=datos2>
<?php echo $lang_label["rango2"]?>
<td class=datos>
</td>
<td class=datos2>
<?php echo $datos_rango2 ?>
</td>
<tr><td class=datos>
<?php echo $lang_label["rango11"]?>
</td>
<td class=datos>
<?php echo $datos_rango11 ?>
</td>
<tr><td class=datos>
<tr><td class=datos2>
<?php echo $lang_label["rango1"]?>
<td class=datos>
</td>
<td class=datos2>
<?php echo $datos_rango1 ?>
</td>
<tr><td class=datos>
<?php echo $lang_label["rango0"]?>
</td>
<td class=datos>
<?php echo $datos_rango0 ?>
</td>
<tr><td class=datos>
<tr><td class=datos2>
<?php echo $lang_label["rango00"]?>
<td class=datos>
</td>
<td class=datos2>
<?php echo $datos_rango00 ?>
<tr><td class=datos><b>
<?php echo $lang_label["total_packets"]?></b>
<td class=datos><b>
<?php echo $datos_total ?></b>
</td>
<tr><td class=datos>
<b><?php echo $lang_label["total_packets"]?></b>
</td>
<td class=datos>
<b><?php echo $datos_total ?></b>
</td>
</tr>
</table>
<br>
<h3><?php echo $lang_label["purge_data"] ?></h3>

View File

@ -57,13 +57,21 @@ if (comprueba_login() == 0)
echo "<th class='w80'>".$lang_label["delete"]."</th>";
$sql1='SELECT * FROM tgrupo ORDER BY nombre';
$result=mysql_query($sql1);
$color=1;
while ($row=mysql_fetch_array($result)){
$iconindex_g[$row["id_grupo"]] = $row["icon"];
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
if ($row["id_grupo"] != 1){
echo "<tr><td class='datos' align='center'><img src='images/g_".$iconindex_g[$row["id_grupo"]].".gif' border='0'>" ;
echo "<td class='datos'><b><a href='index.php?sec=gagente&sec2=godmode/grupos/configurar_grupo&id_grupo=".$row["id_grupo"]."'>".$row["nombre"]."</a></b>";
echo '<td class="datos" align="center"><a href="index.php?sec=gagente&sec2=godmode/grupos/lista_grupos&id_grupo='.$row["id_grupo"].'&borrar_grupo='.$row["id_grupo"].'" onClick="if (!confirm(\' '.$lang_label["are_you_sure"].'\')) return false;"><img border=0 src="images/cancel.gif"></a>';
echo "<tr><td class='$tdcolor' align='center'><img src='images/g_".$iconindex_g[$row["id_grupo"]].".gif' border='0'>" ;
echo "<td class='$tdcolor'><b><a href='index.php?sec=gagente&sec2=godmode/grupos/configurar_grupo&id_grupo=".$row["id_grupo"]."'>".$row["nombre"]."</a></b>";
echo "<td class='$tdcolor' align='center'><a href='index.php?sec=gagente&sec2=godmode/grupos/lista_grupos&id_grupo=".$row["id_grupo"]."&borrar_grupo=".$row["id_grupo"]."' onClick='if (!confirm(\' ".$lang_label["are_you_sure"]."\')) return false;'><img border='0' src='images/cancel.gif'></a>";
}
}
echo "<tr><td colspan='3'><div class='raya'></div></td></tr>";

View File

@ -175,6 +175,7 @@ echo "<tr><td colspan='3' align='right'><input name='uptbutton' type='submit' cl
echo "</table>";
} else { // View list data
$color=0;
?>
<table cellpadding=3 cellspacing=3 border=0>
<?php
@ -206,39 +207,47 @@ echo "<tr><td colspan='3' align='right'><input name='uptbutton' type='submit' cl
$db_management = $rowdup["db_management"];
$alert_management = $rowdup["alert_management"];
$pandora_management = $rowdup["pandora_management"];
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
echo "<td class='$tdcolor'><a href='index.php?sec=gperfiles&sec2=godmode/perfiles/lista_perfiles&edit_profile=".$id_perfil."'><b>".$nombre."</b></a>";
echo "<td class=datos><a href='index.php?sec=gperfiles&sec2=godmode/perfiles/lista_perfiles&edit_profile=".$id_perfil."'><b>".$nombre."</b></a>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($incident_view == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($incident_edit == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($incident_management == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($agent_view == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($agent_edit == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($alert_edit == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($user_management == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($db_management == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($alert_management == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($pandora_management == 1) echo "<img src='images/ok.gif' border=0>";
echo '<td class=datos align="center"><a href="index.php?sec=gperfiles&sec2=godmode/perfiles/lista_perfiles&delete_profile='.$id_perfil.'" onClick="if (!confirm(\' '.$lang_label["are_you_sure"].'\')) return false;"><img border=0 src="images/cancel.gif"></a></td></tr>';
echo "<td class='$tdcolor' align='center'><a href='index.php?sec=gagente&sec2=godmode/perfiles/lista_perfiles&delete_profile=".$id_perfil."' onClick='if (!confirm(\' ".$lang_label["are_you_sure"]."\')) return false;'><img border='0' src='images/cancel.gif'></a></td></tr>";
}
echo "</div></td></tr>";
echo "<tr><td colspan='12'><div class='raya'></div></td></tr>";

View File

@ -87,6 +87,7 @@ if (comprueba_login() == 0) {
echo "<th class='datos'>".$lang_label['laststart'];
echo "<th class='datos'>".$lang_label['lastupdate'];
echo "<th class='datos'>".$lang_label['action'];
$color=1;
while ($row=mysql_fetch_array($result)){
$name = $row["name"];
$address = $row["ip_address"];
@ -101,7 +102,15 @@ if (comprueba_login() == 0) {
$description = $row["description"];
$id_server = $row["id_server"];
echo "<tr><td class='datos'>";
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
echo "<tr><td class='$tdcolor'>";
echo "<b>$name</b>";
echo "<td class='datos' align='middle'>";
if ($status ==0){
@ -109,32 +118,32 @@ if (comprueba_login() == 0) {
} else {
echo "<img src='images/dot_green.gif'>";
}
echo "<td class='datos' align='middle'>";
echo "<td class='$tdcolor' align='middle'>";
echo "$address";
echo "<td class='datosf9'>".substr($description,0,25);
echo "<td class='datos' align='middle'>";
echo "<td class='".$tdcolor."f9'>".substr($description,0,25);
echo "<td class='$tdcolor' align='middle'>";
if ($network_server == 1){
echo "<img src='images/network.gif'>";
}
echo "<td class='datos' align='middle'>";
echo "<td class='$tdcolor' align='middle'>";
if ($data_server == 1){
echo "<img src='images/data.gif'>";
}
echo "<td class='datos' align='middle'>";
echo "<td class='$tdcolor' align='middle'>";
if ($snmp_server == 1){
echo "<img src='images/snmp.gif'>";
}
echo "<td class='datos' align='middle'>";
echo "<td class='$tdcolor' align='middle'>";
if ($master == 1){
echo "<img src='images/master.gif'>";
}
echo "<td class='datos' align='middle'>";
echo "<td class='$tdcolor' align='middle'>";
if ($checksum == 1){
echo "<img src='images/binary.gif'>";
}
echo "<td class='datosf9' align='middle'>".substr($keepalive,0,25);
echo "<td class='datosf9' align='middle'>".substr($laststart,0,25);
echo "<td class='datosf9' align='middle'><a href='index.php?sec=gserver&sec2=godmode/servers/modificar_server&server=".$id_server."'><img src='images/config.gif' border='0'></a>&nbsp;<a href='index.php?sec=gserver&sec2=godmode/servers/modificar_server&server_del=".$id_server."&delete'><img src='images/cancel.gif' border='0'>";
echo "<td class='".$tdcolor."f9' align='middle'>".substr($keepalive,0,25);
echo "<td class='".$tdcolor."f9' align='middle'>".substr($laststart,0,25);
echo "<td class='".$tdcolor."f9' align='middle'><a href='index.php?sec=gserver&sec2=godmode/servers/modificar_server&server=".$id_server."'><img src='images/config.gif' border='0'></a>&nbsp;<a href='index.php?sec=gserver&sec2=godmode/servers/modificar_server&server_del=".$id_server."&delete'><img src='images/cancel.gif' border='0'>";
}
echo '<tr><td colspan="12"><div class="raya"></div></td></tr></table>';
}

View File

@ -92,13 +92,22 @@ if (comprueba_login() == 0)
echo "<th class='w80'>".$lang_label["delete"];
$sql1='SELECT * FROM tlink ORDER BY name';
$result=mysql_query($sql1);
$color=1;
while ($row=mysql_fetch_array($result)){
echo "<tr><td class='datos'><b><a href='index.php?sec=gsetup&sec2=godmode/setup/links&form_edit=1&id_link=".$row["id_link"]."'>".$row["name"]."</a></b>";
echo '<td class="datos" align="center"><a href="index.php?sec=gsetup&sec2=godmode/setup/links&id_link='.$row["id_link"].'&borrar='.$row["id_link"].'" onClick="if (!confirm(\' '.$lang_label["are_you_sure"].'\')) return false;"><img border=0 src="images/cancel.gif"></a>';
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
echo "<tr><td class='$tdcolor'><b><a href='index.php?sec=gsetup&sec2=godmode/setup/links&form_edit=1&id_link=".$row["id_link"]."'>".$row["name"]."</a></b>";
echo '<td class="'.$tdcolor.'" align="center"><a href="index.php?sec=gsetup&sec2=godmode/setup/links&id_link='.$row["id_link"].'&borrar='.$row["id_link"].'" onClick="if (!confirm(\' '.$lang_label["are_you_sure"].'\')) return false;"><img border=0 src="images/cancel.gif"></a>';
}
echo "<tr><td colspan='2'><div class='raya'></div></td>";
echo "<tr><td colspan='2' align='right'>";
echo "<form method=post action='index.php?sec=gsetup&sec2=godmode/setup/links&form_add=1'>";
echo "<form method='post' action='index.php?sec=gsetup&sec2=godmode/setup/links&form_add=1'>";
echo "<input type='submit' class='sub' name='form_add' value='".$lang_label["add"]."'>";
echo "</form></table>";
} // Fin bloque else

View File

@ -53,20 +53,20 @@ if (comprueba_login() == 0)
}
echo '</select>';
echo '<tr><td class="datos">'.$lang_label["block_size"];
echo '<td class="datos"><input type="text" name="block_size" size=5 value="'.$block_size.'">';
echo '<tr><td class="datos2">'.$lang_label["block_size"];
echo '<td class="datos2"><input type="text" name="block_size" size=5 value="'.$block_size.'">';
echo '<tr><td class="datos">'.$lang_label["days_compact"];
echo '<td class="datos"><input type="text" name="days_compact" size=5 value="'.$days_compact.'">';
echo '<tr><td class="datos">'.$lang_label["days_purge"];
echo '<td class="datos"><input type="text" name="days_purge" size=5 value="'.$days_purge.'">';
echo '<tr><td class="datos2">'.$lang_label["days_purge"];
echo '<td class="datos2"><input type="text" name="days_purge" size=5 value="'.$days_purge.'">';
echo '<tr><td class="datos">'.$lang_label["graph_res"];
echo '<td class="datos"><input type="text" name="graph_res" size=5 value="'.$config_graph_res.'">';
echo '<tr><td class="datos">'.$lang_label["step_compact"];
echo '<td class="datos"><input type="text" name="step_compact" size=5 value="'.$config_step_compact.'">';
echo '<tr><td class="datos2">'.$lang_label["step_compact"];
echo '<td class="datos2"><input type="text" name="step_compact" size=5 value="'.$config_step_compact.'">';
echo '<tr><td class="datos">'.$lang_label["graph_order"];
echo '<td class="datos"><select name="graph_order">';
@ -79,8 +79,8 @@ if (comprueba_login() == 0)
echo '<option value="0">'.$lang_label["left_right"].'</option>';
}
echo '<tr><td class="datos">'.$lang_label["truetype"];
echo '<td class="datos"><select name="truetype">';
echo '<tr><td class="datos2">'.$lang_label["truetype"];
echo '<td class="datos2"><select name="truetype">';
if ($config_truetype==1) {
echo '<option value="1">'.$lang_label["active"].'</option>';
echo '<option value="0">'.$lang_label["disabled"].'</option>';

View File

@ -45,16 +45,25 @@ $nombre = "";
$nivel = "";
$comentarios = "";
$fecha_registro = "";
$color=0;
while ($rowdup=mysql_fetch_array($resq1)){
$nombre=$rowdup["id_usuario"];
$nivel =$rowdup["nivel"];
$comentarios =$rowdup["nombre_real"];
$fecha_registro =$rowdup["fecha_registro"];
echo "<tr><td class=datos>";
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
echo "<tr><td class='$tdcolor'>";
echo "<a href='index.php?sec=gusuarios&sec2=godmode/usuarios/configurar_usuarios&id_usuario_mio=".$nombre."'><b>".$nombre."</b></a>";
echo "<td class=datos>".$fecha_registro;
echo "<td class=datos>";
echo "<td class='$tdcolor'>".$fecha_registro;
echo "<td class='$tdcolor'>";
if ($nivel == 1)
echo "<img src='images/admin.gif'>";
else
@ -72,8 +81,8 @@ while ($rowdup=mysql_fetch_array($resq1)){
else { echo $lang_label["no_profile"]; }
echo "</span></a>";
echo "<td class=datos>".$comentarios;
echo '<td class=datos align="center"><a href="index.php?sec=gusuarios&sec2=godmode/usuarios/lista_usuarios&borrar_usuario='.$nombre.'" onClick="if (!confirm(\' '.$lang_label["are_you_sure"].'\')) return false;"><img border=0 src="images/cancel.gif"></a> ';
echo "<td class='$tdcolor'>".$comentarios;
echo "<td class='$tdcolor' align='center'><a href='index.php?sec=gagente&sec2=godmode/usuarios/lista_usuarios&borrar_usuario=".$nombre."' onClick='if (!confirm(\' ".$lang_label["are_you_sure"]."\')) return false;'><img border='0' src='images/cancel.gif'></a>";
}
echo "<tr><td colspan='5'><div class='raya'></div></td></tr>";
echo "<tr><td colspan='5' align='right'>";
@ -83,9 +92,9 @@ while ($rowdup=mysql_fetch_array($resq1)){
echo "</table>";
} // fin comprobacion seguridad pagina
} // end verify security of page
else {
audit_db($id_user,$REMOTE_ADDR, "ACL Violation","Trying to access User Management");
require ("general/noaccess.php");
audit_db($id_user,$REMOTE_ADDR, "ACL Violation","Trying to access User Management");
require ("general/noaccess.php");
}
?>

View File

@ -52,11 +52,13 @@ input.login {border-color: #778866; background-color: #f5f5f5; margin: 2px 0 8px
input.sub {font-weight: bold; border-bottom-color: #708090; border-right-color: #708090; -moz-border-radius: 5%; font-size: 11px;}
th, td.lb {color: #ffffff; background-color: #778866;}
td.lb {height: 16px; padding-left: 3px; font-weight: bold;}
td.datos, td.datost, td.datosb, td.datos_id, td.datosf9, td.datosf9i, td.datos_jus, td.w30d, td.w40d, td.w90d, td.w135d, td.w180d, td.w230d {background-color: #f5f5f5;}
td.datos, td.datost, td.datosb, td.datos_id, td.datosf9, td.datosf9i, td.datos_jus {background-color: #f5f5f5;}
d.w30datos, td.w40datos, td.w90datos, td.w135datos, td.w180datos, td.w230datos {background-color: #f5f5f5;}
td.datos2, td.datos2t, td.datos2b, td.datos2_id, td.datos2f9, td.datos2f9i, td.datos2_jus {background-color: #fafbfc;}
td.datos3 {background-color: #e6e9cd;} #d7ebce
d.w30datos2, td.w40datos2, td.w90datos2, td.w135datos2, td.w180datos2, td.w230datos2 {background-color: #fafbfc;}
td.datos3 {background-color: #e6e9cd;}
td.datos_id {color: #1a313a;}
td.datos_jus {text-align: justify;}
td.datos_jus, td.datos2_jus {text-align: justify;}
.bg , .bgt {background-color: #4a6629;}
.bg {position:relative; height: 20px; width: 100%;}
.f10, .w155f10, #ip {font-size: 10px; text-align: center;}

View File

@ -94,7 +94,7 @@ if (comprueba_login() == 0) {
echo "<th>".$lang_label["alerts"]."</th>";
echo "<th>".$lang_label["last_contact"]."</th>";
// For every agent deficed in the agent table
$color = 1;
$color = 0;
while ($row=mysql_fetch_array($result)){
if ($row["disabled"] == 0) {
$intervalo = $row["intervalo"]; // Interval in seconds
@ -207,8 +207,8 @@ if (comprueba_login() == 0) {
} else {
echo "N/A";
}
echo "<a div class='info'><img src='reporting/fgraph.php?tipo=progress&percent=".$percentil."&height=15&width=80' border=0>";
echo "<span>$ultimo_contacto</span></div>";
echo "<a class='info'><img src='reporting/fgraph.php?tipo=progress&percent=".$percentil."&height=15&width=80' border=0>";
echo "<span>$ultimo_contacto</span></a>";
// echo $ultimo_contacto;
}

View File

@ -106,7 +106,7 @@ if (comprueba_login() == 0) {
echo "<br>";
echo "<table cellpadding='3' cellspacing='3'>";
echo "<tr><th>ID</th><th>".$lang_label["type"]."</th><th>".$lang_label["description"]."</th><th>".$lang_label["last_fired"]."</th><th>".$lang_label["times_fired"]."</th><th>".$lang_label["status"]."</th>";
$color=1;
$color=0;
while ($row=mysql_fetch_array($result)){ //while there are agents
if ($row["disabled"] == 0) {
$id_agente = $row['id_agente'];

View File

@ -190,7 +190,7 @@ if (comprueba_login() == 0) {
echo "<label for='checkbox' class='p21'>".$lang_label["all"]." </label>";
echo '<input type="checkbox" class="chk" name="allbox" onclick="CheckAll();"></th>';
echo "<form name='eventtable' method='POST' action='index.php?sec=eventos&sec2=operation/events/events&refr=60&offset=".$offset."'>";
$color = 0;
$id_evento = 0;
if ($offset !=0)
$offset_limit = $offset +1;
@ -205,33 +205,40 @@ if (comprueba_login() == 0) {
$result=mysql_query($sql);
$row=mysql_fetch_array($result);
$id_group = $row["id_grupo"];
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
//if (give_acl($id_usuario, $id_group, "IR") == 1){ // Only incident read access to view data
$offset_counter++;
echo "<tr>";
echo "<td class='datos' align='center'>";
if ($row["estado"] == 0)
echo "<img src='images/dot_red.gif'>";
else
echo "<img src='images/dot_green.gif'>";
echo "<td class='datos'>".$row["evento"];
if ($row["id_agente"] > 0){
echo "<td class='datos'><a href='index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=".$row["id_agente"]."'><b>".dame_nombre_agente($row["id_agente"])."</b></a>";
echo "<td class='datos'>".dame_nombre_grupo($row["id_grupo"]);
echo "<td class='datos'>";
$offset_counter++;
echo "<tr><td class='$tdcolor' align='center'>";
if ($row["estado"] == 0)
echo "<img src='images/dot_red.gif'>";
else
echo "<img src='images/dot_green.gif'>";
echo "<td class='$tdcolor'>".$row["evento"];
if ($row["id_agente"] > 0){
echo "<td class='$tdcolor'><a href='index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=".$row["id_agente"]."'><b>".dame_nombre_agente($row["id_agente"])."</b></a>";
echo "<td class='$tdcolor'>".dame_nombre_grupo($row["id_grupo"]);
echo "<td class='$tdcolor'>";
} else { // for SNMP generated alerts
echo "<td class='datos' colspan=2 >".$lang_label["alert"]." / SNMP";
echo "<td class='datos'>";
echo "<td class='$tdcolor' colspan='2'>".$lang_label["alert"]." / SNMP";
echo "<td class='$tdcolor'>";
}
if ($row["estado"] <> 0)
echo "<a href='index.php?sec=usuario&sec2=operation/users/user_edit&ver=".$row["id_usuario"]."'><a href='#' class='tip'>&nbsp;<span>".dame_nombre_real($row["id_usuario"])."</span></a>".substr($row["id_usuario"],0,8)."</a>";
echo "<td class='datos'>".$row["timestamp"];
echo "<td class='datos' align='center'>";
echo "<td class='$tdcolor'>".$row["timestamp"];
echo "<td class='$tdcolor' align='center'>";
if (($row["estado"] == 0) and (give_acl($id_usuario,$id_group,"IW") ==1))
echo "<a href='index.php?sec=eventos&sec2=operation/events/events&check=".$row["id_evento"]."'><img src='images/ok.gif' border='0'></a>";
if (give_acl($id_usuario,$id_group,"IM") ==1)
echo "<a href='index.php?sec=eventos&sec2=operation/events/events&delete=".$row["id_evento"]."&refr=60&offset=".$offset."'><img src='images/cancel.gif' border=0></a>";
echo "<td class='datos' align='center'>";
echo "<td class='$tdcolor' align='center'>";
echo "<input type='checkbox' class='chk' name='eventid".$offset_counter."' value='".$row["id_evento"]."'>";
echo "</td></tr>";
//}

View File

@ -304,6 +304,7 @@ if (isset($_POST['operacion'])){
echo "<th>".$lang_label["source"];
echo "<th width='75'>".$lang_label["in_openedby"];
echo "<th>".$lang_label["delete"];
$color = 0;
// Skip offset records and begin show data
if ($offset !=0)
@ -322,11 +323,19 @@ if (isset($_POST['operacion'])){
$result=mysql_query($sql);
$row=mysql_fetch_array($result);
$id_group = $row["id_grupo"];
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
if (give_acl($id_usuario, $id_group, "IR") ==1){ // Only incident read access to view data !
$offset_counter++;
$note_number = dame_numero_notas($row["id_incidencia"]);
echo "<tr>";
echo "<td class='datos' align='center'><a href='index.php?sec=incidencias&sec2=operation/incidents/incident_detail&id=".$row["id_incidencia"]."'>".$row["id_incidencia"]."</a>";
echo "<td class='$tdcolor' align='center'><a href='index.php?sec=incidencias&sec2=operation/incidents/incident_detail&id=".$row["id_incidencia"]."'>".$row["id_incidencia"]."</a>";
// Check for attachments in this incident
$result3=mysql_query("SELECT * FROM tattachment WHERE id_incidencia = ".$row["id_incidencia"]);
@ -345,7 +354,7 @@ if (isset($_POST['operacion'])){
if (($row["estado"] == 0) && ($note_number >0 )){
$row["estado"] = 1;
}
echo "<td class='datos' align='center'>";
echo "<td class='$tdcolor' align='center'>";
switch ($row["estado"]) {
case 0: echo "<img src='images/dot_red.gif'>";
break;
@ -358,8 +367,8 @@ if (isset($_POST['operacion'])){
case 13: echo "<img src='images/dot_green.gif'>";
break;
}
echo "<td class='datosf9''><a href='index.php?sec=incidencias&sec2=operation/incidents/incident_detail&id=".$row["id_incidencia"]."'>".substr(salida_limpia($row["titulo"]),0,27);
echo "<td class='datos'>";
echo "<td class='$tdcolor'><a href='index.php?sec=incidencias&sec2=operation/incidents/incident_detail&id=".$row["id_incidencia"]."'>".substr(salida_limpia($row["titulo"]),0,27);
echo "<td class='$tdcolor'>";
switch ( $row["prioridad"] ){
case 0: echo "<img src='images/dot_green.gif'>"."<img src='images/dot_green.gif'>"."<img src='images/dot_yellow.gif'>"; break;
case 1: echo "<img src='images/dot_green.gif'>"."<img src='images/dot_yellow.gif'>"."<img src='images/dot_yellow.gif'>"; break;
@ -376,13 +385,13 @@ if (isset($_POST['operacion'])){
case 4: echo $lang_label["very_serious"]; break;
case 10: echo $lang_label["maintenance"]; break;
*/
echo "<td class='datos'>".dame_nombre_grupo($row["id_grupo"]);
echo "<td class='datosf9'>".$row["actualizacion"];
echo "<td class='datos'>".$row["origen"];
echo "<td class='datos'><a href='index.php?sec=usuario&sec2=operation/users/user_edit&ver=".$row["id_usuario"]."'><a href='#' class='tip'>&nbsp;<span>".dame_nombre_real($row["id_usuario"])."</span></a>".substr($row["id_usuario"], 0, 8)."</a></td>";
echo "<td class='$tdcolor'>".dame_nombre_grupo($row["id_grupo"]);
echo "<td class='$tdcolor'>".$row["actualizacion"];
echo "<td class='$tdcolor'>".$row["origen"];
echo "<td class='$tdcolor'><a href='index.php?sec=usuario&sec2=operation/users/user_edit&ver=".$row["id_usuario"]."'><a href='#' class='tip'>&nbsp;<span>".dame_nombre_real($row["id_usuario"])."</span></a>".substr($row["id_usuario"], 0, 8)."</a></td>";
$id_author_inc = $row["id_usuario"];
if ((give_acl($id_usuario, $id_group, "IM") ==1) OR ($_SESSION["id_usuario"] == $id_author_inc) ){ // Only incident owners or incident manager from this group can delete incidents
echo '<td class="datos" align="center"><a href="index.php?sec=incidencias&sec2=operation/incidents/incident&quick_delete='.$row["id_incidencia"].'" onClick="if (!confirm(\' '.$lang_label["are_you_sure"].'\')) return false;"><img src="images/cancel.gif" border="0"></a></td>';
echo "<td class='$tdcolor' align='center'><a href='index.php?sec=incidencias&sec2=operation/incidents/incident&quick_delete=".$row["id_incidencia"]."' onClick='if (!confirm(\' ".$lang_label["are_you_sure"]."\')) return false;'><img src='images/cancel.gif' border='0'></a></td>";
}
} // if ACL is correct
}

View File

@ -76,7 +76,7 @@ if (isset($_SESSION["id_usuario"])) {
echo '<ul class="mn"><li><a href="index.php?sec=estado_server&amp;sec2=operation/servers/view_server&amp;refr=60" class="mn">'.$lang_label["view_servers"].'</a></li></ul></div>';
}
if (give_acl($_SESSION["id_usuario"], 0, "IR")==1) {
if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/incidents/incident") {
if(isset($_GET["sec2"]) && ($_GET["sec2"] == "operation/incidents/incident" || $_GET["sec2"] == "operation/incidents/incident_detail")) {
echo '<div id="op3s">';
}
else echo '<div id="op3">';

View File

@ -139,17 +139,26 @@ else {
}
$sql3='SELECT * FROM tmensajes WHERE id_usuario_destino="'.$iduser.'"';
$resultado3=mysql_query($sql3);
$color=0;
if (mysql_num_rows($resultado3)) {
echo "<table class='w550'><tr><th>".$lang_label["read"]."</th><th>".$lang_label["sender"]."</th><th>".$lang_label["subject"]."</th><th>".$lang_label["timestamp"]."</th><th>".$lang_label["delete"]."</th></tr>";
while ($row3=mysql_fetch_array($resultado3)){
echo "<tr>";
if ($row3["estado"]==1) echo "<td align='center' class='datos'><img src='images/read.gif' border=0></td>";
else echo "<td align='center' class='datos'><img src='images/unread.gif' border=0></td>";
echo "<td class='datos'><b><a href=index.php?sec=usuarios&sec2=operation/users/user_edit&ver=".$row3["id_usuario_origen"].">".$row3["id_usuario_origen"]."</b></td><td class='w230d'><a href='index.php?sec=messages&sec2=operation/messages/message&leer=1&id_mensaje=".$row3["id_mensaje"]."'>";
if ($row3["subject"]) echo $row3["subject"]."</a>";
else echo "<i>".$lang_label["no_subject"]."</i></a>";
echo "</a></td><td class='w135d'>".$row3["timestamp"]."</td>";
echo "<td class='datos' align='center'><a href='index.php?sec=messages&sec2=operation/messages/message&borrar=1&id_mensaje=".$row3["id_mensaje"]."'><img src='images/delete.gif' border='0'></a></td></tr>";
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
echo "<tr>";
if ($row3["estado"]==1) echo "<td align='center' class='$tdcolor'><img src='images/read.gif' border=0></td>";
else echo "<td align='center' class='$tdcolor'><img src='images/unread.gif' border=0></td>";
echo "<td class='$tdcolor'><b><a href=index.php?sec=usuarios&sec2=operation/users/user_edit&ver=".$row3["id_usuario_origen"].">".$row3["id_usuario_origen"]."</b></td><td class='w230".$tdcolor."'><a href='index.php?sec=messages&sec2=operation/messages/message&leer=1&id_mensaje=".$row3["id_mensaje"]."'>";
if ($row3["subject"]) echo $row3["subject"]."</a>";
else echo "<i>".$lang_label["no_subject"]."</i></a>";
echo "</a></td><td class='w135".$tdcolor."'>".$row3["timestamp"]."</td>";
echo "<td class='$tdcolor' align='center'><a href='index.php?sec=messages&sec2=operation/messages/message&borrar=1&id_mensaje=".$row3["id_mensaje"]."'><img src='images/delete.gif' border='0'></a></td></tr>";
}
echo "<tr><td colspan='5'><div class='raya'></div></td></tr>";
}

View File

@ -37,7 +37,7 @@ if (comprueba_login() == 0) {
<th><?php echo $lang_label["description"]?>
<?php
$color = 1;
$query1="SELECT * FROM tusuario";
$resq1=mysql_query($query1);
while ($rowdup=mysql_fetch_array($resq1)){
@ -45,9 +45,17 @@ while ($rowdup=mysql_fetch_array($resq1)){
$nivel =$rowdup["nivel"];
$comentarios =$rowdup["comentarios"];
$fecha_registro =$rowdup["fecha_registro"];
echo "<tr><td class='datos'><a href='index.php?sec=usuarios&sec2=operation/users/user_edit&ver=".$nombre."'><b>".$nombre."</b></a>";
echo "<td class='datos'><font size=1>".$fecha_registro."</font>";
echo "<td class='datos'>";
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
echo "<tr><td class='$tdcolor'><a href='index.php?sec=usuarios&sec2=operation/users/user_edit&ver=".$nombre."'><b>".$nombre."</b></a>";
echo "<td class='$tdcolor'><font size=1>".$fecha_registro."</font>";
echo "<td class='$tdcolor'>";
if ($nivel == 1)
echo "<img src='images/admin.gif'>";
else
@ -63,8 +71,8 @@ while ($rowdup=mysql_fetch_array($resq1)){
}
else { echo $lang_label["no_profile"]; }
echo "</span></a>";
echo "<td class='datos' width='100'>".substr($rowdup["nombre_real"],0,16);
echo "<td class='datos_jus'>".$comentarios;
echo "<td class='$tdcolor' width='100'>".substr($rowdup["nombre_real"],0,16);
echo "<td class='$tdcolor'>".$comentarios;
}
echo "<tr><td colspan='5'><div class='raya'></div></td></tr></table><br>";
@ -91,7 +99,7 @@ echo "<tr><td colspan='5'><div class='raya'></div></td></tr></table><br>";
echo "<th class='w40d'><font size=1>DM<a href='#' class='tip2'>&nbsp;<span>".$help_label["DM"]."</span></a>";
echo "<th class='w40d'><font size=1>LM<a href='#' class='tip2'>&nbsp;<span>".$help_label["LM"]."</span></a>";
echo "<th class='w40d'><font size=1>PM<a href='#' class='tip2'>&nbsp;<span>".$help_label["PM"]."</span></a>";
$color = 0;
while ($rowdup=mysql_fetch_array($resq1)){
$id_perfil = $rowdup["id_perfil"];
$nombre=$rowdup["name"];
@ -105,37 +113,44 @@ echo "<tr><td colspan='5'><div class='raya'></div></td></tr></table><br>";
$db_management = $rowdup["db_management"];
$alert_management = $rowdup["alert_management"];
$pandora_management = $rowdup["pandora_management"];
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
echo "<tr><td class='$tdcolor"."_id'>".$nombre;
echo "<tr><td class=datos_id>".$nombre;
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($incident_view == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($incident_edit == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($incident_management == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($agent_view == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($agent_edit == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($alert_edit == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($user_management == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($db_management == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($alert_management == 1) echo "<img src='images/ok.gif' border=0>";
echo "<td class=datos>";
echo "<td class='$tdcolor'>";
if ($pandora_management == 1) echo "<img src='images/ok.gif' border=0>";
}

View File

@ -10,10 +10,10 @@
INSERT INTO `talerta` VALUES (1,'eMail','echo _field3_ | mail -s _field2_ _field1_','Send email from Pandora Server. mail is a default command on all &quot;standard&quot; Unix systems, using:\r\n_field1_ as destination email address, and\r\n_field2_ as subject for message. \r\n_field3_ as text of message.');
INSERT INTO `talerta` VALUES (2,'LogFile','echo _timestamp_ pandora _field1_ _field2_ &gt;&gt; /var/log/pandora_alert.log','This is a default alert to write alerts in a standard ASCII plaintext log file in /var/log/pandora_alert.log\r\n');
INSERT INTO `talerta` VALUES (3,'Internal Audit','','This alert save alert in Pandora interal audit system. Fields are static and only _field1_ is used.');
INSERT INTO `talerta` VALUES (3,'Internal Audit','','This alert save alert in Pandora internal audit system. Fields are static and only _field1_ is used.');
INSERT INTO `talerta` VALUES (4,'SNMP Trap','/usr/bin/snmptrap -v 1 -c trap_public 192.168.0.4 1.1.1.1.1.1.1.1 _agent_ _field1_','Send a SNMPTRAP to 192.168.0.4. Please review config and adapt to your needs, this is only a sample, not functional itself.');
INSERT INTO `talerta` VALUES (5,'SMS Text','echo _field2_ | mail -s PANDORA_field1_ slerena@vodafone.es','Send SMS via e-mail gateway. Use field1 for a short SMS text (35 chars) and field 2 for text message (full SMS)');
INSERT INTO `talerta` VALUES (6,'Syslog','/usr/bin/logger -pri daemon.alert Pandora Alert _agent_ _field1_ _field2_','Uses field1 and field2 to generate Syslog alert in facility &quot;daemon&quot; with &quot;alert&quot; level.');
INSERT INTO `talerta` VALUES (5,'SMS Text','echo _field2_ | mail -s PANDORA_field1_ slerena@vodafone.es','Send SMS via e-mail gateway. Use _field1_ for a short SMS text (35 chars) and _field2_ for text message (full SMS)');
INSERT INTO `talerta` VALUES (6,'Syslog','/usr/bin/logger -pri daemon.alert Pandora Alert _agent_ _field1_ _field2_','Uses _field1_ and _field2_ to generate a Syslog alert in facility &quot;daemon&quot; with &quot;alert&quot; level.');
--
-- Dumping data for table `tconfig`