!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.3.29 

uname -a: Linux tardis23.nocplanet.net 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024
x86_64
 

 

Safe-mode: OFF (not secure)

/home/memoriacel/administrar/   drwxr-xr-x
Free 985.3 GB of 1859.98 GB (52.97%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     modificar-vida-sana.php (3.6 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();
require_once(
"includes/valida_secret.php");
require_once(
"includes/conexion.php");
require_once(
"includes/funciones.php");
$mensaje="";
$id_novedad=$_GET["id"];
if (isset(
$_POST['submit'])) {
    
$titulo=$_POST['titulo'];
    
$descripcion=$_POST['descripcion'];
    
$inicio=$_POST['inicio'];
    
$result=$mysqli->query("UPDATE vida_sana SET inicio='$inicio',titulo='$titulo',descripcion='$descripcion' WHERE id=$id_novedad");    
    if (
$mensaje==""){
        
?><script>window.parent.location.reload(); parent.$.fn.colorbox.close();</script><?
    
}
}
$result $mysqli->query("SELECT titulo,descripcion, inicio FROM vida_sana WHERE id=$id_novedad");
$novedad mysqli_fetch_assoc($result);
$fecha_ini=$novedad['fecha_novedad'];
$fecha_ini=saledma($fecha_ini);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Modificar</title>
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700,900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/jquery-ui-1.9.2.custom.min.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/validar_forms.js"></script>
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.9.2.custom.min.js"></script>
<script type="text/javascript" src="js/jquery.ui.datepicker-es.js"></script>
<SCRIPT LANGUAGE="JavaScript" SRC="js/CalendarPopup.js"></SCRIPT>
  <SCRIPT LANGUAGE="JavaScript">document.write(getCalendarStyles());</SCRIPT>
</head>

<body>
<script languaje="JavaScript" id="jscal1xx"> var cal1xx = new CalendarPopup("testdiv1"); cal1xx.showNavigationDropdowns();</script>
    <div class="super_contenedor popup_800">
        <div class="content_panel">
            <div class="menu_panel">
                <h2>Modificar</h2>
            </div>
            <form action="" method="post" enctype="multipart/form-data">
                 <label for="ingreso" class="fecha">Fecha
                <input name="INGRESO" type="text" value="<? echo $fecha_ini?>" size=15 id="fecha1" class="tex_o" style="float:left;"> <a href="#" onClick="cal1xx.select(document.forms[0].INGRESO,'anchor1xx','dd/MM/yyyy'); return false;" title="seleccionar fecha" name="anchor1xx" ID="anchor1xx"><img src="imgs/calendario.gif" alt="" width="16" height="16" border="0" /></a>
                </label>
                <label>T&iacute;tulo:
<input name="titulo" id="titulo" value="<?=$novedad["titulo"]?>"/>
                </label>
                 <label class="textarea">Descripción: 
                 <textarea name="descripcion"><?=$novedad["descripcion"]?></textarea><div class="leyenda"></div></label><label class="checkbox">Inicio:
            <?php $inic=$novedad['inicio']; 
              if (
$inic=="si"){
              
?>
              <input name="inicio" type="checkbox" id="inicio" value="si" checked="checked"/>
              <? }else{?>
               <input name="inicio" type="checkbox" id="inicio" value="si" />
               <? }?>
          </label>  
            
            <label class="error"><?=$mensaje?></label>
            
                <label class="submit"><input class="boton" value="Modificar" name="submit" type="submit"/></label>
            
            
            
            </form>
            <div id="testdiv1" style="position: absolute; visibility: visible; left: 0px; top: 85px; background-color: white;">
            </div>
        </div>
    </div>
</body>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0117 ]--