!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:\copia nuevo\htdocs\boletinlegal\admin\conceptos\   drwxrwxrwx
Free 1.13 GB of 239.26 GB (0.47%)
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:     modificar.php (20.8 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");
require(
'calendario.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" />
<link href="../index_files/style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="../../js/popcalendar.js"></script>
<SCRIPT LANGUAGE="JavaScript">
function popup(page) {
window.open(page,'popup','width=800,height=600,toolbar=false,scrollbars=yes,top=0,left=10');
}
</SCRIPT>


<style type="text/css">
<!--
.Estilo2 {font-family: Georgia, "Times New Roman", Times, serif}
.Estilo5 {    font-family: Verdana;
    font-size: 8pt;
}
-->
</style>
</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 conceptos where id ='$_POST[id]'";
    
$cursor mysql_query$sql$conexion );
    if( 
$row mysql_fetch_array$cursor ) ){
    
$id $row["id"];
    
$radicado_entrada $row["radicado_entrada"];
    
$fecha_entrada $row["fecha_entrada"];
    
$solicitante $row["solicitante"];
    
$cargo $row["cargo"];
    
$entidad $row["entidad"];
    
$no $row["no"];
    
$fecha_concepto $row["fecha_concepto"];
    
$objeto $row["objeto"];
    
$abogado $row["abogado"];
    
$radicado_salida $row["radicado_salida"];
    
$fecha_salida $row["fecha_salida"];
    
$observaciones $row["observaciones"];
    
$publicacion $row["publicacion"];
    
$vinculo $row["vinculo"];
    }
    }
    
     if( 
$_POST['modifica'] ){
    
$sql "update conceptos set         radicado_entrada='$_POST[radicado_entrada]',fecha_entrada='$_POST[fecha_entrada]',solicitante='$_POST[solicitante]',cargo='$_POST[cargo]',entidad='$_POST[entidad]',no='$_POST[no]',fecha_concepto='$_POST[fecha_concepto]',objeto='$_POST[objeto]',abogado='$_POST[abogado]',radicado_salida='$_POST[radicado_salida]',fecha_salida='$_POST[fecha_salida]',observaciones='$_POST[observaciones]',publicacion='$_POST[publicacion]',vinculo='$_POST[vinculo]' where id = '$_POST[id]'"
    








    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="867" height="155" border="0" usemap="#Map">
<map name="Map"><area shape="poly" coords="678,165" href="#"><area shape="poly" coords="429,87" href="#"></map></div>
<div>

  
<FORM id=form1 name=form1 method=post>
  <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="911" 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"><span style="text-align: center"><strong>Formulario de Modificación Conceptos Juridicos: <span class="Estilo3">Seleccione la norma a modificar y luego oprima el boton consultar, realice la modificacion seguido del boton modificar. </span></strong> </span><BR></TD>
                      </TR>
                        <TR>
                <TD style="COLOR: white; BACKGROUND-COLOR: #1C3606"><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>
                          <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="198" bgcolor="#D4D0C8" style="WIDTH: 198px; background-color:#E0E0E0; border: grey 1px solid;" >Radicado de Entrada* </TD>
                                  <TD colspan="2" bgcolor="#D4D0C8" style="background-color:#E0E0E0; border: grey 1px solid;" >Fecha de Radicado* </TD>
                                  <TD width="214" bgcolor="#D4D0C8" style="WIDTH: 214px; background-color:#E0E0E0; border: grey 1px solid;" >Solicitante*</TD>
                                  <TD width="122" bgcolor="#D4D0C8" style="background-color:#E0E0E0; border: grey 1px solid;" >Cargo*</TD>
                                  <TD width="153" bgcolor="#D4D0C8" style="background-color:#E0E0E0; border: grey 1px solid;" >Entidad</TD>
                                </TR>
                                <TR>
                                  <TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 26px"><INPUT name=radicado_entrada class="fundamentals" id=radicado_entrada tabIndex=1 value="<?php echo $radicado_entrada?>" size="12" 
                              maxLength=12>
                                  <img src="../../images/search.gif" width="20" height="20" border="0" onClick="popup('mostrar.php')"/></TD>
                                  <TD width="77" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="fecha_entrada" type="text" class="fundamentals" onBlur="return document.MM_returnValue" value="<?php echo $fecha_entrada?>" size="15" maxlength="10" readonly=""></TD>
                                   <TD width="29" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><a onclick="show_calendar()" style="cursor: pointer;"><small><img src="../images/calendario.png" width="29" height="28" class="fundamentals"/></small></a>
    <div id="calendario">
    <?php calendar_html() ?>
    </div></TD>
                                  <TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 214px; HEIGHT: 26px"><span style="HEIGHT: 26px">
                                    <INPUT
                              name=solicitante class="fundamentals" 
                              id=solicitante tabIndex=4 value="<?php echo $solicitante?>" size="40" maxLength=50>
                                  </span></TD>
                                  <TD align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><INPUT
                              name=cargo class="fundamentals" 
                              id=cargo tabIndex=4 value="<?php echo $cargo?>" maxLength=200>
                                  </TD>
                                  <TD align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><INPUT
                              name=entidad class="fundamentals" 
                              id=entidad tabIndex=4 value="<?php echo $entidad?>" size="28" maxLength=200>
                                  </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="99%">
                              <TBODY>
                                <TR>
                                  <TD width="210" bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 15px; background-color:#E0E0E0; border: grey 1px solid;" >No. </TD>
                                  <TD colspan="2" bgcolor="#D4D0C8" style="background-color:#E0E0E0; border: grey 1px solid;" >Fecha de Concepto </TD>
                                  <TD width="343" bgcolor="#D4D0C8" style="WIDTH: 214px; background-color:#E0E0E0; border: grey 1px solid;" >Objeto</TD> <TD width="210" bgcolor="#D4D0C8" style="WIDTH: 150px; HEIGHT: 15px; background-color:#E0E0E0; border: grey 1px solid;" >Abogado</span></TD>
                                
                                </TR>
                                <TR>
                                  <TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 26px"><INPUT name=no class="fundamentals" id=no tabIndex=1 value="<?php echo $no?>" size="11" 
                              maxLength=50></TD>
                                  <TD width="182" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="fecha_concepto" type="text" class="fundamentals" onBlur="return document.MM_returnValue" value="<?php echo $fecha_concepto?>" size="12" maxlength="10" readonly="" ></TD>
                                  <TD width="34" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><a onclick="show_calendarf()" style="cursor: pointer;"><small><img src="../images/calendario.png" width="29" height="28" class="fundamentals" /></small></a>
    <div id="calendariof">
    <?php calendar_htmlf() ?>
    </div></TD>
                                  <TD 
                              align=middle bgcolor="#D4D0C8" class="Estilo2" style="WIDTH: 214px; HEIGHT: 26px"><span style="HEIGHT: 26px">
                                    <textarea name="objeto" cols="50" class="fundamentals" id="objeto" tabindex="4"><?php echo $objeto?></textarea>
                                  </span></TD><TD 
                              align=middle bgcolor="#D4D0C8" style="WIDTH: 198px; HEIGHT: 26px"><span style="HEIGHT: 26px">
                                    <input
                              name="abogado" class="fundamentals" 
                              id="abogado" tabindex="4" value="<?php echo $abogado?>" size="30" maxlength="50" />
                                  </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"><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="198" bgcolor="#D4D0C8" style="WIDTH: 150px; HEIGHT: 15px; background-color:#E0E0E0; border: grey 1px solid;" >Radicado de Salida</TD>
                                  <TD colspan="2" bgcolor="#D4D0C8" style="background-color:#E0E0E0; border: grey 1px solid; ">Fecha de Radicado</TD>
                                  
                                </TR>
                                <TR>
                                  <TD width="90" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><div align="center">
                                      <input name="fecha_salida" type="text" class="fundamentals" onBlur="return document.MM_returnValue" value="<?php echo $fecha_salida?>" size="12" maxlength="10" readonly="">
                                  </div></TD>
                                  <TD width="800" align=left bgcolor="#D4D0C8" style="HEIGHT: 26px"><input name="fecha_salida" type="text" class="fundamentals" id="fecha_salida" value="<?php echo $fecha_salida?>" size="40" maxlength="40"></TD>
                                  <TD width="34" align=middle bgcolor="#D4D0C8" style="HEIGHT: 26px"><a onclick="show_calendard()" style="cursor: pointer;"><small><img src="../images/calendario.png" width="29" height="28" class="fundamentals" /></small></a>
    <div id="calendariod">
    <?php calendar_htmld() ?>
    </div></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 colspan="3"><span class="Estilo2">
                                    <textarea name="observaciones"
                    cols="114"
                    rows="2" class="fundamentals"
                    id="field_4_3"                    tabindex="10"
                    dir="ltr"
                    onpropertychange="return unNullify('resuelve', '0')"
                    ><?php echo $observaciones?></textarea>
                                  </span></TD>
                                </TR>
                              </TBODY>
                          </TABLE></TD>
                        </TR>
                        <TR>
                          <TD bgcolor="#8EE910" style="COLOR: white; BACKGROUND-COLOR: #1C3606">
                            <TABLE>
                              <TBODY>
                                <TR>
                                  <TD align=middle><STRONG>Publicaci&oacute;n</STRONG></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"><strong>Publicar?:</strong> 
                                    <INPUT id=rbGenero_0 tabIndex=8 type=radio <?php if ($publicacion == 's') echo "CHECKED"?>
                                value=s name=publicacion>
                                    <LABEL 
                                for=rbGenero_0>Si 
                                    <INPUT id=rbGenero_1 tabIndex=8 type=radio <?php if ($publicacion == 'n') echo "CHECKED"?>
                                value=n name=publicacion>
                                  No</LABEL></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>
                    </TABLE>
    </div></TD></TR></TBODY></TABLE>
</form>     
</div>
</div>
<?php
}
}

?>
<div class="footer">
<i class="c1">·</i> 
Copyright © 2010 
<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 ]--