<?
session_start();


?>
<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="stilos/Estilos.css" rel="stylesheet" type="text/css">
<link href="Estilos.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="500" border="0" cellpadding="0" cellspacing="0">
  
  <tr bgcolor="#006600" class="rdoBanners">
    <td width="25"><div align="center">#</div></td>
    <td width="124"><div align="center">tipo personal </div></td>
    <td width="124" ><div align="center">Fecha Inicio </div></td>
    <td width="124"><div align="center">Fecha Termino 
      
    </div></td>
    <td width="69">Costo diario     <?=$origenes?></td> 
    <td width="20"><input name="detalle_per" type="text" size="3" id="detalle_per" value="<?=$contarItem=count($transper_d)?>"></td>
  </tr>
  <?php 
  $n=0;
  if (isset($transper_d)){
											$contarItem = count($transper_d);
										
										while(list($clave,$valor)=each($transper_d)){
											$tipoper=$valor[0];
											$fechaini_tp=$valor[1];
											$fechafin_tp=$valor[2];											
											$costod=$valor[3];																				
											
											
											
 								 	?>
  <tr >
    <td><div align="center"><?php echo ++$n ?></div></td>
    <td><div align="center"><?php echo $tipoper; ?>
	</div></td>
    <td><div align="center">
      <?=$fechaini_tp;?>
    </div></td>
    <td><div align="center">
      <?php 
	echo $fechafin_tp;	
	?>
    </div></td>
    <td>      <div align="right">
      <?php 
	echo $costod;	
	$costototalper=$costototalper+$costod;
	?>
</div></td> 
    <td><div align="center"><a href="#" onClick="DatosDeleteItem('<?=$clave?>')"><img src="../imagenes/btn_eliminar.gif" width="20" height="20" border="0"></a></div></td>
  </tr>
  
  <?php }}?>
  <tr class="lblCampo">
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><div align="center">
    </div></td><
    <td><div align="left">Total</div></td>
    <td>          <div align="right"><?=$_SESSION['costototper']=$costototalper?></div></td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
