";
echo "";
$string=$string."".dame_nombre_agente($data["id_agente"])."";
$string=$string." | ";
$string=$string."";
$string=$string." | ".$data["nombre"];
$string=$string." | ".substr($data["descripcion"],0,30);
$string=$string." | ".$data["max"]."/".$data["min"];
$string=$string." | ";
if ($data["module_interval"] == 0){
$string=$string.give_agentinterval($data["id_agente"]);
} else {
$string=$string.$data["module_interval"];
}
$query_gen2='SELECT * FROM tagente_estado WHERE id_agente_modulo = '.$data["id_agente_modulo"];
$result_gen2=mysql_query($query_gen2);
$data2=mysql_fetch_array($result_gen2);
$string=$string." | ";
if ($data2["datos"] > 0){
$string=$string."";
} else {
$string=$string."";
}
$string=$string." | ".$data2["timestamp"]." |
";
}
}
else if($ag_group>1) {unset($string);}
}
}
if (isset($string)) {
echo "