Viewing file: ibocaing.php (15.61 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Material Particulado Respirable para Hoy - PM10</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
.texto {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
text-decoration: none;
}
-->
</style>
</head>
<body leftmargin="2" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="8">
<tr>
<td><img src="banneribo.gif" width="600" height="60"></td>
</tr>
<tr>
<td><p><font size="4" face="Verdana, Arial, Helvetica, sans-serif">Módulo
de Ingreso de Datos en el IBOCA, PM10</font></p>
<?php
$fr = isset($accion);
{
if ($fr == true) {
if ($accion == 1) {
$fecha = $ano . $mes . $dia;
require('conexion3.php');
$query ="INSERT INTO iboca VALUES('$textfield','$textfield2','$textfield3','$textfield4','$textfield5','$textfield6','$textfield7','$textfield8','$textfield9','$textfield10','$textfield11','$textfield12','$textfield13','$textfield14','$fecha')";
$result = mysql_query($query,$db);
if ($result == 0) {
echo "<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><strong>Error</strong>,
No se pudieron ingresar los datos de $fecha</font></p>";
}else{
echo "<p><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><strong>OK</strong>,
Se ingresaron con éxito los datos de $fecha</font></p>";
}
}}}
?>
</td>
</tr>
<tr>
<td><form name="form1" method="post" action="">
<table width="600" border="0" cellspacing="0" cellpadding="4">
<tr>
<td colspan="2" bgcolor="#00CCFF"><div align="center"></div>
<div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Promedios
Diarios de PM10 µg/m3</strong></font></div></td>
</tr>
<tr>
<td bgcolor="#006699"> </td>
<td bgcolor="#CDDCFE"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Datos
para la Fecha:</font> <strong>Día:
<select name="dia" id="dia">
<option value="01">1</option>
<option value="02">2</option>
<option value="03">3</option>
<option value="04">4</option>
<option value="05">5</option>
<option value="06">6</option>
<option value="07">7</option>
<option value="08">8</option>
<option value="09">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
Mes:
<select name="mes" id="mes">
<option value="01">Enero</option>
<option value="02">Febrero</option>
<option value="03">Marzo</option>
<option value="04">Abril</option>
<option value="05">Mayo</option>
<option value="06">Junio</option>
<option value="07">Julio</option>
<option value="08">Agosto</option>
<option value="09">Septiembre</option>
<option value="10">Octubre</option>
<option value="11">Noviembre</option>
<option value="12">Diciembre</option>
</select>
Año: <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
<select name="ano" id="ano">
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2000">2000</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
</select>
</strong></font></strong></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>1</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield" type="text" value="0" size="10">
Universidad del Bosque</font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>2</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield2" type="text" value="0" size="10">
Ministerio de Ambiente, Vivivienda y Desarrollo Territorial</font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>3</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield3" type="text" value="0" size="10">
Sony Music</font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>4</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield4" type="text" value="0" size="10">
Hospital del Olaya</font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>5</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield5" type="text" value="0" size="10">
IDRD</font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>6</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield6" type="text" value="0" size="10">
Carrefour, Calle 80</font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>7</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield7" type="text" value="0" size="10">
Cazucá </font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>8</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield8" type="text" value="0" size="10">
Escuela de Ingeniería</font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>9</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield9" type="text" value="0" size="10">
Central de Mezclas</font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>10</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield10" type="text" value="0" size="10">
Universidad Santo Tómas </font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>11</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield11" type="text" value="0" size="10">
Universidad Corpas</font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>12</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield12" type="text" value="0" size="10">
Cade Energía</font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>13</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield13" type="text" value="0" size="10">
Merck </font></td>
</tr>
<tr>
<td width="5%"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>14</strong></font></div></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input name="textfield14" type="text" value="0" size="10">
Fontibón </font></td>
</tr>
<tr>
<td colspan="2"><div align="center">
<input name="accion" type="hidden" id="accion" value="1">
<input type="submit" name="Submit" value="Guardar los datos de éste día...">
</div></td>
</tr>
<tr>
<td colspan="2"><div align="center"><font size="1">Todos los derechos
reservados para el DAMA, 2003<br>
Sistema de Información Ambiental SIA-DAMA.</font></div></td>
</tr>
</table>
</form></td>
</tr>
<tr>
<td>
<table width="600" border="1" cellpadding="4" cellspacing="0" bordercolor="#999999" bgcolor="#FDF9DB">
<tr>
<td><form name="form1" method="post" action="reqiboca2.php">
<div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Ver
otra fecha: <strong>Día:
<select name="diax" id="diax">
<option value="01">1</option>
<option value="02">2</option>
<option value="03">3</option>
<option value="04">4</option>
<option value="05">5</option>
<option value="06">6</option>
<option value="07">7</option>
<option value="08">8</option>
<option value="09">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
Mes:
<select name="mesx" id="mesx">
<option value="01">Enero</option>
<option value="02">Febrero</option>
<option value="03">Marzo</option>
<option value="04">Abril</option>
<option value="05">Mayo</option>
<option value="06">Junio</option>
<option value="07">Julio</option>
<option value="08">Agosto</option>
<option value="09">Septiembre</option>
<option value="10">Octubre</option>
<option value="11">Noviembre</option>
<option value="12">Diciembre</option>
</select>
Año:
<select name="anox" id="anox">
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2000">2000</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
</select>
<input name="accion2" type="hidden" id="accion22" value="1">
<input type="submit" name="Submit2" value="Ver">
</strong></font><strong> </strong> </div>
</form></td>
</tr>
</table>
</td>
</tr>
</table>
<p class="texto"> </p>
</body>
</html>
|