<?php
require('../cfg/res.php');
$sql_depo='select *from cjte11 where enti="'.$_SESSION['user_vcrx_id'].'" or iuser="'.$_SESSION['user_vcrx_id'].'" ORDER BY idnum1 DESC';
$res_depo=mysql_query($sql_depo,$link_vcrx);
//echo $sql_depo;
?>
<table cellspacing="0" cellpadding="6" style="font-size:12px; border-collapse:collapse;">
<tr style="border-bottom:#000  double  2px;">
    <th align="center">CLIENTE</th>
	<th align="center">FECHA</th>
	<th align="center">#CTA.BANCARIA</th>
	<th align="center">#PAPELETA</th>
	<th align="center">VALOR</th>
    <th align="center">STATUS</th>
	<th align="center">CONCEPTO</th>
	<th align="center">Eliminar</th>
</tr>

<?php $filadepo=0; while($row_depo=mysql_fetch_assoc($res_depo)){?>
<tr style=" <?php if($filadepo==2){echo 'border-bottom:#000 dotted 1px;';$filadepo=0;}else{$filadepo++;} ?>" >
    <td align="left"><?php echo $row_depo['enti_descri'];?></td>
	<td align="center"><?php echo '<span title="Fecha de aviso:'.$row_depo['idate'].'">'. $row_depo['fechadmy'].'</span>';?></td>
	<td align="left"><?php echo $row_depo['ctab_descri'];?></td>
	<td align="left"><?php echo $row_depo['numero'];?></td>
	<td align="right"><?php echo $row_depo['tcant'];?></td>
	<td align="center"><?php echo '<span title="'.$row_depo['stat_descri'].'">'. $row_depo['status'].'</span>';?></td>

	<td align="left"><?php echo $row_depo['concepto'];?></td>
    	<?php 
	if(!mb_stristr('ANX',$row_depo['status']))
	{
	?>
	
	<td align="center"><input type="image" src="http://vcrxol.com/_img/ico_elimina.png" onclick="if(confirm('Desea Eliminar Notificacion?')){eli_notifica('<?php echo $row_depo['idnum1'];?>');}"  /></td>
    	<?php 
	}
	?>
</tr>
<?php }?>







</table>