MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: /home/asjudine/www/afinanciera/debito_modificar.php
<?php
global $dbi;

require_once("../Conectarse.php");
	
///////////



$control4 = mysql_query('SELECT cedula, nombres, dirrecion, telefono, celular, ciudad, email, entidad_laboral, banco, cuenta, tipo_debito,  valor_credito, valor_juridica, valor_debitar, unidad_desc, codigo_desc, cuotas, cuotas_desc, cuotas_pend, fecha_registro, causal_rechazo,fecha_debito,causal_terminacion,usuarios,situacion,estado FROM debitos WHERE cedula = "' . $_GET["ced"] . '" ');
		  if (!$control4) {
				die('Invalid query 4 aqui: ' . mysql_error());    
			}
		list($cedulab, $apellidos_nomsb, $direccionb, $telefonob, $celularb, $ciudadb, $emailb, $entilabo,  $banco, $cuenta, $tipodebito, $val_cre, $val_jur, $val_deb, $unidad_desc,$codigo_desc, $cuo_deb, $cuodes, $cuotas_pend, $fecha_registro, $causal_rechazo,$fecha_debito,$causal_terminacion,$usuar,$situacion, $esta) = mysql_fetch_row($control4);	
			
							if ($esta == 0)
							   {
							   $estado = "HISTORICO";
							   }   				
							   else
							   {
							   $estado = "VIGENTE";
							   }

        
	$resu1 = mysql_query('SELECT historico FROM debito_historico WHERE codigo =  "' ."$causal_rechazo". '" ');
			if (!$resu1) {
				die('Invalid query: ' . mysql_error());
			}	 
			list($histo) = mysql_fetch_row($resu1);
			
			$fecha_asignac = date("Y")."-".date("m")."-".date("d");
	
if(isset($_POST["grabar"]))
{
	
	
	 $fecha_asignac = date("Y")."-".date("m")."-".date("d");
	
	
//////

if ($_POST[causal_rechazo] == "") 
	{
	$causarecha = $_POST["causal"];

	
	}
	else {
		
		$causarecha = $_POST[causal_rechazo];
				
		}



////////
if ($_POST[tipousu] == "") 
	{
	$tipousu = $_POST["usuar"];

	
	}
	else {
		
		$tipousu = $_POST[tipousu];
				
		}
/////
if ($_POST[sit] == "") 
	{
	$situan = $_POST["causal"];

	
	}
	else {
		
		$situan = $_POST["sit"];
		
		
		}



	$fecha_act=date ( "Y-n-j" );
	
	if ($_POST[unidt] == "") 
	{
	$unidtas= $_POST["unidad"];
	$codcdas = $_POST["codigo"];
	
	}
	
	else
	{
	$resu3 = mysql_query('SELECT unidad, codigo FROM debitos_unidad  WHERE id =  "' .$_POST[unidt]. '" ');
			if (!$resu3) {
				die('Invalid query 4455: ' . mysql_error());
			}	 
			list($unidtas, $codcdas ) = mysql_fetch_row($resu3);
	}
	
	

	
	
	if ($_POST["tipodeb"]== "") 
	{
	$tipodebito = $_POST["tipodebito"];
	}else
	{
	$tipodebito = $_POST["tipodeb"];
	}
	
	if ($_POST["emp2"] == "") 
	{
	$entilabo = $_POST["entilabo"];
	}else
	{
	$entilabo = $_POST["emp2"];
	}
	

if ($_POST["tipsitua"] == "") 
	{
	$tipsitua = $_POST["situacii"];
	}else
	{
	$tipsitua = $_POST["tipsitua"];
	}	
		


			
	$mssql3 = mysql_query("UPDATE  debitos set  dirrecion = '" . $_POST["dire"] . "', telefono = '" . $_POST["telefono"] . "', celular = '" . $_POST["celu"] . "', ciudad = '" . $_POST["ciu"] . "', email = '" . $_POST["ema"] . "', entidad_laboral = '" ."$entilabo". "', banco = '" . $_POST["ban"] . "', cuenta = '" . $_POST["cuen"] . "', tipo_debito = '" ."$tipodebito". "', valor_credito = '" . $_POST["val_cre"] . "', valor_juridica = '" . $_POST["val_jur"] . "' , valor_debitar = '" . $_POST["val_deb"] . "' , unidad_desc = '" ."$unidtas". "' , codigo_desc = '" ."$codcdas". "', cuotas = '" . $_POST["cuota_deb"] . "' , cuotas_desc = '" . $_POST["cuodes"] . "' ,cuotas_pend = '" . $_POST["cuopen"] . "' , causal_rechazo = '".$causarecha. "' , fecha_debito = '" . $_POST["fecha_deb"] . "', causal_terminacion = '" .$situan. "',fecha_terminacion = '" . $_POST["fecha_rechazo"] . "', usuarios = '" .$tipousu. "', situacion='".$tipsitua."'  WHERE cedula = '" . $_GET[ced] . "' ");  
            if (!$mssql3) { 
				die('Invalid query cartera_serviasjudinet MODIFICAR: ' . mysql_error());
			}   
			
			/////////////////////
$mssqldv = mysql_query("UPDATE  cuentas_bancarias set cuenta= '".$_POST["cuen"]. "', banco= '".$_POST["ban"]."' WHERE cedula= '" . $_GET[ced] . "'  ");	

				if (!$mssqldv) {
				die('Invalid query: ' . mysql_error());
			}
			////////////////////////////////////////////////////
			
  
	 echo "<script>alert('Datos modificados Satisfatoriamente');</script>";
	 
	 echo "<script languaje='javascript' type='text/javascript'>window.close();</script>";
	 
	 $control4 = mysql_query('SELECT cedula, nombres, dirrecion, telefono, celular, ciudad, email, entidad_laboral, banco, cuenta, tipo_debito,  valor_credito, valor_juridica, valor_debitar,unidad_desc, codigo_desc, cuotas, cuotas_desc, cuotas_pend, fecha_registro, causal_rechazo, fecha_debito,causal_terminacion, estado FROM debitos WHERE cedula = "' . $_GET["ced"] . '" ');
		  if (!$control4) {
				die('Invalid query 4 aqui: ' . mysql_error());
			}
		list($cedulab, $apellidos_nomsb, $direccionb, $telefonob, $celularb, $ciudadb, $emailb, $entilabo,  $banco, $cuenta, $tipodebito, $val_cre, $val_jur, $val_deb,$unidad_desc,$codigo_desc, $cuo_deb, $cuodes, $cuotas_pend, $fecha_registro, $causal_rechazo, $fecha_debito,$causal_terminacion, $esta) = mysql_fetch_row($control4);	
	   
}  

$sql = mysql_query('SELECT * FROM entidad_laboral order by nombre '); 	
			if (!$sql) {
				die('Invalid query 87: ' . mysql_error());
			}
$row_sql = mysql_fetch_assoc($sql);
$totalRows_sql = mysql_num_rows($sql);	
	
	
$sql2 = mysql_query('SELECT * FROM debitos_unidad order by codigo ');
			if (!$sql2) {
				die('Invalid query 4141: ' . mysql_error());
			}
$row_sql2 = mysql_fetch_assoc($sql2);
$totalRows_sql2 = mysql_num_rows($sql2);  	
	
    
	
    
	
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8; IE=9; IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Consulta Datos debito</title>

<style type="text/css">
	*{margin: 0;padding: 0;}
    body{background-color:#EAEAEA;font-family:Geneva, Arial, Helvetica, sans-serif;}
    header {background-color: #B7271F; text-align: center;}
    .cerrarsesion{width: auto;background-color: #DBD8C9;color: #000;font-size: 13px;position:absolute;top: 15px;right:10px;z-index:0;padding: 10px;border-radius: 10px;cursor: pointer;}
    .cerrarsesion:hover{background-color: #ffffff;color: #000;}
    .titulo{width: 100%;text-align: center;background-color: #dbd8c9;color: #b20606;padding: 6px 0;font-size: 18px;}
    table{margin: 0 auto;border: 8px solid #bebebe; text-align: center;}
    .divirmenu{text-align: center;}
    .irmenu{width: 200px;background-color: #1c4fa0;color: #fff; padding: 4px;border-radius: 6px;}
    .irmenu:hover{background-color: #67a0d9; color: #000;}
	.direcciona{width: 200px;background-color: #D4090C;color: #fff; padding: 4px;border-radius: 3px;}
	.direcciona:hover{background-color: #67a0d9; color: #000;}
	.botonverde{width: 200px;background-color: #1A4E1C;color: #fff; padding: 4px;border-radius: 3px;}
	.botonverde:hover{background-color: #67a0d9; color: #000;}
    
    .fecha{background-color: #d6e08b; padding: 2px;color: #8A0003;font-size: 15px; text-align: center;font-weight:600;}
    
	td{border:#D6D6D6 solid 1px;}
    .tdizq{background-color: #EEE; padding: 0px 5px;color: #00135F;font-size: 13px;font-weight: 600; text-align: left;}
    .tdcen{background-color: #EEE; padding: 0px 5px;color: #00135F;font-size: 13px;font-weight: 600; text-align: center;}
    .tdder{background-color: #EEE; padding: 0px 5px;color: #00135F;font-size: 13px;font-weight: 600; text-align: right;}
	.exp{color:#8A0000; font-size:10px;}
	.rojo{color:#C60000; font-weight: 600;}
	.fuerte{font-weight:400;}
    .boton1{width:200px;background-color: #ffffff;color: #000;padding: 2px;border:2px solid #580000;border-radius:10px;}
    .boton1:hover{background-color: #6f0000;color: #fff;cursor: pointer;}
    input[type=text]{border-radius: 5px; padding: 1px 3px; background-color: #FFFEF4;}
	
	/*Estilo Complementario*/
	.tdi{background-color: #F9FBC8; padding: 1px 10px;color: #00135F;font-size: 12px;font-weight: 600; text-align: left;}
	.tdc{background-color: #F9FBC8; padding: 1px 10px;color: #00135F;font-size: 12px;font-weight: 600; text-align: center;}
    .tdd{background-color: #F9FBC8; padding: 1px 2px;color: #00135F;font-size: 12px;font-weight: 600; text-align: right;}
	
	
	.tdtitulo{background-color: #e3dec0; color: #b20606; padding: 2px; text-align: center; font-size: 12px; font-weight: 900}
    .tdfull{background-color: #fff; color: #000; padding: 1px; text-align: center; font-size: 12px;}
    .botonnew{width: 90px; background-color: #e3dec0;color: #b20606;padding: 1px;border-radius:5px;}
    .botonnew:hover{width: 90px; background-color: #cbbd6a;color: #000;padding: 1px;border-radius:5px;}
</style>

<script Language="JavaScript"><!--
function validar(formulario)
{
  if (formulario.dia_act.value > 31)
  {
    alert("El número de día no se debe exceder de 31");
    formulario.dia_act.focus();

    return (false);
  }

  if (formulario.mes_act.value > 12)
  {
    alert("El número del mes no se debe exceder de 12");
    formulario.mes_act.focus();
    return (false);
  }
  return (true);
}
//--></script>

<script languaje="JavaScript">
function Mostrar_Fecha()
{
         var mydate=new Date()
         var year=mydate.getYear()
         if (year < 1000)
                 year+=1900
                 var day=mydate.getDay()
                 var month=mydate.getMonth()
                 var daym=mydate.getDate()
                 if (daym<10)
                    daym="0"+daym
                    var dayarray=new Array("Domingo","Lunes","Martes","Miercoles","Jueves","Viernes","Sabado")
                    var montharray=new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre")
                    document.write("<b><font face='Arial, Helvetica, sans-serif'>"+dayarray[day]+" "+daym+" de "+montharray[month]+" de "+year+"</font></b>")
}					
</script>
    
</head>
<body onload="document.formulario.cedula.focus()">
<form method="post" name="formulario" action="" onSubmit="return validar(this)">
<header>
    <img src="../ELEMENTS/bannerInterasjudinet.png" alt="" width=" 700" height="70">
</header>
 <div align="center">
    <h3 class="titulo">MODIFICAR DATOS DEBITO</h3>
    <table width="806" border="2" cellpadding="1" cellspacing="1">

 
  <tr>
    <td height="22" colspan="4" class="fecha"><div align="center">
     	<script languaje="JavaScript">Mostrar_Fecha()</script>
 	</div></td>
</tr>
  <tr>
   <td width="96" class="tdder">C&eacute;dula y Nombre</td>
    <td width="273" class="tdizq"><input name="identi" type="text" id="identi" value="<?php echo $cedulab; ?>" size="8" maxlength="8" readonly></td>
    <td width="194" class="tdizq"><input name="apenom" type="text" id="apenom" value="<?php echo $apellidos_nomsb; ?>" size="30" maxlength="40" readonly></td>
    </tr>
  <tr>
   <td class="tdder">Direccion:</td>
      <td class="tdizq"><input name="dire" type="text" id="dire" value="<?php echo $direccionb; ?>" size="30" maxlength="40"readonly="" ></td>
      <td class="tdder">Ciudad:</td>
      <td width="215" colspan="2" class="tdizq"><input name="ciu" type="text" id="ciu" value="<?php echo $ciudadb; ?>" size="30" maxlength="40" readonly ></td>
  </tr>
    <tr>
	<td class="tdder">Telefono:</td>
      <td class="tdizq"><input name="telefono" type="text" id="telefono" value="<?php echo $telefonob; ?>" size="8" maxlength="8" readonly></td>
	  
      <td class="tdder">Celular</td>
      <td class="tdizq"><input name="celu" type="text" id="celu" value="<?php echo $celularb; ?>" size="10" maxlength="10" readonly></td>

    </tr>
    <tr>
  <td height="45" class="tdder">Fecha a Debitar</td>
      <td class="tdizq"><input name="fecha_deb" type="text" id="fecha_deb" value="<?php echo $fecha_debito; ?>" size="10" maxlength="10" ></td>
      <td class="tdder">Email:</td>
<td class="tdizq"><input name="ema" type="text" id="ema" value="<?php echo $emailb; ?>" size="30" maxlength="50" readonly ></td>
    </tr>
	
  
    <tr>
      <td class="tdder">Banco:</td>
      <td class="tdizq">
          <input name="ban" type="text" id="ban" value="<?php echo $banco; ?>" size="20" maxlength="15" >
      </td>
      <td class="tdder">Cuenta:</td>
      <td class="tdizq">
          <input name="cuen" type="text" id="cuen" value="<?php echo $cuenta; ?>" size="30" maxlength="30" >
      </td>
    </tr>
    <tr>
      <td class="tdder">Valor Credito:</td>
      <td class="tdizq">
          <input name="val_cre" type="text" id="val_cre" value="<?php echo $val_cre; ?>" size="10" maxlength="10">
      </td>
      <td class="tdder">Valor  Juridica:</td>
      <td class="tdizq">
          <input name="val_jur" type="text" id="val_jur" value="<?php echo $val_jur; ?>" size="10" maxlength="10">
      </td>
    </tr>
    <tr>
      <td class="tdder">Valor Total Debito:</td>
      <td class="tdizq">
        <input name="val_deb" type="text" id="val_deb" value="<?php echo $val_deb; ?>" size="10" maxlength="10">
      </td>
      <td class="tdder">Cuotas a Debitar:</td>
      <td class="tdizq">
      <input name="cuota_deb" type="text" id="cuota_deb" value="<?php echo $cuo_deb; ?>"  size="10" maxlength="10">
      </td>
    </tr>
	 <tr>
	  <td class="tdder">Valor Cuota:</td>
	 <td class="tdizq">
      <input name="valcuota" type="text" id="valcuota" value="<?php echo $val_deb; ?>"  size="10" maxlength="10">
      </td>
           <td class="tdder">Tipo:</td>
            <td class="tdizq">
			<input name="tipodebito" type="text" id="tipodebito" value="<?php echo $tipodebito; ?>"  size="20" maxlength="20">
			<select name="tipodeb" class="Estilo15">
                <option value="" selected>--TIPO DE DEBITO--</option>
                <option value="CREDITO">CREDITO</option>
                <option value="JURIDICA">JURIDICA</option>
                <option value="MIXTO">MIXTO</option>
                
       </select>            </td>
    </tr>
    <tr>
      <td class="tdder">Unidad y Codigo:</td>
      <td class="tdizq">       
        <input name="unidad" type="text" id="unidad" value="<?php echo $unidad_desc; ?>" size="10" maxlength="10" readonly>
         
      <input name="codigo" type="text" id="cod" value="<?php echo $codigo_desc; ?>"  size="10" maxlength="10" readonly>
	  <select name="unidt" id="unidt">
            <option value="">--SELECIONE UNIDAD Y CODIGO--</option>
            <?php
     do {  
?>
            <option value="<?php echo $row_sql2['id'];?>"><?php echo $row_sql2['unidad'].'-'.$row_sql2['codigo']?></option>
            <?php
} while ($row_sql2 = mysql_fetch_assoc($sql2));
  $rows2 = mysql_num_rows($sql2);
  if($rows2 > 0) {
      mysql_data_seek($sql2, 0);
       $row_sql2 = mysql_fetch_assoc($sql2);
  }
?>
        </select></td>
      
	 <td class="tdder">Entidad Laboral:</td>
	 <td class="tdizq">
	 <input name="entilabo" type="text" id="entilabo" value="<?php echo $entilabo; ?>"  size="30" maxlength="20">

                <select name="emp2" id="emp2">
                  <option value="">--SELECCIONE LA EMPRESA--</option>
                  <?php
     do {  
?>
                  <option value="<?php echo $row_sql['nombre'];?>"><?php echo $row_sql['nombre']?></option>
                  <?php
} while ($row_sql = mysql_fetch_assoc($sql));
  $rows = mysql_num_rows($sql);
  if($rows > 0) {
      mysql_data_seek($sql, 0);
       $row_sql = mysql_fetch_assoc($sql);
  }
?>
                </select>
  </td>
    </tr>
	
	<tr>
	  <td class="tdder">Cuotas Pendientes:</td>
      <td class="tdizq">
       <input name="cuopen" type="text" id="cuopen" value="<?php echo $cuotas_pend; ?>"  size="10" maxlength="10">
      </td>
	   <td class="tdder">Cuotas Descontadas:</td>
      <td class="tdizq">
       <input name="cuodes" type="text" id="cuodes" value="<?php echo $cuodes; ?>"  size="10" maxlength="10">
     </td>
	</tr>
	
	  <tr>
      <td class="tdder">Causal Terminación:</td>
     <td class="tdizq">
        <input name="causal" type="text" id="causal" value="<?php echo $causal_terminacion; ?>" size="40" maxlength="30">
     
      
            <div align="left">
          <select name="sit" id="sit">
                <option value="" selected>--SELECCIONE CAUSAL--</option>
                <option value="POR DEBITO CUMPLIDO">POR DEBITO CUMPLIDO</option>
                <option value="POR FALLECIMIENTO">POR FALLECIMIENTO</option>
                <option value="POR CUENTA SALDADA">POR CUENTA SALDADA</option>
                <option value="POR MAS DE TRES DEBITOS SIN EXITO">POR MAS DE TRES DEBITOS SIN EXITO</option>
                </select>
      
      <td class="tdder">Fecha Terminación:</td>
      <td class="tdizq">
        <input name="fecha_rechazo" type="text" id="fecha_rechazo" value="<?php echo $fecha_asignac; ?>"  size="10" maxlength="10">
      </td>
    </tr>
	 <tr>
      <td class="tdder">Vigente o historico:</td>
      <td class="tdizq">
        <input name="estad" type="text" id="estad" value="<?php echo $estado; ?>" size="20" maxlength="25">
      </td>
      
       <td class="tdder">Situacion:</td>
	 <td class="tdizq">
	 <input name="situacii" type="text" id="situacii" value="<?php echo $situacion; ?>"  size="25" maxlength="20">

                <select name="tipsitua" id="tipsitua">
                <option value="" selected>--TIPO DE SITUACION--</option>
                <option value="NORMAL">NORMAL</option>
                <option value="ESPECIAL">ESPECIAL</option>
                </select>
  </td>
      
  
    </tr>
	<tr>
	  <td class="tdder">Usuario:</td>
      <td class="tdizq">
	 <input name="usuar" type="text" id="usuar" value="<?php echo $usuar; ?>"  size="25" maxlength="20">
             <td class="tdizq"><select name="tipousu" class="Estilo15">
                <option value="" selected>--TIPO DE USUARIO--</option>
                <option value="CREDITOS">CREDITOS</option>
                <option value="COBRANZAS">COBRANZAS</option>
                <option value="VENTAS">VENTAS</option>
                <option value="GESTION EMPRESARIAL">GESTION EMPRESARIAL</option>
                <option value="NOMINAS">NOMINAS</option>
                <option value="ALMACEN MUEBLES">ALMACEN MUEBLES</option>
                <option value="TESORERIA">TESORERIA</option>
                <option value="DEBITOS BANCARIOS">DEBITOS BANCARIOS</option>
                <option value="HERNANDO ROSERO">HERNANDO ROSERO</option>
               
                
            </select>            </td>
            
    </tr>
    
    
  </table>  
 <p align="center">
    <input name="grabar" type="submit" class="irmenu" id="grabar" value="Modificar" />
  </p>
</form>  

</body>
</html>
<?
echo'<table width="650" border="0" cellspacing="2" cellpadding="2" align = "center">
  <tr align="center"> 
    <td colspan="7"><font face="Georgia, Times New Roman, Times, serif" color="#006600"><b align = "center">PAGOS EFECTUADOS</b></font></td>
  </tr>
  <tr align="center" bgcolor="#DDDDDD"> 
    <td width="90" align="center"><font face="Geneva, Arial, Helvetica, san-serif" size="2" color="#000099">Valor cuota</font></td>
    <td bgcolor="#DDDDDD" width="55" ><font face="Geneva, Arial, Helvetica, san-serif" size="2" color="#000099"># cuotas</font></td>
	<td bgcolor="#DDDDDD" width="55" ><font face="Geneva, Arial, Helvetica, san-serif" size="2" color="#000099">Causal</font></td>
	<td bgcolor="#DDDDDD" width="55" ><font face="Geneva, Arial, Helvetica, san-serif" size="2" color="#000099">Usuario</font></td>
    <td width="300" ><font face="Geneva, Arial, Helvetica, san-serif" size="2" color="#000099">Entidad</font></td>
    <td width="140"><font face="Geneva, Arial, Helvetica, san-serif" size="2" color="#000099">Fecha registro</font></td>
  </tr>';				  


	$control = mysql_query('SELECT * FROM  debitos_estado_contable WHERE cedula = "' .$_GET["ced"] . '" ORDER BY cuota ASC  ');
			if (!$control) {
				die('Invalid query debitos: ' . mysql_error());
			}

		while(list($id, $cedula, $nombre, $cuota, $valorcuota,$usuarios, $fecha_registro, $codesc, $unidesc,$causal_rechazo) = mysql_fetch_row($control)) 
		{
		
		$control5 = mysql_query('SELECT * FROM debitos_unidad  WHERE codigo = "' ."$codesc". '" and unidad = "' ."$unidesc". '" ');
			if (!$control5) {
				die('Invalid query descunetps: ' . mysql_error());
			}	 
			list($idr, $codigo, $unidad, $concepto) = mysql_fetch_row($control5);

		
 	  printf ("<tr align='center' bgcolor='#f4f4f4'>
			<td width='100'><font face='Geneva, Arial, Helvetica, san-serif' size='2' color=#993300'><a window.location.href=\"cartera_modificar_estado.php?id=$id\">$valorcuota</a></td>
			
<td width='100'> <font face='Geneva, Arial, Helvetica, san-serif' size='2' color=#993300'><a  window.location.href=\"cartera_modificar_estado.php?id=$id\" top=50,left=100,toolbar=no,scrollbars=no,width=790,height=521,status=yes>$cuota</a></td>


<td width='100'> <font face='Geneva, Arial, Helvetica, san-serif' size='2' color=#993300'><a  window.location.href=\"cartera_modificar_estado.php?id=$id\" top=50,left=100,toolbar=no,scrollbars=no,width=790,height=521,status=yes>$causal_rechazo</a></td>


<td width='100'> <font face='Geneva, Arial, Helvetica, san-serif' size='2' color=#993300'><a  window.location.href=\"cartera_modificar_estado.php?id=$id\" top=50,left=100,toolbar=no,scrollbars=no,width=790,height=521,status=yes>$usuarios</a></td>


<td width='750'><font face='Geneva, Arial, Helvetica, san-serif' size='2' color=#993300'><a window.location.href=\"cartera_modificar_estado.php?id=$id\" top=50,left=250,toolbar=no,scrollbars=no,width=790,height=521,status=yes>$concepto</a></td>
<td width='100'><font face='Geneva, Arial, Helvetica, san-serif' size='2' color=#993300'><a window.location.href=\"cartera_modificar_estado.php?id=$id\" top=50,left=100,toolbar=no,scrollbars=no,width=790,height=521,status=yes>$fecha_registro</a></td></tr>");
						            								   
                               }
 echo "</table>";		
?>