";
+ // Render network exec module button, only when
+ // Agent Write for this module and group, is given
+ // Is a network module
+ // Has flag = 0
+ $id_grupo = $row_t["id_grupo"];
+ $id_usuario=$_SESSION["id_usuario"];
+ if (give_acl($id_usuario, $id_grupo, "AW")==1){
+ if ($row3["id_tipo_modulo"] > 4){
+ if ($row3["flag"] == 0){
+ echo " ";
+ } else {
+ echo " ";
+ }
+ }
+ }
+ $nombre_grupomodulo = dame_nombre_grupomodulo ($row3["id_module_group"]);
+ if ($nombre_grupomodulo != ""){
+ if (($label_group == 0) || ($last_label != $nombre_grupomodulo)){ // Show label module group
+ $label_group = -1;
+ $last_label = $nombre_grupomodulo;
+ $texto = $texto. " | ".$nombre_grupomodulo."";
+ }
+ }
+
+ $nombre_tipo_modulo = dame_nombre_tipo_modulo($row3["id_tipo_modulo"]);
+ echo " | ";
+ echo salida_limpia(substr($row3["nombre"],0,15));
+ echo " | ";
+ echo " ";
+ echo " | ";
+ if ($row3["module_interval"] != 0)
+ echo $row3["module_interval"];
+ else
+ echo $intervalo_agente;
+ //echo $nombre_tipo_modulo;
+ echo " | ";
+ echo salida_limpia(substr($row3["descripcion"],0,32));
+ if (strlen($row3["descripcion"]) > 32){
+ echo "...";
+ }
+ // For types not string type (3 data_string, 9 tcp_string, 14 snmp_string)
+ if (($row3["id_tipo_modulo"] != 3) AND ($row3["id_tipo_modulo"]!=10) AND ($row3["id_tipo_modulo"]!=17)){
+
+ echo " | ";
+ echo substr($row3["datos"],0,5);
+ $handle = "stat".$nombre_tipo_modulo."_".$nombre_agente;
+ $url = 'reporting/procesos.php?agente='.$nombre_agente;
+ $win_handle=dechex(crc32($nombre_agente.$row3["nombre"]));
+ echo " | ";
+
+ echo " ";
+
+ $link ="winopeng('reporting/stat_win.php?tipo=semana&id=".$row3["id_agente_modulo"]."&refresh=6000','sem_".$win_handle."')";
+ echo ' ';
+
+ $link ="winopeng('reporting/stat_win.php?tipo=dia&id=".$row3["id_agente_modulo"]."&refresh=800','dia_".$win_handle."')";
+ echo ' ';
+
+ $link ="winopeng('reporting/stat_win.php?tipo=hora&id=".$row3["id_agente_modulo"]."&refresh=30','hora_".$win_handle."')";
+ echo ' ';
+ }
+ else { # Writing string data in different way :)
+ echo " | ";
+ echo salida_limpia(substr($row3["datos"],0,42));
+ }
+
+ echo " | ";
+ echo " ";
+ echo " ";
+ echo " ";
+ echo " | ".$row3["timestamp"];
+
+ //}
+ }
+ echo ' |