<?php 
	require_once("../include/ResumenMod.php");
	$obj_ent=new ResumenEnt();
	$obj_mod=new ResumenMod();
	$obj_ent->setCod_entidad($_POST['cod']);
	$val=$obj_mod->listarResumenesEspecifico($obj_ent);
?>
<article>
<section>
	<table>
		<thead>
			<tr>
				<th colspan="8">
					<span style="float: left; margin-left: 10px;">DOCUMENTOS</span>
					<span style="float: right;margin-right: 10px;color: #6075AC;font-size: 12px;">
						&nbsp;
					</span>
				</th>
			</tr>
			<tr>
				<td style="width:32px" align="center">&nbsp;</td>
				<th style="width:403px">Detalle del documento</th>
				<th style="width:150px">Fecha de Public.</th>
				<th style="width:35px">.Rar</th>
				<th style="width:35px"><span class="icon-download"></span></th>
			</tr>
		</thead>
	</table>
	<table>
		<tbody>
		<?php if($val!=0){for($i=0;$i<count($val);$i++){ 
			$idr=$val[$i]->getIdresumen();
			$det=$val[$i]->getDetalle();
			$fcr=$val[$i]->getFechar();
			$enl=$val[$i]->getEnlace();
		?>
			<tr>
				<td style="width:32px" align="center"><span class="icon-documents"></span></td>
				<td style="width:403px"><?=$det?></td>
				<td style="width:150px" align="center"><?=$fcr?></td>
				<td style="width:35px" align="center">
					<a href="file/resumenes_ejec/<?=$enl?>" download="<?=$enl?>">
						<span class="icon-arrow-down"><span>
					<a>
				</td>
				<td style="width:35px" align="center"><span class="icon-arrow-down"></span></td>
			</tr>
		<?php }}else{ ?>
			<tr>
				<td colspan="5">Sin documentos</td>
			</tr>
		<?php } ?>
		</tbody>
	</table>
	<table>
		<tfoot><tr><th>8 resumenes</th></tr></tfoot>
	</table>
  </section>
</article>

