!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\xampp\xampp\htdocs\autoliquidacion-antiguo\   drwxrwxrwx
Free 8.81 GB of 239.26 GB (3.68%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     reciboval.php (12.43 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$codigosec
=6;
require(
'contar.php');
$find = isset($nure);
$find2 = isset($chip);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Formulario de Autoliquidaci&oacute;n de Servicios de Evaluaci&oacute;n o Seguimiento Ambiental</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="estilos.css" rel="stylesheet" type="text/css">
<script language="JavaScript">

function ir(){

window.location="terminar.php";


}

</script>
</head>

<body topmargin="0">
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="tope.jpg" width="900" height="120"></td>
  </tr>
  <tr> 
    <td> <form name="form1" method="post" action="">
        <table width="100%" border="0" cellpadding="5">
          <tr bgcolor="#E9F3EB"> 
            <td bgcolor="#E9F3EB"> 
              <div align="left"><font size="5" face="Verdana, Arial, Helvetica, sans-serif"><img src="pun.gif" width="16" height="16"> 
                <strong>Autoliquidaci&oacute;n</strong></font><br>
              </div></td>
            <td> 
              <?php 
            
require('conexion.php');
            require(
'hoy.php');
            if (
$find == true) {
            
$nosotros = isset($upi);
            if (
$nosotros == true) {
            echo 
"Hay";
            
$query ="UPDATE vali SET cancel='1' WHERE cons=$nure";
            
$result mysql_query($query,$db);
            }
            
$consul "SELECT *
            FROM vali
            WHERE cons = 
$nure";
            
$result mysql_query($consul,$db);
            while (
$myrow mysql_fetch_array($result)){
            
$cons $myrow["cons"];
            
$noms $myrow["noms"];
            
$pro $myrow["pro"];
            
$name $myrow["name"];
            
$mday $myrow["mday"];
            
$month $myrow["month"];
            
$year $myrow["year"];
            
$fin $myrow["fin"];
            
$ubi $myrow["ubi"];
            
$ubiuno $myrow["ubiuno"];
            
$tel $myrow["tel"];
            
$fax $myrow["fax"];
            
$typedoc $myrow["tipodoc"];
            
$num $myrow["num"];
            
$mail $myrow["mail"];
            
$vpro $myrow["vpro"];
            
$ss1 $myrow["ss"];
            
$tt1 $myrow["tt"];
            
$can $myrow["cancel"];
            }
            
$con 1;
            }else{
            
$consul "SELECT *
            FROM vali"
            
" order by cons";
            
$result mysql_query($consul,$db);
            
$num_filas mysql_num_rows($result);
            if (
$num_filas != 0) {
            while (
$myrow mysql_fetch_array($result)){
            
$cot $myrow["cons"];
            }
            
$cons $cot 1;
            }else{
            
$cons 1;}}
            
$trozos explode ("/"$noms);
            
?>
              <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>No.<font size="5"> 
              <?php echo $cons?></font></strong></font></td>
          </tr>
          <tr> 
            <td colspan="2" bgcolor="#F8F8EF"> <p><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Secretar&iacute;a 
                Distrital de Ambiente<br>
                Fecha de Creaci&oacute;n del Recibo:</font><font face="Verdana, Arial, Helvetica, sans-serif"> 
                <strong><font size="2"> 
                <?php
                
echo $mday "/" $month "/" $year;
                
?>
                </font></strong> - <font size="1">Bogot&aacute;</font></font></p>
              <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> 
                <?php
                
if ($find == true and $find2 == false) {
              if (
$can != "" and $can == 1) {
              
?>
                <img src="p.gif" width="10" height="10"> <font color="#FF9900"><strong>Cancelado</strong></font> 
                <?php
                
}else{
                
?>
                <a href="reciboval.php?nure=<?php echo $cons?>&upi=1"><img src="can.gif" width="71" height="18" border="0"></a> 
                <?php
                
}}
                
?>
                <br>
                <img src="p.gif" width="10" height="10"> Proyecto, obra o actividad: 
                <strong> <font size="3"><?php echo $pro?></font></strong></font><br>
                <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="p.gif" width="10" height="10"> 
                Beneficiario: <strong><font size="3"><?php echo $name?><br>
                </font><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="p.gif" width="10" height="10"> 
                </font></strong>Valor del Proyecto<font size="2" face="Verdana, Arial, Helvetica, sans-serif">:<strong> 
                <strong><font size="2"> 
                <?php 
                $efn 
number_format($vpro);
                echo 
$efn?>
                </font></strong></strong></font></font><br>
                <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="p.gif" width="10" height="10"> 
                Tipo Documento: <strong><?php echo $typedoc?></strong></font><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> 
                N&uacute;mero: <strong><?php echo $num?></strong></font> </p>
              <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><img src="p.gif" width="10" height="10"></strong> 
                Servicio: <strong> 
                <?php
                
if ($find == false) {
                
$ss1 $ss;
                }
                if (
$ss1 != "") {
                if (
$ss1 == "eval") {
                
$th "Evaluación";
                }else{
                
$th "Seguimiento";
                }}else{
                
$th "No especificado";
                }
                echo 
$th;                
                
?>
                </strong> ---- <strong><img src="p.gif" width="10" height="10"></strong> 
                Tipo de Tr&aacute;mite: <strong> 
                <?php
                
if ($find == false) {
                
$tt1 $tt;
                }
                if (
$tt1 != "") {
                if (
$tt1 == "un") {
                
$tx "Nuevo Usuario";
                }
                if (
$tt1 == "mo") {
                
$tx "Modificación";
                }
                if (
$tt1 == "re") {
                
$tx "Renovación";
                }
                if (
$tt1 == "tv") {
                
$tx "Transición con Visita Técnica";
                }
                if (
$tt1 == "ce") {
                
$tx "Cesión";
                }
                if (
$tt1 == "tvc") {
                
$tx "Transición con Visita y Concepto Técnico";
                }
                }else{
                
$tx "No especificado";
                }
                echo 
$tx;
                
?>
                </strong></font></p>
              <?php
                
if ($find == true) {
                
?>
              <table width="100%" border="0" cellpadding="4" cellspacing="0">
                <tr> 
                  <td width="60%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="p.gif" width="10" height="10"> 
                    Ubicaci&oacute;n del proyecto: <strong><?php echo $ubi?></strong></font></td>
                  <td width="20%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="p.gif" width="10" height="10"> 
                    Tel&eacute;fono: <strong><?php echo $tel?></strong></font></td>
                  <td width="20%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="p.gif" width="10" height="10"> 
                    Fax: <strong><?php echo $fax?></strong></font></td>
                </tr>
                <tr> 
                  <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="p.gif" width="10" height="10"> 
                    Tipo Documento: <strong><?php echo $typedoc?></strong></font><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> 
                    N&uacute;mero: <strong><?php echo $num?></strong></font></td>
                  <td colspan="2"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="p.gif" width="10" height="10"> 
                    Correo: <strong><a href="mailto:<?php echo $mail?>"><?php echo $mail?></a></strong></font></td>
                </tr>
              </table>
              <?php
              
}
              
?>
              <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="p.gif" width="10" height="10"> 
                <strong>Liquidaci&oacute;n y Relaci&oacute;n de radicaci&oacute;n:</strong></font></p>
              <table width="100%" border="1" cellpadding="10" cellspacing="0">
                <?php
                $i 
0;
                if (
$con >= 1) {
                foreach(
$trozos as $v) {
                if (
$i != 0) {
                
?>
                <tr> 
                  <td width="80%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><font color="#0066CC"><?php echo $i?>-</font></strong> 
                    <?php echo $v?></font></td>
                  <td width="20%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">$ 
                    -----</font></td>
                </tr>
                <?php
                
}
                
$i++;
                }}
                
?>
                <tr> 
                  <td width="80%"> <div align="right"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Total:</font></div></td>
                  <td width="20%" bgcolor="#FFFFFF"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>$ 
                    <?php
                    
if ($find == false) {
                    if (
$ubiuno == "") {
                    
$ubiuno "N/A";
                    }
                    if (
$fax == "") {
                    
$fax "N/A";
                    }
                    if (
$mail == "") {
                    
$mail "N/A";
                    }
                    
                    
$query ="INSERT INTO vali VALUES('','$noms','$pro','$name','$mday','$month','$year','$fin','$ubi','$ubiuno','$tel','$fax','$typedoc','$num','$mail','$vpro','$ss','$tt',0)";
                    
$result1 mysql_query($query,$db); 
                    
$m_i_i mysql_insert_id();
                    }
                    
mysql_close ($db);
                    
$fin $fin 100;
                    
$fin round($fin);
                    
$fin $fin 100;
                    
$efn number_format($fin);
                    echo 
$efn
                    
$myFile ="recibos/$cons.txt";
//chmod("recibos/$cons.txt", 0666);
//chmod ($myFile, 0666);
$fh fopen($myFile'w+') or die("no puede abrirse el archivo");
chmod ($myFile0666);
$stringData1 "********************************************\nAUTOLIQUIDACION\n********************************************\nConsecutivo:$cons\nProyecto:$pro\nBeneficiario:$name\nDocumento:$num\nTipo de tramite:$tx\nServicio:$th\n-------------------------------------------\nLiquidacion y relacion de radicacion\nValor: $efn\n-----------------Fin de archivo---------------\nGenerado el :".date("m/d/y").";";
fwrite($fh$stringData1);
fclose($fh);

                    
                    
                    
                    
                    
?>
                    </strong></font></td>
                </tr>
              </table>
              <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><font color="#990000" size="1">Instrucciones 
                de consignaci&oacute;n y activaci&oacute;n:</font><font size="1"><br>
                <br>
                </font></strong></font><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> 
                LA SECRETARIA DISTRITAL DE HACIENDA -DIRECCION DISTRITAL DE TESORERIA- 
                Y LA SECRETARIA DISTRITAL DE AMBIENTE<br>
                </font><font size="1" face="Verdana, Arial, Helvetica, sans-serif">HACEN 
                SABER<br>
                <br>
                </font><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Que 
                a partir del 1&ordm;. De Octubre del a&ntilde;o 2007 cambiaron 
                el mecanismo de recaudo de sus ingresos ambientales; por lo anterior 
                se hace saber a todas las personas que demandan los servicios 
                de la Secretaria Distrital de Ambiente que deben acercarse a la 
                Entidad y/o acceder en el Cade de Usaquen o Supercades de Suba, 
                Bosa y Americas o directamente en la sede de la Entidad en la 
                carrera 6 No 14-98 a fin de obtener informaci&oacute;n al respecto.<br>
                </font><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Dicho 
                pago se adelantar&aacute; directamente en el supercade Calle 26 
                Cra. 30 ventanilla No. 2 &#8211;Recaudos Varios- a favor de la 
                Tesorer&iacute;a Distrital.</font></p>
              <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">* 
                <font size="1">Valor total ajustado a las centenas, Ej: valores 
                terminados entre 1 y 49 pesos se aproximan por debajo y valores 
                entre 50 y 99 se aproximan por arriba.</font></font></p></td>
          </tr>
          <tr align="right"> 
            <td height="45" colspan="2"><font size="2" face="Arial, Verdana"><strong>
              <input type="button" name="Submit" value="Terminar y Salir" class="boton" onClick="ir();">
              </strong></font></td>
          </tr>
        </table>
      </form>
      <p align="center"> <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Secretar&iacute;a 
        Distrital de Ambiente<br>
        Bogot&aacute;, Colombia.<br>
        <br>
        </font></p></td>
  </tr>
</table>
</body>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--