<form id="form1" name="form1" method="GET" action="t_indicadores.php?filtro=<?=$colores?>" ><!--metodo post-->
<?php
if(isset($_REQUEST['button'])) {
$anho = $_REQUEST['anho'];
$mes = $_REQUEST['mes'];
if (($anho == $anho) and ($mes=="01")){
?>
<script>
alert ("¡Debe seleccionar un mes posterior a enero! ");
window.location = 't_indicadores.php';
</script>
<?php
}
}
?>
<div style='position:absolute;top:-1px;left:5px'>
<fieldset style='position:absolute;top:20px;left:10px'><legend7777>Seleccione criterios de búsqueda</legend>
<table width="1205" height='60' border="0" cellpadding="0" cellspacing="0" >
<tr>
<td>
</td>
</tr>
</table>
<div style='position:absolute;top:50px;left:20px'>
<table width="850" border="0" cellpadding="0" cellspacing="0" >
<TD colspan='2'>
<font color='#00005A' face='tela Text Bold'>Año:
<select name="anho" size="1" id="anho" class='listas'>
<?php
if ($_GET['anho']=='[SELECCIONE]')
{echo "<option value='' selected>::SELECCIONE::</option>";}
else{echo "<option value=''>::SELECCIONE::</option>";}
if ($_GET['anho']=='2012')
{echo "<option value='2012' selected>2012</option>";}
else{echo "<option value='2012'>2012</option>";}
if ($_GET['anho']=='2013')
{echo "<option value='2013' selected>2013</option>";}
else{echo "<option value='2013'>2013</option>";}
?>
</td>
</select>
<TD ><font color='#00005A' face='tela Text Bold'>Mes:
<td ><select name="mes" id="mes" class='listas'>
<?php
if ($_GET['mes']=='[SELECCIONE]')
{echo "<option value='[SELECCIONE]' selected>[SELECCIONE]</option>";}
else{echo "<option value='[SELECCIONE]'>::SELECCIONE::</option>";}
if ($_GET['mes']=='01')
{echo "<option value='01' selected>ENERO</option>";}
else{echo "<option value='01'>ENERO</option>";}
if ($_GET['mes']=='02')
{echo "<option value='02' selected>FEBRERO</option>";}
else{echo "<option value='02'>FEBRERO</option>";}
if ($_GET['mes']=='03')
{echo "<option value='03' selected>MARZO</option>";}
else{echo "<option value='03'>MARZO</option>";}
if ($_GET['mes']=='04')
{echo "<option value='04' selected>ABRIL</option>";}
else{echo "<option value='04'>ABRIL</option>";}
if ($_GET['mes']=='05')
{echo "<option value='05' selected>MAYO</option>";}
else{echo "<option value='05'>MAYO</option>";}
if ($_GET['mes']=='06')
{echo "<option value='06' selected>JUNIO</option>";}
else{echo "<option value='06'>JUNIO</option>";}
if ($_GET['mes']=='07')
{echo "<option value='07' selected>JULIO</option>";}
else{echo "<option value='07'>JULIO</option>";}
if ($_GET['mes']=='08')
{echo "<option value='08' selected>AGOSTO</option>";}
else{echo "<option value='08'>AGOSTO</option>";}
if ($_GET['mes']=='09')
{echo "<option value='09' selected>SETIEMBRE</option>";}
else{echo "<option value='09'>SETIEMBRE</option>";}
if ($_GET['mes']=='10')
{echo "<option value='10' selected>OCTUBRE</option>";}
else{echo "<option value='10'>OCTUBRE</option>";}
if ($_GET['mes']=='11')
{echo "<option value='11' selected>NOVIEMBRE</option>";}
else{echo "<option value='11'>NOVIEMBRE</option>";}
if ($_GET['mes']=='12')
{echo "<option value='12' selected>DICIEMBRE</option>";}
else{echo "<option value='12'>DICIEMBRE</option>";}
?>
</td>
</select>
<TD><font color='#00005A' face='tela Text Bold'>Área:
<td><select name="area" class='listas'>
<?php
if(isset($_REQUEST['area'])){ $variable=($_REQUEST['area']);
if($cb1['0']==$variable){
$a="selected";
}else{ $a="";}
}else{
if($cb1['0']==$fech){
$a="selected";
}else{ $a="";}
}
?>
<Option <?echo $a;?> value="<?php echo $cb1['0']?>"><?php echo $cb1['1']?></option>
<?php
}
?>
</td>
</select>
<!--MODIFICACIONES AGAL-->
<TD><font color='#00005A' face='tela Text Bold'>MCI:
<td ><select name='mci' size="1" id="mci" class='listas'>
<?php
if ($_GET['mci']=='[::SELECCIONE::]')
{echo "<option value='::SELECCIONE::' selected>::SELECCIONE::</option>";}
else{echo "<option value='::SELECCIONE::'>::SELECCIONE::</option>";}
if ($_GET['mci']=='INGRESOS')
{echo "<option value='INGRESOS' selected>INGRESOS</option>";}
else{echo "<option value='INGRESOS'>INGRESOS</option>";}
if ($_GET['mci']=='ISC')
{echo "<option value='ISC' selected>ISC</option>";}
else{echo "<option value='ISC'>ISC</option>";}
if ($_GET['mci']=='IST')
{echo "<option value='IST' selected>IST</option>";}
else{echo "<option value='IST'>IST</option>";}
if ($_GET['mci']=='OPEX')
{echo "<option value='OPEX' selected>OPEX</option>";}
else{echo "<option value='OPEX'>OPEX</option>";}
?>
</select>
<input type="submit" name="button" id="button" onClick="estado()" value="Consultar"/></td>
</table>
</div>
</fieldset>
</fieldset>
</div>
<?
?>