!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\BLA\boletinlegal\admin\actos\   drwxrwxrwx
Free 1.2 GB of 239.26 GB (0.5%)
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:     ingresarold.php (16.43 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * UserEdit.php
 *
 * This page is for users to edit their account information
 * such as their password, email address, etc. Their
 * usernames can not be edited. When changing their
 * password, they must first confirm their current password.
 *
 * Written by: Jpmaster77 a.k.a. The Grandmaster of C++ (GMC)
 * Last Updated: August 26, 2004
 */
include("../usuarios/include/session.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html class="noI firefox" xmlns="http://www.w3.org/1999/xhtml"><head>
<link rel="shortcut icon" href="../../images/favicon.ico">
<title>Modulo Administraci&oacute;n</title>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META http-equiv=content-script-type content=text/JScript>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<link href="../index_files/style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="../../js/popcalendar.js"></script>

<script>

function validar(formulario){
if(document.forms.f1.solicitante.value =="")
{
window.alert('Debe ingresar el solicitante');
f1.solicitante.focus();
return(false);
}
if(document.forms.f1.no.value =="")
{
window.alert('Debe ingresar el numero del acto administrativo');
f1.no.focus();
return(false);
}
if(document.forms.f1.fecha.value =="")
{
window.alert('Debe ingresar la fecha');
f1.fecha.focus();
return(false);
}
if(document.forms.f1.resuelve.value =="")
{
window.alert('Debe ingresar el titulo de la resolución');
f1.resuelve.focus();
return(false);
}
if(document.forms.f1.fecha.value =="")
{
window.alert('Debe ingresar el expediente o concepto tecnico');
f1.expediente.focus();
return(false);
}
if(document.forms.f1.usuario.value =="")
{
window.alert('Debe ingresar el usuario');
f1.usuario.focus();
return(false);
}
if(document.forms.f1.sector.value =="")
{
window.alert('Debe ingresar el sector');
f1.sector.focus();
return(false);
}
if(document.forms.f1.direccion.value =="")
{
window.alert('Debe ingresar la dependencia que lo proyecto');
f1.direccion.focus();
return(false);
}
}
</script> 



<style type="text/css">
<!--
.Estilo2 {font-family: Georgia, "Times New Roman", Times, serif}
.Estilo5 {    font-family: Verdana;
    font-size: 8pt;
}
-->
</style>
<!-- CSS -->
<link rel="stylesheet" href="../css/dynamic.css" type="text/css">
<link rel="stylesheet" href="../css/creation.css" type="text/css">
</head><body id="creation">
<?php
/**
 * User has submitted form without errors and user's
 * account has been edited successfully.
 */
if(isset($_SESSION['useredit'])){
   unset(
$_SESSION['useredit']);
   
   echo 
"<h1>Cuenta editada satisfactoriamente!</h1>";
   echo 
"<p><b>$session->username</b>, tu cuenta ha sido actualizada satisfactoriamente. "
       
."<a href=\"index.php\">Inicio</a>.</p>";
}
else{
?>
<?php
/**
 * If user is not logged in, then do not display anything.
 * If user is logged in, then display the form to edit
 * account information, with the current email address
 * already in the field.
 */
if($session->logged_in){
?>
<div id="container" class="clearfix">
<?php include("../../conex.php");
$ano substr($_POST['fecha'],0,4);

echo 
$file;
  if( 
$_POST['inserta'] ){
    if (
$_POST['tipo'] == 'AUTO')
    {
        
$tabla 'AUTOS';
    }
    else{
        
$tabla 'RESOLUCIONES';
    }
    
    
$sql "select * from $tabla where id = '$_POST[id]'";
    
$cursor mysql_query$sql$conexion );
    if( 
mysql_fetch_array$cursor ) )
     echo 
" <script language='JavaScript' type='text/javascript'>
alert('Error en el acto administrativo 
$_POST[id]') </script>";
     
     
     else{
    
$sql "insert into $tabla values ('$_POST[no]','$_POST[fecha]','$_POST[resuelve]','$_POST[expediente]','$_POST[usuario]','$_POST[sector]','$_POST[subsector]','$_POST[abogado]','$_POST[direccion]','','$_POST[tipo]')"
$file "../../../resoluciones/$tabla $ano/".$_POST["no"].".pdf";
echo 
$file;
move_uploaded_file($_FILES['imagen']['tmp_name'],$file.$FILES['imagen']['name']); 
    echo 
$sql;
      if( 
mysql_query $sql$conexion ) ){
        echo 
" <script language='JavaScript' type='text/javascript'>
alert('Registro ingresado') </script>"
;
    
    }
    }
  
  } 
?>
<div id="container">
<div id="header"> 
  <div align="center"><img src="../../images/cabezote BLEGAL.jpg" width="867" height="155" border="0" usemap="#Map">
  </div>
</div>
<div>
<FORM id=f1 name=f1 method=post onSubmit="return validar(this)" enctype="multipart/form-data">
  <TABLE border=2 cellPadding=0 
            cellSpacing=0 
            style="BORDER-LEFT-COLOR: green; BORDER-BOTTOM-COLOR: green; BORDER-TOP-COLOR: green; BORDER-RIGHT-COLOR: green">
    <TBODY>
      <TR>
        <TD width="834" height="437" 
                colSpan=3 style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Verdana" border=2><TABLE width="829">
            <TBODY>
              <TR>
                <TD width="821"  
                      align=middle 
                      style="FONT-SIZE: 10pt; COLOR: black; HEIGHT: 18px; BACKGROUND-COLOR: #cccccc"><strong>Formulario de Ingreso Actos Administrativos: <span class="Estilo5">L</span></strong><span style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"><strong>os campos con * deben ser 
                  diligenciados (obligatorios)</strong></span> <BR></TD>
              </TR>
              <TR>
                <TD style="COLOR: white; BACKGROUND-COLOR: #8EE910"><TABLE width="100%">
                    <TBODY>
                      <TR>
                        <TD style="HEIGHT: 15px" 
                              align=middle>&nbsp;</TD>
                        <TD style="HEIGHT: 15px" 
                        align=right></TD>
                      </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
              <TR>
                <TD 
                      style="FONT-SIZE: 12pt; COLOR: red; BACKGROUND-COLOR: gainsboro; TEXT-ALIGN: center"><p><SPAN 
                        style="FONT-SIZE: 10pt">Si usted ya se encuentra en este modulo es porque tiene acceso a el. El ingreso de informaci&oacute;n no autorizado a este modulo est&aacute; prohibido y puede estar sujeto a acciones civiles y penales.</SPAN> &nbsp;</p></TD>
              </TR>
              <TR>
                <TD 
                      style="FONT-SIZE: 8pt; COLOR: white; BACKGROUND-COLOR: #8EE910"><TABLE width="100%">
                    <TBODY>
                      <TR>
                        <TD style="HEIGHT: 15px" 
                              align=middle><div align="left"><STRONG>Actos Administrativos</STRONG></div></TD>
                        <TD style="HEIGHT: 15px" align=right><A 
                              id=linAyudaNombre 
                              title="">Ayuda</A></TD>
                      </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
              <TR>
                <TD 
                      style="HEIGHT: 42px; BACKGROUND-COLOR: activeborder; TEXT-ALIGN: center; background-color:#FFFFFF"><TABLE width="100%" height="61">
                    <TBODY>
                      <TR>
                        
                        <TD width="201" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>No. </strong></TD>
                        <TD colspan="2" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Fecha * </strong></TD>
                        <TD width="261" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Titulo*</strong></TD>
                        <TD width="231" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Tipo</strong>*&nbsp;</TD>
                      </TR>
                      <TR>
                        
                        <TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 26px"><INPUT name=no id=no tabIndex=1 size="5" 
                              maxLength=5></TD>
                        <TD width="79" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="fecha" maxlength="10" size="12" onBlur="return document.MM_returnValue" type="text" readonly="" id="fecha"></TD>
                        <TD width="26" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="button" type="button" onclick='popUpCalendar(this,fecha, "yyyy/mm/dd")' value=""></TD>
                        <TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 214px; HEIGHT: 26px"><span style="HEIGHT: 26px">
                          <textarea name="resuelve" cols="40" class="center" id="resuelve" tabindex="4"></textarea>
                        </span></TD>
                        <TD align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><SELECT
                              name=tipo 
                              id=tipo tabIndex=4 value="" maxLength=200>
                          <option value="AUTO">AUTO</option>
                          <option value="RESOLUCION">RESOLUCION</option>
                        </SELECT>
                        </TD>
                        
                      </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
              <TR>
                <TD 
                      style="FONT-SIZE: 8pt; COLOR: white; BACKGROUND-COLOR: #8EE910"><TABLE width="92%">
                    <TBODY>
                      <TR>
                        <TD style="HEIGHT: 15px" 
                              align=middle><div align="left"></div></TD>
                        <TD style="HEIGHT: 15px" align=right><A 
                              id=linAyudaNombre 
                              title="">Ayuda</A></TD>
                      </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
              <TR>
                <TD 
                      style="HEIGHT: 42px; BACKGROUND-COLOR: activeborder; TEXT-ALIGN: center; background-color:#FFFFFF"><TABLE width="100%" height="64">
                    <TBODY>
                      <TR>
                        <TD width="215" bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 15px; BACKGROUND-COLOR: activeborder" ><strong>Sector*</strong></TD>
                        <TD width="72" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Subsector</strong>&nbsp;</TD>
                        <TD width="232" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Usuario *</strong>&nbsp;</TD>
                        <TD width="137" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Expediente</strong>&nbsp;</TD>
                        <TD width="126" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Abogado </strong></TD>
                      </TR>
                      <TR>
                        <TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 26px"><select size="1" name="sector" id="sector">
                    <option value="" selected="selected"></option>
                      <option value="Competencia-Estructura">COMPETENCIA-ESTRUCTURA</option>
                      <option value="SILVICULTURA">SILVICULTURA</option>
                      <option value="VERTIMIENTOS">VERTIMIENTOS</option>
                      <option value="PEV">PUBLICIDAD EXTERIOR VISUAL</option>
                      <option value="AIRE">AIRE</option>
                      <option value="RUIDO">RUIDO</option>
                      <option value="RESIDUOS">RESIDUOS</option>
                      <option value="MINERIA">MINERIA</option>
                </select></TD>
                        <TD align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="subsector" maxlength="10" size="10" onBlur="return document.MM_returnValue" type="text" readonly="" id="subsector" ></TD>
                        <TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 214px; HEIGHT: 26px"><span style="HEIGHT: 26px">
                          <INPUT
                              name=usuario 
                              id=usuario tabIndex=4 size="20" maxLength=60>
                        </span></TD>
                        <TD align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><INPUT
                              name=expediente 
                              id=expediente tabIndex=4 maxLength=50>
                          <a href="file://///pc-p12-1000380-/Documentos/NORMAS AMBIENTALES/NORMAS AMBIENTALES"></a></TD>
                          <TD align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><INPUT
                              name=abogado 
                              id=abogado tabIndex=4 value="" maxLength=200>
                        </TD>
                      </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
              <TR>
                <TD 
                      style="FONT-SIZE: 8pt; COLOR: white; BACKGROUND-COLOR: #8EE910"><TABLE width="100%">
                    <TBODY>
                      <TR>
                        <TD style="HEIGHT: 15px" 
                              align=middle><div align="left"><strong>Respuesta Concepto Jur&iacute;dico </strong></div></TD>
                        <TD style="HEIGHT: 15px" align=right><A 
                              id=linAyudaNombre 
                              title="">Ayuda</A></TD>
                      </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
              <TR>
                <TD 
                      style="HEIGHT: 42px; BACKGROUND-COLOR: activeborder; TEXT-ALIGN: center; background-color:#FFFFFF"><TABLE width="100%">
                    <TBODY>
                      <TR>
                        <TD width="213" bgcolor="#D4D0C8" style="WIDTH: 150px; HEIGHT: 15px; BACKGROUND-COLOR: activeborder "><strong>Dependencia *</strong></TD>
                        <TD bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Cargar Archivo</strong></TD>
                      </TR>
                      <TR>
                        <TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 26px"><INPUT name=direccion id=direccion tabIndex=1 size="40" 
                              maxLength=60></TD>
                        <TD width="517" align=left bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="imagen" type="file" size="100" /> </TD>
                      </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
              <TR>
                <TD style="TEXT-ALIGN: center"><TABLE width="100%">
                  <TBODY>
                    <TR>
                      <TD width="821" 
                            style="WIDTH: 163px; HEIGHT: 15px; BACKGROUND-COLOR: activeborder">&nbsp;</TD>
                      
                      </TR>
                    </TBODY>
                  </TABLE></TD>
              </TR>
              <TR>
                <TD height="56" style="TEXT-ALIGN: center"><TABLE width="100%">
                  <TBODY>
                    <TR>
                      <TD width="282" 
                            style="WIDTH: 250px; BACKGROUND-COLOR: activeborder">&nbsp;</TD>
                      <TD width="238"
                            style="WIDTH: 211px; BACKGROUND-COLOR: activeborder"><span>
                        <input type="reset" name="limpiar" value="Limpiar">
                        <input name="inserta" type="submit" id="inserta" value="Guardar" >
                        </span></TD>
                      <TD width="295" 
                              colSpan=2 style="BACKGROUND-COLOR: activeborder"><input type="button" name="limpiar2" value="Volver al menu principal" onClick="location.href='../admin.php'"></TD>
                      </TR>
                    </TBODY>
                  </TABLE>                  </TD>
              </TR>
            </TBODY>
        </TABLE></TD>
      </TR>
    </TBODY>
  </TABLE>
  </form>  
  
</div>
</div>

<?php
}
}

?>
<div class="footer">
<i class="c1">·</i> 
Copyright © 2011 
<i class="c1">·</i><strong>Secretaria de Ambiente </strong><b>.</b> 
<i class="c1">·</i>Todos los derechos reservados <i class="c1">·</i></div>

</div><!--container-->


</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.0468 ]--