|
|
|
Nota:
Debido a que por la hora aún no se registran
datos suficientes para representar el día de hoy,
se presentan los datos del día anterior. |
|
...";
//echo $vali;
//echo "---";
//echo $estacionid;
//echo " ";
require('color.php');
$val[$estacionid] = $vali;
$fusion[$estacionid] = $col1;
$num_filas++;
}
$pm10 = 0;
$ul = 0;
for ($i = 1; $i <= 14; $i++) {
$compr = isset($val[$i]);
if ($compr == false) {
$val[$i] = 0;
}
$pm10 = $pm10 + $val[$i];
if ($val[$i] != 0) {
$ul++;
}
}
//echo $ul;
$pm10 = $pm10 / $ul;
$pm10 = round($pm10);
if ($num_filas == 0) {
require('fechanew2.php');
$pm10 = 0;
$fic = 1;
}else{
require('fechanew2.php');
$fic = 0;
}
$con = 0;
?>
...";
//echo $vali;
//echo "---";
//echo $estacionid;
//echo " ";
require('colorpst.php');
$val6[$estacionid] = $vali6;
$fusion6[$estacionid] = $col1;
$num_filas++;
}
$pst = 0;
$ul = 0;
for ($i = 1; $i <= 14; $i++) {
$compr = isset($val6[$i]);
if ($compr == false) {
$val6[$i] = 0;
}
$pst = $pst + $val6[$i];
if ($val6[$i] != 0) {
$ul++;
}
}
//echo $ul;
//$pst = $pst / $ul;
$pst = round($pst);
if ($num_filas == 0) {
require('fechanew2.php');
$pst = 0;
$fic = 1;
}else{
require('fechanew2.php');
$fic = 0;
}
$con = 0;
?>
...";
//echo $vali;
//echo "---";
//echo $estacionid;
//echo " ";
require('colorno2.php');
$val7[$estacionid] = $vali7;
$fusion7[$estacionid] = $col1;
$num_filas++;
}
$no2 = 0;
$ul = 0;
for ($i = 1; $i <= 14; $i++) {
$compr = isset($val7[$i]);
if ($compr == false) {
$val7[$i] = 0;
}
$no2 = $no2 + $val7[$i];
if ($val7[$i] != 0) {
$ul++;
}
}
//echo $ul;
$no2 = $no2 / $ul;
$no2 = round($no2);
if ($num_filas == 0) {
require('fechanew2.php');
$no2 = 0;
$fic = 1;
}else{
require('fechanew2.php');
$fic = 0;
}
$con = 0;
?>
...";
//echo $vali;
//echo "---";
//echo $estacionid;
//echo " ";
require('colorco.php');
$val8[$estacionid] = $vali8;
$fusion8[$estacionid] = $col1;
$num_filas++;
}
$mono = 0;
$ul = 0;
for ($i = 1; $i <= 14; $i++) {
$compr = isset($val8[$i]);
if ($compr == false) {
$val8[$i] = 0;
}
$mono = $mono + $val8[$i];
if ($val8[$i] != 0) {
$ul++;
}
}
//echo $ul;
$mono = $mono / $ul;
$mono = round($mono);
if ($num_filas == 0) {
require('fechanew2.php');
$mono = 0;
$fic = 1;
}else{
require('fechanew2.php');
$fic = 0;
}
$con = 0;
?>
...";
//echo $vali;
//echo "---";
//echo $estacionid;
//echo " ";
require('colorso2.php');
$val9[$estacionid] = $vali9;
$fusion9[$estacionid] = $col1;
$num_filas++;
}
$so2 = 0;
$ul = 0;
for ($i = 1; $i <= 14; $i++) {
$compr = isset($val9[$i]);
if ($compr == false) {
$val9[$i] = 0;
}
$so2 = $so2 + $val9[$i];
if ($val9[$i] != 0) {
$ul++;
}
}
//echo $ul;
$so2 = $so2 / $ul;
$so2 = round($so2);
if ($num_filas == 0) {
require('fechanew2.php');
$so2 = 0;
$fic = 1;
}else{
require('fechanew2.php');
$fic = 0;
}
$con = 0;
?>
|
![](map2.jpg) |
|