";
echo "";
$string=$string. "";
$string=$string."";
$string=$string. " | ";
$string=$string."".
strtoupper(substr(dame_nombre_agente($data["id_agente"]),0,21))."";
$string=$string." | ";
$string=$string."
| ";
$string=$string."".
substr($data["nombre"],0,21)." | ";
$string=$string."".
substr($data["descripcion"],0,30)." | ";
$string=$string."";
if ($data["max"] == $data["min"])
$string .= "--";
else
$data["max"]."/".$data["min"]." | ";
$string=$string."";
if ($data["module_interval"] == 0){
$my_interval = give_agentinterval($data["id_agente"]);
} else {
$my_interval = $data["module_interval"];
}
$string .= $my_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." | ";
$seconds = time() - $data2["utimestamp"];
if ($seconds >= ($my_interval*2))
$string .= "";
else
$string .= "";
$string .= human_time_comparation($data2["timestamp"])." |
";
}
}
else if($ag_group>1) {unset($string);}
}
}
if (isset($string)) {
echo "