<?php
require('../cfg/res.php');
mysql_query("SET NAMES 'utf8'");
$sql_enti='select *from enti0';
$res_enti=mysql_query($sql_enti,$link_vcrx);
$estilo='border-bottom:dotted 1px #000000;';
$acum=0;
?>
<div style="background:#ffffff; padding:5px;">
<table width="100%" cellspacing="5" cellpadding="2" style="font-size:12px; border-collapse:collapse; ">
<tr>

    <th>CODIGO</th>
    <th>DESCRIPCION</th>
    <th>DIRECCION</th>
</tr>
<?php while($r_enti=mysql_fetch_assoc($res_enti)){ ?>
<tr style=" <?php if($acum==2){echo $estilo;$acum=0;}else{$acum++;}?>">
	<td><?php echo $r_enti['enti_codigo'];?></td>
	<td><?php echo $r_enti['enti_descri'];?></td>
	<td><?php echo $r_enti['enti_direccion'];?></td>
        
</tr>
<?php }?>
</table>
</div>