<?
session_start();
  //require('../valtiempoinact.php');
require("../../conectar.php");
$tipo=$_GET['tipo'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     <head>
	     <title>Asambleas</title>
         <script language="javascript" src="../js/jquery-1.2.6.min.js"></script>

		 <style>
		     .cont-busc{position:relative;width:850px;height:auto;min-height:400px !important;font-family:arial;color:#086A87;top:10px;overflow-x:hidden;margin:auto;}
			  .cont-busc .bar-busc{position:relative;width:900px;height:90px;font-family:arial;color:#086A87;top:0px;margin:auto;}
			  .cont-res{position:relative;width:900px;font-family:arial;color:#086A87;top:0px;margin:auto;}
			  .datos{border:0;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;-khtml-border-radius: 5px;border-collapse: collapse;color:#0d0d0d;}
			  .datos .tl{-moz-box-shadow:inset 0 0 20px #000000;-webkit-box-shadow: inset 0 0 20px #000000;box-shadow: inset 0 0 20px #000000;}
			  .datos .trs{min-height:30px !important;max-height:30px !important;height:30px !important;background:url(../images/tcancion.jpg) repeat-x;color:#ffffff;font-size:12px;}
			  .letra{font-size:10px;}
              .datos .trsb{min-height:15px !important;max-height:15px !important;height:15px !important;background:url(../images/tcancion2.png);color:#58D3F7;font-size:12px;}
			  .datos .trsb td{border-left:solid 1px #6E6E6E;}
			  .datos .trsb td:first-child{border-left:none;}
			  .datos .tr{min-height:20px !important;max-height:20px !important;height:20px !important;background:#ffffff;border-top:solid 1px #D8D8D8; color:#084B8A;font-size:13px;}
			  .datos .trb{min-height:20px !important;max-height:20px !important;height:20px !important;background:#ffffff;border-top:solid 1px #D8D8D8; color:#084B8A;font-size:13px;}
			  .datos .trb td{border-left:solid 1px #D8D8D8;padding-left:10px;}
			  .datos .trb td:first-child{border-left:none;}
			   
			  .datos .tr td{border-left:solid 1px #D8D8D8;padding-left:10px;}
			  .datos .tr td:first-child{border-left:none;}
	          .datos .tr:hover{background:#01A9DB;color:#ffffff;}	
	          .datos .tr:hover a{color:#ffffff;}
              .datos .tr1{min-height:20px !important;max-height:20px !important;height:20px !important;background:#E0F8F7;border-top:solid 1px #D8D8D8; color:#084B8A;font-size:13px;}	
              .datos .tr1 td{border-left:solid 1px #D8D8D8;padding-left:10px;}
			  .datos .tr1 td:first-child{border-left:none;}
	          .datos .tr1:hover{background:#01A9DB;color:#ffffff;}	
	          .datos .tr1:hover a{color:#ffffff;}	
			  .datos .activo{min-height:20px !important;max-height:20px !important;height:20px !important;background:#F3E2A9;border-top:solid 1px #D8D8D8; color:#084B8A;font-size:13px;}
			  .loading{position:fixed;left:50%;top:50%;width:250px;height:70px;margin-left:-125px;margin-top:-35px;display:none;background:url(../images/bkloading.png);background-repeat:no-repeat;color:#ffffff;padding-top:25px;text-align:center;font-family:arial;font-size:12px;}
               .rentas{position:absolute;top:40px;width:800px;left:50%;margin-left:-421px;border:solid 1px  #D8D8D8; background:#FFFFFF; display:none;padding:20px;-Moz-box-shadow: 0 0 85px #000;-webkit-box-shadow: 0 0 85px #000; box-shadow: 0 0 85px #000;}
               .rentatab{border-collapse:collapse;color:#0d0d0d;font-family:arial;font-size:12px;}
               .rentatab .filatit{min-height:20px !important;max-height:20px !important;height:20px !important;background:#D8D8D8;border-top:solid 1px #D8D8D8;font-size:13px;}			   
               .rentatab .fila{min-height:20px !important;max-height:20px !important;height:20px !important;background:#ffffff;border-top:solid 1px #D8D8D8; color:#084B8A;font-size:12px;}
               .rentatab .fila td{border-left:solid 1px #D8D8D8;padding-left:5px;}
               .rentatab .fila td:first-child{border-left:none;}
               .cerrar{float:right;margin-top:-20px;margin-right:-20px;}	
			   .sinfor{text-decoration:none}
             
p#vtip { display: none; position: absolute; padding: 5px; left: 5px; font-size: 1em; background-color: #83C023; border: 1px solid #83C023; -moz-border-radius: 5px; -webkit-border-radius: 5px; z-index: 9999;color:#000000 }
p#vtip #vtipArrow { position: absolute; top: -10px; left: 5px }
.vtip{cursor:pointer;}		
         .inp{width:50px;}	   
	     </style>
     </head>
	 <body>
			<?
			$mes[1]="Enero";$mes[2]="Febrero";$mes[3]="Marzo";$mes[4]="Abril";$mes[5]="Mayo";$mes[6]="Junio";$mes[7]="Julio";$mes[8]="Agosto";$mes[9]="Septiembre";$mes[10]="Octubre";$mes[11]="Noviembre";$mes[12]="Diciembre";
		  $ano=date("Y");
			?>
	    <div class="cont-busc">
		    <div id="cont-res" class="cont-res">
			<table class="datos" width="850">
			 <form method="post" action="asambleas2.php" target="_blank">
			    <tr>
		         <td colspan="9" align="center" class="tl">
				     <b>Asambleas</b>
				 </td>
		        </tr>
				<tr>
		         <td colspan="9" align="center">
				     <font style="font-size:11px;"><b>Selecciona un tipo de asamblea y el mes para Generar el Reporte</b></font>
				 </td>
		        </tr>
				<tr class="tr" align="false">
				 <td>Tipo:</td><td colspan="3">
				    <select name="tipoAsambleas">
					 <option value="1">Ordinaria</option>
					 <option value="2">Extraordinaria</option>
					</select>
				 </td>
				</tr>
				<tr class="tr" align="false">
				 <td>Fecha</td>
				 <td colspan="3">Dia
				    <select name="dia">
					<?for($i=1;$i<=31;$i++){?>
					 <option value="<?echo$i;?>"><?echo$i;?></option>
					<?}?>
					</select>Mes
					<select name="mes">
					<?for($i=1;$i<=12;$i++){?>
					 <option value="<?echo$i;?>"><?echo $mes[$i];?></option>
					<?}?>
					</select>A&ntilde;o
					<select name="ano">
					<?for($i=$ano;$i>=2010;$i--){?>
					 <option value="<?echo$i;?>"><?echo$i;?></option>
					<?}?> 
					</select>
				</td>
				</tr>
				<tr class="tr" align="false">
				 <td>Hora</td><td colspan="3">
					<select name="hora">
						<option value="1">1</option>
						<option value="1:30">1:30</option>
						<option value="2">2</option>
						<option value="2:30">2:30</option>
						<option value="3">3</option>
						<option value="3:30">3:30</option>
						<option value="4">4</option>
						<option value="4:30">4:30</option>
						<option value="5">5</option>
						<option value="5:30">5:30</option>
						<option value="6">6</option>
						<option value="6:30">6:30</option>
						<option value="7">7</option>
						<option value="7:30">7:30</option>
						<option value="8">8</option>
						<option value="8:30">8:30</option>
						<option value="9">9</option>
						<option value="9:30">9:30</option>
						<option value="10">10</option>
						<option value="10:30">10:30</option>
						<option value="11">11</option>
						<option value="11:30">11:30</option>
						<option value="12">12</option>
						<option value="12:30">12:30</option>
						<option value="13">13</option>
						<option value="13:30">13:30</option>
						<option value="14">14</option>
						<option value="14:30">14:30</option>
						<option value="15">15</option>
						<option value="15:30">15:30</option>
						<option value="16">16</option>
						<option value="16:30">16:30</option>
						<option value="17">17</option>
						<option value="17:30">17:30</option>
						<option value="18">18</option>
						<option value="18:30">18:30</option>
						<option value="19">19</option>
						<option value="19:30">19:30</option>
						<option value="20">20</option>
						<option value="20:30">20:30</option>
						<option value="21">21</option>
						<option value="21:30">21:30</option>
						<option value="22">22</option>
						<option value="22:30">22:30</option>
						<option value="23">23</option>
						<option value="23:30">23:30</option>
						<option value="24">24</option>
					</select>Hrs.
				 </td>
				</tr>
				<tr>
		         <td colspan="9" align="center" class="">
				    <br>
				     <font style="font-size:11px;"><b>Debes de Seleccionar una fecha Inicial y Final para generar la Lista de Asamblea de socios Admitidos, Activos y dados de Baja.</b></font>
				 </td>
		        </tr>
				<tr class="tr" align="false">
				 <td>Fecha Inicial</td>
				 <td colspan="3">Dia
				    <select name="dia_inicial">
					<?for($i=1;$i<=31;$i++){?>
					 <option value="<?if($i>9){echo $i;}else{echo "0".$i;}?>"><?echo$i;?></option>
					<?}?>
					</select>Mes
					<select name="mes_inicial">
					<?for($i=1;$i<=12;$i++){?>
					 <option value="<?if($i>9){echo $i;}else{echo "0".$i;}?>"><?echo $mes[$i];?></option>
					<?}?>
					</select>A&ntilde;o
					<select name="ano_inicial">
					<?for($i=$ano;$i>=2010;$i--){?>
					 <option value="<?echo$i;?>"><?echo$i;?></option>
					<?}?> 
					</select>
				</td>
				</tr>
				<tr class="tr" align="false">
				 <td>Fecha Final</td>
				 <td colspan="3">Dia
				    <select name="dia_final">
					<?for($i=1;$i<=31;$i++){?>
					 <option value="<?if($i>9){echo $i;}else{echo "0".$i;}?>"><?echo$i;?></option>
					<?}?>
					</select>Mes
					<select name="mes_final">
					<?for($i=1;$i<=12;$i++){?>
					 <option value="<?if($i>9){echo $i;}else{echo "0".$i;}?>"><?echo $mes[$i];?></option>
					<?}?>
					</select>A&ntilde;o
					<select name="ano_final">
					<?for($i=$ano;$i>=2010;$i--){?>
					 <option value="<?echo$i;?>"><?echo$i;?></option>
					<?}?> 
					</select>
				</td>
				</tr>
				<tr>
				 <td align="center" colspan="4"><input type="submit" name="generar" value="Generar"></td>
				</tr>
			 </form>
			</table>
			</div>
		</div>

     </body>
</html>