<?php
  session_start();
 	include("stilos/config.inc.php");
	include("../clases/BDConexion.php");
  include("../clases/clsPer.php");
  
  include("Funciones.php");

  $objPer=new clsPer; 

  
?>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">

<link href="Estilos.css" rel="stylesheet" type="text/css">

<link href="stilos/Estilos.css" rel="stylesheet" type="text/css">

</head>

<body background="../imagenes/fondo.jpg">
<form name="form1" method="post" action="xxxx.php">
  <table width="300" border="1" cellpadding="0" cellspacing="0" style="<?=$stylo['tabla']?>" bgcolor="<?=$c_fondo['fondo tabla']?>" bordercolor="<?=$bordetabla?>">
    <tr valign="top" class="lblCampoBlanco" bgcolor="<?=$c_fondo_tr["fondo tr"]?>">
      <td width="61"><div align="center">Codigo</div></td>
      <td width="226"><div align="center">Area</div></td>
      <td><div align="center"></div></td>
    </tr>
    <? 				   
				    $resultado=$objPer->getAreass();
				    while($filas=$objPer->NextRow($resultado))
                   {			   	   
				   ?>
    <tr valign="top" class="lblForm" >
      <td class="lblForm"><div align="center"> <? echo $filas['Vidarea']; ?>
        <input name="area[]" type="text" size="3" id="area[]" value="<? echo $filas['Vidarea']; ?>">
      </div></td>
      <td class="lblForm"><div align="left"><a href="xxxx.php?area=<? echo $filas['Vidarea'];?>"><?php echo $filas['Vnomarea']; ?></a> </div></td>
      <td width="60"><div align="center">
        <input name="sel[]" type="checkbox" id="sel[]" value="1" >
      </div></td>
    </tr>
    
    <? 
			
			}
			$objPer->Liberar($resultado); 
			 
			?>
			<tr valign="top" class="lblForm" >
      <td class="lblForm">&nbsp;</td>
      <td class="lblForm"><input type="submit" name="Submit" value="Enviar"></td>
      <td>&nbsp;</td>
    </tr>
  </table>
</form>
</body>



