!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/proyectos/tdfonline/www/   drwxr-xr-x
Free 14.92 GB of 61.93 GB (24.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     noticias-editar.php (4.71 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include('php/seguridad.php');
?>
<!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=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="js/jquery.html5form-min.js"></script>

    
    
<script type="text/javascript">
$(document).ready(function(){
    $( 'textarea#texto_no').ckeditor(function(){}, { height: 250 });
});
</script>
<link href="css/admin.css" rel="stylesheet" type="text/css" />
</head>

<body style="margin:0px;width: 100%;padding: 0px; ">
<?php
if(isset($_GET['id'])){
    include(
'php/config.php');

    
$id_no $_GET['id'];
    
$cons mysqli_query($link"SELECT * FROM noticias_grupo WHERE id_no = $id_no LIMIT 1;") or die(mysqli_error($link));
    
$row mysqli_fetch_array($cons);
?>
    <form action="php/noticias.php?action=editar" method="post" enctype="multipart/form-data" name="nueva-promo" id="nueva-promo" style="margin:0px; width:380px;">
      <img src="images/pencil.png" alt="Nueva promo" width="16" height="16" align="absmiddle" /> <strong>Editar nota</strong>
      <table width="380" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="380">
            <input type="text" name="titulo_no" id="titulo_no" value="<?php echo $row['titulo_no']; ?>" placeholder="Título español" required />
            <input type="text" name="titulo_no_en" id="titulo_no_en" value="<?php echo $row['titulo_no_en']; ?>" placeholder="Título inglés" required />
            <input type="text" name="titulo_no_fr" id="titulo_no_fr" value="<?php echo $row['titulo_no_fr']; ?>" placeholder="Título francés" required />
            <input type="text" name="subtitulo_no" id="subtitulo_no" value="<?php echo $row['subtitulo_no']; ?>" placeholder="Subtitulo español" /><br />
            <input type="text" name="subtitulo_no_en" id="subtitulo_no_en" value="<?php echo $row['subtitulo_no_en']; ?>" placeholder="Subtitulo inglés" /><br />
            <input type="text" name="subtitulo_no_fr" id="subtitulo_no_fr" value="<?php echo $row['subtitulo_no_fr']; ?>" placeholder="Subtitulo francés" /><br />

            <textarea name="texto_no" id="texto_no" cols="45" rows="5" ><?php echo $row['texto_no']; ?></textarea>
            <textarea name="texto_no_en" id="texto_no_en" cols="45" rows="5" ><?php echo $row['texto_no_en']; ?></textarea>
            <textarea name="texto_no_fr" id="texto_no_fr" cols="45" rows="5" ><?php echo $row['texto_no_fr']; ?></textarea>
          </td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td height="48">
          
          <div class="aviso">Fotografía</div>
          <?php if($row['type'] != '') {   ?>        
          <div class="foto"><img src="php/viewNovedadThumb.php?t=noticias_grupo&id=<?php echo $row['id_no']; ?>" alt="<?php echo $row['titulo_no']; ?>" width="50" /></div>         
                    <?php } else {          ?>             
                      <div class="aviso">No has subido una fotografía principal</div>
                    <?php }     ?>   
          </td>
        </tr>
        <tr>
          <td><input type="file" name="imagen" id="imagen" /></td>
        </tr>
        <tr>
          <td><div class="aviso">Archivo</div>
            <?php if($row['archivo_no'] != '') {   ?>        
                  <div class="aviso"><?php echo $row['archivo_no']; ?></div>
            <?php } else {          ?>             
                  <div class="aviso">No has subido un archivo</div>
            <?php }     ?>  

            <input type="file" name="archivo" id="archivo" /></td>
        </tr>
        <tr>
          <td><input type="submit" name="guardar" id="guardar" value="Guardar" /></td>
        </tr>
      </table>
      <input name="id_no" type="hidden" id="id_no" value="<?php echo $row['id_no']; ?>" />
</form>
<?php
} else {
    if(isset(
$_GET['r'])){
        switch(
$_GET['r']){
            case 
'ok':
            
?>
            La nota se ha editado correctamente.<br />
            <br />
            <a href="noticias.php" target="_top">Cerrar</a>
            <?php
            
break;
            
            case 
'error':
            
?>
            Ha ocurrido un error. Por favor, intente nuevamente.<br />
            <br />
            <a href="noticias.php" target="_top">Cerrar</a>
            <?php
            
break;
            
            default:
            
?>
            No se ha seleccionado una nota.<br />
            <br />
            <a href="noticias.php" target="_top">Cerrar</a>
            <?php
        
}
    } else {
        
?>
        No se ha seleccionado una nota.<br />
        <br />
        <a href="noticias.php" target="_top">Cerrar</a>
        <?php
    
}
}
?>
</body>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.6156 ]--