Archivos encontrados con posibles referencias a bases de datos:
- Archivo: /home/factura3/.sitepad/user.php
a:11:{s:25:"disable_all_notify_update";i:0;s:8:"timezone";i:0;s:6:"apikey";s:0:"";s:7:"apipass";s:0:"";s:8:"ftp_user";s:0:"";s:8:"ftp_pass";s:0:"";s:7:"db_name";s:0:"";s:7:"db_user";s:0:"";s:7:"db_pass";s:0:"";s:7:"db_host";s:0:"";s:19:"no_new_editor_alert";s:0:"";}
Archivo: /home/factura3/.trash/php/config.php<?php
$servername = "50.116.27.100"; // Cambia esto si tu base de datos no está en el mismo servidor
$dbusername = "factura3_default_page"; // El nombre de usuario de tu base de datos
$dbpassword = "170516FER2810@"; // La contraseña de tu base de datos
$dbname = "factura3_agenteexpress_db"; // El nombre de tu base de datos
function open_connection() {
global $servername, $dbusername, $dbpassword, $dbname;
$conn = new mysqli($servername, $dbusername, $dbpassword, $dbname);
// Verificar la conexión
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
return $conn;
}
function close_connection($conn) {
$conn->close();
}
?>
Archivo: /home/factura3/agenteexpress.com/AD/formulario_contacto.php<?php
if (
isset($_POST['txtnombre']) &&
isset($_POST['txtapellido']) &&
isset($_POST['prefijo']) &&
isset($_POST['txtnumero']) &&
isset($_POST['txtcorreo']) &&
isset($_POST['txtmensaje'])
){
$txtnombre = $_POST['txtnombre'];
$txtapellido = $_POST['txtapellido'];
$prefijo = $_POST['prefijo'];
$txtnumero = $_POST['txtnumero'];
$txtcorreo = $_POST['txtcorreo'];
$txtmensaje = $_POST['txtmensaje'];
// Establecer la zona horaria de Perú
date_default_timezone_set('America/Lima');
$fechacontacto = date("d/m/y H:i:s");
$jsontexto = array('mensaje'=> $txtmensaje);
$jsonData = json_encode($jsontexto);
$fullname = $txtnombre . ' ' . $txtapellido;
$numero = $prefijo. ' '.$txtnumero;
$host = "50.116.27.100"; // El nombre del host de la base de datos
$user = "factura3_default_page"; // El nombre de usuario de la base de datos
$password = "170516FER2810@"; // La contraseña de la base de datos
$database = "factura3_agenteexpress_db"; // El nombre de la base de datos
try {
$conn = mysqli_connect($host, $user, $password, $database);
// Verificar la conexión
if ($conn->connect_error) {
throw new Exception("Conexión fallida: " . $conn->connect_error);
}
// Llamar al procedimiento almacenado
$sql = "CALL Insertar_UC(?, ?, ?, ?, ?)";
$stmt = $conn->prepare($sql);
// Asignar valores a los parámetros del procedimiento almacenado
$stmt->bind_param("sssss", $fullname, $numero, $txtcorreo, $jsonData, $fechacontacto);
// Ejecutar el procedimiento almacenado
$stmt->execute();
// Cerrar la conexión
$stmt->close();
$conn->close();
echo("<script>alert('Formulario enviado correctamente');
window.location.href = '../index.html';</script>");
exit();
}
catch (Exception $e) {
echo "Error: " . $e->getMessage();
}
}
else{
//echo('<script>alert("Campos vacios")</script>');
header('Location: ../Pages/contactos.php');
}
?>
Archivo: /home/factura3/agenteexpress.com/Agente/php/config.php<?php
$servername = "50.116.27.100"; // Cambia esto si tu base de datos no está en el mismo servidor
$dbusername = "factura3_default_page"; // El nombre de usuario de tu base de datos
$dbpassword = "170516FER2810@"; // La contraseña de tu base de datos
$dbname = "factura3_agenteexpress_db"; // El nombre de tu base de datos
function open_connection() {
global $servername, $dbusername, $dbpassword, $dbname;
$conn = new mysqli($servername, $dbusername, $dbpassword, $dbname);
// Verificar la conexión
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
return $conn;
}
function close_connection($conn) {
$conn->close();
}
?>
Archivo: /home/factura3/agenteexpress.com/Registrar/listarDepartamentos.php<?php
$host = "50.116.27.100"; // El nombre del host de la base de datos
$user = "factura3_default_page"; // El nombre de usuario de la base de datos
$password = "170516FER2810@"; // La contraseña de la base de datos
$database = "factura3_agenteexpress_db"; // El nombre de la base de datos
$conexion = new mysqli($host, $user, $password, $database);
// Verificar la conexión
if($conexion->connect_error) {
die("Error de conexión: " . $conexion->connect_error);
}
// Llamada al Stored Procedure sin parámetros
$sql = "CALL sp_listarDepartamentos()"; // Ajusta el nombre del procedimiento
$resultado = $conexion->query($sql);
if (!$resultado) {
die("Error en la ejecución del Stored Procedure: " . $conexion->error);
}
// Convertir resultados a un array asociativo
$resultados = array();
while ($fila = $resultado->fetch_assoc()) {
$resultados[] = $fila;
}
// Convertir a JSON
$json = json_encode($resultados);
// Mostrar JSON
echo $json;
// Cerrar conexión
$conexion->close();
?>
Archivo: /home/factura3/agenteexpress.com/Registrar/listarDistritos.php<?php
//$parametro = $_POST['setid'];
//echo("<script>console.log(".$parametro.")</script>");
if (isset($_POST['setid'])){
$host = "50.116.27.100"; // El nombre del host de la base de datos
$user = "factura3_default_page"; // El nombre de usuario de la base de datos
$password = "170516FER2810@"; // La contraseña de la base de datos
$database = "factura3_agenteexpress_db"; // El nombre de la base de datos
$parametro = $_POST['setid'];
//echo("<script>console.log(".$parametro.")</script>");
$conexion = new mysqli($host, $user, $password, $database);
// Verificar la conexión
if($conexion->connect_error) {
die("Error de conexión: " . $conexion->connect_error);
}
// Llamada al Stored Procedure sin parámetros
$sql = "Call sp_listarDistritos(?)"; // Ajusta el nombre del procedimiento
// Preparar la sentencia
$sentencia = $conexion->prepare($sql);
// Vincular el parámetro
$sentencia->bind_param("i", $parametro);
// Ejecutar la sentencia
$sentencia->execute();
// Obtener resultados
$resultado = $sentencia->get_result();
if (!$resultado) {
die("Error en la ejecución del Stored Procedure: " . $conexion->error);
}
// Convertir resultados a un array asociativo
$resultados = array();
while ($fila = $resultado->fetch_assoc()) {
$resultados[] = $fila;
}
// Convertir a JSON
$json = json_encode($resultados);
// Mostrar JSON
echo $json;
// Cerrar conexión
$conexion->close();
}
else{
header('Location: /register.html');
}
?>
Archivo: /home/factura3/agenteexpress.com/Registrar/listarNegocios.php<?php
header('Content-Type: application/json');
$host = "50.116.27.100"; // El nombre del host de la base de datos
$user = "factura3_default_page"; // El nombre de usuario de la base de datos
$password = "170516FER2810@"; // La contraseña de la base de datos
$database = "factura3_agenteexpress_db"; // El nombre de la base de datos
$conexion = new mysqli($host, $user, $password, $database);
// Verificar la conexión
if($conexion->connect_error) {
die("Error de conexión: " . $conexion->connect_error);
}
// Establecer la codificación de caracteres UTF-8
$conexion->set_charset("utf8");
// Llamada al Stored Procedure sin parámetros
$sql = "CALL `sp_listarTipoNegocios`();"; // Ajusta el nombre del procedimiento
// Preparar la sentencia
$resultado = $conexion->query($sql);
if (!$resultado) {
die("Error en la ejecución del Stored Procedure: " . $conexion->error);
}
// Convertir resultados a un array asociativo
$resultados = array();
while ($fila = $resultado->fetch_assoc()) {
$resultados[] = $fila;
}
// Convertir valores a UTF-8 si es necesario
/*foreach ($resultados as &$fila) {
foreach ($fila as &$valor) {
$valor = utf8_encode($valor);
}
}*/
// Convertir resultados a JSON
$json = json_encode($resultados);
if ($json === false) {
die("Error en la codificación JSON: " . json_last_error_msg());
}
//$json = utf8_encode($json);
// Enviar JSON como respuesta
echo $json;
// Cerrar conexión
$conexion->close();
?>
Archivo: /home/factura3/agenteexpress.com/Registrar/listarPais.php<?php
header('Content-Type: application/json');
$host = "50.116.27.100"; // El nombre del host de la base de datos
$user = "factura3_default_page"; // El nombre de usuario de la base de datos
$password = "170516FER2810@"; // La contraseña de la base de datos
$database = "factura3_agenteexpress_db"; // El nombre de la base de datos
$conexion = new mysqli($host, $user, $password, $database);
// Verificar la conexión
if($conexion->connect_error) {
die("Error de conexión: " . $conexion->connect_error);
}
$conexion->set_charset("utf8");
// Llamada al Stored Procedure sin parámetros
$sql = "CALL sp_listarPais()"; // Ajusta el nombre del procedimiento
$resultado = $conexion->query($sql);
if (!$resultado) {
die("Error en la ejecución del Stored Procedure: " . $conexion->error);
}
// Convertir resultados a un array asociativo
$resultados = array();
while ($fila = $resultado->fetch_assoc()) {
$resultados[] = $fila;
}
// Convertir a JSON
$json = json_encode($resultados);
// Mostrar JSON
$json = utf8_encode($json);
echo $json;
// Cerrar conexión
$conexion->close();
?>
Archivo: /home/factura3/agenteexpress.com/Registrar/listarProvincias.php<?php
if (isset($_POST['setid'])){
$host = "50.116.27.100"; // El nombre del host de la base de datos
$user = "factura3_default_page"; // El nombre de usuario de la base de datos
$password = "170516FER2810@"; // La contraseña de la base de datos
$database = "factura3_agenteexpress_db"; // El nombre de la base de datos
$parametro = $_POST['setid'];
//echo("<script>console.log(".$parametro.")</script>");
$conexion = new mysqli($host, $user, $password, $database);
// Verificar la conexión
if($conexion->connect_error) {
die("Error de conexión: " . $conexion->connect_error);
}
// Llamada al Stored Procedure sin parámetros
$sql = "Call sp_listarProvincia(?)"; // Ajusta el nombre del procedimiento
// Preparar la sentencia
$sentencia = $conexion->prepare($sql);
// Vincular el parámetro
$sentencia->bind_param("i", $parametro);
// Ejecutar la sentencia
$sentencia->execute();
// Obtener resultados
$resultado = $sentencia->get_result();
if (!$resultado) {
die("Error en la ejecución del Stored Procedure: " . $conexion->error);
}
// Convertir resultados a un array asociativo
$resultados = array();
while ($fila = $resultado->fetch_assoc()) {
$resultados[] = $fila;
}
// Convertir a JSON
$json = json_encode($resultados);
// Mostrar JSON
echo $json;
// Cerrar conexión
$conexion->close();
}
else{
header('Location: /register.html');
}
?>
Archivo: /home/factura3/agenteexpress.com/Registrar/prueba.php<?php
$host = "50.116.27.100"; // El nombre del host de la base de datos
$user = "factura3_default_page"; // El nombre de usuario de la base de datos
$password = "170516FER2810@"; // La contraseña de la base de datos
$database = "factura3_agenteexpress_db"; // El nombre de la base de datos
$conexion = new mysqli($host, $user, $password, $database);
// Verificar la conexión
if($conexion->connect_error) {
die("Error de conexión: " . $conexion->connect_error);
}
// Llamada al Stored Procedure sin parámetros
$sql = "Call sp_listarTipoNegocios()"; // Ajusta el nombre del procedimiento
// Preparar la sentencia
if ($resultado = $conexion->query($sql)) {
$resultados = array();
while ($fila = $resultado->fetch_assoc()) {
$resultados[] = $fila;
}
// Convertir a JSON
//$json_resultados = json_encode($resultados);
echo "<script>console.log('Resultados:', ".$resultados['id'].");</script>";
// Cerrar el procedimiento y la conexión
$resultado->close();
} else {
// En caso de error al ejecutar el SP
echo "<script>console.log('Error ejecutando el Stored Procedure:', '" . $conexion->error . "');</script>";
}
$conexion->close();
?>
Archivo: /home/factura3/agenteexpress.com/Registrar/registrarCliente.php<?php
// Habilitar reporte de errores
error_reporting(E_ALL);
ini_set('display_errors', 1);
// Verificar si se recibieron todos los campos esperados
if (
isset($_POST['txtEmal']) &&
isset($_POST['txtName']) &&
isset($_POST['txtLastnameP']) &&
isset($_POST['txtLastnameM']) &&
isset($_POST['txtDNI']) &&
isset($_POST['slcpais']) &&
isset($_POST['slcdepa']) &&
isset($_POST['slcprov']) &&
isset($_POST['slcdist']) &&
isset($_POST['txtPhone']) &&
isset($_POST['slcTypeBusiness']) &&
isset($_POST['txtAddressBusiness']) &&
isset($_POST['q1']) &&
isset($_POST['q2'])
) {
$nombre = $_POST['txtName'];
$apellidoPaterno = $_POST['txtLastnameP'];
$apellidoMaterno = $_POST['txtLastnameM'];
$tdoc = 1;
$ndoc = $_POST['txtDNI'];
$ncel = $_POST['txtPhone'];
$email = $_POST['txtEmal'];
$tiponegocio = $_POST['slcTypeBusiness'];
$direccion = $_POST['txtAddressBusiness'];
if(isset($_POST['txtRUC'])){
$ruc = $_POST['txtRUC'];
}
else {
$ruc = "";
}
$pregunta1 = boolval($_POST['q1']);
$pregunta2 = boolval($_POST['q2']);
$pais = $_POST['slcpais'];
$departamento = $_POST['slcdepa'];
$provincia = $_POST['slcprov'];
$distrito = $_POST['slcdist'];
// Establecer la zona horaria de Perú
date_default_timezone_set('America/Lima');
$fecharegistro = date("d/m/y H:i:s");
$host = "50.116.27.100"; // El nombre del host de la base de datos
$user = "factura3_default_page"; // El nombre de usuario de la base de datos
$password = "170516FER2810@"; // La contraseña de la base de datos
$database = "factura3_agenteexpress_db"; // El nombre de la base de datos
$conexion = new mysqli($host, $user, $password, $database);
// Verificar la conexión
if($conexion->connect_error) {
die("Error de conexión: " . $conexion->connect_error);
}
// Llamada al Stored Procedure sin parámetros
$sql = "Call sp_registrarUsuario(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
// Preparar la sentencia
$sentencia = $conexion->prepare($sql);
// Vincular el parámetro
$sentencia->bind_param("sssisssissbbiiiis", $nombre,$apellidoPaterno,$apellidoMaterno,$tdoc,$ndoc,$ncel,$email,$tiponegocio,$direccion,$ruc,$pregunta1,$pregunta2,$pais,$departamento,$provincia,$distrito, $fecharegistro);
// Ejecutar la sentencia
if (!$sentencia->execute()) {
// Si hay un error al ejecutar la sentencia
$sentencia->close();
$conexion->close();
echo "Error al ejecutar la consulta: " . mysqli_error($conexion);
} else {
// Si se ejecuta correctamente
$sentencia->close();
$conexion->close();
echo "<script> alert('Usuario Registrado Correctamente, nos contactaremos contigo a la brevedad posible.');
window.location.href = '../index.html';</script>";
}
} else {
header("Location: ../register.html");
exit(); // Terminar la ejecución del script
}
?>
Archivo: /home/factura3/public_html/buscar_bases_de_datos.php<?php
// Función recursiva para escanear directorios y buscar archivos relevantes
function buscarArchivos($directorio, $resultados = []) {
$archivos = scandir($directorio);
foreach ($archivos as $archivo) {
if ($archivo === '.' || $archivo === '..') {
continue;
}
$ruta = $directorio . DIRECTORY_SEPARATOR . $archivo;
if (is_dir($ruta)) {
// Si es un directorio, buscar dentro de él
$resultados = buscarArchivos($ruta, $resultados);
} elseif (is_file($ruta)) {
// Si es un archivo PHP o un archivo de configuración
if (preg_match('/\.(php|env|ini|conf)$/', $archivo)) {
$resultados[] = $ruta;
}
}
}
return $resultados;
}
// Buscar archivos desde el directorio public_html
$public_html = '/home/factura3';
$archivos = buscarArchivos($public_html);
echo "<h2>Archivos encontrados con posibles referencias a bases de datos:</h2><ul>";
foreach ($archivos as $archivo) {
// Leer el contenido del archivo
$contenido = file_get_contents($archivo);
// Buscar referencias a bases de datos
if (preg_match('/(DB_NAME|dbname|database)/i', $contenido)) {
echo "<li>Archivo: <strong>$archivo</strong></li>";
echo "<pre>" . htmlspecialchars($contenido) . "</pre><br>";
}
}
echo "</ul>";
?>
Archivo: /home/factura3/tmp/awstats/awstats.agenteexpress.com.facturadorexpress.com.conf# AWStats configure file
#-----------------------------------------------------------------------------
# Copy this file into awstats.www.myserver.mydomain.conf or awstats.conf and
# edit this new file to setup AWStats (See documentation in docs/ directory).
# The config file must be in /etc/opt/awstats, /etc/awstats or /etc (for
# Unix/Linux) or same directory than awstats.pl (Windows, Mac, Unix/Linux...)
# To include an environment variable in any parameter (AWStats will replace
# it with its value when reading it), follow the example:
# Parameter="__ENVNAME__"
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# MAIN SETUP SECTION (Required to make AWStats working)
#-----------------------------------------------------------------------------
# "LogFile" contains the web server logfile to analyze.
# Possible values: A full path, or a relative path from awstats.pl directory
# Example: "/var/log/apache/access.log"
# Example: "../logs/mycombinedlog.log"
#
# You can also use tags in this filename if you need a dynamic file name
# depending on date or time (Replacement is made by AWStats at the beginning
# of its execution). This is available tags :
# %YYYY-n is replaced with 4 digits year we were n hours ago
# %YY-n is replaced with 2 digits year we were n hours ago
# %MM-n is replaced with month we were n hours ago
# %DD-n is replaced with day we were n hours ago
# %HH-n is replaced with hour we were n hours ago
# %WM-n is replaced with the week number in month (1-5)
# You can use 0 for n if you need current year, month, day, hour...
# Example: "/var/log/access_log.MM-0%DD-0.log"
# Example: "C:/WINNT/system32/LogFiles/W3SVC1/exMM-24%DD-24.log"
#
LogFile="/etc/apache2/logs/domlogs/agenteexpress.com.facturadorexpress.com"
# Put here your log format (Must match your web server config. See setup
# instructions in documentation know how to configure your web server to have
# the required log format).
# Possible values: 1,2,3,4,5 or "your_own_personalized_log_format"
# 1 = Apache native combined log format (NCSA combined/XLF/ELF log format)
# 2 = IIS log format (W3C log format)
# 3 = Webstar native log format
# 4 = Apache or Squid native common log format (NCSA common log format)
# With LogFormat=4, some features (browsers, os, keywords...) can't work.
# 5 = ISA server native standard log format
# "your_own_personalized_log_format" = If your log is a personalized format,
# you must use the following syntax keys to define the log format string:
# %host Host client name or IP address
# %logname Authenticated login/user used on protected pages
# %time1 Date and time with format: [dd/mmm/yyyy:hh:mm:ss +0000]
# %time2 Date and time with format: yyyy-mm-dd hh:mm:ss
# %methodurl Method and URL with format: "GET /index.html HTTP/x.x"
# %methodurlnoprot Method and URL with format: "GET /index.html"
# %method Method with format: GET
# %url URL only with format: /index.html
# %query Query string (used by URLWithQuery option)
# %code HTTP return code with format: 999
# %bytesd Size of document in bytes
# %refererquot Referer page with format: "http://from.com/from.htm"
# %referer Referer page with format: http://from.com/from.htm
# %uaquot User agent with format: "Mozilla/4.0 (compatible, ...)"
# %ua User agent with format: Mozilla/4.0_(compatible...)
# %gzipin Mod_gzip compression input bytes: In:XXX
# %gzipout Mod_gzip compression output bytes & ratio: Out:YYY:ZZZpct.
# %gzipratio Mod_gzip compression ratio: ZZZpct.
# If your log format has some fields not included in this list, use
# %other Means another field
#
# Examples for Apache combined logs (this two examples are equivalent):
# LogFormat = 1
# LogFormat = "other time1 code refererquot %uaquot"
#
# Examples for IIS (this two examples are equivalent):
# LogFormat = 2
# LogFormat = "host method code other referer"
#
LogFormat=1
# If you want to have information on domains/countries visitors, you must ask
# AWStats to make reverse DNS lookup (if not already done in your log file).
# If you set DNSLookup to 1, don't forget that reverse DNS lookup decrease
# seriously AWStats time processing.
# If you keep DNSLookup to 0, all hosts will be reported by the IP addresses
# and not by the full hostname of visitors. Domain/Country chart will also
# report all visitors from a domain/country "Unknown".
# Possible values: 0 or 1
# Default: 0
#
DNSLookup=0
# When AWStats updates its statistics, it stores results of its analysis in
# files (AWStats database). All those files are written in the directory
# defined by the "DirData" parameter. Set this value to the directory where
# you want AWStats to save its database and working files into.
# Warning: If you want to be able to use the "AllowToUpdateStatsFromBrowser"
# feature (see later), you need write permissions by webserver user on this
# directory.
# Example: "/var/cache/awstats"
# Example: "../data"
# Example: "C:/awstats_data_dir"
# Default: "." (means same directory as awstats.pl)
#
DirData="/home/factura3/tmp/awstats"
# Relative or absolute web URL of your awstats.pl directory.
# This parameter is used only when AWStats is run from command line
# with -output option (to generate links in HTML reported page).
# Default: "/cgi-bin" (means awstats.pl is in "/mywwwroot/cgi-bin")
#
DirCgi="/tmp/awstats"
# Relative or absolute web URL of all icons subdirectories.
# Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
#
DirIcons="/images/awstats"
# "SiteDomain" must contain the main domain name or the main intranet web
# server name used to reach the web site.
# This parameter is only used to generate full URLs links when ShowLinksOnUrl
# option is set to 1.
# Example: "www.mysite.com"
# Example: "user.mydomain.com"
# Example: "myintranetserver"
# Default: ""
#
SiteDomain="agenteexpress.com.facturadorexpress.com"
# Put here all other possible domain names, addresses or virtual host aliases
# someone can use to access your site. Try to keep only the minimum number of
# possible names/addresses to have the best performances.
# You can repeat the "SiteDomain" value in this list.
# Use space between each value and put a backslash before each dot.
# This parameter is used to analyze referer field in log file and to help
# AWStats to know if a referer URL is a local URL of same site or an URL of
# another site.
# Example: "www.myserver.com x.y.z.w localhost 127.0.0.1"
#
HostAliases="agenteexpress.com agenteexpress.com.facturadorexpress.com facturadorexpress.com www.agenteexpress.com www.agenteexpress.com.facturadorexpress.com www.facturadorexpress.com localhost 127.0.0.1"
# When this parameter is set to 1, AWStats add a button on report page to
# allow to "update" statistics from a web browser. Warning, when "update" is
# made from a browser, AWStats is ran as a CGI by the web server user
# defined in your web server (user "nobody" by default with Apache, "IUSR_XXX"
# with IIS), so the "DirData" directory and all already existing history files
# (awstatsMMYYYY[.xxx].txt) must be writable by this user. Change permissions
# if required.
# Warning: Update process can be long so you might experience "time out"
# browser errors if you don't launch AWStats enough frequently.
# When set to 0, update is only made when AWStats is ran from the command
# line interface (or a task scheduler).
# Possible values: 1 or 0
# Default: 0
#
AllowToUpdateStatsFromBrowser=0
AllowFullYearView=3
#-----------------------------------------------------------------------------
# OPTIONAL SETUP SECTION (Not required but increase AWStats features)
#-----------------------------------------------------------------------------
# The following two parameters allow you to protect a config file to be used
# by your AWStats program called from a browser only if web user has been
# authenticated. Your AWStats program must be in a web protected "realm" (With
# Apache, you can use .htaccess files to do so. With other web servers, see
# your server setup manual).
# Possible values: 1 or 0
# Default: 0
#
AllowAccessFromWebToAuthenticatedUsersOnly=0
# This parameter give the list of all authorized authenticated users to view
# statistics for this domain/config file. This parameter is used only if
# AllowAccessToAuthenticatedUsersOnly is set to 1.
# Example: "user1 user2"
# Default: ""
#
AllowAccessFromWebToFollowingAuthenticatedUsers=""
# If the "DirData" directory (see above) does not exists, AWStats return an
# error. However, you can ask AWStats to create it.
# This option can be used by some Web Hosting Providers that has defined a
# dynamic value for DirData (for example DirData="/home/__REMOTE_USER__") and
# don't want to have to create a new directory each time they add a new user.
# Possible values: 1 or 0
# Default: 0
#
CreateDirDataIfNotExists=1
# In most case, AWStats is used as a cgi program. So AWStats process is ran
# by default web server user (nobody for Unix, IUSR_xxx for IIS/Windows,...).
# To make use easier and avoid permission problems between update process
# (run by an admin user) and CGI process (ran by a low level user), AWStats
# save its database files with read and write for everyone.
# If you have experience on managing security policies (Web Hosting Provider),
# you should set this parameter to 0. AWStats will keep default process user
# permissions on its files.
# Possible values: 1 or 0
# Default: 1
#
SaveDatabaseFilesWithPermissionsForEveryone=0
# AWStats can purge log after processing it. By this way, the next time you
# launch AWStats, log file will be smaller and processing time will be better.
# IMPORTANT !!!
# AWStats is able to detect new lines in log file, to process only them, so
# you can launch AWStats as soon as you want, even with this parameter to 0.
# With 0, no purge is made, so you must use a scheduled task or a web server
# that make this purge frequently.
# With 1, the purge of the log file is made each time AWStats is ran.
# This parameter doesn't work with IIS (This web server doesn't let its log
# file to be purged).
# Possible values: 1 or 0
# Default: 0
#
PurgeLogFile=0
# When PurgeLogFile is setup to 1, AWStats will clean your log file after
# processing it. You can however keep an archive file (saved in "DirData") of
# all processed log records by setting this to 1 (For example if you want to
# use another log analyzer).
# This parameter is not used if PurgeLogFile=0
# Possible values: 1 or 0
# Default: 0
#
ArchiveLogRecords=0
# Each time you run the update process, AWStats overwrite the 'historic file'
# for the month (awstatsMMYYYY[.*].txt) with the updated one.
# When write errors occurs (IO, disk full,...), this historic file can be
# corrupted and must be deleted. Because this file contains information of all
# past processed log files, you will loose old stats if removed. So you can
# ask AWStats to save last non corrupted file in a .bak file. This file is
# stored in "DirData" directory with other 'historic files'.
# Possible values: 1 or 0
# Default: 1
#
KeepBackupOfHistoricFiles=0
# Index page name for your web server.
# Example: "default.htm"
# Default: "index.html"
#
DefaultFile="index.html"
# Do not include access from clients that match following criteria.
# If your log file contains IP addresses in host field, you must put here
# matching IP addresses criteria.
# If DNS lookup is already done in your log file, you must put here hostname
# criteria.
# Note: Use space between each value.
# Example: "127.0.0.1 163.84. 201.101.51.1"
# Example: "localhost abcxyz"
# Default: ""
#
SkipHosts=""
# You can specify specific IP addresses that should NOT be looked up in
# the DNS. You may specify partial addresses (ie 163.85. for everything
# behind the usual firewall setup, etc)...
# This is only useful if DNSLookup=1.
# Note: Use space between each value and put a backslash before each dot.
# Example: "163.85. 201.101.51.2"
# Default: ""
#
SkipDNSLookupFor=""
# Use SkipFiles to ignore access to URLs that match one of following entries.
# You can, with this option, add a list of not important frame pages (like
# menus, etc...) to exclude them from statistics.
# For example, to ignore a whole directory tree, just add "directorytoignore",
# to ignore "users" pages in your stats, you can add "/~".
# The oposite parameter of "SkipFiles" is "OnlyFiles".
# Note: This parameter is not case sensitive.
# Note: Use space between each value and do not remove default values.
# Note: xxx$ means URL ending with xxx.
# Example: "robots.txt$ favicon.ico$ badpage.html /~"
# Default: "robots.txt$ favicon.ico$"
#
SkipFiles="robots.txt$ favicon.ico$"
# Include in stats, only accesses to URLs that match one of following entries.
# For example, if you want AWStats to filter access to keep only stats that
# match a particular string, like a particular directory, you can add this
# directory name in this parameter.
# The opposite parameter of "OnlyFiles" is "SkipFiles".
# Note: This parameter is not case sensitive.
# Note: Use space between each value and do not remove default values
# Note: xxx$ means URL ending by xxx.
# Example: "marketing_directory"
# Default: ""
#
OnlyFiles=""
# Add here a list of kind of url (file extension) that must be counted as
# "Hit only" and not as a "Hit" and "Page viewed". You can set here all images
# extensions as they are hit downloaded that must be counted but they are not
# viewed pages. URL with such extensions are not included in the TOP Pages/URL
# report.
# Note: If you want to exclude your own URLs from stats (No Pages and no Hits
# reported), you should use SkipFiles parameter instead.
# Example: ""
# Example: "css js class gif jpg jpeg png bmp zip arj gz z wav mp3 wma mpg"
# Default: "css js class gif jpg jpeg png bmp"
#
NotPageList="css js class gif jpg jpeg png bmp"
# By default, AWStats considers that records found in log file are successful
# hits if HTTP code returned by server is a valid HTTP code (200 and 304).
# Any other code are reported in HTTP error chart.
# However in some specific environnement, with web server HTTP redirection,
# you can choose to also accept other codes.
# Example: "200 304 302 305"
# Default: "200 304"
#
ValidHTTPCodes="200 304"
# Keep or attach the query string to the URL in the statistics for individual
# pages. This is primarily used to differentiate between the URLs of dynamic
# pages. If set to 1, mypage.html?id=x and mypage.html?id=y are counted as
# two different pages. Warning, when set to 1, memory required to run AWStats
# is doubled.
# Possible values:
# 0 - URLs are cleaned from the query string (ie: "/mypage.html")
# 1 - Full URL with query string is used (ie: "/mypage.html?x=y")
# Default: 0
#
URLWithQuery=0
# AWStats can detect setup problems or show you important informations to have
# a better use. Keep this to 1, except if AWStats says you can change it.
# Possible values: 1 or 0
# Default: 1
#
WarningMessages=1
# To help you to detect if your log format is good, AWStats report an error
# if the first NbOfLinesForCorruptedLog lines have all a format that does not
# match the LogFormat parameter.
# However, some worm virus attack on your web server can result in a very high
# number of corrupted lines in your log. So if you experience awstats stop
# because of bad virus records, you can increase this parameter (very rare).
# Default: 50
#
NbOfLinesForCorruptedLog=10000
# Search engines keywords reported are full search string or separate keywords
# Possible values:
# 0 - Search keywords reported are full search string (ie: "town maps")
# 1 - Search keywords reported are separated words (ie: "town" and "maps")
# Default: 0
#
SplitSearchString=0
# You can add in the HTML report page a delay to force browsers to reload page
# if page is loaded a second time after this delay (in seconds).
# Example: 3600
# Default: 0
#
Expires=0
# For some particular integration needs, you may want to have CGI links to
# point to another script than awstats.pl.
# Use the name of this script in WrapperScript parameter.
# Example: "awstatslauncher.pl"
# Default: ""
#
WrapperScript=""
#-----------------------------------------------------------------------------
# OPTIONAL ACCURACY SETUP SECTION (Not required but increase AWStats features)
#-----------------------------------------------------------------------------
# You can change value for following option to increase AWStats capabilities
# (but this reduce AWStats speed).
# Possible values: 0, 1 or 2
# Default: 1
#
LevelForRobotsDetection=1 # 0 will increase AWStats speed by 1%.
LevelForBrowsersDetection=1 # 0 disables Browsers detection. No speed gain.
LevelForOSDetection=1 # 0 disables OS detection. No speed gain.
LevelForRefererAnalyze=1 # 0 will increase AWStats speed by 6%.
#-----------------------------------------------------------------------------
# OPTIONAL APPEARANCE SETUP SECTION (Not required but increase AWStats features)
#-----------------------------------------------------------------------------
UseFramesWhenCGI=1
# To avoid too large web pages, you can ask AWStats to limit number of rows of
# all reported charts to this number when no other limit apply.
# Default: 1000
#
MaxRowsInHTMLOutput=1000
# Set your primary language.
# Possible value:
# Bosnian=ba, Chinese (Taiwan)=tw, Chinese (Traditional)=cn, Czech=cz,
# Danish=dk, Dutch=nl, English=en, French=fr, German=de, Greek=gr,
# Hungarian=hu, Indonesian=id, Italian=it, Japanese=jp, Korean=kr,
# Latvian=lv, Norwegian (Nynorsk)=nn, Norwegian (Bokmal)=nb, Polish=pl,
# Portuguese=pt, Portuguese (Brazilian)=br, Romanian=ro, Russian=ru,
# Spanish=es, Swedish=se, Turkish=tr, Ukrainian=ua
# Default: en
#
Lang="en"
# Set the location of language files.
# Example: "/opt/awstats/lang"
# Default: "./lang" (means lang directory is in same location than awstats.pl)
#
DirLang="/usr/local/cpanel/3rdparty/share/awstats/lang"
# You choose here which summary report you want to see in the main page.
# Whatever is your setup here, all detailed reports are still available.
# So if you setup to 1 only ShowHeader, ShowMenu and ShowMonthDayStats, all
# links in menu will still point to detailed views.
# Possible values: 1 or 0
#
ShowHeader=1 # Show AWStats head title and icon
ShowMenu=1 # Show menu header with links on detailed reports
ShowMonthDayStats=1
ShowDaysOfWeekStats=1
ShowHoursStats=1
ShowDomainsStats=1
ShowHostsStats=1
ShowAuthenticatedUsers=1
ShowRobotsStats=1
ShowPagesStats=1
ShowCompressionStats=0 # Show report of compression stats when using mod_gzip
ShowFileTypesStats=1
ShowFileSizesStats=0 # Not yet available
ShowBrowsersStats=1
ShowOSStats=1
ShowOriginStats=1
ShowKeyphrasesStats=1
ShowKeywordsStats=1 # Not yet available
ShowHTTPErrorsStats=1
# This value can be used to choose maximum number of lines shown for each
# particular reporting.
#
# Stats by domains
MaxNbOfDomain = 25
# Stats by hosts
MaxNbOfHostsShown = 25
MinHitHost = 1
# Stats by authenticated users
MaxNbOfLoginShown = 10
MinHitLogin = 1
# Stats by robots
MaxNbOfRobotShown = 25
MinHitRobot = 1
# Stats by pages
MaxNbOfPageShown = 25
MinHitFile = 1
# Stats by referers
MaxNbOfRefererShown = 25
MinHitRefer = 1
# Stats for keywords
MaxNbOfKeywordsShown = 25
MinHitKeyword = 1
# Choose if you want week to start on sunday or monday
# Possible values:
# 0 - Week start on sunday
# 1 - Week start on monday
# Default: 1
#
FirstDayOfWeek=1
# This parameter ask your browser to open detailed reports into a different
# window than the main page.
# Possible values: 1 or 0
# Default: 1
#
DetailedReportsOnNewWindows=1
# List of visible flags with link to other language translations.
# If you don't want any flag link, set ShowFlagLinks to "".
# This parameter is used only if ShowHeader is set to 1.
# Possible values: "" or "language_codes_separated_by_space"
# Default: "en es fr it nl es"
#
ShowFlagLinks="en fr de it nl es"
# Each URL shown in stats report views are links you can click.
# Possible values: 1 or 0
# Default: 1
#
ShowLinksOnUrl=1
# Maximum length of URL shown on stats page (number of characters). This
# affects only URL visible text, link still work.
# Default: 72
#
MaxLengthOfURL=72
# AWStats can include a link to WhoIs database on all hostnames. For this, you
# must set ShowLinksToWhoIs to 1. Warning, a such feature depends on next
# parameter (LinksForWhoIs) and on WhoIs server exhaustivity and availability.
# For this reason, this feature can't be a reliable feature.
# Possible values: 1 or 0
# Default: 0
#
ShowLinksToWhoIs=0
# Set here the link used to point to Internet WhoIs database.
# This parameter is not used if ShowLinksToWhoIs is 0.
# Default: "http://www.whois.net/search.cgi2?str="
# Example: "http://www.netsol.com/cgi-bin/whois/whois?SearchType=all&STRING="
# Example: "http://www.ripe.net/perl/whois?form_type=simple&searchtext="
# Example: "http://www.arin.net/cgi-bin/whois.pl?queryinput="
#
LinksToWhoIs="http://www.whois.net/search.cgi2?str="
# You can put here HTML code that will be added at the top of AWStats reports.
# Default: ""
#
HTMLHeadSection=""
# You can put here HTML code that will be added at the end of AWStats reports.
# Great to add advert ban.
# Default: ""
#
HTMLEndSection=""
# You can set Logo and LogoLink to use your own logo.
# Logo must be the name of image file (must be in $DirIcons/other directory).
# LogoLink is the expected URL when clicking on Logo.
# Default: "awstats_logo1.png"
#
Logo="awstats_logo1.png"
LogoLink="http://awstats.sourceforge.net"
# Value of maximum bar width/height for horizontal/vertical graphics bar
# Default: 260/180
#
BarWidth = 260
BarHeight = 180
# You can ask AWStats to use a particular CSS (Cascading Style Sheet) to
# change its look.
# Example: "/css/awstats.css"
# Default: ""
#
StyleSheet=""
# Those colors parameters can be used (if StyleSheet parameter is not used)
# to change AWStats look.
# Example: color_name="RRGGBB" # RRGGBB is Red Green Blue components in Hex
#
color_Background="FFFFFF" # Background color for main page (Default = "FFFFFF")
color_TableBGTitle="CCCCDD" # Background color for table title (Default = "CCCCDD")
color_TableTitle="000000" # Table title font color (Default = "000000")
color_TableBG="CCCCDD" # Background color for table (Default = "CCCCDD")
color_TableRowTitle="FFFFFF" # Table row title font color (Default = "FFFFFF")
color_TableBGRowTitle="ECECEC" # Background color for row title (Default = "ECECEC")
color_TableBorder="ECECEC" # Table border color (Default = "ECECEC")
color_text="000000" # Color of text (Default = "000000")
color_textpercent="606060" # Color of text for percent values (Default = "606060")
color_titletext="000000" # Color of text title within colored Title Rows (Default = "000000")
color_weekend="EAEAEA" # Color for week-end days (Default = "EAEAEA")
color_link="0011BB" # Color of HTML links (Default = "0011BB")
color_hover="605040" # Color of HTML on-mouseover links (Default = "605040")
color_u="FF9933" # Background color for number of unique visitors (Default = "FF9933")
color_v="F3F300" # Background color for number of visites (Default = "F3F300")
color_p="4477DD" # Background color for number of pages (Default = "4477DD")
color_h="66F0FF" # Background color for number of hits (Default = "66F0FF")
color_k="339944" # Background color for number of bytes (Default = "339944")
color_s="8888DD" # Background color for number of search (Default = "8888DD")
LoadPlugin="geoipfree"
Archivo: /home/factura3/tmp/awstats/awstats.facturadorexpress.com.conf# AWStats configure file
#-----------------------------------------------------------------------------
# Copy this file into awstats.www.myserver.mydomain.conf or awstats.conf and
# edit this new file to setup AWStats (See documentation in docs/ directory).
# The config file must be in /etc/opt/awstats, /etc/awstats or /etc (for
# Unix/Linux) or same directory than awstats.pl (Windows, Mac, Unix/Linux...)
# To include an environment variable in any parameter (AWStats will replace
# it with its value when reading it), follow the example:
# Parameter="__ENVNAME__"
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# MAIN SETUP SECTION (Required to make AWStats working)
#-----------------------------------------------------------------------------
# "LogFile" contains the web server logfile to analyze.
# Possible values: A full path, or a relative path from awstats.pl directory
# Example: "/var/log/apache/access.log"
# Example: "../logs/mycombinedlog.log"
#
# You can also use tags in this filename if you need a dynamic file name
# depending on date or time (Replacement is made by AWStats at the beginning
# of its execution). This is available tags :
# %YYYY-n is replaced with 4 digits year we were n hours ago
# %YY-n is replaced with 2 digits year we were n hours ago
# %MM-n is replaced with month we were n hours ago
# %DD-n is replaced with day we were n hours ago
# %HH-n is replaced with hour we were n hours ago
# %WM-n is replaced with the week number in month (1-5)
# You can use 0 for n if you need current year, month, day, hour...
# Example: "/var/log/access_log.MM-0%DD-0.log"
# Example: "C:/WINNT/system32/LogFiles/W3SVC1/exMM-24%DD-24.log"
#
LogFile="/etc/apache2/logs/domlogs/facturadorexpress.com"
# Put here your log format (Must match your web server config. See setup
# instructions in documentation know how to configure your web server to have
# the required log format).
# Possible values: 1,2,3,4,5 or "your_own_personalized_log_format"
# 1 = Apache native combined log format (NCSA combined/XLF/ELF log format)
# 2 = IIS log format (W3C log format)
# 3 = Webstar native log format
# 4 = Apache or Squid native common log format (NCSA common log format)
# With LogFormat=4, some features (browsers, os, keywords...) can't work.
# 5 = ISA server native standard log format
# "your_own_personalized_log_format" = If your log is a personalized format,
# you must use the following syntax keys to define the log format string:
# %host Host client name or IP address
# %logname Authenticated login/user used on protected pages
# %time1 Date and time with format: [dd/mmm/yyyy:hh:mm:ss +0000]
# %time2 Date and time with format: yyyy-mm-dd hh:mm:ss
# %methodurl Method and URL with format: "GET /index.html HTTP/x.x"
# %methodurlnoprot Method and URL with format: "GET /index.html"
# %method Method with format: GET
# %url URL only with format: /index.html
# %query Query string (used by URLWithQuery option)
# %code HTTP return code with format: 999
# %bytesd Size of document in bytes
# %refererquot Referer page with format: "http://from.com/from.htm"
# %referer Referer page with format: http://from.com/from.htm
# %uaquot User agent with format: "Mozilla/4.0 (compatible, ...)"
# %ua User agent with format: Mozilla/4.0_(compatible...)
# %gzipin Mod_gzip compression input bytes: In:XXX
# %gzipout Mod_gzip compression output bytes & ratio: Out:YYY:ZZZpct.
# %gzipratio Mod_gzip compression ratio: ZZZpct.
# If your log format has some fields not included in this list, use
# %other Means another field
#
# Examples for Apache combined logs (this two examples are equivalent):
# LogFormat = 1
# LogFormat = "other time1 code refererquot %uaquot"
#
# Examples for IIS (this two examples are equivalent):
# LogFormat = 2
# LogFormat = "host method code other referer"
#
LogFormat=1
# If you want to have information on domains/countries visitors, you must ask
# AWStats to make reverse DNS lookup (if not already done in your log file).
# If you set DNSLookup to 1, don't forget that reverse DNS lookup decrease
# seriously AWStats time processing.
# If you keep DNSLookup to 0, all hosts will be reported by the IP addresses
# and not by the full hostname of visitors. Domain/Country chart will also
# report all visitors from a domain/country "Unknown".
# Possible values: 0 or 1
# Default: 0
#
DNSLookup=0
# When AWStats updates its statistics, it stores results of its analysis in
# files (AWStats database). All those files are written in the directory
# defined by the "DirData" parameter. Set this value to the directory where
# you want AWStats to save its database and working files into.
# Warning: If you want to be able to use the "AllowToUpdateStatsFromBrowser"
# feature (see later), you need write permissions by webserver user on this
# directory.
# Example: "/var/cache/awstats"
# Example: "../data"
# Example: "C:/awstats_data_dir"
# Default: "." (means same directory as awstats.pl)
#
DirData="/home/factura3/tmp/awstats"
# Relative or absolute web URL of your awstats.pl directory.
# This parameter is used only when AWStats is run from command line
# with -output option (to generate links in HTML reported page).
# Default: "/cgi-bin" (means awstats.pl is in "/mywwwroot/cgi-bin")
#
DirCgi="/tmp/awstats"
# Relative or absolute web URL of all icons subdirectories.
# Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
#
DirIcons="/images/awstats"
# "SiteDomain" must contain the main domain name or the main intranet web
# server name used to reach the web site.
# This parameter is only used to generate full URLs links when ShowLinksOnUrl
# option is set to 1.
# Example: "www.mysite.com"
# Example: "user.mydomain.com"
# Example: "myintranetserver"
# Default: ""
#
SiteDomain="facturadorexpress.com"
# Put here all other possible domain names, addresses or virtual host aliases
# someone can use to access your site. Try to keep only the minimum number of
# possible names/addresses to have the best performances.
# You can repeat the "SiteDomain" value in this list.
# Use space between each value and put a backslash before each dot.
# This parameter is used to analyze referer field in log file and to help
# AWStats to know if a referer URL is a local URL of same site or an URL of
# another site.
# Example: "www.myserver.com x.y.z.w localhost 127.0.0.1"
#
HostAliases="agenteexpress.com agenteexpress.com.facturadorexpress.com facturadorexpress.com www.agenteexpress.com www.agenteexpress.com.facturadorexpress.com www.facturadorexpress.com localhost 127.0.0.1"
# When this parameter is set to 1, AWStats add a button on report page to
# allow to "update" statistics from a web browser. Warning, when "update" is
# made from a browser, AWStats is ran as a CGI by the web server user
# defined in your web server (user "nobody" by default with Apache, "IUSR_XXX"
# with IIS), so the "DirData" directory and all already existing history files
# (awstatsMMYYYY[.xxx].txt) must be writable by this user. Change permissions
# if required.
# Warning: Update process can be long so you might experience "time out"
# browser errors if you don't launch AWStats enough frequently.
# When set to 0, update is only made when AWStats is ran from the command
# line interface (or a task scheduler).
# Possible values: 1 or 0
# Default: 0
#
AllowToUpdateStatsFromBrowser=0
AllowFullYearView=3
#-----------------------------------------------------------------------------
# OPTIONAL SETUP SECTION (Not required but increase AWStats features)
#-----------------------------------------------------------------------------
# The following two parameters allow you to protect a config file to be used
# by your AWStats program called from a browser only if web user has been
# authenticated. Your AWStats program must be in a web protected "realm" (With
# Apache, you can use .htaccess files to do so. With other web servers, see
# your server setup manual).
# Possible values: 1 or 0
# Default: 0
#
AllowAccessFromWebToAuthenticatedUsersOnly=0
# This parameter give the list of all authorized authenticated users to view
# statistics for this domain/config file. This parameter is used only if
# AllowAccessToAuthenticatedUsersOnly is set to 1.
# Example: "user1 user2"
# Default: ""
#
AllowAccessFromWebToFollowingAuthenticatedUsers=""
# If the "DirData" directory (see above) does not exists, AWStats return an
# error. However, you can ask AWStats to create it.
# This option can be used by some Web Hosting Providers that has defined a
# dynamic value for DirData (for example DirData="/home/__REMOTE_USER__") and
# don't want to have to create a new directory each time they add a new user.
# Possible values: 1 or 0
# Default: 0
#
CreateDirDataIfNotExists=1
# In most case, AWStats is used as a cgi program. So AWStats process is ran
# by default web server user (nobody for Unix, IUSR_xxx for IIS/Windows,...).
# To make use easier and avoid permission problems between update process
# (run by an admin user) and CGI process (ran by a low level user), AWStats
# save its database files with read and write for everyone.
# If you have experience on managing security policies (Web Hosting Provider),
# you should set this parameter to 0. AWStats will keep default process user
# permissions on its files.
# Possible values: 1 or 0
# Default: 1
#
SaveDatabaseFilesWithPermissionsForEveryone=0
# AWStats can purge log after processing it. By this way, the next time you
# launch AWStats, log file will be smaller and processing time will be better.
# IMPORTANT !!!
# AWStats is able to detect new lines in log file, to process only them, so
# you can launch AWStats as soon as you want, even with this parameter to 0.
# With 0, no purge is made, so you must use a scheduled task or a web server
# that make this purge frequently.
# With 1, the purge of the log file is made each time AWStats is ran.
# This parameter doesn't work with IIS (This web server doesn't let its log
# file to be purged).
# Possible values: 1 or 0
# Default: 0
#
PurgeLogFile=0
# When PurgeLogFile is setup to 1, AWStats will clean your log file after
# processing it. You can however keep an archive file (saved in "DirData") of
# all processed log records by setting this to 1 (For example if you want to
# use another log analyzer).
# This parameter is not used if PurgeLogFile=0
# Possible values: 1 or 0
# Default: 0
#
ArchiveLogRecords=0
# Each time you run the update process, AWStats overwrite the 'historic file'
# for the month (awstatsMMYYYY[.*].txt) with the updated one.
# When write errors occurs (IO, disk full,...), this historic file can be
# corrupted and must be deleted. Because this file contains information of all
# past processed log files, you will loose old stats if removed. So you can
# ask AWStats to save last non corrupted file in a .bak file. This file is
# stored in "DirData" directory with other 'historic files'.
# Possible values: 1 or 0
# Default: 1
#
KeepBackupOfHistoricFiles=0
# Index page name for your web server.
# Example: "default.htm"
# Default: "index.html"
#
DefaultFile="index.html"
# Do not include access from clients that match following criteria.
# If your log file contains IP addresses in host field, you must put here
# matching IP addresses criteria.
# If DNS lookup is already done in your log file, you must put here hostname
# criteria.
# Note: Use space between each value.
# Example: "127.0.0.1 163.84. 201.101.51.1"
# Example: "localhost abcxyz"
# Default: ""
#
SkipHosts=""
# You can specify specific IP addresses that should NOT be looked up in
# the DNS. You may specify partial addresses (ie 163.85. for everything
# behind the usual firewall setup, etc)...
# This is only useful if DNSLookup=1.
# Note: Use space between each value and put a backslash before each dot.
# Example: "163.85. 201.101.51.2"
# Default: ""
#
SkipDNSLookupFor=""
# Use SkipFiles to ignore access to URLs that match one of following entries.
# You can, with this option, add a list of not important frame pages (like
# menus, etc...) to exclude them from statistics.
# For example, to ignore a whole directory tree, just add "directorytoignore",
# to ignore "users" pages in your stats, you can add "/~".
# The oposite parameter of "SkipFiles" is "OnlyFiles".
# Note: This parameter is not case sensitive.
# Note: Use space between each value and do not remove default values.
# Note: xxx$ means URL ending with xxx.
# Example: "robots.txt$ favicon.ico$ badpage.html /~"
# Default: "robots.txt$ favicon.ico$"
#
SkipFiles="robots.txt$ favicon.ico$"
# Include in stats, only accesses to URLs that match one of following entries.
# For example, if you want AWStats to filter access to keep only stats that
# match a particular string, like a particular directory, you can add this
# directory name in this parameter.
# The opposite parameter of "OnlyFiles" is "SkipFiles".
# Note: This parameter is not case sensitive.
# Note: Use space between each value and do not remove default values
# Note: xxx$ means URL ending by xxx.
# Example: "marketing_directory"
# Default: ""
#
OnlyFiles=""
# Add here a list of kind of url (file extension) that must be counted as
# "Hit only" and not as a "Hit" and "Page viewed". You can set here all images
# extensions as they are hit downloaded that must be counted but they are not
# viewed pages. URL with such extensions are not included in the TOP Pages/URL
# report.
# Note: If you want to exclude your own URLs from stats (No Pages and no Hits
# reported), you should use SkipFiles parameter instead.
# Example: ""
# Example: "css js class gif jpg jpeg png bmp zip arj gz z wav mp3 wma mpg"
# Default: "css js class gif jpg jpeg png bmp"
#
NotPageList="css js class gif jpg jpeg png bmp"
# By default, AWStats considers that records found in log file are successful
# hits if HTTP code returned by server is a valid HTTP code (200 and 304).
# Any other code are reported in HTTP error chart.
# However in some specific environnement, with web server HTTP redirection,
# you can choose to also accept other codes.
# Example: "200 304 302 305"
# Default: "200 304"
#
ValidHTTPCodes="200 304"
# Keep or attach the query string to the URL in the statistics for individual
# pages. This is primarily used to differentiate between the URLs of dynamic
# pages. If set to 1, mypage.html?id=x and mypage.html?id=y are counted as
# two different pages. Warning, when set to 1, memory required to run AWStats
# is doubled.
# Possible values:
# 0 - URLs are cleaned from the query string (ie: "/mypage.html")
# 1 - Full URL with query string is used (ie: "/mypage.html?x=y")
# Default: 0
#
URLWithQuery=0
# AWStats can detect setup problems or show you important informations to have
# a better use. Keep this to 1, except if AWStats says you can change it.
# Possible values: 1 or 0
# Default: 1
#
WarningMessages=1
# To help you to detect if your log format is good, AWStats report an error
# if the first NbOfLinesForCorruptedLog lines have all a format that does not
# match the LogFormat parameter.
# However, some worm virus attack on your web server can result in a very high
# number of corrupted lines in your log. So if you experience awstats stop
# because of bad virus records, you can increase this parameter (very rare).
# Default: 50
#
NbOfLinesForCorruptedLog=10000
# Search engines keywords reported are full search string or separate keywords
# Possible values:
# 0 - Search keywords reported are full search string (ie: "town maps")
# 1 - Search keywords reported are separated words (ie: "town" and "maps")
# Default: 0
#
SplitSearchString=0
# You can add in the HTML report page a delay to force browsers to reload page
# if page is loaded a second time after this delay (in seconds).
# Example: 3600
# Default: 0
#
Expires=0
# For some particular integration needs, you may want to have CGI links to
# point to another script than awstats.pl.
# Use the name of this script in WrapperScript parameter.
# Example: "awstatslauncher.pl"
# Default: ""
#
WrapperScript=""
#-----------------------------------------------------------------------------
# OPTIONAL ACCURACY SETUP SECTION (Not required but increase AWStats features)
#-----------------------------------------------------------------------------
# You can change value for following option to increase AWStats capabilities
# (but this reduce AWStats speed).
# Possible values: 0, 1 or 2
# Default: 1
#
LevelForRobotsDetection=1 # 0 will increase AWStats speed by 1%.
LevelForBrowsersDetection=1 # 0 disables Browsers detection. No speed gain.
LevelForOSDetection=1 # 0 disables OS detection. No speed gain.
LevelForRefererAnalyze=1 # 0 will increase AWStats speed by 6%.
#-----------------------------------------------------------------------------
# OPTIONAL APPEARANCE SETUP SECTION (Not required but increase AWStats features)
#-----------------------------------------------------------------------------
UseFramesWhenCGI=1
# To avoid too large web pages, you can ask AWStats to limit number of rows of
# all reported charts to this number when no other limit apply.
# Default: 1000
#
MaxRowsInHTMLOutput=1000
# Set your primary language.
# Possible value:
# Bosnian=ba, Chinese (Taiwan)=tw, Chinese (Traditional)=cn, Czech=cz,
# Danish=dk, Dutch=nl, English=en, French=fr, German=de, Greek=gr,
# Hungarian=hu, Indonesian=id, Italian=it, Japanese=jp, Korean=kr,
# Latvian=lv, Norwegian (Nynorsk)=nn, Norwegian (Bokmal)=nb, Polish=pl,
# Portuguese=pt, Portuguese (Brazilian)=br, Romanian=ro, Russian=ru,
# Spanish=es, Swedish=se, Turkish=tr, Ukrainian=ua
# Default: en
#
Lang="en"
# Set the location of language files.
# Example: "/opt/awstats/lang"
# Default: "./lang" (means lang directory is in same location than awstats.pl)
#
DirLang="/usr/local/cpanel/3rdparty/share/awstats/lang"
# You choose here which summary report you want to see in the main page.
# Whatever is your setup here, all detailed reports are still available.
# So if you setup to 1 only ShowHeader, ShowMenu and ShowMonthDayStats, all
# links in menu will still point to detailed views.
# Possible values: 1 or 0
#
ShowHeader=1 # Show AWStats head title and icon
ShowMenu=1 # Show menu header with links on detailed reports
ShowMonthDayStats=1
ShowDaysOfWeekStats=1
ShowHoursStats=1
ShowDomainsStats=1
ShowHostsStats=1
ShowAuthenticatedUsers=1
ShowRobotsStats=1
ShowPagesStats=1
ShowCompressionStats=0 # Show report of compression stats when using mod_gzip
ShowFileTypesStats=1
ShowFileSizesStats=0 # Not yet available
ShowBrowsersStats=1
ShowOSStats=1
ShowOriginStats=1
ShowKeyphrasesStats=1
ShowKeywordsStats=1 # Not yet available
ShowHTTPErrorsStats=1
# This value can be used to choose maximum number of lines shown for each
# particular reporting.
#
# Stats by domains
MaxNbOfDomain = 25
# Stats by hosts
MaxNbOfHostsShown = 25
MinHitHost = 1
# Stats by authenticated users
MaxNbOfLoginShown = 10
MinHitLogin = 1
# Stats by robots
MaxNbOfRobotShown = 25
MinHitRobot = 1
# Stats by pages
MaxNbOfPageShown = 25
MinHitFile = 1
# Stats by referers
MaxNbOfRefererShown = 25
MinHitRefer = 1
# Stats for keywords
MaxNbOfKeywordsShown = 25
MinHitKeyword = 1
# Choose if you want week to start on sunday or monday
# Possible values:
# 0 - Week start on sunday
# 1 - Week start on monday
# Default: 1
#
FirstDayOfWeek=1
# This parameter ask your browser to open detailed reports into a different
# window than the main page.
# Possible values: 1 or 0
# Default: 1
#
DetailedReportsOnNewWindows=1
# List of visible flags with link to other language translations.
# If you don't want any flag link, set ShowFlagLinks to "".
# This parameter is used only if ShowHeader is set to 1.
# Possible values: "" or "language_codes_separated_by_space"
# Default: "en es fr it nl es"
#
ShowFlagLinks="en fr de it nl es"
# Each URL shown in stats report views are links you can click.
# Possible values: 1 or 0
# Default: 1
#
ShowLinksOnUrl=1
# Maximum length of URL shown on stats page (number of characters). This
# affects only URL visible text, link still work.
# Default: 72
#
MaxLengthOfURL=72
# AWStats can include a link to WhoIs database on all hostnames. For this, you
# must set ShowLinksToWhoIs to 1. Warning, a such feature depends on next
# parameter (LinksForWhoIs) and on WhoIs server exhaustivity and availability.
# For this reason, this feature can't be a reliable feature.
# Possible values: 1 or 0
# Default: 0
#
ShowLinksToWhoIs=0
# Set here the link used to point to Internet WhoIs database.
# This parameter is not used if ShowLinksToWhoIs is 0.
# Default: "http://www.whois.net/search.cgi2?str="
# Example: "http://www.netsol.com/cgi-bin/whois/whois?SearchType=all&STRING="
# Example: "http://www.ripe.net/perl/whois?form_type=simple&searchtext="
# Example: "http://www.arin.net/cgi-bin/whois.pl?queryinput="
#
LinksToWhoIs="http://www.whois.net/search.cgi2?str="
# You can put here HTML code that will be added at the top of AWStats reports.
# Default: ""
#
HTMLHeadSection=""
# You can put here HTML code that will be added at the end of AWStats reports.
# Great to add advert ban.
# Default: ""
#
HTMLEndSection=""
# You can set Logo and LogoLink to use your own logo.
# Logo must be the name of image file (must be in $DirIcons/other directory).
# LogoLink is the expected URL when clicking on Logo.
# Default: "awstats_logo1.png"
#
Logo="awstats_logo1.png"
LogoLink="http://awstats.sourceforge.net"
# Value of maximum bar width/height for horizontal/vertical graphics bar
# Default: 260/180
#
BarWidth = 260
BarHeight = 180
# You can ask AWStats to use a particular CSS (Cascading Style Sheet) to
# change its look.
# Example: "/css/awstats.css"
# Default: ""
#
StyleSheet=""
# Those colors parameters can be used (if StyleSheet parameter is not used)
# to change AWStats look.
# Example: color_name="RRGGBB" # RRGGBB is Red Green Blue components in Hex
#
color_Background="FFFFFF" # Background color for main page (Default = "FFFFFF")
color_TableBGTitle="CCCCDD" # Background color for table title (Default = "CCCCDD")
color_TableTitle="000000" # Table title font color (Default = "000000")
color_TableBG="CCCCDD" # Background color for table (Default = "CCCCDD")
color_TableRowTitle="FFFFFF" # Table row title font color (Default = "FFFFFF")
color_TableBGRowTitle="ECECEC" # Background color for row title (Default = "ECECEC")
color_TableBorder="ECECEC" # Table border color (Default = "ECECEC")
color_text="000000" # Color of text (Default = "000000")
color_textpercent="606060" # Color of text for percent values (Default = "606060")
color_titletext="000000" # Color of text title within colored Title Rows (Default = "000000")
color_weekend="EAEAEA" # Color for week-end days (Default = "EAEAEA")
color_link="0011BB" # Color of HTML links (Default = "0011BB")
color_hover="605040" # Color of HTML on-mouseover links (Default = "605040")
color_u="FF9933" # Background color for number of unique visitors (Default = "FF9933")
color_v="F3F300" # Background color for number of visites (Default = "F3F300")
color_p="4477DD" # Background color for number of pages (Default = "4477DD")
color_h="66F0FF" # Background color for number of hits (Default = "66F0FF")
color_k="339944" # Background color for number of bytes (Default = "339944")
color_s="8888DD" # Background color for number of search (Default = "8888DD")
LoadPlugin="geoipfree"
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/0b/0b1e238c6bb6585347a40c7a6cdaec3f.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* console/display.twig */
class __TwigTemplate_5395d0dbab63742bfcd8b0f06c629094 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div id=\"pma_console_container\" class=\"d-print-none\">
<div id=\"pma_console\">
";
// line 4
echo " ";
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 4)->display(twig_to_array(["parent_div_classes" => "collapsed", "content_array" => [0 => [0 => "switch_button console_switch", 1 => _gettext("Console"), "image" => // line 7
($context["image"] ?? null)], 1 => [0 => "button clear", 1 => _gettext("Clear")], 2 => [0 => "button history", 1 => _gettext("History")], 3 => [0 => "button options", 1 => _gettext("Options")], 4 => (( // line 11
($context["has_bookmark_feature"] ?? null)) ? ([0 => "button bookmarks", 1 => _gettext("Bookmarks")]) : (null)), 5 => [0 => "button debug hide", 1 => _gettext("Debug SQL")]]]));
// line 15
echo " ";
// line 16
echo " <div class=\"content\">
<div class=\"console_message_container\">
<div class=\"message welcome\">
<span id=\"instructions-0\">
";
echo _gettext("Press Ctrl+Enter to execute query");
// line 21
echo " </span>
<span class=\"hide\" id=\"instructions-1\">
";
echo _gettext("Press Enter to execute query");
// line 24
echo " </span>
</div>
";
// line 26
if ( !twig_test_empty(($context["sql_history"] ?? null))) {
// line 27
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->env, ($context["sql_history"] ?? null)));
foreach ($context['_seq'] as $context["_key"] => $context["record"]) {
// line 28
echo " <div class=\"message history collapsed hide";
// line 29
echo ((twig_matches("@^SELECT[[:space:]]+@i", (($__internal_compile_0 = $context["record"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["sqlquery"] ?? null) : null))) ? (" select") : (""));
echo "\"
targetdb=\"";
// line 30
echo twig_escape_filter($this->env, (($__internal_compile_1 = $context["record"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["db"] ?? null) : null), "html", null, true);
echo "\" targettable=\"";
echo twig_escape_filter($this->env, (($__internal_compile_2 = $context["record"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["table"] ?? null) : null), "html", null, true);
echo "\">
";
// line 31
$this->loadTemplate("console/query_action.twig", "console/display.twig", 31)->display(twig_to_array(["parent_div_classes" => "action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 40
($context["has_bookmark_feature"] ?? null)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _gettext("Database"), "extraSpan" => (($__internal_compile_3 = // line 42
$context["record"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["db"] ?? null) : null)], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ((twig_get_attribute($this->env, $this->source, // line 46
$context["record"], "timevalue", [], "array", true, true, false, 46)) ? ((($__internal_compile_4 = // line 47
$context["record"]) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["timevalue"] ?? null) : null)) : (_gettext("During current session")))]]]));
// line 51
echo " <span class=\"query\">";
echo twig_escape_filter($this->env, (($__internal_compile_5 = $context["record"]) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["sqlquery"] ?? null) : null), "html", null, true);
echo "</span>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['record'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 54
echo " ";
}
// line 55
echo " </div><!-- console_message_container -->
<div class=\"query_input\">
<span class=\"console_query_input\"></span>
</div>
</div><!-- message end -->
";
// line 61
echo " <div class=\"mid_layer\"></div>
";
// line 63
echo " <div class=\"card\" id=\"debug_console\">
";
// line 64
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 64)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "button order order_asc", 1 => _gettext("ascending")], 1 => [0 => "button order order_desc", 1 => _gettext("descending")], 2 => [0 => "text", 1 => _gettext("Order:")], 3 => [0 => "switch_button", 1 => _gettext("Debug SQL")], 4 => [0 => "button order_by sort_count", 1 => _gettext("Count")], 5 => [0 => "button order_by sort_exec", 1 => _gettext("Execution order")], 6 => [0 => "button order_by sort_time", 1 => _gettext("Time taken")], 7 => [0 => "text", 1 => _gettext("Order by:")], 8 => [0 => "button group_queries", 1 => _gettext("Group queries")], 9 => [0 => "button ungroup_queries", 1 => _gettext("Ungroup queries")]]]));
// line 79
echo " <div class=\"content debug\">
<div class=\"message welcome\"></div>
<div class=\"debugLog\"></div>
</div> <!-- Content -->
<div class=\"templates\">
";
// line 84
$this->loadTemplate("console/query_action.twig", "console/display.twig", 84)->display(twig_to_array(["parent_div_classes" => "debug_query action_content", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action dbg_show_trace", 1 => _gettext("Show trace")], 3 => [0 => "action dbg_hide_trace", 1 => _gettext("Hide trace")], 4 => [0 => "text count hide", 1 => _gettext("Count"), "extraSpan" => ""], 5 => [0 => "text time", 1 => _gettext("Time taken"), "extraSpan" => ""]]]));
// line 95
echo " </div> <!-- Template -->
</div> <!-- Debug SQL card -->
";
// line 97
if (($context["has_bookmark_feature"] ?? null)) {
// line 98
echo " <div class=\"card\" id=\"pma_bookmarks\">
";
// line 99
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 99)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Bookmarks")], 1 => [0 => "button refresh", 1 => _gettext("Refresh")], 2 => [0 => "button add", 1 => _gettext("Add")]]]));
// line 107
echo " <div class=\"content bookmark\">
";
// line 108
echo ($context["bookmark_content"] ?? null);
echo "
</div>
<div class=\"mid_layer\"></div>
<div class=\"card add\">
";
// line 112
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 112)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Add bookmark")]]]));
// line 118
echo " <div class=\"content add_bookmark\">
<div class=\"options\">
<label>
";
echo _gettext("Label");
// line 121
echo ": <input type=\"text\" name=\"label\">
</label>
<label>
";
echo _gettext("Target database");
// line 124
echo ": <input type=\"text\" name=\"targetdb\">
</label>
<label>
<input type=\"checkbox\" name=\"shared\">";
echo _gettext("Share this bookmark");
// line 128
echo " </label>
<button class=\"btn btn-primary\" type=\"submit\" name=\"submit\">";
echo _gettext("OK");
// line 129
echo "</button>
</div> <!-- options -->
<div class=\"query_input\">
<span class=\"bookmark_add_input\"></span>
</div>
</div>
</div> <!-- Add bookmark card -->
</div> <!-- Bookmarks card -->
";
}
// line 138
echo " ";
// line 139
echo " <div class=\"card\" id=\"pma_console_options\">
";
// line 140
$this->loadTemplate("console/toolbar.twig", "console/display.twig", 140)->display(twig_to_array(["parent_div_classes" => "", "content_array" => [0 => [0 => "switch_button", 1 => _gettext("Options")], 1 => [0 => "button default", 1 => _gettext("Set default")]]]));
// line 147
echo " <div class=\"content\">
<label>
<input type=\"checkbox\" name=\"always_expand\">";
echo _gettext("Always expand query messages");
// line 150
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"start_history\">";
echo _gettext("Show query history at start");
// line 154
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"current_query\">";
echo _gettext("Show current browsing query");
// line 158
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"enter_executes\">
";
echo _gettext("Execute queries on Enter and insert new line with Shift+Enter. To make this permanent, view settings.");
// line 165
echo " </label>
<br>
<label>
<input type=\"checkbox\" name=\"dark_theme\">";
echo _gettext("Switch to dark theme");
// line 169
echo " </label>
<br>
</div>
</div> <!-- Options card -->
<div class=\"templates\">
";
// line 175
echo " ";
$this->loadTemplate("console/query_action.twig", "console/display.twig", 175)->display(twig_to_array(["parent_div_classes" => "query_actions", "content_array" => [0 => [0 => "action collapse", 1 => _gettext("Collapse")], 1 => [0 => "action expand", 1 => _gettext("Expand")], 2 => [0 => "action requery", 1 => _gettext("Requery")], 3 => [0 => "action edit", 1 => _gettext("Edit")], 4 => [0 => "action explain", 1 => _gettext("Explain")], 5 => [0 => "action profiling", 1 => _gettext("Profiling")], 6 => (( // line 184
($context["has_bookmark_feature"] ?? null)) ? ([0 => "action bookmark", 1 => _gettext("Bookmark")]) : (null)), 7 => [0 => "text failed", 1 => _gettext("Query failed")], 8 => [0 => "text targetdb", 1 => _gettext("Database"), "extraSpan" => ""], 9 => [0 => "text query_time", 1 => _gettext("Queried time"), "extraSpan" => ""]]]));
// line 190
echo " </div>
</div> <!-- #console end -->
</div> <!-- #console_container end -->
";
}
public function getTemplateName()
{
return "console/display.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 230 => 190, 228 => 184, 226 => 175, 219 => 169, 213 => 165, 206 => 158, 200 => 154, 194 => 150, 189 => 147, 187 => 140, 184 => 139, 182 => 138, 171 => 129, 167 => 128, 161 => 124, 155 => 121, 149 => 118, 147 => 112, 140 => 108, 137 => 107, 135 => 99, 132 => 98, 130 => 97, 126 => 95, 124 => 84, 117 => 79, 115 => 64, 112 => 63, 109 => 61, 102 => 55, 99 => 54, 89 => 51, 87 => 47, 86 => 46, 85 => 42, 84 => 40, 83 => 31, 77 => 30, 73 => 29, 71 => 28, 66 => 27, 64 => 26, 60 => 24, 55 => 21, 48 => 16, 46 => 15, 44 => 11, 43 => 7, 41 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "console/display.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/console/display.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/0e/0ecb91b2fc5c250b31ae682053ac9efd.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/routines/row.twig */
class __TwigTemplate_94573f5dd4087b13e7dc1235456a1510 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<tr";
if ( !twig_test_empty(($context["row_class"] ?? null))) {
echo " class=\"";
echo twig_escape_filter($this->env, ($context["row_class"] ?? null), "html", null, true);
echo "\"";
}
echo " data-filter-row=\"";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "name", [], "any", false, false, false, 1)), "html", null, true);
echo "\">
<td>
<input type=\"checkbox\" class=\"checkall\" name=\"item_name[]\" value=\"";
// line 3
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "name", [], "any", false, false, false, 3), "html", null, true);
echo "\">
</td>
<td>
<span class=\"drop_sql hide\">";
// line 6
echo twig_escape_filter($this->env, ($context["sql_drop"] ?? null), "html", null, true);
echo "</span>
<strong>";
// line 7
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "name", [], "any", false, false, false, 7), "html", null, true);
echo "</strong>
</td>
<td>
";
// line 10
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "type", [], "any", false, false, false, 10), "html", null, true);
echo "
</td>
<td dir=\"ltr\">
";
// line 13
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "returns", [], "any", false, false, false, 13), "html", null, true);
echo "
</td>
<td>
";
// line 16
if (($context["has_edit_privilege"] ?? null)) {
// line 17
echo " <a class=\"ajax edit_anchor\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/routines", ["db" => // line 18
($context["db"] ?? null), "table" => // line 19
($context["table"] ?? null), "edit_item" => true, "item_name" => twig_get_attribute($this->env, $this->source, // line 21
($context["routine"] ?? null), "name", [], "any", false, false, false, 21), "item_type" => twig_get_attribute($this->env, $this->source, // line 22
($context["routine"] ?? null), "type", [], "any", false, false, false, 22)]);
// line 23
echo "\">
";
// line 24
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit"));
echo "
</a>
";
} else {
// line 27
echo " ";
echo PhpMyAdmin\Html\Generator::getIcon("bd_edit", _gettext("Edit"));
echo "
";
}
// line 29
echo " </td>
<td>
";
// line 31
if ((($context["has_execute_privilege"] ?? null) && !twig_test_empty(($context["execute_action"] ?? null)))) {
// line 32
echo " ";
if ((($context["execute_action"] ?? null) == "execute_routine")) {
// line 33
echo " <a class=\"ajax exec_anchor\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/routines", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["execute_routine" => true, "item_name" => twig_get_attribute($this->env, $this->source, // line 35
($context["routine"] ?? null), "name", [], "any", false, false, false, 35), "item_type" => twig_get_attribute($this->env, $this->source, // line 36
($context["routine"] ?? null), "type", [], "any", false, false, false, 36)], "");
// line 37
echo "\">
";
// line 38
echo PhpMyAdmin\Html\Generator::getIcon("b_nextpage", _gettext("Execute"));
echo "
</a>
";
} else {
// line 41
echo " <a class=\"ajax exec_anchor\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/routines", ["db" => // line 42
($context["db"] ?? null), "table" => // line 43
($context["table"] ?? null), "execute_dialog" => true, "item_name" => twig_get_attribute($this->env, $this->source, // line 45
($context["routine"] ?? null), "name", [], "any", false, false, false, 45), "item_type" => twig_get_attribute($this->env, $this->source, // line 46
($context["routine"] ?? null), "type", [], "any", false, false, false, 46)]);
// line 47
echo "\">
";
// line 48
echo PhpMyAdmin\Html\Generator::getIcon("b_nextpage", _gettext("Execute"));
echo "
</a>
";
}
// line 51
echo " ";
} else {
// line 52
echo " ";
echo PhpMyAdmin\Html\Generator::getIcon("bd_nextpage", _gettext("Execute"));
echo "
";
}
// line 54
echo " </td>
<td>
";
// line 56
if (($context["has_export_privilege"] ?? null)) {
// line 57
echo " <a class=\"ajax export_anchor\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/routines", ["db" => // line 58
($context["db"] ?? null), "table" => // line 59
($context["table"] ?? null), "export_item" => true, "item_name" => twig_get_attribute($this->env, $this->source, // line 61
($context["routine"] ?? null), "name", [], "any", false, false, false, 61), "item_type" => twig_get_attribute($this->env, $this->source, // line 62
($context["routine"] ?? null), "type", [], "any", false, false, false, 62)]);
// line 63
echo "\">
";
// line 64
echo PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export"));
echo "
</a>
";
} else {
// line 67
echo " ";
echo PhpMyAdmin\Html\Generator::getIcon("bd_export", _gettext("Export"));
echo "
";
}
// line 69
echo " </td>
<td>
";
// line 71
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["db" => // line 74
($context["db"] ?? null), "table" => // line 75
($context["table"] ?? null), "sql_query" => // line 76
($context["sql_drop"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/routines", ["db" => // line 77
($context["db"] ?? null)])], PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "ajax drop_anchor"]);
// line 81
echo "
</td>
</tr>
";
}
public function getTemplateName()
{
return "database/routines/row.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 189 => 81, 187 => 77, 186 => 76, 185 => 75, 184 => 74, 183 => 71, 179 => 69, 173 => 67, 167 => 64, 164 => 63, 162 => 62, 161 => 61, 160 => 59, 159 => 58, 157 => 57, 155 => 56, 151 => 54, 145 => 52, 142 => 51, 136 => 48, 133 => 47, 131 => 46, 130 => 45, 129 => 43, 128 => 42, 126 => 41, 120 => 38, 117 => 37, 115 => 36, 114 => 35, 110 => 33, 107 => 32, 105 => 31, 101 => 29, 95 => 27, 89 => 24, 86 => 23, 84 => 22, 83 => 21, 82 => 19, 81 => 18, 79 => 17, 77 => 16, 71 => 13, 65 => 10, 59 => 7, 55 => 6, 49 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/routines/row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/routines/row.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/17/17d4e6d101b055f81d5f8aa0a74896fe.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/search/main.twig */
class __TwigTemplate_0679343c6fd11281278b4aa29f50d148 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<a id=\"db_search\"></a>
<form id=\"db_search_form\" method=\"post\" action=\"";
// line 2
echo PhpMyAdmin\Url::getFromRoute("/database/search");
echo "\" name=\"db_search\" class=\"ajax lock-page\">
";
// line 3
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<fieldset class=\"pma-fieldset\">
<legend>";
echo _gettext("Search in database");
// line 5
echo "</legend>
<p>
<label for=\"criteriaSearchString\" class=\"d-block\">
";
echo _gettext("Words or values to search for (wildcard: \"%\"):");
// line 9
echo " </label>
<input id=\"criteriaSearchString\" name=\"criteriaSearchString\" class=\"w-75\" type=\"text\" value=\"";
// line 11
echo twig_escape_filter($this->env, ($context["criteria_search_string"] ?? null), "html", null, true);
echo "\">
</p>
<fieldset class=\"pma-fieldset\">
<legend>";
echo _gettext("Find:");
// line 15
echo "</legend>
<div>
<input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio1\" value=\"1\"";
// line 18
echo (((($context["criteria_search_type"] ?? null) == "1")) ? (" checked") : (""));
echo ">
<label for=\"criteriaSearchTypeRadio1\">";
echo _gettext("at least one of the words");
// line 19
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(_gettext("Words are separated by a space character (\" \")."));
echo "</label>
</div>
<div>
<input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio2\" value=\"2\"";
// line 22
echo (((($context["criteria_search_type"] ?? null) == "2")) ? (" checked") : (""));
echo ">
<label for=\"criteriaSearchTypeRadio2\">";
echo _gettext("all of the words");
// line 23
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(_gettext("Words are separated by a space character (\" \")."));
echo "</label>
</div>
<div>
<input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio3\" value=\"3\"";
// line 26
echo (((($context["criteria_search_type"] ?? null) == "3")) ? (" checked") : (""));
echo ">
<label for=\"criteriaSearchTypeRadio3\">";
echo _gettext("the exact phrase as substring");
// line 27
echo "</label>
</div>
<div>
<input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio4\" value=\"4\"";
// line 30
echo (((($context["criteria_search_type"] ?? null) == "4")) ? (" checked") : (""));
echo ">
<label for=\"criteriaSearchTypeRadio4\">";
echo _gettext("the exact phrase as whole field");
// line 31
echo "</label>
</div>
<div>
<input type=\"radio\" name=\"criteriaSearchType\" id=\"criteriaSearchTypeRadio5\" value=\"5\"";
// line 34
echo (((($context["criteria_search_type"] ?? null) == "5")) ? (" checked") : (""));
echo ">
<label for=\"criteriaSearchTypeRadio5\">";
echo _gettext("as regular expression");
// line 35
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("Regexp");
echo "</label>
</div>
</fieldset>
<fieldset class=\"pma-fieldset\">
<legend>";
echo _gettext("Inside tables:");
// line 40
echo "</legend>
<p>
<a href=\"#\" id=\"select_all\">
";
echo _gettext("Select all");
// line 44
echo " </a> /
<a href=\"#\" id=\"unselect_all\">
";
echo _gettext("Unselect all");
// line 47
echo " </a>
</p>
<select class=\"resize-vertical\" id=\"criteriaTables\" name=\"criteriaTables[]\" multiple>
";
// line 50
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["tables_names_only"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["each_table"]) {
// line 51
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["each_table"], "html", null, true);
echo "\"
";
// line 52
if ((twig_length_filter($this->env, ($context["criteria_tables"] ?? null)) > 0)) {
// line 53
echo ((twig_in_filter($context["each_table"], ($context["criteria_tables"] ?? null))) ? (" selected") : (""));
echo "
";
} else {
// line 55
echo " selected";
echo "
";
}
// line 57
echo " >
";
// line 58
echo twig_escape_filter($this->env, $context["each_table"], "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_table'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 61
echo " </select>
</fieldset>
<p>
";
// line 66
echo " <label for=\"criteriaColumnName\" class=\"d-block\">
";
echo _gettext("Inside column:");
// line 68
echo " </label>
<input id=\"criteriaColumnName\" type=\"text\" name=\"criteriaColumnName\" class=\"w-75\" value=\"";
// line 70
(( !twig_test_empty(($context["criteria_column_name"] ?? null))) ? (print (twig_escape_filter($this->env, ($context["criteria_column_name"] ?? null), "html", null, true))) : (print ("")));
echo "\">
</p>
</fieldset>
<fieldset class=\"pma-fieldset tblFooters\">
<input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" name=\"submit_search\" value=\"";
echo _gettext("Go");
// line 74
echo "\">
</fieldset>
</form>
<div id=\"togglesearchformdiv\">
<a id=\"togglesearchformlink\"></a>
</div>
<div id=\"searchresults\"></div>
<div id=\"togglesearchresultsdiv\"><a id=\"togglesearchresultlink\"></a></div>
<br class=\"clearfloat\">
";
// line 84
echo "<div id=\"table-info\">
<a id=\"table-link\" class=\"item\"></a>
</div>
";
// line 88
echo "<div id=\"browse-results\">
";
// line 90
echo "</div>
<div id=\"sqlqueryform\" class=\"clearfloat\">
";
// line 93
echo "</div>
";
// line 95
echo "<button class=\"btn btn-secondary\" id=\"togglequerybox\"></button>
";
}
public function getTemplateName()
{
return "database/search/main.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 227 => 95, 224 => 93, 220 => 90, 217 => 88, 212 => 84, 201 => 74, 193 => 70, 190 => 68, 186 => 66, 180 => 61, 171 => 58, 168 => 57, 163 => 55, 158 => 53, 156 => 52, 151 => 51, 147 => 50, 142 => 47, 137 => 44, 131 => 40, 121 => 35, 116 => 34, 111 => 31, 106 => 30, 101 => 27, 96 => 26, 89 => 23, 84 => 22, 77 => 19, 72 => 18, 67 => 15, 59 => 11, 56 => 9, 50 => 5, 44 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/search/main.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/search/main.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/1e/1e9f84e8c1d285c159798e06a1555bfe.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/routines/parameter_row.twig */
class __TwigTemplate_a2150e5a2d6e6f7533d0c1eec4a53888 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<tr>
<td class=\"dragHandle\">
<span class=\"ui-icon ui-icon-arrowthick-2-n-s\"></span>
</td>
<td class=\"routine_direction_cell";
// line 5
echo twig_escape_filter($this->env, ($context["class"] ?? null), "html", null, true);
echo "\">
<select name=\"item_param_dir[";
// line 6
echo twig_escape_filter($this->env, ($context["index"] ?? null), "html", null, true);
echo "]\">
";
// line 7
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["param_directions"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["value"]) {
// line 8
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["value"], "html", null, true);
echo "\"";
echo (((($context["item_param_dir"] ?? null) == $context["value"])) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, $context["value"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 10
echo " </select>
</td>
<td>
<input name=\"item_param_name[";
// line 13
echo twig_escape_filter($this->env, ($context["index"] ?? null), "html", null, true);
echo "]\" type=\"text\" value=\"";
echo ($context["item_param_name"] ?? null);
echo "\">
</td>
<td>
<select name=\"item_param_type[";
// line 16
echo twig_escape_filter($this->env, ($context["index"] ?? null), "html", null, true);
echo "]\">
";
// line 17
echo ($context["supported_datatypes"] ?? null);
echo "
</select>
</td>
<td>
<input id=\"item_param_length_";
// line 21
echo twig_escape_filter($this->env, ($context["index"] ?? null), "html", null, true);
echo "\" name=\"item_param_length[";
echo twig_escape_filter($this->env, ($context["index"] ?? null), "html", null, true);
echo "]\" type=\"text\" value=\"";
echo ($context["item_param_length"] ?? null);
echo "\">
<div class=\"enum_hint\">
<a href=\"#\" class=\"open_enum_editor\">
";
// line 24
echo PhpMyAdmin\Html\Generator::getImage("b_edit", "", ["title" => _gettext("ENUM/SET editor")]);
echo "
</a>
</div>
</td>
<td class=\"hide no_len\">---</td>
<td class=\"routine_param_opts_text\">
<select lang=\"en\" dir=\"ltr\" name=\"item_param_opts_text[";
// line 30
echo twig_escape_filter($this->env, ($context["index"] ?? null), "html", null, true);
echo "]\">
<option value=\"\">";
echo _gettext("Charset");
// line 31
echo "</option>
<option value=\"\"></option>
";
// line 33
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 34
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 34), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 34), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["charset"], "is_selected", [], "any", false, false, false, 34)) ? (" selected") : (""));
echo ">";
// line 35
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 35), "html", null, true);
// line 36
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 38
echo " </select>
</td>
<td class=\"hide no_opts\">---</td>
<td class=\"routine_param_opts_num\">
<select name=\"item_param_opts_num[";
// line 42
echo twig_escape_filter($this->env, ($context["index"] ?? null), "html", null, true);
echo "]\">
<option value=\"\"></option>
";
// line 44
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["param_opts_num"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["value"]) {
// line 45
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["value"], "html", null, true);
echo "\"";
echo (((($context["item_param_opts_num"] ?? null) == $context["value"])) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, $context["value"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 47
echo " </select>
</td>
<td class=\"routine_param_remove";
// line 49
echo twig_escape_filter($this->env, ($context["drop_class"] ?? null), "html", null, true);
echo "\">
<a href=\"#\" class=\"routine_param_remove_anchor\">
";
// line 51
echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</a>
</td>
</tr>
";
}
public function getTemplateName()
{
return "database/routines/parameter_row.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 178 => 51, 173 => 49, 169 => 47, 156 => 45, 152 => 44, 147 => 42, 141 => 38, 134 => 36, 132 => 35, 124 => 34, 120 => 33, 116 => 31, 111 => 30, 102 => 24, 92 => 21, 85 => 17, 81 => 16, 73 => 13, 68 => 10, 55 => 8, 51 => 7, 47 => 6, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/routines/parameter_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/routines/parameter_row.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/1f/1fb2fd6a531a085a88233f08bc970090.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* home/index.twig */
class __TwigTemplate_0266d4ce662c1d0612c9cf6ca5c023ce extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["is_git_revision"] ?? null)) {
// line 2
echo " <div id=\"is_git_revision\"></div>
";
}
// line 4
echo "
";
// line 5
echo ($context["message"] ?? null);
echo "
";
// line 7
echo ($context["partial_logout"] ?? null);
echo "
<div id=\"maincontainer\">
";
// line 10
echo ($context["sync_favorite_tables"] ?? null);
echo "
<div class=\"container-fluid\">
<div class=\"row mb-3\">
<div class=\"col-lg-7 col-12\">
";
// line 14
if (($context["has_server"] ?? null)) {
// line 15
echo " ";
if (($context["is_demo"] ?? null)) {
// line 16
echo " <div class=\"card mt-4\">
<div class=\"card-header\">
";
echo _gettext("phpMyAdmin Demo Server");
// line 19
echo " </div>
<div class=\"card-body\">
";
// line 21
ob_start(function () { return ''; });
// line 22
echo " ";
echo _gettext("You are using the demo server. You can do anything here, but please do not change root, debian-sys-maint and pma users. More information is available at %s.");
// line 25
echo " ";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 21
echo twig_sprintf($___internal_parse_0_, "<a href=\"url.php?url=https://demo.phpmyadmin.net/\" target=\"_blank\" rel=\"noopener noreferrer\">demo.phpmyadmin.net</a>");
// line 26
echo " </div>
</div>
";
}
// line 29
echo "
<div class=\"card mt-4\">
<div class=\"card-header\">
";
echo _gettext("General settings");
// line 33
echo " </div>
<ul class=\"list-group list-group-flush\">
";
// line 35
if (($context["has_server_selection"] ?? null)) {
// line 36
echo " <li id=\"li_select_server\" class=\"list-group-item\">
";
// line 37
echo PhpMyAdmin\Html\Generator::getImage("s_host");
echo "
";
// line 38
echo ($context["server_selection"] ?? null);
echo "
</li>
";
}
// line 41
echo "
";
// line 42
if ((($context["server"] ?? null) > 0)) {
// line 43
echo " ";
if (($context["has_change_password_link"] ?? null)) {
// line 44
echo " <li id=\"li_change_password\" class=\"list-group-item\">
<a href=\"";
// line 45
echo PhpMyAdmin\Url::getFromRoute("/user-password");
echo "\" id=\"change_password_anchor\" class=\"ajax\">
";
// line 46
echo PhpMyAdmin\Html\Generator::getIcon("s_passwd", _gettext("Change password"), true);
echo "
</a>
</li>
";
}
// line 50
echo "
<li id=\"li_select_mysql_collation\" class=\"list-group-item\">
<form method=\"post\" action=\"";
// line 52
echo PhpMyAdmin\Url::getFromRoute("/collation-connection");
echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\">
";
// line 53
echo PhpMyAdmin\Url::getHiddenInputs(null, null, 4, "collation_connection");
echo "
<div class=\"col-12\">
<label for=\"collationConnectionSelect\" class=\"col-form-label\">
";
// line 56
echo PhpMyAdmin\Html\Generator::getImage("s_asci");
echo "
";
echo _gettext("Server connection collation:");
// line 58
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("charset-connection");
echo "
</label>
</div>
";
// line 61
if ( !twig_test_empty(($context["charsets"] ?? null))) {
// line 62
echo " <div class=\"col-12\">
<select lang=\"en\" dir=\"ltr\" name=\"collation_connection\" id=\"collationConnectionSelect\" class=\"form-select autosubmit\">
<option value=\"\">";
echo _gettext("Collation");
// line 64
echo "</option>
<option value=\"\"></option>
";
// line 66
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 67
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "name", [], "any", false, false, false, 67), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "description", [], "any", false, false, false, 67), "html", null, true);
echo "\">
";
// line 68
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["charset"], "collations", [], "any", false, false, false, 68));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 69
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 69), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "description", [], "any", false, false, false, 69), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["collation"], "is_selected", [], "any", false, false, false, 69)) ? (" selected") : (""));
echo ">";
// line 70
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "name", [], "any", false, false, false, 70), "html", null, true);
// line 71
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 73
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 75
echo " </select>
</div>
";
}
// line 78
echo " </form>
</li>
<li id=\"li_user_preferences\" class=\"list-group-item\">
<a href=\"";
// line 82
echo PhpMyAdmin\Url::getFromRoute("/preferences/manage");
echo "\">
";
// line 83
echo PhpMyAdmin\Html\Generator::getIcon("b_tblops", _gettext("More settings"), true);
echo "
</a>
</li>
";
}
// line 87
echo " </ul>
</div>
";
}
// line 90
echo "
<div class=\"card mt-4\">
<div class=\"card-header\">
";
echo _gettext("Appearance settings");
// line 94
echo " </div>
<ul class=\"list-group list-group-flush\">
";
// line 96
if ( !twig_test_empty(($context["available_languages"] ?? null))) {
// line 97
echo " <li id=\"li_select_lang\" class=\"list-group-item\">
<form method=\"get\" action=\"";
// line 98
echo PhpMyAdmin\Url::getFromRoute("/");
echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\">
";
// line 99
echo PhpMyAdmin\Url::getHiddenInputs(["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "
<div class=\"col-12\">
<label for=\"languageSelect\" class=\"col-form-label text-nowrap\">
";
// line 102
echo PhpMyAdmin\Html\Generator::getImage("s_lang");
echo "
";
echo _gettext("Language");
// line 104
echo " ";
if ((_gettext("Language") != "Language")) {
// line 105
echo " ";
// line 107
echo " <i lang=\"en\" dir=\"ltr\">(Language)</i>
";
}
// line 109
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq7-2");
echo "
</label>
</div>
<div class=\"col-12\">
<select name=\"lang\" class=\"form-select autosubmit w-auto\" lang=\"en\" dir=\"ltr\" id=\"languageSelect\">
";
// line 114
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["available_languages"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
// line 115
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, $context["language"], "getCode", [], "method", false, false, false, 115)), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["language"], "isActive", [], "method", false, false, false, 115)) ? (" selected") : (""));
echo ">";
// line 116
echo twig_get_attribute($this->env, $this->source, $context["language"], "getName", [], "method", false, false, false, 116);
// line 117
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 119
echo " </select>
</div>
</form>
</li>
";
}
// line 124
echo "
";
// line 125
if (($context["has_theme_manager"] ?? null)) {
// line 126
echo " <li id=\"li_select_theme\" class=\"list-group-item\">
<form method=\"post\" action=\"";
// line 127
echo PhpMyAdmin\Url::getFromRoute("/themes/set");
echo "\" class=\"row row-cols-lg-auto align-items-center disableAjax\">
";
// line 128
echo PhpMyAdmin\Url::getHiddenInputs();
echo "
<div class=\"col-12\">
<label for=\"themeSelect\" class=\"col-form-label\">
";
// line 131
echo PhpMyAdmin\Html\Generator::getIcon("s_theme", _gettext("Theme"));
echo "
</label>
</div>
<div class=\"col-12\">
<div class=\"input-group\">
<select name=\"set_theme\" class=\"form-select autosubmit\" lang=\"en\" dir=\"ltr\" id=\"themeSelect\">
";
// line 137
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["themes"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["theme"]) {
// line 138
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["theme"], "id", [], "any", false, false, false, 138), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["theme"], "is_active", [], "any", false, false, false, 138)) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["theme"], "name", [], "any", false, false, false, 138), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['theme'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 140
echo " </select>
<button type=\"button\" class=\"btn btn-outline-secondary\" data-bs-toggle=\"modal\" data-bs-target=\"#themesModal\">
";
echo _pgettext("View all themes", "View all");
// line 143
echo " </button>
</div>
</div>
</form>
</li>
";
}
// line 149
echo " </ul>
</div>
</div>
<div class=\"col-lg-5 col-12\">
";
// line 154
if ( !twig_test_empty(($context["database_server"] ?? null))) {
// line 155
echo " <div class=\"card mt-4\">
<div class=\"card-header\">
";
echo _gettext("Database server");
// line 158
echo " </div>
<ul class=\"list-group list-group-flush\">
<li class=\"list-group-item\">
";
echo _gettext("Server:");
// line 162
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "host", [], "any", false, false, false, 162), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("Server type:");
// line 166
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "type", [], "any", false, false, false, 166), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("Server connection:");
// line 170
echo " ";
echo twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "connection", [], "any", false, false, false, 170);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("Server version:");
// line 174
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "version", [], "any", false, false, false, 174), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("Protocol version:");
// line 178
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "protocol", [], "any", false, false, false, 178), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("User:");
// line 182
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "user", [], "any", false, false, false, 182), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("Server charset:");
// line 186
echo " <span lang=\"en\" dir=\"ltr\">
";
// line 187
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_server"] ?? null), "charset", [], "any", false, false, false, 187), "html", null, true);
echo "
</span>
</li>
</ul>
</div>
";
}
// line 193
echo "
";
// line 194
if (( !twig_test_empty(($context["web_server"] ?? null)) || ($context["show_php_info"] ?? null))) {
// line 195
echo " <div class=\"card mt-4\">
<div class=\"card-header\">
";
echo _gettext("Web server");
// line 198
echo " </div>
<ul class=\"list-group list-group-flush\">
";
// line 200
if ( !twig_test_empty(($context["web_server"] ?? null))) {
// line 201
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 201))) {
// line 202
echo " <li class=\"list-group-item\">
";
// line 203
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "software", [], "any", false, false, false, 203), "html", null, true);
echo "
</li>
";
}
// line 206
echo " <li class=\"list-group-item\" id=\"li_mysql_client_version\">
";
echo _gettext("Database client version:");
// line 208
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "database", [], "any", false, false, false, 208), "html", null, true);
echo "
</li>
<li class=\"list-group-item\">
";
echo _gettext("PHP extension:");
// line 212
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_extensions", [], "any", false, false, false, 212));
foreach ($context['_seq'] as $context["_key"] => $context["extension"]) {
// line 213
echo " ";
echo twig_escape_filter($this->env, $context["extension"], "html", null, true);
echo "
";
// line 214
echo PhpMyAdmin\Html\Generator::showPHPDocumentation((("book." . $context["extension"]) . ".php"));
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['extension'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 216
echo " </li>
<li class=\"list-group-item\">
";
echo _gettext("PHP version:");
// line 219
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["web_server"] ?? null), "php_version", [], "any", false, false, false, 219), "html", null, true);
echo "
</li>
";
}
// line 222
echo " ";
if (($context["show_php_info"] ?? null)) {
// line 223
echo " <li class=\"list-group-item\">
<a href=\"";
// line 224
echo PhpMyAdmin\Url::getFromRoute("/phpinfo");
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
echo _gettext("Show PHP information");
// line 226
echo " </a>
</li>
";
}
// line 229
echo " </ul>
</div>
";
}
// line 232
echo "
<div class=\"card mt-4\">
<div class=\"card-header\">
phpMyAdmin
</div>
<ul class=\"list-group list-group-flush\">
<li id=\"li_pma_version\" class=\"list-group-item";
// line 238
echo ((($context["is_version_checked"] ?? null)) ? (" jsversioncheck") : (""));
echo "\">
";
echo _gettext("Version information:");
// line 240
echo " <span class=\"version\">";
echo twig_escape_filter($this->env, ($context["phpmyadmin_version"] ?? null), "html", null, true);
echo "</span>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 243
echo PhpMyAdmin\Html\MySQLDocumentation::getDocumentationLink("index");
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
echo _gettext("Documentation");
// line 245
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 248
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/"), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
echo _gettext("Official Homepage");
// line 250
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 253
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/contribute/"), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
echo _gettext("Contribute");
// line 255
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 258
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/support/"), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
";
echo _gettext("Get support");
// line 260
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 263
echo PhpMyAdmin\Url::getFromRoute("/changelog");
echo "\" target=\"_blank\">
";
echo _gettext("List of changes");
// line 265
echo " </a>
</li>
<li class=\"list-group-item\">
<a href=\"";
// line 268
echo PhpMyAdmin\Url::getFromRoute("/license");
echo "\" target=\"_blank\">
";
echo _gettext("License");
// line 270
echo " </a>
</li>
</ul>
</div>
</div>
</div>
";
// line 277
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
// line 278
echo " <div class=\"alert ";
echo (((twig_get_attribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 278) == "warning")) ? ("alert-warning") : ("alert-info"));
echo "\" role=\"alert\">
";
// line 279
if ((twig_get_attribute($this->env, $this->source, $context["error"], "severity", [], "any", false, false, false, 279) == "warning")) {
// line 280
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("s_attention", _gettext("Warning"));
echo "
";
} else {
// line 282
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("s_notice", _gettext("Notice"));
echo "
";
}
// line 284
echo " ";
echo PhpMyAdmin\Sanitize::sanitizeMessage(twig_get_attribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 284));
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 287
echo " </div>
</div>
";
// line 290
if (($context["has_theme_manager"] ?? null)) {
// line 291
echo " <div class=\"modal fade\" id=\"themesModal\" tabindex=\"-1\" aria-labelledby=\"themesModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-xl\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"themesModalLabel\">";
echo _gettext("phpMyAdmin Themes");
// line 295
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 296
echo "\"></button>
</div>
<div class=\"modal-body\">
<div class=\"spinner-border\" role=\"status\">
<span class=\"visually-hidden\">";
echo _gettext("Loading…");
// line 300
echo "</span>
</div>
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 304
echo "</button>
<a href=\"";
// line 305
echo twig_escape_filter($this->env, PhpMyAdmin\Core::linkURL("https://www.phpmyadmin.net/themes/"), "html", null, true);
echo "#pma_";
echo twig_escape_filter($this->env, twig_replace_filter(($context["phpmyadmin_major_version"] ?? null), ["." => "_"]), "html", null, true);
echo "\" class=\"btn btn-primary\" rel=\"noopener noreferrer\" target=\"_blank\">
";
echo _gettext("Get more themes!");
// line 307
echo " </a>
</div>
</div>
</div>
</div>
";
}
// line 313
echo "
";
// line 314
echo ($context["config_storage_message"] ?? null);
echo "
";
}
public function getTemplateName()
{
return "home/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 715 => 314, 712 => 313, 704 => 307, 697 => 305, 694 => 304, 687 => 300, 680 => 296, 676 => 295, 669 => 291, 667 => 290, 662 => 287, 652 => 284, 646 => 282, 640 => 280, 638 => 279, 633 => 278, 629 => 277, 620 => 270, 615 => 268, 610 => 265, 605 => 263, 600 => 260, 595 => 258, 590 => 255, 585 => 253, 580 => 250, 575 => 248, 570 => 245, 565 => 243, 558 => 240, 553 => 238, 545 => 232, 540 => 229, 535 => 226, 530 => 224, 527 => 223, 524 => 222, 517 => 219, 512 => 216, 504 => 214, 499 => 213, 494 => 212, 486 => 208, 482 => 206, 476 => 203, 473 => 202, 470 => 201, 468 => 200, 464 => 198, 459 => 195, 457 => 194, 454 => 193, 445 => 187, 442 => 186, 434 => 182, 426 => 178, 418 => 174, 410 => 170, 402 => 166, 394 => 162, 388 => 158, 383 => 155, 381 => 154, 374 => 149, 366 => 143, 361 => 140, 348 => 138, 344 => 137, 335 => 131, 329 => 128, 325 => 127, 322 => 126, 320 => 125, 317 => 124, 310 => 119, 303 => 117, 301 => 116, 295 => 115, 291 => 114, 282 => 109, 278 => 107, 276 => 105, 273 => 104, 268 => 102, 262 => 99, 258 => 98, 255 => 97, 253 => 96, 249 => 94, 243 => 90, 238 => 87, 231 => 83, 227 => 82, 221 => 78, 216 => 75, 209 => 73, 202 => 71, 200 => 70, 192 => 69, 188 => 68, 181 => 67, 177 => 66, 173 => 64, 168 => 62, 166 => 61, 159 => 58, 154 => 56, 148 => 53, 144 => 52, 140 => 50, 133 => 46, 129 => 45, 126 => 44, 123 => 43, 121 => 42, 118 => 41, 112 => 38, 108 => 37, 105 => 36, 103 => 35, 99 => 33, 93 => 29, 88 => 26, 86 => 21, 83 => 25, 80 => 22, 78 => 21, 74 => 19, 69 => 16, 66 => 15, 64 => 14, 57 => 10, 51 => 7, 46 => 5, 43 => 4, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "home/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/home/index.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/20/20dafe4cf70b2de9a8a7cf36865cd02d.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/structure/display_structure.twig */
class __TwigTemplate_ea78cb09c65b971d556a61ad5dc98a74 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "table/page_with_secondary_tabs.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("table/page_with_secondary_tabs.twig", "table/structure/display_structure.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 2
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 3
echo "<h1 class=\"d-none d-print-block\">";
echo twig_escape_filter($this->env, ($context["table"] ?? null), "html", null, true);
echo "</h1>
<form method=\"post\" action=\"";
// line 4
echo PhpMyAdmin\Url::getFromRoute("/table/structure");
echo "\" name=\"fieldsForm\" id=\"fieldsForm\">
";
// line 5
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<input type=\"hidden\" name=\"table_type\" value=";
// line 7
if (($context["db_is_system_schema"] ?? null)) {
// line 8
echo "\"information_schema\"";
} elseif ( // line 9
($context["tbl_is_view"] ?? null)) {
// line 10
echo "\"view\"";
} else {
// line 12
echo "\"table\"";
}
// line 13
echo ">
<div class=\"table-responsive-md\">
<table id=\"tablestructure\" class=\"table table-striped table-hover w-auto align-middle\">
";
// line 17
echo " <thead>
<tr>
<th class=\"d-print-none\"></th>
<th>#</th>
<th>";
echo _gettext("Name");
// line 21
echo "</th>
<th>";
echo _gettext("Type");
// line 22
echo "</th>
<th>";
echo _gettext("Collation");
// line 23
echo "</th>
<th>";
echo _gettext("Attributes");
// line 24
echo "</th>
<th>";
echo _gettext("Null");
// line 25
echo "</th>
<th>";
echo _gettext("Default");
// line 26
echo "</th>
";
// line 27
if (($context["show_column_comments"] ?? null)) {
// line 28
echo "<th>";
echo _gettext("Comments");
echo "</th>";
}
// line 30
echo " <th>";
echo _gettext("Extra");
echo "</th>
";
// line 32
echo " ";
if (( !($context["db_is_system_schema"] ?? null) && !($context["tbl_is_view"] ?? null))) {
// line 33
echo " <th colspan=\"";
echo ((PhpMyAdmin\Util::showIcons("ActionLinksMode")) ? ("8") : ("9"));
// line 34
echo "\" class=\"action d-print-none\">";
echo _gettext("Action");
echo "</th>
";
}
// line 36
echo " </tr>
</thead>
<tbody>
";
// line 40
echo " ";
$context["rownum"] = 0;
// line 41
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["fields"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 42
echo " ";
$context["rownum"] = (($context["rownum"] ?? null) + 1);
// line 43
echo "
";
// line 44
$context["extracted_columnspec"] = (($__internal_compile_0 = ($context["extracted_columnspecs"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[($context["rownum"] ?? null)] ?? null) : null);
// line 45
echo " ";
$context["field_name"] = twig_escape_filter($this->env, (($__internal_compile_1 = $context["row"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["Field"] ?? null) : null));
// line 46
echo " ";
// line 47
echo " ";
$context["comments"] = (($__internal_compile_2 = ($context["row_comments"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[($context["rownum"] ?? null)] ?? null) : null);
// line 48
echo " ";
// line 49
echo "
<tr>
<td class=\"text-center d-print-none\">
<input type=\"checkbox\" class=\"checkall\" name=\"selected_fld[]\" value=\"";
// line 52
echo twig_escape_filter($this->env, (($__internal_compile_3 = $context["row"]) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["Field"] ?? null) : null), "html", null, true);
echo "\" id=\"checkbox_row_";
echo twig_escape_filter($this->env, ($context["rownum"] ?? null), "html", null, true);
echo "\">
</td>
<td class=\"text-end\">";
// line 54
echo twig_escape_filter($this->env, ($context["rownum"] ?? null), "html", null, true);
echo "</td>
<th class=\"text-nowrap\">
<label for=\"checkbox_row_";
// line 56
echo twig_escape_filter($this->env, ($context["rownum"] ?? null), "html", null, true);
echo "\">
";
// line 57
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["displayed_fields"] ?? null), ($context["rownum"] ?? null), [], "array", false, true, false, 57), "comment", [], "any", true, true, false, 57)) {
// line 58
echo " <span class=\"commented_column\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_4 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4[($context["rownum"] ?? null)] ?? null) : null), "comment", [], "any", false, false, false, 58), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_5 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5[($context["rownum"] ?? null)] ?? null) : null), "text", [], "any", false, false, false, 58), "html", null, true);
echo "</span>
";
} else {
// line 60
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_6 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[($context["rownum"] ?? null)] ?? null) : null), "text", [], "any", false, false, false, 60), "html", null, true);
echo "
";
}
// line 62
echo " ";
echo twig_get_attribute($this->env, $this->source, (($__internal_compile_7 = ($context["displayed_fields"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[($context["rownum"] ?? null)] ?? null) : null), "icon", [], "any", false, false, false, 62);
echo "
</label>
</th>
<td";
// line 65
echo (((("set" != (($__internal_compile_8 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["type"] ?? null) : null)) && ("enum" != (($__internal_compile_9 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["type"] ?? null) : null)))) ? (" class=\"text-nowrap\"") : (""));
echo ">
<bdo dir=\"ltr\" lang=\"en\">
";
// line 67
echo (($__internal_compile_10 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["displayed_type"] ?? null) : null);
echo "
";
// line 68
if (((( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "columnCommentsFeature", [], "any", false, false, false, 68)) && !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "browserTransformationFeature", [], "any", false, false, false, 68))) && ($context["browse_mime"] ?? null)) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 69
($context["mime_map"] ?? null), (($__internal_compile_11 = $context["row"]) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Field"] ?? null) : null), [], "array", false, true, false, 69), "mimetype", [], "array", true, true, false, 69))) {
// line 70
echo " <br>";
echo _gettext("Media type:");
echo " ";
echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_replace_filter((($__internal_compile_12 = (($__internal_compile_13 = ($context["mime_map"] ?? null)) && is_array($__internal_compile_13) || $__internal_compile_13 instanceof ArrayAccess ? ($__internal_compile_13[(($__internal_compile_14 = $context["row"]) && is_array($__internal_compile_14) || $__internal_compile_14 instanceof ArrayAccess ? ($__internal_compile_14["Field"] ?? null) : null)] ?? null) : null)) && is_array($__internal_compile_12) || $__internal_compile_12 instanceof ArrayAccess ? ($__internal_compile_12["mimetype"] ?? null) : null), ["_" => "/"])), "html", null, true);
echo "
";
}
// line 72
echo " </bdo>
</td>
<td>
";
// line 75
if ( !twig_test_empty((($__internal_compile_15 = $context["row"]) && is_array($__internal_compile_15) || $__internal_compile_15 instanceof ArrayAccess ? ($__internal_compile_15["Collation"] ?? null) : null))) {
// line 76
echo " <dfn title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_16 = ($context["collations"] ?? null)) && is_array($__internal_compile_16) || $__internal_compile_16 instanceof ArrayAccess ? ($__internal_compile_16[(($__internal_compile_17 = $context["row"]) && is_array($__internal_compile_17) || $__internal_compile_17 instanceof ArrayAccess ? ($__internal_compile_17["Collation"] ?? null) : null)] ?? null) : null), "description", [], "any", false, false, false, 76), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_compile_18 = ($context["collations"] ?? null)) && is_array($__internal_compile_18) || $__internal_compile_18 instanceof ArrayAccess ? ($__internal_compile_18[(($__internal_compile_19 = $context["row"]) && is_array($__internal_compile_19) || $__internal_compile_19 instanceof ArrayAccess ? ($__internal_compile_19["Collation"] ?? null) : null)] ?? null) : null), "name", [], "any", false, false, false, 76), "html", null, true);
echo "</dfn>
";
}
// line 78
echo " </td>
<td class=\"column_attribute text-nowrap\">";
// line 79
echo twig_escape_filter($this->env, (($__internal_compile_20 = ($context["attributes"] ?? null)) && is_array($__internal_compile_20) || $__internal_compile_20 instanceof ArrayAccess ? ($__internal_compile_20[($context["rownum"] ?? null)] ?? null) : null), "html", null, true);
echo "</td>
<td>";
// line 80
echo twig_escape_filter($this->env, ((((($__internal_compile_21 = $context["row"]) && is_array($__internal_compile_21) || $__internal_compile_21 instanceof ArrayAccess ? ($__internal_compile_21["Null"] ?? null) : null) == "YES")) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true);
echo "</td>
<td class=\"text-nowrap\">";
// line 82
if ( !(null === (($__internal_compile_22 = $context["row"]) && is_array($__internal_compile_22) || $__internal_compile_22 instanceof ArrayAccess ? ($__internal_compile_22["Default"] ?? null) : null))) {
// line 83
if (((($__internal_compile_23 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_23) || $__internal_compile_23 instanceof ArrayAccess ? ($__internal_compile_23["type"] ?? null) : null) == "bit")) {
// line 84
echo twig_escape_filter($this->env, PhpMyAdmin\Util::convertBitDefaultValue((($__internal_compile_24 = $context["row"]) && is_array($__internal_compile_24) || $__internal_compile_24 instanceof ArrayAccess ? ($__internal_compile_24["Default"] ?? null) : null)), "html", null, true);
} else {
// line 86
echo twig_escape_filter($this->env, (($__internal_compile_25 = $context["row"]) && is_array($__internal_compile_25) || $__internal_compile_25 instanceof ArrayAccess ? ($__internal_compile_25["Default"] ?? null) : null), "html", null, true);
}
} elseif (((($__internal_compile_26 = // line 88
$context["row"]) && is_array($__internal_compile_26) || $__internal_compile_26 instanceof ArrayAccess ? ($__internal_compile_26["Null"] ?? null) : null) == "YES")) {
// line 89
echo "<em>NULL</em>";
} else {
// line 91
echo "<em>";
echo _pgettext("None for default", "None");
echo "</em>";
}
// line 93
echo "</td>
";
// line 94
if (($context["show_column_comments"] ?? null)) {
// line 95
echo " <td>
";
// line 96
echo twig_escape_filter($this->env, ($context["comments"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 99
echo " <td class=\"text-nowrap\">";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, (($__internal_compile_27 = $context["row"]) && is_array($__internal_compile_27) || $__internal_compile_27 instanceof ArrayAccess ? ($__internal_compile_27["Extra"] ?? null) : null)), "html", null, true);
echo "</td>
";
// line 100
if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) {
// line 101
echo " <td class=\"edit text-center d-print-none\">
<a class=\"change_column_anchor ajax\" href=\"";
// line 102
echo PhpMyAdmin\Url::getFromRoute("/table/structure/change", ["db" => // line 103
($context["db"] ?? null), "table" => // line 104
($context["table"] ?? null), "field" => (($__internal_compile_28 = // line 105
$context["row"]) && is_array($__internal_compile_28) || $__internal_compile_28 instanceof ArrayAccess ? ($__internal_compile_28["Field"] ?? null) : null), "change_column" => 1]);
// line 107
echo "\">
";
// line 108
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Change"));
echo "
</a>
</td>
<td class=\"drop text-center d-print-none\">
<a class=\"drop_column_anchor ajax\" href=\"";
// line 112
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 113
($context["db"] ?? null), "table" => // line 114
($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 115
($context["table"] ?? null))) . " DROP ") . PhpMyAdmin\Util::backquote((($__internal_compile_29 = $context["row"]) && is_array($__internal_compile_29) || $__internal_compile_29 instanceof ArrayAccess ? ($__internal_compile_29["Field"] ?? null) : null))) . ";"), "dropped_column" => (($__internal_compile_30 = // line 116
$context["row"]) && is_array($__internal_compile_30) || $__internal_compile_30 instanceof ArrayAccess ? ($__internal_compile_30["Field"] ?? null) : null), "purge" => true, "message_to_show" => twig_sprintf(_gettext("Column %s has been dropped."), twig_escape_filter($this->env, (($__internal_compile_31 = // line 118
$context["row"]) && is_array($__internal_compile_31) || $__internal_compile_31 instanceof ArrayAccess ? ($__internal_compile_31["Field"] ?? null) : null)))], "", false);
// line 119
echo "\">
";
// line 120
echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</a>
</td>
";
}
// line 124
echo "
";
// line 125
if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) {
// line 126
echo " ";
$context["type"] = (( !twig_test_empty((($__internal_compile_32 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_32) || $__internal_compile_32 instanceof ArrayAccess ? ($__internal_compile_32["print_type"] ?? null) : null))) ? ((($__internal_compile_33 = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_compile_33) || $__internal_compile_33 instanceof ArrayAccess ? ($__internal_compile_33["print_type"] ?? null) : null)) : (""));
// line 127
echo " <td class=\"d-print-none\">
";
// line 128
if (($context["hide_structure_actions"] ?? null)) {
// line 129
echo " <div class=\"dropdown\">
<button class=\"btn btn-link p-0 dropdown-toggle\" type=\"button\" id=\"moreActionsButton\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">";
echo _gettext("More");
// line 130
echo "</button>
<ul class=\"dropdown-menu dropdown-menu-end\" aria-labelledby=\"moreActionsButton\">
";
} else {
// line 133
echo " <ul class=\"nav\">
";
}
// line 135
echo " <li class=\"";
echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : (""));
echo "primary text-nowrap\">
";
// line 136
if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || (($context["primary"] ?? null) && twig_get_attribute($this->env, $this->source, ($context["primary"] ?? null), "hasColumn", [0 => ($context["field_name"] ?? null)], "method", false, false, false, 136)))) {
// line 137
echo " <span class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1"));
echo " disabled\">";
echo PhpMyAdmin\Html\Generator::getIcon("bd_primary", _gettext("Primary"));
echo "</span>
";
} else {
// line 139
echo " <a rel=\"samepage\" class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1"));
echo " ajax add_key d-print-none add_primary_key_anchor\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 140
($context["db"] ?? null), "table" => // line 141
($context["table"] ?? null), "sql_query" => ((((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 142
($context["table"] ?? null))) . ((($context["primary"] ?? null)) ? (" DROP PRIMARY KEY,") : (""))) . " ADD PRIMARY KEY(") . PhpMyAdmin\Util::backquote((($__internal_compile_34 = $context["row"]) && is_array($__internal_compile_34) || $__internal_compile_34 instanceof ArrayAccess ? ($__internal_compile_34["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("A primary key has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_35 = // line 143
$context["row"]) && is_array($__internal_compile_35) || $__internal_compile_35 instanceof ArrayAccess ? ($__internal_compile_35["Field"] ?? null) : null)))], "", false);
// line 144
echo "\">
";
// line 145
echo PhpMyAdmin\Html\Generator::getIcon("b_primary", _gettext("Primary"));
echo "
</a>
";
}
// line 148
echo " </li>
<li class=\"";
// line 150
echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : (""));
echo "add_unique unique text-nowrap\">
";
// line 151
if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || twig_in_filter(($context["field_name"] ?? null), ($context["columns_with_unique_index"] ?? null)))) {
// line 152
echo " <span class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1"));
echo " disabled\">";
echo PhpMyAdmin\Html\Generator::getIcon("bd_unique", _gettext("Unique"));
echo "</span>
";
} else {
// line 154
echo " <a rel=\"samepage\" class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1"));
echo " ajax add_key d-print-none add_unique_anchor\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 155
($context["db"] ?? null), "table" => // line 156
($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 157
($context["table"] ?? null))) . " ADD UNIQUE(") . PhpMyAdmin\Util::backquote((($__internal_compile_36 = $context["row"]) && is_array($__internal_compile_36) || $__internal_compile_36 instanceof ArrayAccess ? ($__internal_compile_36["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_37 = // line 158
$context["row"]) && is_array($__internal_compile_37) || $__internal_compile_37 instanceof ArrayAccess ? ($__internal_compile_37["Field"] ?? null) : null)))], "", false);
// line 159
echo "\">
";
// line 160
echo PhpMyAdmin\Html\Generator::getIcon("b_unique", _gettext("Unique"));
echo "
</a>
";
}
// line 163
echo " </li>
<li class=\"";
// line 165
echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : (""));
echo "add_index text-nowrap\">
";
// line 166
if ((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE"))) {
// line 167
echo " <span class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1"));
echo " disabled\">";
echo PhpMyAdmin\Html\Generator::getIcon("bd_index", _gettext("Index"));
echo "</span>
";
} else {
// line 169
echo " <a rel=\"samepage\" class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1"));
echo " ajax add_key d-print-none add_index_anchor\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 170
($context["db"] ?? null), "table" => // line 171
($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 172
($context["table"] ?? null))) . " ADD INDEX(") . PhpMyAdmin\Util::backquote((($__internal_compile_38 = $context["row"]) && is_array($__internal_compile_38) || $__internal_compile_38 instanceof ArrayAccess ? ($__internal_compile_38["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_39 = // line 173
$context["row"]) && is_array($__internal_compile_39) || $__internal_compile_39 instanceof ArrayAccess ? ($__internal_compile_39["Field"] ?? null) : null)))], "", false);
// line 174
echo "\">
";
// line 175
echo PhpMyAdmin\Html\Generator::getIcon("b_index", _gettext("Index"));
echo "
</a>
";
}
// line 178
echo " </li>
";
// line 180
$context["spatial_types"] = [0 => "geometry", 1 => "point", 2 => "linestring", 3 => "polygon", 4 => "multipoint", 5 => "multilinestring", 6 => "multipolygon", 7 => "geomtrycollection"];
// line 190
echo " <li class=\"";
echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : (""));
echo "spatial text-nowrap\">
";
// line 191
if (((((($context["type"] ?? null) == "text") || (($context["type"] ?? null) == "blob")) || (($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || (!twig_in_filter(($context["type"] ?? null), ($context["spatial_types"] ?? null)) && ((($context["tbl_storage_engine"] ?? null) == "MYISAM") || (($context["mysql_int_version"] ?? null) >= 50705))))) {
// line 192
echo " <span class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1"));
echo " disabled\">";
echo PhpMyAdmin\Html\Generator::getIcon("bd_spatial", _gettext("Spatial"));
echo "</span>
";
} else {
// line 194
echo " <a rel=\"samepage\" class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1"));
echo " ajax add_key d-print-none add_spatial_anchor\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 195
($context["db"] ?? null), "table" => // line 196
($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 197
($context["table"] ?? null))) . " ADD SPATIAL(") . PhpMyAdmin\Util::backquote((($__internal_compile_40 = $context["row"]) && is_array($__internal_compile_40) || $__internal_compile_40 instanceof ArrayAccess ? ($__internal_compile_40["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_41 = // line 198
$context["row"]) && is_array($__internal_compile_41) || $__internal_compile_41 instanceof ArrayAccess ? ($__internal_compile_41["Field"] ?? null) : null)))], "", false);
// line 199
echo "\">
";
// line 200
echo PhpMyAdmin\Html\Generator::getIcon("b_spatial", _gettext("Spatial"));
echo "
</a>
";
}
// line 203
echo " </li>
";
// line 206
echo " <li class=\"";
echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : (""));
echo "fulltext text-nowrap\">
";
// line 207
if ((( !twig_test_empty(($context["tbl_storage_engine"] ?? null)) && (((( // line 208
($context["tbl_storage_engine"] ?? null) == "MYISAM") || ( // line 209
($context["tbl_storage_engine"] ?? null) == "ARIA")) || ( // line 210
($context["tbl_storage_engine"] ?? null) == "MARIA")) || (( // line 211
($context["tbl_storage_engine"] ?? null) == "INNODB") && (($context["mysql_int_version"] ?? null) >= 50604)))) && (twig_in_filter("text", // line 212
($context["type"] ?? null)) || twig_in_filter("char", ($context["type"] ?? null))))) {
// line 213
echo " <a rel=\"samepage\" class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1"));
echo " ajax add_key add_fulltext_anchor\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/structure/add-key");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 214
($context["db"] ?? null), "table" => // line 215
($context["table"] ?? null), "sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 216
($context["table"] ?? null))) . " ADD FULLTEXT(") . PhpMyAdmin\Util::backquote((($__internal_compile_42 = $context["row"]) && is_array($__internal_compile_42) || $__internal_compile_42 instanceof ArrayAccess ? ($__internal_compile_42["Field"] ?? null) : null))) . ");"), "message_to_show" => twig_sprintf(_gettext("An index has been added on %s."), twig_escape_filter($this->env, (($__internal_compile_43 = // line 217
$context["row"]) && is_array($__internal_compile_43) || $__internal_compile_43 instanceof ArrayAccess ? ($__internal_compile_43["Field"] ?? null) : null)))], "", false);
// line 218
echo "\">
";
// line 219
echo PhpMyAdmin\Html\Generator::getIcon("b_ftext", _gettext("Fulltext"));
echo "
</a>
";
} else {
// line 222
echo " <span class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item-text") : ("nav-link px-1"));
echo " disabled\">";
echo PhpMyAdmin\Html\Generator::getIcon("bd_ftext", _gettext("Fulltext"));
echo "</span>
";
}
// line 224
echo " </li>
";
// line 227
echo " <li class=\"";
echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : (""));
echo "browse text-nowrap\">
<a class=\"";
// line 228
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1"));
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 229
($context["db"] ?? null), "table" => // line 230
($context["table"] ?? null), "sql_query" => ((((((((("SELECT COUNT(*) AS " . PhpMyAdmin\Util::backquote(_gettext("Rows"))) . ", ") . PhpMyAdmin\Util::backquote((($__internal_compile_44 = // line 232
$context["row"]) && is_array($__internal_compile_44) || $__internal_compile_44 instanceof ArrayAccess ? ($__internal_compile_44["Field"] ?? null) : null))) . " FROM ") . PhpMyAdmin\Util::backquote( // line 233
($context["table"] ?? null))) . " GROUP BY ") . PhpMyAdmin\Util::backquote((($__internal_compile_45 = // line 234
$context["row"]) && is_array($__internal_compile_45) || $__internal_compile_45 instanceof ArrayAccess ? ($__internal_compile_45["Field"] ?? null) : null))) . " ORDER BY ") . PhpMyAdmin\Util::backquote((($__internal_compile_46 = // line 235
$context["row"]) && is_array($__internal_compile_46) || $__internal_compile_46 instanceof ArrayAccess ? ($__internal_compile_46["Field"] ?? null) : null))), "is_browse_distinct" => true], "", false);
// line 237
echo "\">
";
// line 238
echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Distinct values"));
echo "
</a>
</li>
";
// line 241
if ( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 241))) {
// line 242
echo " <li class=\"";
echo (( !($context["hide_structure_actions"] ?? null)) ? ("nav-item ") : (""));
echo "browse text-nowrap\">
";
// line 243
if (twig_in_filter((($__internal_compile_47 = $context["row"]) && is_array($__internal_compile_47) || $__internal_compile_47 instanceof ArrayAccess ? ($__internal_compile_47["Field"] ?? null) : null), ($context["central_list"] ?? null))) {
// line 244
echo " <a class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1"));
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-remove");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 245
($context["db"] ?? null), "table" => // line 246
($context["table"] ?? null), "selected_fld" => [0 => (($__internal_compile_48 = // line 247
$context["row"]) && is_array($__internal_compile_48) || $__internal_compile_48 instanceof ArrayAccess ? ($__internal_compile_48["Field"] ?? null) : null)]]);
// line 248
echo "\">
";
// line 249
echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_delete", _gettext("Remove from central columns"));
echo "
</a>
";
} else {
// line 252
echo " <a class=\"";
echo ((($context["hide_structure_actions"] ?? null)) ? ("dropdown-item") : ("nav-link px-1"));
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-add");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 253
($context["db"] ?? null), "table" => // line 254
($context["table"] ?? null), "selected_fld" => [0 => (($__internal_compile_49 = // line 255
$context["row"]) && is_array($__internal_compile_49) || $__internal_compile_49 instanceof ArrayAccess ? ($__internal_compile_49["Field"] ?? null) : null)]]);
// line 256
echo "\">
";
// line 257
echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_add", _gettext("Add to central columns"));
echo "
</a>
";
}
// line 260
echo " </li>
";
}
// line 262
echo " ";
if ( !($context["hide_structure_actions"] ?? null)) {
// line 263
echo " </ul>
";
} else {
// line 265
echo " </ul>
</div>
";
}
// line 268
echo " </td>
";
}
// line 270
echo " </tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 272
echo " </tbody>
</table>
</div>
<div class=\"d-print-none\">
";
// line 276
$this->loadTemplate("select_all.twig", "table/structure/display_structure.twig", 276)->display(twig_to_array(["text_dir" => // line 277
($context["text_dir"] ?? null), "form_name" => "fieldsForm"]));
// line 280
echo "
<button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\"";
// line 281
echo PhpMyAdmin\Url::getFromRoute("/table/structure/browse");
echo "\">
";
// line 282
echo PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse"));
echo "
</button>
";
// line 285
if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) {
// line 286
echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/structure/change");
echo "\">
";
// line 287
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Change"));
echo "
</button>
<button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\"";
// line 289
echo PhpMyAdmin\Url::getFromRoute("/table/structure/drop-confirm");
echo "\">
";
// line 290
echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</button>
";
// line 293
if ((($context["tbl_storage_engine"] ?? null) != "ARCHIVE")) {
// line 294
echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/structure/primary");
echo "\">
";
// line 295
echo PhpMyAdmin\Html\Generator::getIcon("b_primary", _gettext("Primary"));
echo "
</button>
<button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\"";
// line 297
echo PhpMyAdmin\Url::getFromRoute("/table/structure/unique");
echo "\">
";
// line 298
echo PhpMyAdmin\Html\Generator::getIcon("b_unique", _gettext("Unique"));
echo "
</button>
<button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\"";
// line 300
echo PhpMyAdmin\Url::getFromRoute("/table/structure/index");
echo "\">
";
// line 301
echo PhpMyAdmin\Html\Generator::getIcon("b_index", _gettext("Index"));
echo "
</button>
<button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\"";
// line 303
echo PhpMyAdmin\Url::getFromRoute("/table/structure/spatial");
echo "\">
";
// line 304
echo PhpMyAdmin\Html\Generator::getIcon("b_spatial", _gettext("Spatial"));
echo "
</button>
<button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\"";
// line 306
echo PhpMyAdmin\Url::getFromRoute("/table/structure/fulltext");
echo "\">
";
// line 307
echo PhpMyAdmin\Html\Generator::getIcon("b_ftext", _gettext("Fulltext"));
echo "
</button>
";
// line 310
if ( !(null === twig_get_attribute($this->env, $this->source, ($context["relation_parameters"] ?? null), "centralColumnsFeature", [], "any", false, false, false, 310))) {
// line 311
echo " <button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-add");
echo "\">
";
// line 312
echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_add", _gettext("Add to central columns"));
echo "
</button>
<button class=\"btn btn-link mult_submit\" type=\"submit\" formaction=\"";
// line 314
echo PhpMyAdmin\Url::getFromRoute("/table/structure/central-columns-remove");
echo "\">
";
// line 315
echo PhpMyAdmin\Html\Generator::getIcon("centralColumns_delete", _gettext("Remove from central columns"));
echo "
</button>
";
}
// line 318
echo " ";
}
// line 319
echo " ";
}
// line 320
echo " </div>
</form>
<hr class=\"d-print-none\">
<div class=\"modal fade\" id=\"moveColumnsModal\" tabindex=\"-1\" aria-labelledby=\"moveColumnsModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"moveColumnsModalLabel\">";
echo _gettext("Move columns");
// line 328
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 329
echo "\"></button>
</div>
<div class=\"modal-body\">
<div id=\"move_columns_dialog\" title=\"";
echo _gettext("Move columns");
// line 332
echo "\">
<p>";
echo _gettext("Move the columns by dragging them up and down.");
// line 333
echo "</p>
<form action=\"";
// line 334
echo PhpMyAdmin\Url::getFromRoute("/table/structure/move-columns");
echo "\" name=\"move_column_form\" id=\"move_column_form\">
<div>
";
// line 336
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<ul></ul>
</div>
</form>
</div>
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-primary\" id=\"designerModalGoButton\">";
echo _gettext("Go");
// line 343
echo "</button>
<button type=\"button\" class=\"btn btn-secondary\" id=\"designerModalPreviewButton\" data-bs-target=\"#designerModalPreviewModal\" data-bs-toggle=\"modal\">";
echo _gettext("Preview SQL");
// line 344
echo "</button>
<button type=\"button\" class=\"btn btn-secondary\" id=\"designerModalCloseButton\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 345
echo "</button>
</div>
</div>
</div>
</div>
<div class=\"modal fade\" id=\"designerModalPreviewModal\" aria-hidden=\"true\" aria-labelledby=\"designerModalPreviewModalLabel\" tabindex=\"-1\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"designerModalPreviewModalLabel\">";
echo _gettext("Preview SQL");
// line 354
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 355
echo "\"></button>
</div>
<div class=\"modal-body\">
<div class=\"spinner-border\" role=\"status\">
<span class=\"visually-hidden\">";
echo _gettext("Loading…");
// line 359
echo "</span>
</div>
</div>
<div class=\"modal-footer\">
<button class=\"btn btn-primary\" data-bs-target=\"#moveColumnsModal\" data-bs-toggle=\"modal\">";
echo _gettext("Go back");
// line 363
echo "</button>
</div>
</div>
</div>
</div>
<div class=\"modal fade\" id=\"moveColumnsErrorModal\" tabindex=\"-1\" aria-labelledby=\"moveColumnsErrorModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"moveColumnsErrorModalLabel\">";
echo _gettext("Error");
// line 372
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 373
echo "\"></button>
</div>
<div class=\"modal-body\">
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("OK");
// line 378
echo "</button>
</div>
</div>
</div>
</div>
";
// line 385
echo "<div id=\"structure-action-links\" class=\"d-print-none\">
";
// line 386
if ((($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) {
// line 387
echo " ";
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/view/create"), ["db" => // line 389
($context["db"] ?? null), "table" => ($context["table"] ?? null)], PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit view"), true));
// line 391
echo "
";
}
// line 393
echo " <button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">";
echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true);
echo "</button>
";
// line 394
if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) {
// line 395
echo " ";
// line 396
echo " ";
if (((($context["mysql_int_version"] ?? null) < 80000) || ($context["is_mariadb"] ?? null))) {
// line 397
echo " <a class=\"me-0\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 398
($context["db"] ?? null), "table" => // line 399
($context["table"] ?? null), "sql_query" => (("SELECT * FROM " . PhpMyAdmin\Util::backquote( // line 400
($context["table"] ?? null))) . " PROCEDURE ANALYSE()"), "session_max_rows" => "all"], "", false);
// line 402
echo "\">
";
// line 403
echo PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Propose table structure"), true);
// line 407
echo "
</a>
";
// line 409
echo PhpMyAdmin\Html\MySQLDocumentation::show("procedure_analyse");
echo "
";
}
// line 411
echo " ";
if (($context["is_active"] ?? null)) {
// line 412
echo " <a href=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/tracking", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "\">
";
// line 413
echo PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Track table"), true);
echo "
</a>
";
}
// line 416
echo " <a href=\"#\" id=\"move_columns_anchor\">
";
// line 417
echo PhpMyAdmin\Html\Generator::getIcon("b_move", _gettext("Move columns"), true);
echo "
</a>
<a href=\"";
// line 419
echo PhpMyAdmin\Url::getFromRoute("/normalization", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "\">
";
// line 420
echo PhpMyAdmin\Html\Generator::getIcon("normalize", _gettext("Normalize"), true);
echo "
</a>
";
}
// line 423
echo " ";
if ((($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) {
// line 424
echo " ";
if (($context["is_active"] ?? null)) {
// line 425
echo " <a href=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/tracking", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]);
echo "\">
";
// line 426
echo PhpMyAdmin\Html\Generator::getIcon("eye", _gettext("Track view"), true);
echo "
</a>
";
}
// line 429
echo " ";
}
// line 430
echo "</div>
";
// line 431
if (( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null))) {
// line 432
echo " <form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/add-field");
echo "\" id=\"addColumns\" name=\"addColumns\" class=\"d-print-none\">
";
// line 433
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
";
// line 434
if (PhpMyAdmin\Util::showIcons("ActionLinksMode")) {
// line 435
echo " ";
echo PhpMyAdmin\Html\Generator::getImage("b_insrow", _gettext("Add column"));
echo "
";
}
// line 437
echo " ";
$context["num_fields"] = ('' === $tmp = "<input type=\"number\" name=\"num_fields\" value=\"1\" onfocus=\"this.select()\" min=\"1\" required>") ? '' : new Markup($tmp, $this->env->getCharset());
// line 440
echo " ";
echo twig_sprintf(_gettext("Add %s column(s)"), ($context["num_fields"] ?? null));
echo "
<input type=\"hidden\" name=\"field_where\" value=\"after\">
";
// line 443
echo " <select name=\"after_field\">
<option value=\"first\" data-pos=\"first\">
";
echo _gettext("at beginning of table");
// line 446
echo " </option>
";
// line 447
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["columns_list"] ?? null));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["one_column_name"]) {
// line 448
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["one_column_name"], "html", null, true);
echo "\"";
// line 449
echo (((twig_get_attribute($this->env, $this->source, $context["loop"], "revindex0", [], "any", false, false, false, 449) == 0)) ? (" selected=\"selected\"") : (""));
echo ">
";
// line 450
echo twig_escape_filter($this->env, twig_sprintf(_gettext("after %s"), $context["one_column_name"]), "html", null, true);
echo "
</option>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['one_column_name'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 453
echo " </select>
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Go");
// line 454
echo "\">
</form>
";
}
// line 457
echo "
";
// line 458
if ((( !($context["tbl_is_view"] ?? null) && !($context["db_is_system_schema"] ?? null)) && (($context["tbl_storage_engine"] ?? null) != "ARCHIVE"))) {
// line 459
echo " <div id=\"index_div\" class=\"w-100 ajax\">
<fieldset class=\"pma-fieldset index_info\">
<legend id=\"index_header\">
";
echo _gettext("Indexes");
// line 463
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("optimizing-database-structure");
echo "
</legend>
";
// line 466
if ( !twig_test_empty(($context["indexes"] ?? null))) {
// line 467
echo " ";
echo ($context["indexes_duplicates"] ?? null);
echo "
";
// line 469
echo twig_include($this->env, $context, "modals/preview_sql_confirmation.twig");
echo "
<div class=\"table-responsive jsresponsive\">
<table class=\"table table-striped table-hover table-sm w-auto align-middle\" id=\"table_index\">
<thead>
<tr>
<th colspan=\"3\" class=\"d-print-none\">";
echo _gettext("Action");
// line 474
echo "</th>
<th>";
echo _gettext("Keyname");
// line 475
echo "</th>
<th>";
echo _gettext("Type");
// line 476
echo "</th>
<th>";
echo _gettext("Unique");
// line 477
echo "</th>
<th>";
echo _gettext("Packed");
// line 478
echo "</th>
<th>";
echo _gettext("Column");
// line 479
echo "</th>
<th>";
echo _gettext("Cardinality");
// line 480
echo "</th>
<th>";
echo _gettext("Collation");
// line 481
echo "</th>
<th>";
echo _gettext("Null");
// line 482
echo "</th>
<th>";
echo _gettext("Comment");
// line 483
echo "</th>
</tr>
</thead>
<tbody class=\"row_span\">
";
// line 488
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["indexes"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["index"]) {
// line 489
echo " ";
$context["columns_count"] = twig_get_attribute($this->env, $this->source, $context["index"], "getColumnCount", [], "method", false, false, false, 489);
// line 490
echo " <tr class=\"noclick\">
<td rowspan=\"";
// line 491
echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true);
echo "\" class=\"edit_index d-print-none ajax\">
<a class=\"ajax\" href=\"";
// line 492
echo PhpMyAdmin\Url::getFromRoute("/table/indexes");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 493
($context["db"] ?? null), "table" => // line 494
($context["table"] ?? null), "index" => twig_get_attribute($this->env, $this->source, // line 495
$context["index"], "getName", [], "method", false, false, false, 495)], "", false);
// line 496
echo "\">
";
// line 497
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit"));
echo "
</a>
</td>
<td rowspan=\"";
// line 500
echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true);
echo "\" class=\"rename_index d-print-none ajax\" >
<a class=\"ajax\" href=\"";
// line 501
echo PhpMyAdmin\Url::getFromRoute("/table/indexes/rename");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(["db" => // line 502
($context["db"] ?? null), "table" => // line 503
($context["table"] ?? null), "index" => twig_get_attribute($this->env, $this->source, // line 504
$context["index"], "getName", [], "method", false, false, false, 504)], "", false);
// line 505
echo "\">
";
// line 506
echo PhpMyAdmin\Html\Generator::getIcon("b_rename", _gettext("Rename"));
echo "
</a>
</td>
<td rowspan=\"";
// line 509
echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true);
echo "\" class=\"d-print-none\">
";
// line 510
if ((twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 510) == "PRIMARY")) {
// line 511
echo " ";
$context["index_params"] = ["sql_query" => (("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 512
($context["table"] ?? null))) . " DROP PRIMARY KEY;"), "message_to_show" => _gettext("The primary key has been dropped.")];
// line 515
echo " ";
} else {
// line 516
echo " ";
$context["index_params"] = ["sql_query" => (((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 517
($context["table"] ?? null))) . " DROP INDEX ") . PhpMyAdmin\Util::backquote(twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 517))) . ";"), "message_to_show" => twig_sprintf(_gettext("Index %s has been dropped."), twig_get_attribute($this->env, $this->source, // line 518
$context["index"], "getName", [], "method", false, false, false, 518))];
// line 520
echo " ";
}
// line 521
echo "
<input type=\"hidden\" class=\"drop_primary_key_index_msg\" value=\"";
// line 522
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["index_params"] ?? null), "sql_query", [], "any", false, false, false, 522), "html", null, true);
echo "\">
";
// line 523
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), twig_array_merge( // line 525
($context["index_params"] ?? null), ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null)]), PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "drop_primary_key_index_anchor ajax"]);
// line 528
echo "
</td>
<th rowspan=\"";
// line 530
echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["index"], "getName", [], "method", false, false, false, 530), "html", null, true);
echo "</th>
<td rowspan=\"";
// line 531
echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["index"], "getType", [], "method", true, true, false, 531)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["index"], "getType", [], "method", false, false, false, 531), twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 531))) : (twig_get_attribute($this->env, $this->source, $context["index"], "getChoice", [], "method", false, false, false, 531))), "html", null, true);
echo "</td>
<td rowspan=\"";
// line 532
echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["index"], "isUnique", [], "method", false, false, false, 532)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true);
echo "</td>
<td rowspan=\"";
// line 533
echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true);
echo "\">";
echo twig_get_attribute($this->env, $this->source, $context["index"], "isPacked", [], "method", false, false, false, 533);
echo "</td>
";
// line 535
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["index"], "getColumns", [], "method", false, false, false, 535));
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 536
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 536) > 1)) {
// line 537
echo " <tr class=\"noclick\">
";
}
// line 539
echo " <td>
";
// line 540
if (twig_get_attribute($this->env, $this->source, $context["column"], "hasExpression", [], "method", false, false, false, 540)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getExpression", [], "method", false, false, false, 540), "html", null, true);
} else {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getName", [], "method", false, false, false, 540), "html", null, true);
}
// line 541
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 541))) {
// line 542
echo " (";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getSubPart", [], "method", false, false, false, 542), "html", null, true);
echo ")
";
}
// line 544
echo " </td>
<td>";
// line 545
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCardinality", [], "method", false, false, false, 545), "html", null, true);
echo "</td>
<td>";
// line 546
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getCollation", [], "method", false, false, false, 546), "html", null, true);
echo "</td>
<td>";
// line 547
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["column"], "getNull", [0 => true], "method", false, false, false, 547), "html", null, true);
echo "</td>
";
// line 549
if ((twig_get_attribute($this->env, $this->source, $context["column"], "getSeqInIndex", [], "method", false, false, false, 549) == 1)) {
// line 550
echo " <td rowspan=\"";
echo twig_escape_filter($this->env, ($context["columns_count"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["index"], "getComments", [], "method", false, false, false, 550), "html", null, true);
echo "</td>
";
}
// line 552
echo " </tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 554
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['index'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 555
echo " </tbody>
</table>
</div>
";
} else {
// line 559
echo " <div class=\"no_indexes_defined\">";
echo $this->env->getFilter('notice')->getCallable()(_gettext("No index defined!"));
echo "</div>
";
}
// line 561
echo " </fieldset>
<fieldset class=\"pma-fieldset tblFooters d-print-none text-start\">
<form action=\"";
// line 564
echo PhpMyAdmin\Url::getFromRoute("/table/indexes");
echo "\" method=\"post\">
";
// line 565
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<input type=\"hidden\" name=\"create_index\" value=\"1\">
";
// line 568
ob_start(function () { return ''; });
// line 569
echo " ";
echo _gettext("Create an index on %s columns");
// line 570
echo " ";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 568
echo twig_sprintf($___internal_parse_0_, "<input class=\"mx-2\" type=\"number\" name=\"added_fields\" value=\"1\" min=\"1\" max=\"16\" required>");
// line 571
echo "
<input class=\"btn btn-primary add_index ajax\" type=\"submit\" value=\"";
echo _gettext("Go");
// line 572
echo "\">
</form>
</fieldset>
</div>
";
// line 576
echo twig_include($this->env, $context, "modals/index_dialog_modal.twig");
echo "
";
}
// line 578
echo "
";
// line 580
if (($context["have_partitioning"] ?? null)) {
// line 581
echo " ";
// line 582
echo " ";
if (( !twig_test_empty(($context["partition_names"] ?? null)) && !(null === (($__internal_compile_50 = ($context["partition_names"] ?? null)) && is_array($__internal_compile_50) || $__internal_compile_50 instanceof ArrayAccess ? ($__internal_compile_50[0] ?? null) : null)))) {
// line 583
echo " ";
$context["first_partition"] = (($__internal_compile_51 = ($context["partitions"] ?? null)) && is_array($__internal_compile_51) || $__internal_compile_51 instanceof ArrayAccess ? ($__internal_compile_51[0] ?? null) : null);
// line 584
echo " ";
$context["range_or_list"] = ((((twig_get_attribute($this->env, $this->source, ($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 584) == "RANGE") || (twig_get_attribute($this->env, $this->source, // line 585
($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 585) == "RANGE COLUMNS")) || (twig_get_attribute($this->env, $this->source, // line 586
($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 586) == "LIST")) || (twig_get_attribute($this->env, $this->source, // line 587
($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 587) == "LIST COLUMNS"));
// line 588
echo " ";
$context["sub_partitions"] = twig_get_attribute($this->env, $this->source, ($context["first_partition"] ?? null), "getSubPartitions", [], "method", false, false, false, 588);
// line 589
echo " ";
$context["has_sub_partitions"] = twig_get_attribute($this->env, $this->source, ($context["first_partition"] ?? null), "hasSubPartitions", [], "method", false, false, false, 589);
// line 590
echo " ";
if (($context["has_sub_partitions"] ?? null)) {
// line 591
echo " ";
$context["first_sub_partition"] = (($__internal_compile_52 = ($context["sub_partitions"] ?? null)) && is_array($__internal_compile_52) || $__internal_compile_52 instanceof ArrayAccess ? ($__internal_compile_52[0] ?? null) : null);
// line 592
echo " ";
}
// line 593
echo "
";
// line 594
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
// line 595
echo " <div class=\"mb-3\">
<button class=\"btn btn-sm btn-secondary\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#partitionsCollapse\" aria-expanded=\"";
// line 596
echo (((($context["default_sliders_state"] ?? null) == "open")) ? ("true") : ("false"));
echo "\" aria-controls=\"partitionsCollapse\">
";
echo _gettext("Partitions");
// line 598
echo " </button>
</div>
<div class=\"collapse mb-3";
// line 600
echo (((($context["default_sliders_state"] ?? null) == "open")) ? (" show") : (""));
echo "\" id=\"partitionsCollapse\">
";
}
// line 602
echo "
";
// line 603
$this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 603)->display(twig_to_array(["db" => // line 604
($context["db"] ?? null), "table" => // line 605
($context["table"] ?? null), "partitions" => // line 606
($context["partitions"] ?? null), "partition_method" => twig_get_attribute($this->env, $this->source, // line 607
($context["first_partition"] ?? null), "getMethod", [], "method", false, false, false, 607), "partition_expression" => twig_get_attribute($this->env, $this->source, // line 608
($context["first_partition"] ?? null), "getExpression", [], "method", false, false, false, 608), "has_description" => !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 609
($context["first_partition"] ?? null), "getDescription", [], "method", false, false, false, 609)), "has_sub_partitions" => // line 610
($context["has_sub_partitions"] ?? null), "sub_partition_method" => (( // line 611
($context["has_sub_partitions"] ?? null)) ? (twig_get_attribute($this->env, $this->source, ($context["first_sub_partition"] ?? null), "getMethod", [], "method", false, false, false, 611)) : ("")), "sub_partition_expression" => (( // line 612
($context["has_sub_partitions"] ?? null)) ? (twig_get_attribute($this->env, $this->source, ($context["first_sub_partition"] ?? null), "getExpression", [], "method", false, false, false, 612)) : ("")), "range_or_list" => // line 613
($context["range_or_list"] ?? null)]));
// line 615
echo " ";
} else {
// line 616
echo " ";
$this->loadTemplate("table/structure/display_partitions.twig", "table/structure/display_structure.twig", 616)->display(twig_to_array(["db" => // line 617
($context["db"] ?? null), "table" => // line 618
($context["table"] ?? null)]));
// line 620
echo " ";
}
// line 621
echo " ";
if ((($context["default_sliders_state"] ?? null) != "disabled")) {
// line 622
echo " </div>
";
}
}
// line 625
echo "
";
// line 627
if (($context["show_stats"] ?? null)) {
// line 628
echo " ";
echo ($context["table_stats"] ?? null);
echo "
";
}
// line 630
echo "<div class=\"clearfloat\"></div>
";
}
public function getTemplateName()
{
return "table/structure/display_structure.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1492 => 630, 1486 => 628, 1484 => 627, 1481 => 625, 1476 => 622, 1473 => 621, 1470 => 620, 1468 => 618, 1467 => 617, 1465 => 616, 1462 => 615, 1460 => 613, 1459 => 612, 1458 => 611, 1457 => 610, 1456 => 609, 1455 => 608, 1454 => 607, 1453 => 606, 1452 => 605, 1451 => 604, 1450 => 603, 1447 => 602, 1442 => 600, 1438 => 598, 1433 => 596, 1430 => 595, 1428 => 594, 1425 => 593, 1422 => 592, 1419 => 591, 1416 => 590, 1413 => 589, 1410 => 588, 1408 => 587, 1407 => 586, 1406 => 585, 1404 => 584, 1401 => 583, 1398 => 582, 1396 => 581, 1394 => 580, 1391 => 578, 1386 => 576, 1380 => 572, 1376 => 571, 1374 => 568, 1371 => 570, 1368 => 569, 1366 => 568, 1360 => 565, 1356 => 564, 1351 => 561, 1345 => 559, 1339 => 555, 1333 => 554, 1326 => 552, 1318 => 550, 1316 => 549, 1311 => 547, 1307 => 546, 1303 => 545, 1300 => 544, 1294 => 542, 1291 => 541, 1285 => 540, 1282 => 539, 1278 => 537, 1275 => 536, 1271 => 535, 1264 => 533, 1258 => 532, 1252 => 531, 1246 => 530, 1242 => 528, 1240 => 525, 1239 => 523, 1235 => 522, 1232 => 521, 1229 => 520, 1227 => 518, 1226 => 517, 1224 => 516, 1221 => 515, 1219 => 512, 1217 => 511, 1215 => 510, 1211 => 509, 1205 => 506, 1202 => 505, 1200 => 504, 1199 => 503, 1198 => 502, 1195 => 501, 1191 => 500, 1185 => 497, 1182 => 496, 1180 => 495, 1179 => 494, 1178 => 493, 1175 => 492, 1171 => 491, 1168 => 490, 1165 => 489, 1161 => 488, 1154 => 483, 1150 => 482, 1146 => 481, 1142 => 480, 1138 => 479, 1134 => 478, 1130 => 477, 1126 => 476, 1122 => 475, 1118 => 474, 1109 => 469, 1103 => 467, 1101 => 466, 1094 => 463, 1088 => 459, 1086 => 458, 1083 => 457, 1078 => 454, 1074 => 453, 1057 => 450, 1053 => 449, 1049 => 448, 1032 => 447, 1029 => 446, 1024 => 443, 1018 => 440, 1015 => 437, 1009 => 435, 1007 => 434, 1003 => 433, 998 => 432, 996 => 431, 993 => 430, 990 => 429, 984 => 426, 979 => 425, 976 => 424, 973 => 423, 967 => 420, 963 => 419, 958 => 417, 955 => 416, 949 => 413, 944 => 412, 941 => 411, 936 => 409, 932 => 407, 930 => 403, 927 => 402, 925 => 400, 924 => 399, 923 => 398, 919 => 397, 916 => 396, 914 => 395, 912 => 394, 907 => 393, 903 => 391, 901 => 389, 899 => 387, 897 => 386, 894 => 385, 886 => 378, 878 => 373, 874 => 372, 862 => 363, 855 => 359, 848 => 355, 844 => 354, 832 => 345, 828 => 344, 824 => 343, 813 => 336, 808 => 334, 805 => 333, 801 => 332, 795 => 329, 791 => 328, 780 => 320, 777 => 319, 774 => 318, 768 => 315, 764 => 314, 759 => 312, 754 => 311, 752 => 310, 746 => 307, 742 => 306, 737 => 304, 733 => 303, 728 => 301, 724 => 300, 719 => 298, 715 => 297, 710 => 295, 705 => 294, 703 => 293, 697 => 290, 693 => 289, 688 => 287, 683 => 286, 681 => 285, 675 => 282, 671 => 281, 668 => 280, 666 => 277, 665 => 276, 659 => 272, 652 => 270, 648 => 268, 643 => 265, 639 => 263, 636 => 262, 632 => 260, 626 => 257, 623 => 256, 621 => 255, 620 => 254, 619 => 253, 613 => 252, 607 => 249, 604 => 248, 602 => 247, 601 => 246, 600 => 245, 594 => 244, 592 => 243, 587 => 242, 585 => 241, 579 => 238, 576 => 237, 574 => 235, 573 => 234, 572 => 233, 571 => 232, 570 => 230, 569 => 229, 564 => 228, 559 => 227, 555 => 224, 547 => 222, 541 => 219, 538 => 218, 536 => 217, 535 => 216, 534 => 215, 533 => 214, 527 => 213, 525 => 212, 524 => 211, 523 => 210, 522 => 209, 521 => 208, 520 => 207, 515 => 206, 511 => 203, 505 => 200, 502 => 199, 500 => 198, 499 => 197, 498 => 196, 497 => 195, 491 => 194, 483 => 192, 481 => 191, 476 => 190, 474 => 180, 470 => 178, 464 => 175, 461 => 174, 459 => 173, 458 => 172, 457 => 171, 456 => 170, 450 => 169, 442 => 167, 440 => 166, 436 => 165, 432 => 163, 426 => 160, 423 => 159, 421 => 158, 420 => 157, 419 => 156, 418 => 155, 412 => 154, 404 => 152, 402 => 151, 398 => 150, 394 => 148, 388 => 145, 385 => 144, 383 => 143, 382 => 142, 381 => 141, 380 => 140, 374 => 139, 366 => 137, 364 => 136, 359 => 135, 355 => 133, 350 => 130, 346 => 129, 344 => 128, 341 => 127, 338 => 126, 336 => 125, 333 => 124, 326 => 120, 323 => 119, 321 => 118, 320 => 116, 319 => 115, 318 => 114, 317 => 113, 314 => 112, 307 => 108, 304 => 107, 302 => 105, 301 => 104, 300 => 103, 299 => 102, 296 => 101, 294 => 100, 289 => 99, 283 => 96, 280 => 95, 278 => 94, 275 => 93, 270 => 91, 267 => 89, 265 => 88, 262 => 86, 259 => 84, 257 => 83, 255 => 82, 251 => 80, 247 => 79, 244 => 78, 236 => 76, 234 => 75, 229 => 72, 221 => 70, 219 => 69, 218 => 68, 214 => 67, 209 => 65, 202 => 62, 196 => 60, 188 => 58, 186 => 57, 182 => 56, 177 => 54, 170 => 52, 165 => 49, 163 => 48, 160 => 47, 158 => 46, 155 => 45, 153 => 44, 150 => 43, 147 => 42, 142 => 41, 139 => 40, 134 => 36, 128 => 34, 125 => 33, 122 => 32, 117 => 30, 112 => 28, 110 => 27, 107 => 26, 103 => 25, 99 => 24, 95 => 23, 91 => 22, 87 => 21, 80 => 17, 75 => 13, 72 => 12, 69 => 10, 67 => 9, 65 => 8, 63 => 7, 59 => 5, 55 => 4, 50 => 3, 46 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/structure/display_structure.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/structure/display_structure.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/33/33b02345890247641e35e4f283e98000.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/routines/editor_form.twig */
class __TwigTemplate_39a995062fabd26a4d4fb55571bcbe77 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form class=\"rte_form";
echo (( !($context["is_ajax"] ?? null)) ? (" disableAjax") : (""));
echo "\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/routines");
echo "\" method=\"post\">
<input name=\"";
// line 2
echo ((($context["is_edit_mode"] ?? null)) ? ("edit_item") : ("add_item"));
echo "\" type=\"hidden\" value=\"1\">
";
// line 3
if (($context["is_edit_mode"] ?? null)) {
// line 4
echo " <input name=\"item_original_name\" type=\"hidden\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_original_name", [], "any", false, false, false, 4), "html", null, true);
echo "\">
<input name=\"item_original_type\" type=\"hidden\" value=\"";
// line 5
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_original_type", [], "any", false, false, false, 5), "html", null, true);
echo "\">
";
}
// line 7
echo " ";
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"card\">
<div class=\"card-header\">
";
echo _gettext("Details");
// line 12
echo " ";
if ( !($context["is_edit_mode"] ?? null)) {
// line 13
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::show("CREATE_PROCEDURE");
echo "
";
}
// line 15
echo " </div>
<div class=\"card-body\">
<table class=\"rte_table table table-borderless table-sm\">
<tr>
<td>";
echo _gettext("Routine name");
// line 20
echo "</td>
<td>
<input type=\"text\" name=\"item_name\" maxlength=\"64\" value=\"";
// line 22
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_name", [], "any", false, false, false, 22), "html", null, true);
echo "\">
</td>
</tr>
<tr>
<td>";
echo _gettext("Type");
// line 26
echo "</td>
<td>
";
// line 28
if (($context["is_ajax"] ?? null)) {
// line 29
echo " <select name=\"item_type\">
<option value=\"PROCEDURE\"";
// line 30
echo (((twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_type", [], "any", false, false, false, 30) == "PROCEDURE")) ? (" selected") : (""));
echo ">PROCEDURE</option>
<option value=\"FUNCTION\"";
// line 31
echo (((twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_type", [], "any", false, false, false, 31) == "FUNCTION")) ? (" selected") : (""));
echo ">FUNCTION</option>
</select>
";
} else {
// line 34
echo " <input name=\"item_type\" type=\"hidden\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_type", [], "any", false, false, false, 34), "html", null, true);
echo "\">
<div class=\"fw-bold text-center w-50\">
";
// line 36
echo twig_escape_filter($this->env, (($__internal_compile_0 = ($context["routine"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["item_type"] ?? null) : null), "html", null, true);
echo "
</div>
<input type=\"submit\" class=\"btn btn-secondary\" name=\"routine_changetype\" value=\"";
// line 38
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Change to %s"), twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_type_toggle", [], "any", false, false, false, 38)), "html", null, true);
echo "\">
";
}
// line 40
echo " </td>
</tr>
<tr>
<td>";
echo _gettext("Parameters");
// line 43
echo "</td>
<td>
<table class=\"routine_params_table table table-borderless table-sm\">
<thead>
<tr>
<td></td>
<th class=\"routine_direction_cell";
// line 49
echo (((twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_type", [], "any", false, false, false, 49) == "FUNCTION")) ? (" hide") : (""));
echo "\">";
echo _gettext("Direction");
echo "</th>
<th>";
echo _gettext("Name");
// line 50
echo "</th>
<th>";
echo _gettext("Type");
// line 51
echo "</th>
<th>";
echo _gettext("Length/Values");
// line 52
echo "</th>
<th colspan=\"2\">";
echo _gettext("Options");
// line 53
echo "</th>
<th class=\"routine_param_remove hide\"></th>
</tr>
</thead>
<tbody>
";
// line 58
echo ($context["parameter_rows"] ?? null);
echo "
</tbody>
</table>
</td>
</tr>
<tr>
<td></td>
<td>
";
// line 66
if (($context["is_ajax"] ?? null)) {
// line 67
echo " <button type=\"button\" class=\"btn btn-primary\" id=\"addRoutineParameterButton\">";
echo _gettext("Add parameter");
echo "</button>
";
} else {
// line 69
echo " <input type=\"submit\" class=\"btn btn-primary\" name=\"routine_addparameter\" value=\"";
echo _gettext("Add parameter");
echo "\">
<input type=\"submit\" class=\"btn btn-secondary\" name=\"routine_removeparameter\" value=\"";
echo _gettext("Remove last parameter");
// line 70
echo "\"";
echo (( !twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_num_params", [], "any", false, false, false, 70)) ? (" disabled") : (""));
echo ">
";
}
// line 72
echo " </td>
</tr>
<tr class=\"routine_return_row";
// line 74
echo (((twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_type", [], "any", false, false, false, 74) == "PROCEDURE")) ? (" hide") : (""));
echo "\">
<td>";
echo _gettext("Return type");
// line 75
echo "</td>
<td>
<select name=\"item_returntype\">
";
// line 78
echo PhpMyAdmin\Util::getSupportedDatatypes(true, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_returntype", [], "any", false, false, false, 78));
echo "
</select>
</td>
</tr>
<tr class=\"routine_return_row";
// line 82
echo (((twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_type", [], "any", false, false, false, 82) == "PROCEDURE")) ? (" hide") : (""));
echo "\">
<td>";
echo _gettext("Return length/values");
// line 83
echo "</td>
<td>
<input type=\"text\" name=\"item_returnlength\" value=\"";
// line 85
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_returnlength", [], "any", false, false, false, 85), "html", null, true);
echo "\">
</td>
<td class=\"hide no_len\">---</td>
</tr>
<tr class=\"routine_return_row";
// line 89
echo (((twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_type", [], "any", false, false, false, 89) == "PROCEDURE")) ? (" hide") : (""));
echo "\">
<td>";
echo _gettext("Return options");
// line 90
echo "</td>
<td>
<div>
<select lang=\"en\" dir=\"ltr\" name=\"item_returnopts_text\">
<option value=\"\">";
echo _gettext("Charset");
// line 94
echo "</option>
<option value=\"\"></option>
";
// line 96
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 97
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 97), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 97), "html", null, true);
echo "\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_returnopts_text", [], "any", false, false, false, 97) == twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 97))) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 97), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 99
echo " </select>
</div>
<div>
<select name=\"item_returnopts_num\">
<option value=\"\"></option>
";
// line 104
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["numeric_options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["numeric_option"]) {
// line 105
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["numeric_option"], "html", null, true);
echo "\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_returnopts_num", [], "any", false, false, false, 105) == $context["numeric_option"])) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, $context["numeric_option"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['numeric_option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 107
echo " </select>
</div>
<div class=\"hide no_opts\">---</div>
</td>
</tr>
<tr>
<td>";
echo _gettext("Definition");
// line 113
echo "</td>
<td>
<textarea name=\"item_definition\" rows=\"15\" cols=\"40\">";
// line 115
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_definition", [], "any", false, false, false, 115), "html", null, true);
echo "</textarea>
</td>
</tr>
<tr>
<td>";
echo _gettext("Is deterministic");
// line 119
echo "</td>
<td>
<input type=\"checkbox\" name=\"item_isdeterministic\"";
// line 121
echo twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_isdeterministic", [], "any", false, false, false, 121);
echo ">
</td>
</tr>
";
// line 125
if (($context["is_edit_mode"] ?? null)) {
// line 126
echo " <tr>
<td>
";
echo _gettext("Adjust privileges");
// line 129
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39");
echo "
</td>
<td>
";
// line 132
if (($context["has_privileges"] ?? null)) {
// line 133
echo " <input type=\"checkbox\" name=\"item_adjust_privileges\" value=\"1\" checked>
";
} else {
// line 135
echo " <input type=\"checkbox\" name=\"item_adjust_privileges\" value=\"1\" title=\"";
echo _gettext("You do not have sufficient privileges to perform this operation; Please refer to the documentation for more details.");
echo "\" disabled>
";
}
// line 137
echo " </td>
</tr>
";
}
// line 140
echo "
<tr>
<td>";
echo _gettext("Definer");
// line 142
echo "</td>
<td>
<input type=\"text\" name=\"item_definer\" value=\"";
// line 144
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_definer", [], "any", false, false, false, 144), "html", null, true);
echo "\">
</td>
</tr>
<tr>
<td>";
echo _gettext("Security type");
// line 148
echo "</td>
<td>
<select name=\"item_securitytype\">
<option value=\"DEFINER\"";
// line 151
echo twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_securitytype_definer", [], "any", false, false, false, 151);
echo ">DEFINER</option>
<option value=\"INVOKER\"";
// line 152
echo twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_securitytype_invoker", [], "any", false, false, false, 152);
echo ">INVOKER</option>
</select>
</td>
</tr>
<tr>
<td>";
echo _gettext("SQL data access");
// line 157
echo "</td>
<td>
<select name=\"item_sqldataaccess\">
";
// line 160
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["sql_data_access"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["value"]) {
// line 161
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["value"], "html", null, true);
echo "\"";
echo (((twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_sqldataaccess", [], "any", false, false, false, 161) == $context["value"])) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, $context["value"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 163
echo " </select>
</td>
</tr>
<tr>
<td>";
echo _gettext("Comment");
// line 167
echo "</td>
<td>
<input type=\"text\" name=\"item_comment\" maxlength=\"64\" value=\"";
// line 169
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["routine"] ?? null), "item_comment", [], "any", false, false, false, 169), "html", null, true);
echo "\">
</td>
</tr>
</table>
</div>
";
// line 175
if (($context["is_ajax"] ?? null)) {
// line 176
echo " <input type=\"hidden\" name=\"";
echo ((($context["is_edit_mode"] ?? null)) ? ("editor_process_edit") : ("editor_process_add"));
echo "\" value=\"true\">
<input type=\"hidden\" name=\"ajax_request\" value=\"true\">
";
} else {
// line 179
echo " <div class=\"card-footer\">
<input class=\"btn btn-primary\" type=\"submit\" name=\"";
// line 180
echo ((($context["is_edit_mode"] ?? null)) ? ("editor_process_edit") : ("editor_process_add"));
echo "\" value=\"";
echo _gettext("Go");
echo "\">
</div>
";
}
// line 183
echo " </div>
</form>
";
}
public function getTemplateName()
{
return "database/routines/editor_form.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 460 => 183, 452 => 180, 449 => 179, 442 => 176, 440 => 175, 431 => 169, 427 => 167, 420 => 163, 407 => 161, 403 => 160, 398 => 157, 389 => 152, 385 => 151, 380 => 148, 372 => 144, 368 => 142, 363 => 140, 358 => 137, 352 => 135, 348 => 133, 346 => 132, 339 => 129, 334 => 126, 332 => 125, 325 => 121, 321 => 119, 313 => 115, 309 => 113, 300 => 107, 287 => 105, 283 => 104, 276 => 99, 261 => 97, 257 => 96, 253 => 94, 246 => 90, 241 => 89, 234 => 85, 230 => 83, 225 => 82, 218 => 78, 213 => 75, 208 => 74, 204 => 72, 198 => 70, 192 => 69, 186 => 67, 184 => 66, 173 => 58, 166 => 53, 162 => 52, 158 => 51, 154 => 50, 147 => 49, 139 => 43, 133 => 40, 128 => 38, 123 => 36, 117 => 34, 111 => 31, 107 => 30, 104 => 29, 102 => 28, 98 => 26, 90 => 22, 86 => 20, 78 => 15, 72 => 13, 69 => 12, 60 => 7, 55 => 5, 50 => 4, 48 => 3, 44 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/routines/editor_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/routines/editor_form.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/36/367e760bec583ce5a72f9c2c362f5da6.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/collation_definition.twig */
class __TwigTemplate_2b8edf629b48bbbc87c881203de908c9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<dfn title=\"";
echo twig_escape_filter($this->env, ($context["valueTitle"] ?? null), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "</dfn>
";
}
public function getTemplateName()
{
return "database/structure/collation_definition.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/collation_definition.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/collation_definition.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/44/44b19126f3dde724b93aeda2eec96302.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/export/index.twig */
class __TwigTemplate_149512c4e813da643def9c3d2c09571b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'selection_options' => [$this, 'block_selection_options'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "export.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 60
ob_start(function () { return ''; });
// line 61
echo " ";
echo _gettext("@SERVER@ will become the server name and @DATABASE@ will become the database name.");
$context["filename_hint"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 1
$this->parent = $this->loadTemplate("export.twig", "database/export/index.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
// line 4
echo " ";
if ((($context["export_type"] ?? null) == "raw")) {
// line 5
echo " ";
// l10n: A query that the user has written freely
echo _gettext("Exporting a raw query");
// line 6
echo " ";
} else {
// line 7
echo " ";
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Exporting tables from \"%s\" database"), ($context["db"] ?? null)), "html", null, true);
echo "
";
}
}
// line 11
public function block_selection_options($context, array $blocks = [])
{
$macros = $this->macros;
// line 12
echo " ";
if ((($context["export_type"] ?? null) != "raw")) {
// line 13
echo " <div class=\"card mb-3\" id=\"databases_and_tables\">
<div class=\"card-header\">";
echo _gettext("Tables:");
// line 14
echo "</div>
<div class=\"card-body\" style=\"overflow-y: scroll; max-height: 20em;\">
<input type=\"hidden\" name=\"structure_or_data_forced\" value=\"";
// line 16
echo twig_escape_filter($this->env, ($context["structure_or_data_forced"] ?? null), "html", null, true);
echo "\">
<table class=\"table table-sm table-striped table-hover export_table_select\">
<thead>
<tr>
<th></th>
<th>";
echo _gettext("Tables");
// line 22
echo "</th>
<th class=\"export_structure text-center\">";
echo _gettext("Structure");
// line 23
echo "</th>
<th class=\"export_data text-center\">";
echo _gettext("Data");
// line 24
echo "</th>
</tr>
<tr>
<td></td>
<td class=\"align-middle\">";
echo _gettext("Select all");
// line 28
echo "</td>
<td class=\"export_structure text-center\">
<input type=\"checkbox\" id=\"table_structure_all\" aria-label=\"";
echo _gettext("Export the structure of all tables.");
// line 30
echo "\">
</td>
<td class=\"export_data text-center\">
<input type=\"checkbox\" id=\"table_data_all\" aria-label=\"";
echo _gettext("Export the data of all tables.");
// line 33
echo "\">
</td>
</tr>
</thead>
<tbody>
";
// line 39
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["tables"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["each_table"]) {
// line 40
echo " <tr class=\"marked\">
<td>
<input class=\"checkall\" type=\"checkbox\" name=\"table_select[]\" value=\"";
// line 42
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 42), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["each_table"], "is_checked_select", [], "any", false, false, false, 42)) ? (" checked") : (""));
echo ">
</td>
<td class=\"align-middle text-nowrap\">";
// line 44
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 44), "html", null, true);
echo "</td>
<td class=\"export_structure text-center\">
<input type=\"checkbox\" name=\"table_structure[]\" value=\"";
// line 46
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 46), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["each_table"], "is_checked_structure", [], "any", false, false, false, 46)) ? (" checked") : (""));
echo ">
</td>
<td class=\"export_data text-center\">
<input type=\"checkbox\" name=\"table_data[]\" value=\"";
// line 49
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 49), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["each_table"], "is_checked_data", [], "any", false, false, false, 49)) ? (" checked") : (""));
echo ">
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_table'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 53
echo " </tbody>
</table>
</div>
</div>
";
}
}
public function getTemplateName()
{
return "database/export/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 175 => 53, 163 => 49, 155 => 46, 150 => 44, 143 => 42, 139 => 40, 135 => 39, 127 => 33, 121 => 30, 116 => 28, 109 => 24, 105 => 23, 101 => 22, 91 => 16, 87 => 14, 83 => 13, 80 => 12, 76 => 11, 68 => 7, 65 => 6, 61 => 5, 58 => 4, 54 => 3, 49 => 1, 45 => 61, 43 => 60, 36 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/export/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/export/index.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/69/699daffb612136e04e79c262af26bbf9.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* export.twig */
class __TwigTemplate_6948ae6d41bfa0e1275bb7d237f3c46d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'message' => [$this, 'block_message'],
'selection_options' => [$this, 'block_selection_options'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"container\">
<h2 class=\"my-3\">
";
// line 3
echo PhpMyAdmin\Html\Generator::getImage("b_export", _gettext("Export"));
echo "
";
// line 4
$this->displayBlock('title', $context, $blocks);
// line 5
echo " </h2>
";
// line 7
echo ($context["page_settings_error_html"] ?? null);
echo "
";
// line 8
echo ($context["page_settings_html"] ?? null);
echo "
";
// line 10
$this->displayBlock('message', $context, $blocks);
// line 11
echo "
";
// line 12
if (twig_get_attribute($this->env, $this->source, ($context["templates"] ?? null), "is_enabled", [], "any", false, false, false, 12)) {
// line 13
echo " <div class=\"card mb-3\">
<div class=\"card-header\">";
echo _gettext("Export templates:");
// line 14
echo "</div>
<div class=\"card-body row gy-3\">
<form method=\"post\" action=\"";
// line 16
echo PhpMyAdmin\Url::getFromRoute("/export/template/create");
echo "\" class=\"col-12 col-md ajax\">
<fieldset>
<legend>";
echo _gettext("New template:");
// line 18
echo "</legend>
<div class=\"row g-3 align-items-center\">
<div class=\"col-auto\">
<label for=\"templateName\" class=\"col-form-label\">";
echo _gettext("Template name");
// line 21
echo "</label>
</div>
<div class=\"col-auto\">
<input class=\"form-control\" type=\"text\" name=\"templateName\" id=\"templateName\" maxlength=\"64\" placeholder=\"";
echo _gettext("Template name");
// line 24
echo "\" required>
</div>
<div class=\"col-auto\">
<input class=\"btn btn-secondary\" type=\"submit\" name=\"createTemplate\" id=\"createTemplate\" value=\"";
echo _gettext("Create");
// line 27
echo "\">
</div>
</div>
</fieldset>
</form>
<form method=\"post\" id=\"existingTemplatesForm\" class=\"col-12 col-md ajax\">
<fieldset>
<legend>";
echo _gettext("Existing templates:");
// line 35
echo "</legend>
<div class=\"row g-3 align-items-center\">
<div class=\"col-auto\">
<label for=\"template\" class=\"col-form-label\">";
echo _gettext("Template:");
// line 38
echo "</label>
</div>
<div class=\"col-auto\">
<select class=\"form-select\" name=\"template\" id=\"template\" required>
<option value=\"\">-- ";
echo _gettext("Select a template");
// line 42
echo " --</option>
";
// line 43
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["templates"] ?? null), "templates", [], "any", false, false, false, 43));
foreach ($context['_seq'] as $context["_key"] => $context["template"]) {
// line 44
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["template"], "getId", [], "method", false, false, false, 44), "html", null, true);
echo "\"";
echo (((twig_get_attribute($this->env, $this->source, $context["template"], "getId", [], "method", false, false, false, 44) == twig_get_attribute($this->env, $this->source, ($context["templates"] ?? null), "selected", [], "any", false, false, false, 44))) ? (" selected") : (""));
echo ">
";
// line 45
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["template"], "getName", [], "method", false, false, false, 45), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['template'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 48
echo " </select>
</div>
<div class=\"col-auto\">
<input class=\"btn btn-secondary\" type=\"submit\" formaction=\"";
// line 51
echo PhpMyAdmin\Url::getFromRoute("/export/template/update");
echo "\" name=\"updateTemplate\" id=\"updateTemplate\" value=\"";
echo _gettext("Update");
echo "\">
</div>
<div class=\"col-auto\">
<input class=\"btn btn-secondary\" type=\"submit\" formaction=\"";
// line 54
echo PhpMyAdmin\Url::getFromRoute("/export/template/delete");
echo "\" name=\"deleteTemplate\" id=\"deleteTemplate\" value=\"";
echo _gettext("Delete");
echo "\">
</div>
</div>
</fieldset>
</form>
</div>
</div>
";
}
// line 62
echo "
";
// line 63
if ( !twig_test_empty(($context["sql_query"] ?? null))) {
// line 64
echo " <div class=\"card mb-3\">
<div class=\"card-header\">
";
// line 67
echo " ";
echo _gettext("SQL query:");
// line 68
echo " </div>
<div class=\"card-body\">
<div id=\"sqlqueryform\">
";
// line 72
echo " <input class=\"btn btn-secondary\" type=\"submit\" id=\"showsqlquery\" value=\"";
echo _gettext("Show SQL query");
echo "\">
</div>
<div class=\"d-none\"></div>
</div>
</div>
<div class=\"modal fade\" id=\"showSqlQueryModal\" tabindex=\"-1\" aria-labelledby=\"showSqlQueryModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"showSqlQueryModalLabel\">";
echo _gettext("Loading");
// line 81
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 82
echo "\"></button>
</div>
<div class=\"modal-body\">
<div id=\"export_sql_modal_content\">
<code class=\"sql\">
<pre id=\"sql_preview_query\">";
// line 87
echo twig_escape_filter($this->env, ($context["sql_query"] ?? null), "html", null, true);
echo "</pre>
</code>
</div>
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Close");
// line 92
echo "</button>
</div>
</div>
</div>
</div>
";
}
// line 98
echo "
<form method=\"post\" action=\"";
// line 99
echo PhpMyAdmin\Url::getFromRoute("/export");
echo "\" name=\"dump\" class=\"disableAjax\">
";
// line 100
echo PhpMyAdmin\Url::getHiddenInputs(($context["hidden_inputs"] ?? null));
echo "
";
// line 102
if ((($context["export_method"] ?? null) != "custom-no-form")) {
// line 103
echo " <div class=\"card mb-3\" id=\"quick_or_custom\">
<div class=\"card-header\">";
echo _gettext("Export method:");
// line 104
echo "</div>
<div class=\"card-body\">
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" name=\"quick_or_custom\" value=\"quick\" id=\"radio_quick_export\"";
// line 107
echo (((($context["export_method"] ?? null) == "quick")) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"radio_quick_export\">";
echo _gettext("Quick - display only the minimal options");
// line 108
echo "</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" name=\"quick_or_custom\" value=\"custom\" id=\"radio_custom_export\"";
// line 111
echo (((($context["export_method"] ?? null) == "custom")) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"radio_custom_export\">";
echo _gettext("Custom - display all possible options");
// line 112
echo "</label>
</div>
</div>
</div>
";
}
// line 117
echo "
<div class=\"card mb-3\" id=\"format\">
<div class=\"card-header\">";
echo _gettext("Format:");
// line 119
echo "</div>
<div class=\"card-body\">
<select class=\"form-select\" id=\"plugins\" name=\"what\" aria-label=\"";
echo _gettext("File format to export");
// line 121
echo "\">
";
// line 122
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 123
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 123), "html", null, true);
echo "\"";
echo ((twig_get_attribute($this->env, $this->source, $context["option"], "is_selected", [], "any", false, false, false, 123)) ? (" selected") : (""));
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "text", [], "any", false, false, false, 123), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 125
echo " </select>
";
// line 127
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["plugins_choice"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 128
echo " <input type=\"hidden\" id=\"force_file_";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 128), "html", null, true);
echo "\" value=\"";
echo ((twig_get_attribute($this->env, $this->source, $context["option"], "force_file", [], "any", false, false, false, 128)) ? ("true") : ("false"));
echo "\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 130
echo " </div>
</div>
";
// line 133
$this->displayBlock('selection_options', $context, $blocks);
// line 134
echo "
";
// line 135
if ( !twig_test_empty(($context["rows"] ?? null))) {
// line 136
echo " <div class=\"card mb-3\" id=\"rows\">
<div class=\"card-header\">";
echo _gettext("Rows:");
// line 137
echo "</div>
<div class=\"card-body\">
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" name=\"allrows\" value=\"1\" id=\"radio_allrows_1\"";
// line 140
echo ((((null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 140)) || (twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 140) == 1))) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"radio_allrows_1\">";
echo _gettext("Dump all rows");
// line 141
echo "</label>
</div>
<div class=\"form-check mb-2\">
<input class=\"form-check-input\" type=\"radio\" name=\"allrows\" value=\"0\" id=\"radio_allrows_0\"";
// line 144
echo ((( !(null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 144)) && (twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "allrows", [], "any", false, false, false, 144) == 0))) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"radio_allrows_0\">";
echo _gettext("Dump some row(s)");
// line 145
echo "</label>
</div>
<ul class=\"list-group\">
<li class=\"list-group-item\">
<label class=\"form-label\" for=\"limit_to\">";
echo _gettext("Number of rows:");
// line 149
echo "</label>
<input class=\"form-control\" type=\"text\" id=\"limit_to\" name=\"limit_to\" size=\"5\" value=\"";
// line 151
if ( !(null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_to", [], "any", false, false, false, 151))) {
// line 152
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_to", [], "any", false, false, false, 152), "html", null, true);
} elseif (( !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 153
($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 153)) && (twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 153) != 0))) {
// line 154
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "unlim_num_rows", [], "any", false, false, false, 154), "html", null, true);
} else {
// line 156
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "number_of_rows", [], "any", false, false, false, 156), "html", null, true);
}
// line 157
echo "\" onfocus=\"this.select()\">
</li>
<li class=\"list-group-item\">
<label class=\"form-label\" for=\"limit_from\">";
echo _gettext("Row to begin at:");
// line 160
echo "</label>
<input class=\"form-control\" type=\"text\" id=\"limit_from\" name=\"limit_from\" size=\"5\" value=\"";
// line 161
(( !(null === twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_from", [], "any", false, false, false, 161))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["rows"] ?? null), "limit_from", [], "any", false, false, false, 161), "html", null, true))) : (print (0)));
echo "\" onfocus=\"this.select()\">
</li>
</ul>
</div>
</div>
";
}
// line 167
echo "
";
// line 168
if (($context["has_save_dir"] ?? null)) {
// line 169
echo " <div class=\"card mb-3 d-none\" id=\"output_quick_export\">
<div class=\"card-header\">";
echo _gettext("Output:");
// line 170
echo "</div>
<div class=\"card-body\">
<div class=\"form-check form-switch\">
<input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"quick_export_onserver\" value=\"saveit\" id=\"checkbox_quick_dump_onserver\"";
// line 173
echo ((($context["export_is_checked"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"checkbox_quick_dump_onserver\">
";
// line 175
echo twig_sprintf(_gettext("Save on server in the directory <strong>%s</strong>"), twig_escape_filter($this->env, ($context["save_dir"] ?? null)));
echo "
</label>
</div>
<div class=\"form-check form-switch\">
<input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"quick_export_onserver_overwrite\" value=\"saveitover\" id=\"checkbox_quick_dump_onserver_overwrite\"";
// line 180
echo ((($context["export_overwrite_is_checked"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"checkbox_quick_dump_onserver_overwrite\">
";
echo _gettext("Overwrite existing file(s)");
// line 183
echo " </label>
</div>
</div>
</div>
";
}
// line 188
echo "
<div class=\"modal fade\" id=\"renameExportModal\" tabindex=\"-1\" aria-labelledby=\"renameExportModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-xl\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"renameExportModalLabel\">";
echo _gettext("Rename exported databases/tables/columns");
// line 193
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Close");
// line 194
echo "\"></button>
</div>
<div class=\"modal-body overflow-auto\">
<table class=\"table align-middle mb-3\" id=\"alias_data\">
<thead>
<tr>
<th colspan=\"4\">
";
echo _gettext("Defined aliases");
// line 202
echo " </th>
</tr>
</thead>
<tbody>
";
// line 207
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["aliases"] ?? null));
foreach ($context['_seq'] as $context["db"] => $context["db_data"]) {
// line 208
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["db_data"], "alias", [], "any", true, true, false, 208) && !(null === twig_get_attribute($this->env, $this->source, $context["db_data"], "alias", [], "any", false, false, false, 208)))) {
// line 209
echo " <tr>
<th>";
echo _pgettext("Alias", "Database");
// line 210
echo "</th>
<td>";
// line 211
echo twig_escape_filter($this->env, $context["db"], "html", null, true);
echo "</td>
<td>
<input name=\"aliases[";
// line 213
echo twig_escape_filter($this->env, $context["db"], "html", null, true);
echo "][alias]\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["db_data"], "alias", [], "any", false, false, false, 213), "html", null, true);
echo "\" type=\"text\">
</td>
<td>
<button class=\"alias_remove btn btn-secondary\">";
echo _gettext("Remove");
// line 216
echo "</button>
</td>
</tr>
";
}
// line 220
echo "
";
// line 221
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((((twig_get_attribute($this->env, $this->source, $context["db_data"], "tables", [], "any", true, true, false, 221) && !(null === twig_get_attribute($this->env, $this->source, $context["db_data"], "tables", [], "any", false, false, false, 221)))) ? (twig_get_attribute($this->env, $this->source, $context["db_data"], "tables", [], "any", false, false, false, 221)) : ([])));
foreach ($context['_seq'] as $context["table"] => $context["table_data"]) {
// line 222
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["table_data"], "alias", [], "any", true, true, false, 222) && !(null === twig_get_attribute($this->env, $this->source, $context["table_data"], "alias", [], "any", false, false, false, 222)))) {
// line 223
echo " <tr>
<th>";
echo _pgettext("Alias", "Table");
// line 224
echo "</th>
<td>";
// line 225
echo twig_escape_filter($this->env, $context["db"], "html", null, true);
echo ".";
echo twig_escape_filter($this->env, $context["table"], "html", null, true);
echo "</td>
<td>
<input name=\"aliases[";
// line 227
echo twig_escape_filter($this->env, $context["db"], "html", null, true);
echo "][tables][";
echo twig_escape_filter($this->env, $context["table"], "html", null, true);
echo "][alias]\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["table_data"], "alias", [], "any", false, false, false, 227), "html", null, true);
echo "\" type=\"text\">
</td>
<td>
<button class=\"alias_remove btn btn-secondary\">";
echo _gettext("Remove");
// line 230
echo "</button>
</td>
</tr>
";
}
// line 234
echo "
";
// line 235
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((((twig_get_attribute($this->env, $this->source, $context["table_data"], "columns", [], "any", true, true, false, 235) && !(null === twig_get_attribute($this->env, $this->source, $context["table_data"], "columns", [], "any", false, false, false, 235)))) ? (twig_get_attribute($this->env, $this->source, $context["table_data"], "columns", [], "any", false, false, false, 235)) : ([])));
foreach ($context['_seq'] as $context["column"] => $context["column_name"]) {
// line 236
echo " <tr>
<th>";
echo _pgettext("Alias", "Column");
// line 237
echo "</th>
<td>";
// line 238
echo twig_escape_filter($this->env, $context["db"], "html", null, true);
echo ".";
echo twig_escape_filter($this->env, $context["table"], "html", null, true);
echo ".";
echo twig_escape_filter($this->env, $context["column"], "html", null, true);
echo "</td>
<td>
<input name=\"aliases[";
// line 240
echo twig_escape_filter($this->env, $context["db"], "html", null, true);
echo "][tables][";
echo twig_escape_filter($this->env, $context["table"], "html", null, true);
echo "][colums][";
echo twig_escape_filter($this->env, $context["column"], "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, $context["column_name"], "html", null, true);
echo "\" type=\"text\">
</td>
<td>
<button class=\"alias_remove btn btn-secondary\">";
echo _gettext("Remove");
// line 243
echo "</button>
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['column'], $context['column_name'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 247
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['table'], $context['table_data'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 248
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['db'], $context['db_data'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 249
echo " </tbody>
";
// line 252
echo " <tfoot class=\"hide\">
<tr>
<th></th>
<td></td>
<td>
<input name=\"aliases_new\" value=\"\" type=\"text\">
</td>
<td>
<button class=\"alias_remove btn btn-secondary\">";
echo _gettext("Remove");
// line 260
echo "</button>
</td>
</tr>
</tfoot>
</table>
<table class=\"table align-middle\">
<thead>
<tr>
<th colspan=\"4\">";
echo _gettext("Define new aliases");
// line 269
echo "</th>
</tr>
</thead>
<tr>
<td>
<label>";
echo _gettext("Select database:");
// line 274
echo "</label>
</td>
<td>
<select id=\"db_alias_select\">
<option value=\"\"></option>
</select>
</td>
<td>
<input id=\"db_alias_name\" placeholder=\"";
echo _gettext("New database name");
// line 282
echo "\" disabled=\"1\">
</td>
<td>
<button id=\"db_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">";
echo _gettext("Add");
// line 285
echo "</button>
</td>
</tr>
<tr>
<td>
<label>";
echo _gettext("Select table:");
// line 290
echo "</label>
</td>
<td>
<select id=\"table_alias_select\">
<option value=\"\"></option>
</select>
</td>
<td>
<input id=\"table_alias_name\" placeholder=\"";
echo _gettext("New table name");
// line 298
echo "\" disabled=\"1\">
</td>
<td>
<button id=\"table_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">";
echo _gettext("Add");
// line 301
echo "</button>
</td>
</tr>
<tr>
<td>
<label>";
echo _gettext("Select column:");
// line 306
echo "</label>
</td>
<td>
<select id=\"column_alias_select\">
<option value=\"\"></option>
</select>
</td>
<td>
<input id=\"column_alias_name\" placeholder=\"";
echo _gettext("New column name");
// line 314
echo "\" disabled=\"1\">
</td>
<td>
<button id=\"column_alias_button\" class=\"btn btn-secondary\" disabled=\"1\">";
echo _gettext("Add");
// line 317
echo "</button>
</td>
</tr>
</table>
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" id=\"saveAndCloseBtn\" data-bs-dismiss=\"modal\">
";
echo _gettext("Save & close");
// line 325
echo " </button>
</div>
</div>
</div>
</div>
<div class=\"card mb-3\" id=\"output\">
<div class=\"card-header\">";
echo _gettext("Output:");
// line 332
echo "</div>
<ul class=\"list-group list-group-flush\">
<li class=\"list-group-item\">
<div class=\"form-check form-switch\">
<input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" id=\"btn_alias_config\"";
// line 336
echo ((($context["has_aliases"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"btn_alias_config\">";
echo _gettext("Rename exported databases/tables/columns");
// line 337
echo "</label>
</div>
</li>
";
// line 341
if ((($context["export_type"] ?? null) != "server")) {
// line 342
echo " <li class=\"list-group-item\">
<div class=\"form-check form-switch\">
<input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"lock_tables\" value=\"something\" id=\"checkbox_lock_tables\"";
// line 345
echo (((( !($context["repopulate"] ?? null) && ($context["is_checked_lock_tables"] ?? null)) || ($context["lock_tables"] ?? null))) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"checkbox_lock_tables\">
";
// line 347
echo twig_sprintf(_gettext("Use %s statement"), "<code>LOCK TABLES</code>");
echo "
</label>
</div>
</li>
";
}
// line 352
echo "
<li class=\"list-group-item\">
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" id=\"radio_view_as_text\" name=\"output_format\" value=\"astext\"";
// line 355
echo (((($context["repopulate"] ?? null) || (($context["export_asfile"] ?? null) == false))) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"radio_view_as_text\">";
echo _gettext("View output as text");
// line 356
echo "</label>
</div>
<div class=\"form-check mb-2\">
<input class=\"form-check-input\" type=\"radio\" name=\"output_format\" value=\"sendit\" id=\"radio_dump_asfile\"";
// line 359
echo ((( !($context["repopulate"] ?? null) && ($context["is_checked_asfile"] ?? null))) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"radio_dump_asfile\">";
echo _gettext("Save output to a file");
// line 360
echo "</label>
</div>
<div class=\"hstack gap-3\">
<div class=\"vr\"></div>
<ul class=\"list-group\" id=\"ul_save_asfile\">
";
// line 365
if (($context["has_save_dir"] ?? null)) {
// line 366
echo " <li class=\"list-group-item\">
<div class=\"form-check form-switch\">
<input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"onserver\" value=\"saveit\" id=\"checkbox_dump_onserver\"";
// line 368
echo ((($context["is_checked_export"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"checkbox_dump_onserver\">
";
// line 370
echo twig_sprintf(_gettext("Save on server in the directory <strong>%s</strong>"), twig_escape_filter($this->env, ($context["save_dir"] ?? null)));
echo "
</label>
</div>
<div class=\"form-check form-switch\">
<input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"onserver_overwrite\" value=\"saveitover\" id=\"checkbox_dump_onserver_overwrite\"";
// line 375
echo ((($context["is_checked_export_overwrite"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"checkbox_dump_onserver_overwrite\">
";
echo _gettext("Overwrite existing file(s)");
// line 378
echo " </label>
</div>
</li>
";
}
// line 382
echo "
<li class=\"list-group-item\">
<div class=\"row g-3 align-items-center\">
<div class=\"col-auto\">
<label for=\"filename_template\" class=\"col-form-label\">
";
echo _gettext("File name template:");
// line 388
echo " ";
echo PhpMyAdmin\Html\Generator::showHint(twig_sprintf(_gettext("This value is interpreted using the 'strftime' function, so you can use time formatting strings. Additionally the following transformations will happen: %s Other text will be kept as is. See the FAQ 6.27 for details."), ($context["filename_hint"] ?? null)));
echo "
</label>
</div>
<div class=\"col-auto\">
<input type=\"text\" class=\"form-control\" name=\"filename_template\" id=\"filename_template\" value=\"";
// line 392
echo twig_escape_filter($this->env, ($context["filename_template"] ?? null), "html", null, true);
echo "\">
</div>
<div class=\"col-auto\">
<div class=\"form-check form-switch\">
<input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" name=\"remember_template\" id=\"checkbox_remember_template\"";
// line 396
echo ((($context["is_checked_remember_file_template"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"checkbox_remember_template\">
";
echo _gettext("Use this for future exports");
// line 399
echo " </label>
</div>
</div>
</div>
</li>
";
// line 405
if (($context["is_encoding_supported"] ?? null)) {
// line 406
echo " <li class=\"list-group-item\">
<div class=\"row\">
<div class=\"col-auto\">
<label for=\"select_charset\" class=\"col-form-label\">";
echo _gettext("Character set of the file:");
// line 409
echo "</label>
</div>
<div class=\"col-auto\">
<select class=\"form-select\" id=\"select_charset\" name=\"charset\">
";
// line 413
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["encodings"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 414
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["charset"], "html", null, true);
echo "\"";
// line 415
echo ((((twig_test_empty(($context["export_charset"] ?? null)) && ($context["charset"] == "utf-8")) || ($context["charset"] == ($context["export_charset"] ?? null)))) ? (" selected") : (""));
echo ">";
// line 416
echo twig_escape_filter($this->env, $context["charset"], "html", null, true);
// line 417
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 419
echo " </select>
</div>
</div>
</li>
";
}
// line 424
echo "
";
// line 425
if ((($context["has_zip"] ?? null) || ($context["has_gzip"] ?? null))) {
// line 426
echo " <li class=\"list-group-item\">
<div class=\"row\">
<div class=\"col-auto\">
<label for=\"compression\" class=\"col-form-label\">";
echo _gettext("Compression:");
// line 429
echo "</label>
</div>
<div class=\"col-auto\">
<select class=\"form-select\" id=\"compression\" name=\"compression\">
<option value=\"none\">";
echo _gettext("None");
// line 433
echo "</option>
";
// line 434
if (($context["has_zip"] ?? null)) {
// line 435
echo " <option value=\"zip\"";
// line 436
echo (((($context["selected_compression"] ?? null) == "zip")) ? (" selected") : (""));
echo ">
";
echo _gettext("zipped");
// line 438
echo " </option>
";
}
// line 440
echo " ";
if (($context["has_gzip"] ?? null)) {
// line 441
echo " <option value=\"gzip\"";
// line 442
echo (((($context["selected_compression"] ?? null) == "gzip")) ? (" selected") : (""));
echo ">
";
echo _gettext("gzipped");
// line 444
echo " </option>
";
}
// line 446
echo " </select>
</div>
</div>
</li>
";
} else {
// line 451
echo " <input type=\"hidden\" name=\"compression\" value=\"";
echo twig_escape_filter($this->env, ($context["selected_compression"] ?? null), "html", null, true);
echo "\">
";
}
// line 453
echo "
";
// line 454
if (((($context["export_type"] ?? null) == "server") || (($context["export_type"] ?? null) == "database"))) {
// line 455
echo " <li class=\"list-group-item\">
<div class=\"form-check form-switch\">
<input class=\"form-check-input\" type=\"checkbox\" role=\"switch\" id=\"checkbox_as_separate_files\" name=\"as_separate_files\" value=\"";
// line 457
echo twig_escape_filter($this->env, ($context["export_type"] ?? null), "html", null, true);
echo "\"";
// line 458
echo ((($context["is_checked_as_separate_files"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"checkbox_as_separate_files\">
";
// line 460
if ((($context["export_type"] ?? null) == "server")) {
// line 461
echo " ";
echo _gettext("Export databases as separate files");
// line 462
echo " ";
} elseif ((($context["export_type"] ?? null) == "database")) {
// line 463
echo " ";
echo _gettext("Export tables as separate files");
// line 464
echo " ";
}
// line 465
echo " </label>
</div>
</li>
";
}
// line 469
echo " </ul>
</div>
</li>
<li class=\"list-group-item\">
<label for=\"maxsize\" class=\"form-label\">";
echo _gettext("Skip tables larger than:");
// line 474
echo "</label>
<input class=\"form-control\" type=\"number\" id=\"maxsize\" name=\"maxsize\" aria-describedby=\"maxsizeHelp\">
<div id=\"maxsizeHelp\" class=\"form-text\">";
echo _gettext("The size is measured in MiB.");
// line 476
echo "</div>
</li>
</ul>
</div>
<div class=\"card mb-3\" id=\"format_specific_opts\">
<div class=\"card-header\">";
echo _gettext("Format-specific options:");
// line 482
echo "</div>
<div class=\"card-body\">
";
// line 484
echo ($context["options"] ?? null);
echo "
</div>
</div>
";
// line 488
if (($context["can_convert_kanji"] ?? null)) {
// line 489
echo " ";
// line 490
echo " <div class=\"card mb-3\" id=\"kanji_encoding\">
<div class=\"card-header\">";
echo _gettext("Encoding Conversion:");
// line 491
echo "</div>
<div class=\"card-body\">
";
// line 493
$this->loadTemplate("encoding/kanji_encoding_form.twig", "export.twig", 493)->display($context);
// line 494
echo " </div>
</div>
";
}
// line 497
echo "
<div id=\"submit\">
<input id=\"buttonGo\" class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Export");
// line 499
echo "\" data-exec-time-limit=\"";
echo twig_escape_filter($this->env, ($context["exec_time_limit"] ?? null), "html", null, true);
echo "\">
</div>
</form>
</div>
";
}
// line 4
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
}
// line 10
public function block_message($context, array $blocks = [])
{
$macros = $this->macros;
}
// line 133
public function block_selection_options($context, array $blocks = [])
{
$macros = $this->macros;
}
public function getTemplateName()
{
return "export.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1074 => 133, 1068 => 10, 1062 => 4, 1052 => 499, 1047 => 497, 1042 => 494, 1040 => 493, 1036 => 491, 1032 => 490, 1030 => 489, 1028 => 488, 1021 => 484, 1017 => 482, 1008 => 476, 1003 => 474, 995 => 469, 989 => 465, 986 => 464, 983 => 463, 980 => 462, 977 => 461, 975 => 460, 970 => 458, 967 => 457, 963 => 455, 961 => 454, 958 => 453, 952 => 451, 945 => 446, 941 => 444, 936 => 442, 934 => 441, 931 => 440, 927 => 438, 922 => 436, 920 => 435, 918 => 434, 915 => 433, 908 => 429, 902 => 426, 900 => 425, 897 => 424, 890 => 419, 883 => 417, 881 => 416, 878 => 415, 874 => 414, 870 => 413, 864 => 409, 858 => 406, 856 => 405, 848 => 399, 842 => 396, 835 => 392, 827 => 388, 819 => 382, 813 => 378, 807 => 375, 800 => 370, 795 => 368, 791 => 366, 789 => 365, 782 => 360, 777 => 359, 772 => 356, 767 => 355, 762 => 352, 754 => 347, 749 => 345, 745 => 342, 743 => 341, 737 => 337, 732 => 336, 726 => 332, 716 => 325, 706 => 317, 700 => 314, 689 => 306, 681 => 301, 675 => 298, 664 => 290, 656 => 285, 650 => 282, 639 => 274, 631 => 269, 619 => 260, 608 => 252, 604 => 249, 598 => 248, 592 => 247, 583 => 243, 570 => 240, 561 => 238, 558 => 237, 554 => 236, 550 => 235, 547 => 234, 541 => 230, 530 => 227, 523 => 225, 520 => 224, 516 => 223, 513 => 222, 509 => 221, 506 => 220, 500 => 216, 491 => 213, 486 => 211, 483 => 210, 479 => 209, 476 => 208, 472 => 207, 465 => 202, 455 => 194, 451 => 193, 443 => 188, 436 => 183, 430 => 180, 423 => 175, 418 => 173, 413 => 170, 409 => 169, 407 => 168, 404 => 167, 395 => 161, 392 => 160, 386 => 157, 383 => 156, 380 => 154, 378 => 153, 376 => 152, 374 => 151, 371 => 149, 364 => 145, 359 => 144, 354 => 141, 349 => 140, 344 => 137, 340 => 136, 338 => 135, 335 => 134, 333 => 133, 328 => 130, 317 => 128, 313 => 127, 309 => 125, 296 => 123, 292 => 122, 289 => 121, 284 => 119, 279 => 117, 272 => 112, 267 => 111, 262 => 108, 257 => 107, 252 => 104, 248 => 103, 246 => 102, 241 => 100, 237 => 99, 234 => 98, 226 => 92, 217 => 87, 210 => 82, 206 => 81, 192 => 72, 187 => 68, 184 => 67, 180 => 64, 178 => 63, 175 => 62, 162 => 54, 154 => 51, 149 => 48, 140 => 45, 133 => 44, 129 => 43, 126 => 42, 119 => 38, 113 => 35, 102 => 27, 96 => 24, 90 => 21, 84 => 18, 78 => 16, 74 => 14, 70 => 13, 68 => 12, 65 => 11, 63 => 10, 58 => 8, 54 => 7, 50 => 5, 48 => 4, 44 => 3, 40 => 1,);
}
public function getSourceContext()
{
return new Source("", "export.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/export.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/83/836575ade1a47c775723fb4e60235059.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/body_for_table_summary.twig */
class __TwigTemplate_4ec13fae4df469eef016ada57d32eb53 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<tfoot id=\"tbl_summary_row\">
<tr>
<th class=\"d-print-none\"></th>
<th class=\"tbl_num text-nowrap\">
";
// line 5
ob_start(function () { return ''; });
echo _ngettext("%s table", "%s tables", abs( // line 6
($context["num_tables"] ?? null)));
$context["num_tables_trans"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 8
echo " ";
echo twig_escape_filter($this->env, twig_sprintf(($context["num_tables_trans"] ?? null), PhpMyAdmin\Util::formatNumber(($context["num_tables"] ?? null), 0)), "html", null, true);
echo "
</th>
";
// line 10
if (($context["server_replica_status"] ?? null)) {
// line 11
echo " <th>";
echo _gettext("Replication");
echo "</th>
";
}
// line 13
echo " ";
$context["sum_colspan"] = ((($context["db_is_system_schema"] ?? null)) ? (4) : (7));
// line 14
echo " ";
if ((($context["num_favorite_tables"] ?? null) == 0)) {
// line 15
echo " ";
$context["sum_colspan"] = (($context["sum_colspan"] ?? null) - 1);
// line 16
echo " ";
}
// line 17
echo " <th colspan=\"";
echo twig_escape_filter($this->env, ($context["sum_colspan"] ?? null), "html", null, true);
echo "\" class=\"d-print-none\">";
echo _gettext("Sum");
echo "</th>
";
// line 18
$context["row_count_sum"] = PhpMyAdmin\Util::formatNumber(($context["sum_entries"] ?? null), 0);
// line 19
echo " ";
// line 20
echo " ";
$context["row_sum_url"] = [];
// line 21
echo " ";
if (array_key_exists("approx_rows", $context)) {
// line 22
echo " ";
$context["row_sum_url"] = ["ajax_request" => true, "db" => // line 24
($context["db"] ?? null), "real_row_count_all" => "true"];
// line 27
echo " ";
}
// line 28
echo " ";
if (($context["approx_rows"] ?? null)) {
// line 29
echo " ";
ob_start(function () { return ''; });
// line 30
echo "<a href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ($context["row_sum_url"] ?? null));
echo "\" class=\"ajax row_count_sum\">~";
// line 31
echo twig_escape_filter($this->env, ($context["row_count_sum"] ?? null), "html", null, true);
// line 32
echo "</a>";
$context["cell_text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 34
echo " ";
} else {
// line 35
echo " ";
$context["cell_text"] = ($context["row_count_sum"] ?? null);
// line 36
echo " ";
}
// line 37
echo " <th class=\"value tbl_rows font-monospace text-end\">";
echo twig_escape_filter($this->env, ($context["cell_text"] ?? null), "html", null, true);
echo "</th>
";
// line 38
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 39
echo " ";
// line 40
echo " ";
$context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@storage_engine;"], "method", false, false, false, 40);
// line 41
echo " ";
if (twig_test_empty(($context["default_engine"] ?? null))) {
// line 42
echo " ";
// line 43
echo " ";
$context["default_engine"] = twig_get_attribute($this->env, $this->source, ($context["dbi"] ?? null), "fetchValue", [0 => "SELECT @@default_storage_engine;"], "method", false, false, false, 43);
// line 44
echo " ";
}
// line 45
echo " <th class=\"text-center\">
<dfn title=\"";
// line 46
echo twig_escape_filter($this->env, twig_sprintf(_gettext("%s is the default storage engine on this MySQL server."), ($context["default_engine"] ?? null)), "html", null, true);
echo "\">
";
// line 47
echo twig_escape_filter($this->env, ($context["default_engine"] ?? null), "html", null, true);
echo "
</dfn>
</th>
<th>
";
// line 51
if ( !twig_test_empty(($context["database_collation"] ?? null))) {
// line 52
echo " <dfn title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "description", [], "any", false, false, false, 52), "html", null, true);
echo " (";
echo _gettext("Default");
echo ")\">
";
// line 53
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database_collation"] ?? null), "name", [], "any", false, false, false, 53), "html", null, true);
echo "
</dfn>
";
}
// line 56
echo " </th>
";
}
// line 58
echo "
";
// line 59
if (($context["is_show_stats"] ?? null)) {
// line 60
echo " ";
$context["sum"] = PhpMyAdmin\Util::formatByteDown(($context["sum_size"] ?? null), 3, 1);
// line 61
echo " ";
$context["sum_formatted"] = (($__internal_compile_0 = ($context["sum"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null);
// line 62
echo " ";
$context["sum_unit"] = (($__internal_compile_1 = ($context["sum"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null);
// line 63
echo " <th class=\"value tbl_size font-monospace text-end\">";
echo twig_escape_filter($this->env, ($context["sum_formatted"] ?? null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ($context["sum_unit"] ?? null), "html", null, true);
echo "</th>
";
// line 65
$context["overhead"] = PhpMyAdmin\Util::formatByteDown(($context["overhead_size"] ?? null), 3, 1);
// line 66
echo " ";
$context["overhead_formatted"] = (($__internal_compile_2 = ($context["overhead"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[0] ?? null) : null);
// line 67
echo " ";
$context["overhead_unit"] = (($__internal_compile_3 = ($context["overhead"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3[1] ?? null) : null);
// line 68
echo " <th class=\"value tbl_overhead font-monospace text-end\">";
echo twig_escape_filter($this->env, ($context["overhead_formatted"] ?? null), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, ($context["overhead_unit"] ?? null), "html", null, true);
echo "</th>
";
}
// line 70
echo "
";
// line 71
if (($context["show_charset"] ?? null)) {
// line 72
echo " <th>";
echo twig_escape_filter($this->env, ($context["database_charset"] ?? null), "html", null, true);
echo "</th>
";
}
// line 74
echo " ";
if (($context["show_comment"] ?? null)) {
// line 75
echo " <th></th>
";
}
// line 77
echo " ";
if (($context["show_creation"] ?? null)) {
// line 78
echo " <th class=\"value tbl_creation font-monospace text-end\">
";
// line 79
echo twig_escape_filter($this->env, ($context["create_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 82
echo " ";
if (($context["show_last_update"] ?? null)) {
// line 83
echo " <th class=\"value tbl_last_update font-monospace text-end\">
";
// line 84
echo twig_escape_filter($this->env, ($context["update_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 87
echo " ";
if (($context["show_last_check"] ?? null)) {
// line 88
echo " <th class=\"value tbl_last_check font-monospace text-end\">
";
// line 89
echo twig_escape_filter($this->env, ($context["check_time_all"] ?? null), "html", null, true);
echo "
</th>
";
}
// line 92
echo "</tr>
</tfoot>
";
}
public function getTemplateName()
{
return "database/structure/body_for_table_summary.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 270 => 92, 264 => 89, 261 => 88, 258 => 87, 252 => 84, 249 => 83, 246 => 82, 240 => 79, 237 => 78, 234 => 77, 230 => 75, 227 => 74, 221 => 72, 219 => 71, 216 => 70, 208 => 68, 205 => 67, 202 => 66, 200 => 65, 192 => 63, 189 => 62, 186 => 61, 183 => 60, 181 => 59, 178 => 58, 174 => 56, 168 => 53, 161 => 52, 159 => 51, 152 => 47, 148 => 46, 145 => 45, 142 => 44, 139 => 43, 137 => 42, 134 => 41, 131 => 40, 129 => 39, 127 => 38, 122 => 37, 119 => 36, 116 => 35, 113 => 34, 110 => 32, 108 => 31, 104 => 30, 101 => 29, 98 => 28, 95 => 27, 93 => 24, 91 => 22, 88 => 21, 85 => 20, 83 => 19, 81 => 18, 74 => 17, 71 => 16, 68 => 15, 65 => 14, 62 => 13, 56 => 11, 54 => 10, 48 => 8, 45 => 6, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/body_for_table_summary.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/body_for_table_summary.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/84/8479bd4d0d00bc2db417c40a0d209745.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/table_header.twig */
class __TwigTemplate_6dd2dd4a3db78cb9d5c6ed6597ba9e2d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure");
echo "\" name=\"tablesForm\" id=\"tablesForm\">
";
// line 2
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"table-responsive\">
<table class=\"table table-striped table-hover table-sm w-auto data\">
<thead>
<tr>
<th class=\"d-print-none\"></th>
<th>";
// line 8
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Table"), "table");
echo "</th>
";
// line 9
if (($context["replication"] ?? null)) {
// line 10
echo " <th>";
echo _gettext("Replication");
echo "</th>
";
}
// line 12
echo "
";
// line 13
if (($context["db_is_system_schema"] ?? null)) {
// line 14
echo " ";
$context["action_colspan"] = 3;
// line 15
echo " ";
} else {
// line 16
echo " ";
$context["action_colspan"] = 6;
// line 17
echo " ";
}
// line 18
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 19
echo " ";
$context["action_colspan"] = (($context["action_colspan"] ?? null) + 1);
// line 20
echo " ";
}
// line 21
echo " <th colspan=\"";
echo twig_escape_filter($this->env, ($context["action_colspan"] ?? null), "html", null, true);
echo "\" class=\"d-print-none\">
";
echo _gettext("Action");
// line 23
echo " </th>
";
// line 25
echo " <th>
";
// line 26
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Rows"), "records", "DESC");
echo "
";
// line 27
echo PhpMyAdmin\Html\Generator::showHint(PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc].")));
echo "
</th>
";
// line 29
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 30
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Type"), "type");
echo "</th>
<th>";
// line 31
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Collation"), "collation");
echo "</th>
";
}
// line 33
echo "
";
// line 34
if (($context["is_show_stats"] ?? null)) {
// line 35
echo " ";
// line 36
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Size"), "size", "DESC");
echo "</th>
";
// line 38
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Overhead"), "overhead", "DESC");
echo "</th>
";
}
// line 40
echo "
";
// line 41
if (($context["show_charset"] ?? null)) {
// line 42
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Charset"), "charset");
echo "</th>
";
}
// line 44
echo "
";
// line 45
if (($context["show_comment"] ?? null)) {
// line 46
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Comment"), "comment");
echo "</th>
";
}
// line 48
echo "
";
// line 49
if (($context["show_creation"] ?? null)) {
// line 50
echo " ";
// line 51
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Creation"), "creation", "DESC");
echo "</th>
";
}
// line 53
echo "
";
// line 54
if (($context["show_last_update"] ?? null)) {
// line 55
echo " ";
// line 56
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last update"), "last_update", "DESC");
echo "</th>
";
}
// line 58
echo "
";
// line 59
if (($context["show_last_check"] ?? null)) {
// line 60
echo " ";
// line 61
echo " <th>";
echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last check"), "last_check", "DESC");
echo "</th>
";
}
// line 63
echo " </tr>
</thead>
<tbody>
";
// line 66
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["structure_table_rows"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["structure_table_row"]) {
// line 67
echo " ";
$this->loadTemplate("database/structure/structure_table_row.twig", "database/structure/table_header.twig", 67)->display(twig_to_array($context["structure_table_row"]));
// line 68
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['structure_table_row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 69
echo " </tbody>
";
// line 70
if (($context["body_for_table_summary"] ?? null)) {
// line 71
echo " ";
$this->loadTemplate("database/structure/body_for_table_summary.twig", "database/structure/table_header.twig", 71)->display(twig_to_array(($context["body_for_table_summary"] ?? null)));
// line 72
echo " ";
}
// line 73
echo "</table>
</div>
";
// line 75
if (($context["check_all_tables"] ?? null)) {
// line 76
echo " ";
$this->loadTemplate("database/structure/check_all_tables.twig", "database/structure/table_header.twig", 76)->display(twig_to_array(($context["check_all_tables"] ?? null)));
}
// line 78
echo "</form>
";
// line 79
if (($context["check_all_tables"] ?? null)) {
// line 80
echo " ";
$this->loadTemplate("database/structure/bulk_action_modal.twig", "database/structure/table_header.twig", 80)->display(twig_to_array(($context["check_all_tables"] ?? null)));
}
}
public function getTemplateName()
{
return "database/structure/table_header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 245 => 80, 243 => 79, 240 => 78, 236 => 76, 234 => 75, 230 => 73, 227 => 72, 224 => 71, 222 => 70, 219 => 69, 213 => 68, 210 => 67, 206 => 66, 201 => 63, 195 => 61, 193 => 60, 191 => 59, 188 => 58, 182 => 56, 180 => 55, 178 => 54, 175 => 53, 169 => 51, 167 => 50, 165 => 49, 162 => 48, 156 => 46, 154 => 45, 151 => 44, 145 => 42, 143 => 41, 140 => 40, 134 => 38, 129 => 36, 127 => 35, 125 => 34, 122 => 33, 117 => 31, 112 => 30, 110 => 29, 105 => 27, 101 => 26, 98 => 25, 95 => 23, 89 => 21, 86 => 20, 83 => 19, 80 => 18, 77 => 17, 74 => 16, 71 => 15, 68 => 14, 66 => 13, 63 => 12, 57 => 10, 55 => 9, 51 => 8, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/table_header.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/table_header.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/8c/8ca2a1f045625264f1876f281f2998dc.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/operations/index.twig */
class __TwigTemplate_66ad626f053178913b041e039f33d640 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"container-fluid\">
";
// line 3
echo ($context["message"] ?? null);
echo "
";
// line 5
if (($context["has_comment"] ?? null)) {
// line 6
echo " <form method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/operations");
echo "\" id=\"formDatabaseComment\">
";
// line 7
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"card mb-2\">
<div class=\"card-header\">";
// line 9
echo PhpMyAdmin\Html\Generator::getIcon("b_comment", _gettext("Database comment"), true);
echo "</div>
<div class=\"card-body\">
<div class=\"row g-3\">
<div class=\"col-auto\">
<label class=\"visually-hidden\" for=\"databaseCommentInput\">";
echo _gettext("Database comment");
// line 13
echo "</label>
<input class=\"form-control textfield\" id=\"databaseCommentInput\" type=\"text\" name=\"comment\" value=\"";
// line 14
echo twig_escape_filter($this->env, ($context["db_comment"] ?? null), "html", null, true);
echo "\">
</div>
</div>
</div>
<div class=\"card-footer text-end\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Go");
// line 19
echo "\">
</div>
</div>
</form>
";
}
// line 24
echo "
<form id=\"createTableMinimalForm\" method=\"post\" action=\"";
// line 25
echo PhpMyAdmin\Url::getFromRoute("/table/create");
echo "\" class=\"card mb-2 lock-page\">
";
// line 26
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"card-header\">";
// line 27
echo PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true);
echo "</div>
<div class=\"card-body row row-cols-lg-auto g-3\">
<div class=\"col-md-6\">
<label for=\"createTableNameInput\" class=\"form-label\">";
echo _gettext("Table name");
// line 30
echo "</label>
<input type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required>
</div>
<div class=\"col-md-6\">
<label for=\"createTableNumFieldsInput\" class=\"form-label\">";
echo _gettext("Number of columns");
// line 34
echo "</label>
<input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required>
</div>
</div>
<div class=\"card-footer text-end\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Create");
// line 39
echo "\">
</div>
</form>
";
// line 43
if ((($context["db"] ?? null) != "mysql")) {
// line 44
echo " <form id=\"rename_db_form\" class=\"ajax\" method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/operations");
echo "\">
";
// line 45
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<input type=\"hidden\" name=\"what\" value=\"data\">
<input type=\"hidden\" name=\"db_rename\" value=\"true\">
";
// line 49
if ( !twig_test_empty(($context["db_collation"] ?? null))) {
// line 50
echo " <input type=\"hidden\" name=\"db_collation\" value=\"";
echo twig_escape_filter($this->env, ($context["db_collation"] ?? null), "html", null, true);
echo "\">
";
}
// line 52
echo "
<div class=\"card mb-2\">
<div class=\"card-header\">";
// line 54
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Rename database to"), true);
echo "</div>
<div class=\"card-body\">
<div class=\"mb-3 row g-3\">
<div class=\"col-auto\">
<label class=\"visually-hidden\" for=\"new_db_name\">";
echo _gettext("New database name");
// line 58
echo "</label>
<input class=\"form-control textfield\" id=\"new_db_name\" type=\"text\" name=\"newname\" maxlength=\"64\" required>
</div>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_adjust_privileges\"";
// line 65
if (($context["has_adjust_privileges"] ?? null)) {
echo " checked";
} else {
echo " title=\"";
echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details.");
// line 66
echo "\" disabled";
}
echo ">
<label class=\"form-check-label\" for=\"checkbox_adjust_privileges\">
";
echo _gettext("Adjust privileges");
// line 69
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39");
echo "
</label>
</div>
</div>
<div class=\"card-footer text-end\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Go");
// line 75
echo "\">
</div>
</div>
</form>
";
}
// line 80
echo "
";
// line 81
if (($context["is_drop_database_allowed"] ?? null)) {
// line 82
echo " <div class=\"card mb-2\">
<div class=\"card-header\">";
// line 83
echo PhpMyAdmin\Html\Generator::getIcon("b_deltbl", _gettext("Remove database"), true);
echo "</div>
<div class=\"card-body\">
<div class=\"card-text\">
";
// line 86
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["sql_query" => ("DROP DATABASE " . PhpMyAdmin\Util::backquote( // line 89
($context["db"] ?? null))), "back" => PhpMyAdmin\Url::getFromRoute("/database/operations"), "goto" => PhpMyAdmin\Url::getFromRoute("/"), "reload" => true, "purge" => true, "message_to_show" => twig_escape_filter($this->env, twig_sprintf(_gettext("Database %s has been dropped."), PhpMyAdmin\Util::backquote( // line 94
($context["db"] ?? null)))), "db" => null], _gettext("Drop the database (DROP)"), ["id" => "drop_db_anchor", "class" => "ajax text-danger"]);
// line 102
echo "
";
// line 103
echo PhpMyAdmin\Html\MySQLDocumentation::show("DROP_DATABASE");
echo "
</div>
</div>
</div>
";
}
// line 108
echo "
<form id=\"copy_db_form\" class=\"ajax\" method=\"post\" action=\"";
// line 109
echo PhpMyAdmin\Url::getFromRoute("/database/operations");
echo "\">
";
// line 110
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<input type=\"hidden\" name=\"db_copy\" value=\"true\">
";
// line 113
if ( !twig_test_empty(($context["db_collation"] ?? null))) {
// line 114
echo " <input type=\"hidden\" name=\"db_collation\" value=\"";
echo twig_escape_filter($this->env, ($context["db_collation"] ?? null), "html", null, true);
echo "\">
";
}
// line 116
echo "
<div class=\"card mb-2\">
<div class=\"card-header\">";
// line 118
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Copy database to"), true);
echo "</div>
<div class=\"card-body\">
<div class=\"mb-3 row g-3\">
<div class=\"col-auto\">
<label class=\"visually-hidden\" for=\"renameDbNameInput\">";
echo _gettext("Database name");
// line 122
echo "</label>
<input class=\"form-control textfield\" id=\"renameDbNameInput\" type=\"text\" maxlength=\"64\" name=\"newname\" required>
</div>
</div>
<div class=\"mb-3\">
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio1\" value=\"structure\">
<label class=\"form-check-label\" for=\"whatRadio1\">
";
echo _gettext("Structure only");
// line 132
echo " </label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio2\" value=\"data\" checked>
<label class=\"form-check-label\" for=\"whatRadio2\">
";
echo _gettext("Structure and data");
// line 138
echo " </label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"radio\" name=\"what\" id=\"whatRadio3\" value=\"dataonly\">
<label class=\"form-check-label\" for=\"whatRadio3\">
";
echo _gettext("Data only");
// line 144
echo " </label>
</div>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"create_database_before_copying\" value=\"1\" id=\"checkbox_create_database_before_copying\" checked>
<label class=\"form-check-label\" for=\"checkbox_create_database_before_copying\">";
echo _gettext("CREATE DATABASE before copying");
// line 150
echo "</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"drop_if_exists\" value=\"true\" id=\"checkbox_drop\">
<label class=\"form-check-label\" for=\"checkbox_drop\">";
// line 155
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Add %s"), "DROP TABLE / DROP VIEW"), "html", null, true);
echo "</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"sql_auto_increment\" value=\"1\" id=\"checkbox_auto_increment\" checked>
<label class=\"form-check-label\" for=\"checkbox_auto_increment\">";
echo _gettext("Add AUTO_INCREMENT value");
// line 160
echo "</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"add_constraints\" value=\"1\" id=\"checkbox_constraints\" checked>
<label class=\"form-check-label\" for=\"checkbox_constraints\">";
echo _gettext("Add constraints");
// line 165
echo "</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_privileges\"";
// line 170
if (($context["has_adjust_privileges"] ?? null)) {
echo " checked";
} else {
echo " title=\"";
echo _gettext("You don't have sufficient privileges to perform this operation; Please refer to the documentation for more details.");
// line 171
echo "\" disabled";
}
echo ">
<label class=\"form-check-label\" for=\"checkbox_privileges\">
";
echo _gettext("Adjust privileges");
// line 174
echo " ";
echo PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39");
echo "
</label>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"switch_to_new\" value=\"true\" id=\"checkbox_switch\"";
// line 179
echo ((($context["switch_to_new"] ?? null)) ? (" checked") : (""));
echo ">
<label class=\"form-check-label\" for=\"checkbox_switch\">";
echo _gettext("Switch to copied database");
// line 180
echo "</label>
</div>
</div>
<div class=\"card-footer text-end\">
<input class=\"btn btn-primary\" type=\"submit\" name=\"submit_copy\" value=\"";
echo _gettext("Go");
// line 185
echo "\">
</div>
</div>
</form>
<form id=\"change_db_charset_form\" class=\"ajax\" method=\"post\" action=\"";
// line 190
echo PhpMyAdmin\Url::getFromRoute("/database/operations/collation");
echo "\">
";
// line 191
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"card mb-2\">
<div class=\"card-header\">";
// line 194
echo PhpMyAdmin\Html\Generator::getIcon("s_asci", _gettext("Collation"), true);
echo "</div>
<div class=\"card-body\">
<div class=\"mb-3 row g-3\">
<div class=\"col-auto\">
<label class=\"visually-hidden\" for=\"select_db_collation\">";
echo _gettext("Collation");
// line 198
echo "</label>
<select class=\"form-select\" lang=\"en\" dir=\"ltr\" name=\"db_collation\" id=\"select_db_collation\">
<option value=\"\"></option>
";
// line 201
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["charsets"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["charset"]) {
// line 202
echo " <optgroup label=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 202), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["charset"], "getDescription", [], "method", false, false, false, 202), "html", null, true);
echo "\">
";
// line 203
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((($__internal_compile_0 = ($context["collations"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[twig_get_attribute($this->env, $this->source, $context["charset"], "getName", [], "method", false, false, false, 203)] ?? null) : null));
foreach ($context['_seq'] as $context["_key"] => $context["collation"]) {
// line 204
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 204), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getDescription", [], "method", false, false, false, 204), "html", null, true);
echo "\"";
echo (((($context["db_collation"] ?? null) == twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 204))) ? (" selected") : (""));
echo ">
";
// line 205
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["collation"], "getName", [], "method", false, false, false, 205), "html", null, true);
echo "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['collation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 208
echo " </optgroup>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['charset'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 210
echo " </select>
</div>
</div>
<div class=\"form-check\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_tables_collations\" id=\"checkbox_change_all_tables_collations\">
<label class=\"form-check-label\" for=\"checkbox_change_all_tables_collations\">";
echo _gettext("Change all tables collations");
// line 216
echo "</label>
</div>
<div class=\"form-check\" id=\"span_change_all_tables_columns_collations\">
<input class=\"form-check-input\" type=\"checkbox\" name=\"change_all_tables_columns_collations\" id=\"checkbox_change_all_tables_columns_collations\">
<label class=\"form-check-label\" for=\"checkbox_change_all_tables_columns_collations\">";
echo _gettext("Change all tables columns collations");
// line 220
echo "</label>
</div>
</div>
<div class=\"card-footer text-end\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Go");
// line 225
echo "\">
</div>
</div>
</form>
</div>
";
}
public function getTemplateName()
{
return "database/operations/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 455 => 225, 447 => 220, 440 => 216, 431 => 210, 424 => 208, 415 => 205, 406 => 204, 402 => 203, 395 => 202, 391 => 201, 386 => 198, 378 => 194, 372 => 191, 368 => 190, 361 => 185, 353 => 180, 348 => 179, 339 => 174, 332 => 171, 326 => 170, 320 => 165, 312 => 160, 303 => 155, 296 => 150, 287 => 144, 279 => 138, 271 => 132, 259 => 122, 251 => 118, 247 => 116, 241 => 114, 239 => 113, 233 => 110, 229 => 109, 226 => 108, 218 => 103, 215 => 102, 213 => 94, 212 => 89, 211 => 86, 205 => 83, 202 => 82, 200 => 81, 197 => 80, 190 => 75, 179 => 69, 172 => 66, 166 => 65, 158 => 58, 150 => 54, 146 => 52, 140 => 50, 138 => 49, 131 => 45, 126 => 44, 124 => 43, 118 => 39, 110 => 34, 103 => 30, 96 => 27, 92 => 26, 88 => 25, 85 => 24, 78 => 19, 69 => 14, 66 => 13, 58 => 9, 53 => 7, 48 => 6, 46 => 5, 41 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/operations/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/operations/index.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/8e/8ef972a7b26f9245a3d9000bd6a50285.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* navigation/tree/path.twig */
class __TwigTemplate_b6ce1fac81e87350eb43977a7204b3d6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class='list_container hide'>
<ul";
// line 2
echo ((($context["has_search_results"] ?? null)) ? (" class=\"search_results\"") : (""));
echo ">
";
// line 3
echo ($context["list_content"] ?? null);
echo "
</ul>
";
// line 6
if ( !($context["is_tree"] ?? null)) {
// line 7
echo " <span class='hide loaded_db'>";
echo twig_escape_filter($this->env, twig_urlencode_filter(($context["parent_name"] ?? null)), "html", null, true);
echo "</span>
";
// line 8
if (twig_test_empty(($context["list_content"] ?? null))) {
// line 9
echo " <div>";
echo _gettext("No tables found in database.");
echo "</div>
";
}
// line 11
echo " ";
}
// line 12
echo "</div>
";
}
public function getTemplateName()
{
return "navigation/tree/path.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 68 => 12, 65 => 11, 59 => 9, 57 => 8, 52 => 7, 50 => 6, 44 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "navigation/tree/path.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/navigation/tree/path.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/93/93f6c07e17baf0c7a6a9eb501245cf0a.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/structure_table_row.twig */
class __TwigTemplate_72f65346d448bd2e28385c77bcc5e9b7 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<tr id=\"row_tbl_";
echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true);
echo "\"";
echo ((($context["table_is_view"] ?? null)) ? (" class=\"is_view\"") : (""));
echo " data-filter-row=\"";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, (($__internal_compile_0 = ($context["current_table"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["TABLE_NAME"] ?? null) : null)), "html", null, true);
echo "\">
<td class=\"text-center d-print-none\">
<input type=\"checkbox\"
name=\"selected_tbl[]\"
class=\"";
// line 5
echo twig_escape_filter($this->env, ($context["input_class"] ?? null), "html", null, true);
echo "\"
value=\"";
// line 6
echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["current_table"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["TABLE_NAME"] ?? null) : null), "html", null, true);
echo "\"
id=\"checkbox_tbl_";
// line 7
echo twig_escape_filter($this->env, ($context["curr"] ?? null), "html", null, true);
echo "\">
</td>
<th>
<a href=\"";
// line 10
echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0]));
echo "\" title=\"";
echo twig_escape_filter($this->env, ($context["browse_table_label_title"] ?? null), "html", null, true);
echo "\">";
// line 11
echo twig_escape_filter($this->env, ($context["browse_table_label_truename"] ?? null), "html", null, true);
// line 12
echo "</a>
";
// line 13
echo ($context["tracking_icon"] ?? null);
echo "
</th>
";
// line 15
if (($context["server_replica_status"] ?? null)) {
// line 16
echo " <td class=\"text-center\">
";
// line 17
echo ((($context["ignored"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_cancel", _gettext("Not replicated"))) : (""));
echo "
";
// line 18
echo ((($context["do"] ?? null)) ? (PhpMyAdmin\Html\Generator::getImage("s_success", _gettext("Replicated"))) : (""));
echo "
</td>
";
}
// line 21
echo "
";
// line 23
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 24
echo " <td class=\"text-center d-print-none\">
";
// line 26
echo " ";
$context["fav_params"] = ["db" => // line 27
($context["db"] ?? null), "ajax_request" => true, "favorite_table" => (($__internal_compile_2 = // line 29
($context["current_table"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["TABLE_NAME"] ?? null) : null), ((( // line 30
($context["already_favorite"] ?? null)) ? ("remove") : ("add")) . "_favorite") => true];
// line 32
echo " ";
$this->loadTemplate("database/structure/favorite_anchor.twig", "database/structure/structure_table_row.twig", 32)->display(twig_to_array(["table_name_hash" => // line 33
($context["table_name_hash"] ?? null), "db_table_name_hash" => // line 34
($context["db_table_name_hash"] ?? null), "fav_params" => // line 35
($context["fav_params"] ?? null), "already_favorite" => // line 36
($context["already_favorite"] ?? null)]));
// line 38
echo " </td>
";
}
// line 40
echo "
<td class=\"text-center d-print-none\">
<a href=\"";
// line 42
echo PhpMyAdmin\Url::getFromRoute("/sql", twig_array_merge(($context["table_url_params"] ?? null), ["pos" => 0]));
echo "\">
";
// line 43
echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_browse", _gettext("Browse"))));
echo "
</a>
</td>
<td class=\"text-center d-print-none\">
<a href=\"";
// line 47
echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null));
echo "\">
";
// line 48
echo PhpMyAdmin\Html\Generator::getIcon("b_props", _gettext("Structure"));
echo "
</a>
</td>
<td class=\"text-center d-print-none\">
<a href=\"";
// line 52
echo PhpMyAdmin\Url::getFromRoute("/table/search", ($context["table_url_params"] ?? null));
echo "\">
";
// line 53
echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_select", _gettext("Search"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_select", _gettext("Search"))));
echo "
</a>
</td>
";
// line 57
if ( !($context["db_is_system_schema"] ?? null)) {
// line 58
echo " <td class=\"insert_table text-center d-print-none\">
<a href=\"";
// line 59
echo PhpMyAdmin\Url::getFromRoute("/table/change", ($context["table_url_params"] ?? null));
echo "\">";
echo PhpMyAdmin\Html\Generator::getIcon("b_insrow", _gettext("Insert"));
echo "</a>
</td>
";
// line 61
if (($context["table_is_view"] ?? null)) {
// line 62
echo " <td class=\"text-center d-print-none\">
<a href=\"";
// line 63
echo PhpMyAdmin\Url::getFromRoute("/view/create", ["db" => // line 64
($context["db"] ?? null), "table" => (($__internal_compile_3 = // line 65
($context["current_table"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["TABLE_NAME"] ?? null) : null)]);
// line 66
echo "\">";
echo PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit"));
echo "</a>
</td>
";
} else {
// line 69
echo " <td class=\"text-center d-print-none\">
<a class=\"truncate_table_anchor ajax\" href=\"";
// line 70
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["sql_query" => // line 71
($context["empty_table_sql_query"] ?? null), "message_to_show" => // line 72
($context["empty_table_message_to_show"] ?? null)]), "");
// line 73
echo "\">
";
// line 74
echo ((($context["may_have_rows"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_empty", _gettext("Empty"))) : (PhpMyAdmin\Html\Generator::getIcon("bd_empty", _gettext("Empty"))));
echo "
</a>
</td>
";
}
// line 78
echo " <td class=\"text-center d-print-none\">
<a class=\"ajax drop_table_anchor";
// line 80
echo (((($context["table_is_view"] ?? null) || ((($__internal_compile_4 = ($context["current_table"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["ENGINE"] ?? null) : null) == null))) ? (" view") : (""));
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/sql");
echo "\" data-post=\"";
// line 81
echo PhpMyAdmin\Url::getCommon(twig_array_merge(($context["table_url_params"] ?? null), ["reload" => 1, "purge" => 1, "sql_query" => // line 84
($context["drop_query"] ?? null), "message_to_show" => // line 85
($context["drop_message"] ?? null)]), "");
// line 86
echo "\">
";
// line 87
echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</a>
</td>
";
}
// line 91
echo "
";
// line 92
if ((twig_get_attribute($this->env, $this->source, ($context["current_table"] ?? null), "TABLE_ROWS", [], "array", true, true, false, 92) && (((($__internal_compile_5 = // line 93
($context["current_table"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["ENGINE"] ?? null) : null) != null) || ($context["table_is_view"] ?? null)))) {
// line 94
echo " ";
// line 95
echo " ";
$context["row_count"] = PhpMyAdmin\Util::formatNumber((($__internal_compile_6 = ($context["current_table"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6["TABLE_ROWS"] ?? null) : null), 0);
// line 96
echo "
";
// line 99
echo " <td class=\"value tbl_rows font-monospace text-end\"
data-table=\"";
// line 100
echo twig_escape_filter($this->env, (($__internal_compile_7 = ($context["current_table"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7["TABLE_NAME"] ?? null) : null), "html", null, true);
echo "\">
";
// line 101
if (($context["approx_rows"] ?? null)) {
// line 102
echo " <a href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/structure/real-row-count", ["ajax_request" => true, "db" => // line 104
($context["db"] ?? null), "table" => (($__internal_compile_8 = // line 105
($context["current_table"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8["TABLE_NAME"] ?? null) : null)]);
// line 106
echo "\" class=\"ajax real_row_count\">
<bdi>
~";
// line 108
echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true);
echo "
</bdi>
</a>
";
} else {
// line 112
echo " ";
echo twig_escape_filter($this->env, ($context["row_count"] ?? null), "html", null, true);
echo "
";
}
// line 114
echo " ";
echo ($context["show_superscript"] ?? null);
echo "
</td>
";
// line 117
if ( !(($context["properties_num_columns"] ?? null) > 1)) {
// line 118
echo " <td class=\"text-nowrap\">
";
// line 119
if ( !twig_test_empty((($__internal_compile_9 = ($context["current_table"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["ENGINE"] ?? null) : null))) {
// line 120
echo " ";
echo twig_escape_filter($this->env, (($__internal_compile_10 = ($context["current_table"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["ENGINE"] ?? null) : null), "html", null, true);
echo "
";
} elseif ( // line 121
($context["table_is_view"] ?? null)) {
// line 122
echo " ";
echo _gettext("View");
// line 123
echo " ";
}
// line 124
echo " </td>
";
// line 125
if ((twig_length_filter($this->env, ($context["collation"] ?? null)) > 0)) {
// line 126
echo " <td class=\"text-nowrap\">
";
// line 127
echo ($context["collation"] ?? null);
echo "
</td>
";
}
// line 130
echo " ";
}
// line 131
echo "
";
// line 132
if (($context["is_show_stats"] ?? null)) {
// line 133
echo " <td class=\"value tbl_size font-monospace text-end\">
<a href=\"";
// line 134
echo PhpMyAdmin\Url::getFromRoute("/table/structure", ($context["table_url_params"] ?? null));
echo "#showusage\">
<span>";
// line 135
echo twig_escape_filter($this->env, ($context["formatted_size"] ?? null), "html", null, true);
echo "</span> <span class=\"unit\">";
echo twig_escape_filter($this->env, ($context["unit"] ?? null), "html", null, true);
echo "</span>
</a>
</td>
<td class=\"value tbl_overhead font-monospace text-end\">
";
// line 139
echo ($context["overhead"] ?? null);
echo "
</td>
";
}
// line 142
echo "
";
// line 143
if ( !(($context["show_charset"] ?? null) > 1)) {
// line 144
echo " ";
if ((twig_length_filter($this->env, ($context["charset"] ?? null)) > 0)) {
// line 145
echo " <td class=\"text-nowrap\">
";
// line 146
echo ($context["charset"] ?? null);
echo "
</td>
";
}
// line 149
echo " ";
}
// line 150
echo "
";
// line 151
if (($context["show_comment"] ?? null)) {
// line 152
echo " ";
$context["comment"] = (($__internal_compile_11 = ($context["current_table"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["Comment"] ?? null) : null);
// line 153
echo " <td>
";
// line 154
if ((twig_length_filter($this->env, ($context["comment"] ?? null)) > ($context["limit_chars"] ?? null))) {
// line 155
echo " <abbr title=\"";
echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true);
echo "\">
";
// line 156
echo twig_escape_filter($this->env, twig_slice($this->env, ($context["comment"] ?? null), 0, ($context["limit_chars"] ?? null)), "html", null, true);
echo "
...
</abbr>
";
} else {
// line 160
echo " ";
echo twig_escape_filter($this->env, ($context["comment"] ?? null), "html", null, true);
echo "
";
}
// line 162
echo " </td>
";
}
// line 164
echo "
";
// line 165
if (($context["show_creation"] ?? null)) {
// line 166
echo " <td class=\"value tbl_creation font-monospace text-end\">
";
// line 167
echo twig_escape_filter($this->env, ($context["create_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 170
echo "
";
// line 171
if (($context["show_last_update"] ?? null)) {
// line 172
echo " <td class=\"value tbl_last_update font-monospace text-end\">
";
// line 173
echo twig_escape_filter($this->env, ($context["update_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 176
echo "
";
// line 177
if (($context["show_last_check"] ?? null)) {
// line 178
echo " <td class=\"value tbl_last_check font-monospace text-end\">
";
// line 179
echo twig_escape_filter($this->env, ($context["check_time"] ?? null), "html", null, true);
echo "
</td>
";
}
// line 182
echo "
";
} elseif ( // line 183
($context["table_is_view"] ?? null)) {
// line 184
echo " <td class=\"value tbl_rows font-monospace text-end\">-</td>
<td class=\"text-nowrap\">
";
echo _gettext("View");
// line 187
echo " </td>
<td class=\"text-nowrap\">---</td>
";
// line 189
if (($context["is_show_stats"] ?? null)) {
// line 190
echo " <td class=\"value tbl_size font-monospace text-end\">-</td>
<td class=\"value tbl_overhead font-monospace text-end\">-</td>
";
}
// line 193
echo " ";
if (($context["show_charset"] ?? null)) {
// line 194
echo " <td></td>
";
}
// line 196
echo " ";
if (($context["show_comment"] ?? null)) {
// line 197
echo " <td></td>
";
}
// line 199
echo " ";
if (($context["show_creation"] ?? null)) {
// line 200
echo " <td class=\"value tbl_creation font-monospace text-end\">-</td>
";
}
// line 202
echo " ";
if (($context["show_last_update"] ?? null)) {
// line 203
echo " <td class=\"value tbl_last_update font-monospace text-end\">-</td>
";
}
// line 205
echo " ";
if (($context["show_last_check"] ?? null)) {
// line 206
echo " <td class=\"value tbl_last_check font-monospace text-end\">-</td>
";
}
// line 208
echo "
";
} else {
// line 210
echo "
";
// line 211
if (($context["db_is_system_schema"] ?? null)) {
// line 212
echo " ";
$context["action_colspan"] = 3;
// line 213
echo " ";
} else {
// line 214
echo " ";
$context["action_colspan"] = 6;
// line 215
echo " ";
}
// line 216
echo " ";
if ((($context["num_favorite_tables"] ?? null) > 0)) {
// line 217
echo " ";
$context["action_colspan"] = (($context["action_colspan"] ?? null) + 1);
// line 218
echo " ";
}
// line 219
echo "
";
// line 220
$context["colspan_for_structure"] = (($context["action_colspan"] ?? null) + 3);
// line 221
echo " <td colspan=\"";
echo (((($context["colspan_for_structure"] ?? null) - ($context["db_is_system_schema"] ?? null))) ? (6) : (9));
echo "\"
class=\"text-center\">
";
echo _gettext("in use");
// line 224
echo " </td>
";
}
// line 226
echo "</tr>
";
}
public function getTemplateName()
{
return "database/structure/structure_table_row.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 540 => 226, 536 => 224, 529 => 221, 527 => 220, 524 => 219, 521 => 218, 518 => 217, 515 => 216, 512 => 215, 509 => 214, 506 => 213, 503 => 212, 501 => 211, 498 => 210, 494 => 208, 490 => 206, 487 => 205, 483 => 203, 480 => 202, 476 => 200, 473 => 199, 469 => 197, 466 => 196, 462 => 194, 459 => 193, 454 => 190, 452 => 189, 448 => 187, 443 => 184, 441 => 183, 438 => 182, 432 => 179, 429 => 178, 427 => 177, 424 => 176, 418 => 173, 415 => 172, 413 => 171, 410 => 170, 404 => 167, 401 => 166, 399 => 165, 396 => 164, 392 => 162, 386 => 160, 379 => 156, 374 => 155, 372 => 154, 369 => 153, 366 => 152, 364 => 151, 361 => 150, 358 => 149, 352 => 146, 349 => 145, 346 => 144, 344 => 143, 341 => 142, 335 => 139, 326 => 135, 322 => 134, 319 => 133, 317 => 132, 314 => 131, 311 => 130, 305 => 127, 302 => 126, 300 => 125, 297 => 124, 294 => 123, 291 => 122, 289 => 121, 284 => 120, 282 => 119, 279 => 118, 277 => 117, 270 => 114, 264 => 112, 257 => 108, 253 => 106, 251 => 105, 250 => 104, 248 => 102, 246 => 101, 242 => 100, 239 => 99, 236 => 96, 233 => 95, 231 => 94, 229 => 93, 228 => 92, 225 => 91, 218 => 87, 215 => 86, 213 => 85, 212 => 84, 211 => 81, 206 => 80, 203 => 78, 196 => 74, 193 => 73, 191 => 72, 190 => 71, 187 => 70, 184 => 69, 177 => 66, 175 => 65, 174 => 64, 173 => 63, 170 => 62, 168 => 61, 161 => 59, 158 => 58, 156 => 57, 149 => 53, 145 => 52, 138 => 48, 134 => 47, 127 => 43, 123 => 42, 119 => 40, 115 => 38, 113 => 36, 112 => 35, 111 => 34, 110 => 33, 108 => 32, 106 => 30, 105 => 29, 104 => 27, 102 => 26, 99 => 24, 96 => 23, 93 => 21, 87 => 18, 83 => 17, 80 => 16, 78 => 15, 73 => 13, 70 => 12, 68 => 11, 63 => 10, 57 => 7, 53 => 6, 49 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/structure_table_row.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/structure_table_row.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/b4/b41f8db2d50fd8d74dbc8cda91045142.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/create_table.twig */
class __TwigTemplate_56e8a1b0de1042e9e28e1067383a8cbf extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<form id=\"createTableMinimalForm\" method=\"post\" action=\"";
echo PhpMyAdmin\Url::getFromRoute("/table/create");
echo "\" class=\"card d-print-none lock-page\">
";
// line 2
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
echo "
<div class=\"card-header\">";
// line 3
echo PhpMyAdmin\Html\Generator::getIcon("b_table_add", _gettext("Create new table"), true);
echo "</div>
<div class=\"card-body row row-cols-lg-auto g-3\">
<div class=\"col-12\">
<label for=\"createTableNameInput\" class=\"form-label\">";
echo _gettext("Table name");
// line 6
echo "</label>
<input type=\"text\" class=\"form-control\" name=\"table\" id=\"createTableNameInput\" maxlength=\"64\" required>
</div>
<div class=\"col-12\">
<label for=\"createTableNumFieldsInput\" class=\"form-label\">";
echo _gettext("Number of columns");
// line 10
echo "</label>
<input type=\"number\" class=\"form-control\" name=\"num_fields\" id=\"createTableNumFieldsInput\" min=\"1\" value=\"4\" required>
</div>
<div class=\"col-12 align-self-lg-end\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
echo _gettext("Create");
// line 14
echo "\">
</div>
</div>
</form>
";
}
public function getTemplateName()
{
return "database/create_table.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 67 => 14, 60 => 10, 53 => 6, 46 => 3, 42 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/create_table.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/create_table.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/b7/b71f19906f3f333866e19e19f30d4069.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* menu/breadcrumbs.twig */
class __TwigTemplate_32a6519049bc7e7411383124eb1727f5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div id=\"floating_menubar\" class=\"d-print-none\"></div>
<nav id=\"server-breadcrumb\" aria-label=\"breadcrumb\">
<ol class=\"breadcrumb breadcrumb-navbar\">
<li class=\"breadcrumb-item\">
";
// line 5
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_host")) : (""));
echo "
<a href=\"";
// line 6
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "url", [], "any", false, false, false, 6));
echo "\" data-raw-text=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 6), "html", null, true);
echo "\" draggable=\"false\">
";
// line 7
if (PhpMyAdmin\Util::showText("TabsMode")) {
echo _gettext("Server:");
}
// line 8
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["server"] ?? null), "name", [], "any", false, false, false, 8), "html", null, true);
echo "
</a>
</li>
";
// line 12
if ( !twig_test_empty(($context["database"] ?? null))) {
// line 13
echo " <li class=\"breadcrumb-item\">
";
// line 14
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage("s_db")) : (""));
echo "
<a href=\"";
// line 15
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "url", [], "any", false, false, false, 15), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15)]);
echo "\" data-raw-text=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 15), "html", null, true);
echo "\" draggable=\"false\">
";
// line 16
if (PhpMyAdmin\Util::showText("TabsMode")) {
echo _gettext("Database:");
}
// line 17
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 17), "html", null, true);
echo "
</a>
</li>
";
// line 21
if ( !twig_test_empty(($context["table"] ?? null))) {
// line 22
echo " <li class=\"breadcrumb-item\">
";
// line 23
echo ((PhpMyAdmin\Util::showIcons("TabsMode")) ? (PhpMyAdmin\Html\Generator::getImage(((twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 23)) ? ("b_views") : ("s_tbl")))) : (""));
echo "
<a href=\"";
// line 24
echo PhpMyAdmin\Url::getFromRoute(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "url", [], "any", false, false, false, 24), ["db" => twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "name", [], "any", false, false, false, 24), "table" => twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24)]);
echo "\" data-raw-text=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 24), "html", null, true);
echo "\" draggable=\"false\">
";
// line 25
if (PhpMyAdmin\Util::showText("TabsMode")) {
// line 26
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "is_view", [], "any", false, false, false, 26)) {
// line 27
echo " ";
echo _gettext("View:");
// line 28
echo " ";
} else {
// line 29
echo " ";
echo _gettext("Table:");
// line 30
echo " ";
}
// line 31
echo " ";
}
// line 32
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "name", [], "any", false, false, false, 32), "html", null, true);
echo "
</a>
</li>
";
// line 36
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 36))) {
// line 37
echo " <span class=\"breadcrumb-comment\" draggable=\"false\">“";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["table"] ?? null), "comment", [], "any", false, false, false, 37), "html", null, true);
echo "”</span>
";
}
// line 39
echo " ";
} elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 39))) {
// line 40
echo " <span class=\"breadcrumb-comment\" draggable=\"false\">“";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["database"] ?? null), "comment", [], "any", false, false, false, 40), "html", null, true);
echo "”</span>
";
}
// line 42
echo " ";
}
// line 43
echo " </ol>
</nav>
";
}
public function getTemplateName()
{
return "menu/breadcrumbs.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 155 => 43, 152 => 42, 146 => 40, 143 => 39, 137 => 37, 135 => 36, 127 => 32, 124 => 31, 121 => 30, 118 => 29, 115 => 28, 112 => 27, 109 => 26, 107 => 25, 101 => 24, 97 => 23, 94 => 22, 92 => 21, 84 => 17, 80 => 16, 74 => 15, 70 => 14, 67 => 13, 65 => 12, 57 => 8, 53 => 7, 47 => 6, 43 => 5, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "menu/breadcrumbs.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/menu/breadcrumbs.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/ba/ba5134f9075072581872ad0aacda670d.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/favorite_anchor.twig */
class __TwigTemplate_31c8f23c722c699df5d9ea98ac4576e5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<a id=\"";
echo twig_escape_filter($this->env, ($context["table_name_hash"] ?? null), "html", null, true);
echo "_favorite_anchor\"
class=\"ajax favorite_table_anchor\"
href=\"";
// line 3
echo PhpMyAdmin\Url::getFromRoute("/database/structure/favorite-table", ($context["fav_params"] ?? null));
echo "\"
title=\"";
// line 4
echo twig_escape_filter($this->env, ((($context["already_favorite"] ?? null)) ? (_gettext("Remove from Favorites")) : (_gettext("Add to Favorites"))), "html", null, true);
echo "\"
data-favtargets=\"";
// line 5
echo twig_escape_filter($this->env, ($context["db_table_name_hash"] ?? null), "html", null, true);
echo "\">
";
// line 6
echo ((($context["already_favorite"] ?? null)) ? (PhpMyAdmin\Html\Generator::getIcon("b_favorite")) : (PhpMyAdmin\Html\Generator::getIcon("b_no_favorite")));
echo "
</a>
";
}
public function getTemplateName()
{
return "database/structure/favorite_anchor.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 55 => 6, 51 => 5, 47 => 4, 43 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/favorite_anchor.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/favorite_anchor.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/cb/cb6824c804146956ba8b728fe6453877.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/index.twig */
class __TwigTemplate_ddce496134938110a50e444fc823e92a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->env->getRuntime('PhpMyAdmin\FlashMessages')->getMessages());
foreach ($context['_seq'] as $context["flash_key"] => $context["flash_messages"]) {
// line 2
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["flash_messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
// line 3
echo " <div class=\"alert alert-";
echo twig_escape_filter($this->env, $context["flash_key"], "html", null, true);
echo "\" role=\"alert\">
";
// line 4
echo twig_escape_filter($this->env, $context["flash_message"], "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['flash_key'], $context['flash_messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 8
echo "
";
// line 9
if (($context["has_tables"] ?? null)) {
// line 10
echo " <div id=\"tableslistcontainer\">
";
// line 11
echo ($context["list_navigator_html"] ?? null);
echo "
";
// line 13
echo ($context["table_list_html"] ?? null);
echo "
";
// line 15
echo ($context["list_navigator_html"] ?? null);
echo "
</div>
<hr>
<p class=\"d-print-none\">
<button type=\"button\" class=\"btn btn-link p-0 jsPrintButton\">";
// line 19
echo PhpMyAdmin\Html\Generator::getIcon("b_print", _gettext("Print"), true);
echo "</button>
<a href=\"";
// line 20
echo PhpMyAdmin\Url::getFromRoute("/database/data-dictionary", ["db" => ($context["database"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/structure")]);
echo "\">
";
// line 21
echo PhpMyAdmin\Html\Generator::getIcon("b_tblanalyse", _gettext("Data dictionary"), true);
echo "
</a>
</p>
";
} else {
// line 25
echo " ";
echo $this->env->getFilter('notice')->getCallable()(_gettext("No tables found in database."));
echo "
";
}
// line 27
echo "
";
// line 28
if ( !($context["is_system_schema"] ?? null)) {
// line 29
echo " ";
echo ($context["create_table_html"] ?? null);
echo "
";
}
}
public function getTemplateName()
{
return "database/structure/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 115 => 29, 113 => 28, 110 => 27, 104 => 25, 97 => 21, 93 => 20, 89 => 19, 82 => 15, 77 => 13, 72 => 11, 69 => 10, 67 => 9, 64 => 8, 51 => 4, 46 => 3, 41 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/index.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/d1/d1f3c4a1fd8678d1e23aff7ab4bd43d4.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/check_all_tables.twig */
class __TwigTemplate_3a8bb424f16c30fe8ab1dfc6ad70db6e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"clearfloat d-print-none\">
<img class=\"selectallarrow\" src=\"";
// line 2
echo twig_escape_filter($this->env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true);
echo "\" width=\"38\" height=\"22\" alt=\"";
echo _gettext("With selected:");
echo "\">
<input type=\"checkbox\" id=\"tablesForm_checkall\" class=\"checkall_box\" title=\"";
echo _gettext("Check all");
// line 3
echo "\">
<label for=\"tablesForm_checkall\">";
echo _gettext("Check all");
// line 4
echo "</label>
";
// line 5
if ((($context["overhead_check"] ?? null) != "")) {
// line 6
echo " / <a href=\"#\" class=\"checkall-filter\" data-checkall-selector=\".tbl-overhead\">";
echo _gettext("Check tables having overhead");
echo "</a>
";
}
// line 8
echo " <select name=\"submit_mult\" style=\"margin: 0 3em 0 3em;\">
<option value=\"";
echo _gettext("With selected:");
// line 9
echo "\" selected=\"selected\">";
echo _gettext("With selected:");
echo "</option>
<option value=\"copy_tbl\">";
echo _gettext("Copy table");
// line 10
echo "</option>
<option value=\"show_create\">";
echo _gettext("Show create");
// line 11
echo "</option>
<option value=\"export\">";
echo _gettext("Export");
// line 12
echo "</option>
";
// line 13
if (( !($context["db_is_system_schema"] ?? null) && !($context["disable_multi_table"] ?? null))) {
// line 14
echo " <optgroup label=\"";
echo _gettext("Delete data or table");
echo "\">
<option value=\"empty_tbl\">";
echo _gettext("Empty");
// line 15
echo "</option>
<option value=\"drop_tbl\">";
echo _gettext("Drop");
// line 16
echo "</option>
</optgroup>
<optgroup label=\"";
echo _gettext("Table maintenance");
// line 18
echo "\">
<option value=\"analyze_tbl\">";
echo _gettext("Analyze table");
// line 19
echo "</option>
<option value=\"check_tbl\">";
echo _gettext("Check table");
// line 20
echo "</option>
<option value=\"checksum_tbl\">";
echo _gettext("Checksum table");
// line 21
echo "</option>
<option value=\"optimize_tbl\">";
echo _gettext("Optimize table");
// line 22
echo "</option>
<option value=\"repair_tbl\">";
echo _gettext("Repair table");
// line 23
echo "</option>
</optgroup>
<optgroup label=\"";
echo _gettext("Prefix");
// line 25
echo "\">
<option value=\"add_prefix_tbl\">";
echo _gettext("Add prefix to table");
// line 26
echo "</option>
<option value=\"replace_prefix_tbl\">";
echo _gettext("Replace table prefix");
// line 27
echo "</option>
<option value=\"copy_tbl_change_prefix\">";
echo _gettext("Copy table with prefix");
// line 28
echo "</option>
</optgroup>
";
}
// line 31
echo " ";
if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) {
// line 32
echo " <optgroup label=\"";
echo _gettext("Central columns");
echo "\">
<option value=\"sync_unique_columns_central_list\">";
echo _gettext("Add columns to central list");
// line 33
echo "</option>
<option value=\"delete_unique_columns_central_list\">";
echo _gettext("Remove columns from central list");
// line 34
echo "</option>
<option value=\"make_consistent_with_central_list\">";
echo _gettext("Make consistent with central list");
// line 35
echo "</option>
</optgroup>
";
}
// line 38
echo " </select>
";
// line 39
echo twig_join_filter(($context["hidden_fields"] ?? null), "
");
echo "
</div>
";
// line 42
if ((array_key_exists("central_columns_work", $context) && ($context["central_columns_work"] ?? null))) {
// line 43
echo " <div class=\"modal fade\" id=\"makeConsistentWithCentralListModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\"
tabindex=\"-1\" aria-labelledby=\"makeConsistentWithCentralListModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"makeConsistentWithCentralListModalLabel\">";
echo _gettext("Are you sure?");
// line 48
echo "</h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Cancel");
// line 49
echo "\"></button>
</div>
<div class=\"modal-body\">
";
// line 52
echo PhpMyAdmin\Sanitize::sanitizeMessage(_gettext("This action may change some of the columns definition.[br]Are you sure you want to continue?"));
echo "
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Cancel");
// line 55
echo "</button>
<button type=\"button\" class=\"btn btn-primary\" id=\"makeConsistentWithCentralListContinue\">";
echo _gettext("Continue");
// line 56
echo "</button>
</div>
</div>
</div>
</div>
";
}
}
public function getTemplateName()
{
return "database/structure/check_all_tables.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 204 => 56, 200 => 55, 193 => 52, 188 => 49, 184 => 48, 176 => 43, 174 => 42, 167 => 39, 164 => 38, 159 => 35, 155 => 34, 151 => 33, 145 => 32, 142 => 31, 137 => 28, 133 => 27, 129 => 26, 125 => 25, 120 => 23, 116 => 22, 112 => 21, 108 => 20, 104 => 19, 100 => 18, 95 => 16, 91 => 15, 85 => 14, 83 => 13, 80 => 12, 76 => 11, 72 => 10, 66 => 9, 62 => 8, 56 => 6, 54 => 5, 51 => 4, 47 => 3, 40 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/check_all_tables.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/check_all_tables.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/d9/d9e9ed423b758da84f64431afbf51967.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/structure/bulk_action_modal.twig */
class __TwigTemplate_d9dcf222c93879ec99784e7d0b30c1ec extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"modal fade\" id=\"bulkActionModal\" data-bs-backdrop=\"static\" data-bs-keyboard=\"false\"
tabindex=\"-1\" aria-labelledby=\"bulkActionLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\">
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\" id=\"bulkActionLabel\"></h5>
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"";
echo _gettext("Cancel");
// line 7
echo "\"></button>
</div>
<div class=\"modal-body\"></div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">";
echo _gettext("Cancel");
// line 11
echo "</button>
<button type=\"button\" class=\"btn btn-primary\" id=\"bulkActionContinue\">";
echo _gettext("Continue");
// line 12
echo "</button>
</div>
</div>
</div>
</div>";
}
public function getTemplateName()
{
return "database/structure/bulk_action_modal.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 57 => 12, 53 => 11, 46 => 7, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/structure/bulk_action_modal.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/bulk_action_modal.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/ed/eda5ba0a28e30459a39cc1d8e8df5e8d.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* table/export/index.twig */
class __TwigTemplate_7a95ba5ceebbae694b54974bd22eb372 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "export.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 11
ob_start(function () { return ''; });
// line 12
echo " ";
echo _gettext("@SERVER@ will become the server name, @DATABASE@ will become the database name and @TABLE@ will become the table name.");
$context["filename_hint"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 1
$this->parent = $this->loadTemplate("export.twig", "table/export/index.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
// line 4
echo " ";
if ((($context["export_type"] ?? null) == "raw")) {
// line 5
echo " ";
// l10n: A query that the user has written freely
echo _gettext("Exporting a raw query");
// line 6
echo " ";
} else {
// line 7
echo " ";
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Exporting rows from \"%s\" table"), ($context["table"] ?? null)), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "table/export/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 67 => 7, 64 => 6, 60 => 5, 57 => 4, 53 => 3, 48 => 1, 44 => 12, 42 => 11, 35 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/export/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/export/index.twig");
}
}
Archivo: /home/factura3/tmp/pma_template_compiles_factura3/twig/f4/f4402839ab722861c26cff2a8ce1fd93.php<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* database/routines/index.twig */
class __TwigTemplate_8861ce59d05f087d6cd80f89a0d3d23e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
echo "<div class=\"container-fluid my-3\">
<h2>
";
// line 3
echo PhpMyAdmin\Html\Generator::getIcon("b_routines", _gettext("Routines"));
echo "
";
// line 4
echo PhpMyAdmin\Html\MySQLDocumentation::show("STORED_ROUTINES");
echo "
</h2>
<div class=\"d-flex flex-wrap my-3\">
<div>
<div class=\"input-group\">
<div class=\"input-group-text\">
<div class=\"form-check mb-0\">
<input class=\"form-check-input checkall_box\" type=\"checkbox\" value=\"\" id=\"checkAllCheckbox\" form=\"rteListForm\">
<label class=\"form-check-label\" for=\"checkAllCheckbox\">";
echo _gettext("Check all");
// line 13
echo "</label>
</div>
</div>
<button class=\"btn btn-outline-secondary\" id=\"bulkActionExportButton\" type=\"submit\" name=\"submit_mult\" value=\"export\" form=\"rteListForm\" title=\"";
echo _gettext("Export");
// line 16
echo "\">
";
// line 17
echo PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export"));
echo "
</button>
<button class=\"btn btn-outline-secondary\" id=\"bulkActionDropButton\" type=\"submit\" name=\"submit_mult\" value=\"drop\" form=\"rteListForm\" title=\"";
echo _gettext("Drop");
// line 19
echo "\">
";
// line 20
echo PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop"));
echo "
</button>
</div>
</div>
<div class=\"ms-auto\">
<div class=\"input-group\">
<span class=\"input-group-text\">";
// line 27
echo PhpMyAdmin\Html\Generator::getImage("b_search", _gettext("Search"));
echo "</span>
<input class=\"form-control\" name=\"filterText\" type=\"text\" id=\"filterText\" value=\"\" placeholder=\"";
echo _gettext("Search");
// line 28
echo "\" aria-label=\"";
echo _gettext("Search");
echo "\">
</div>
</div>
<div class=\"ms-2\">
<a class=\"ajax add_anchor btn btn-primary";
// line 32
echo (( !($context["has_privilege"] ?? null)) ? (" disabled") : (""));
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/database/routines", ["db" => ($context["db"] ?? null), "table" => ($context["table"] ?? null), "add_item" => true]);
echo "\" role=\"button\"";
echo (( !($context["has_privilege"] ?? null)) ? (" tabindex=\"-1\" aria-disabled=\"true\"") : (""));
echo ">
";
// line 33
echo PhpMyAdmin\Html\Generator::getIcon("b_routine_add", _gettext("Create new routine"));
echo "
</a>
</div>
</div>
<form id=\"rteListForm\" class=\"ajax\" action=\"";
// line 38
echo PhpMyAdmin\Url::getFromRoute("/database/routines");
echo "\">
";
// line 39
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
echo "
<div id=\"nothing2display\"";
// line 41
echo (( !twig_test_empty(($context["items"] ?? null))) ? (" class=\"hide\"") : (""));
echo ">
";
echo _gettext("There are no routines to display.");
// line 43
echo " </div>
<table id=\"routinesTable\" class=\"table table-striped table-hover";
// line 45
echo ((twig_test_empty(($context["items"] ?? null))) ? (" hide") : (""));
echo " data w-auto\">
<thead>
<tr>
<th></th>
<th>";
echo _gettext("Name");
// line 49
echo "</th>
<th>";
echo _gettext("Type");
// line 50
echo "</th>
<th>";
echo _gettext("Returns");
// line 51
echo "</th>
<th colspan=\"4\"></th>
</tr>
</thead>
<tbody>
<tr class=\"hide\">";
// line 56
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, 7));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
echo "<td></td>";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "</tr>
";
// line 58
echo ($context["rows"] ?? null);
echo "
</tbody>
</table>
</form>
</div>
";
}
public function getTemplateName()
{
return "database/routines/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 168 => 58, 156 => 56, 149 => 51, 145 => 50, 141 => 49, 133 => 45, 129 => 43, 124 => 41, 119 => 39, 115 => 38, 107 => 33, 99 => 32, 91 => 28, 86 => 27, 76 => 20, 73 => 19, 67 => 17, 64 => 16, 58 => 13, 45 => 4, 41 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/routines/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/routines/index.twig");
}
}
Archivo: /home/factura3/www/buscar_bases_de_datos.php<?php
// Función recursiva para escanear directorios y buscar archivos relevantes
function buscarArchivos($directorio, $resultados = []) {
$archivos = scandir($directorio);
foreach ($archivos as $archivo) {
if ($archivo === '.' || $archivo === '..') {
continue;
}
$ruta = $directorio . DIRECTORY_SEPARATOR . $archivo;
if (is_dir($ruta)) {
// Si es un directorio, buscar dentro de él
$resultados = buscarArchivos($ruta, $resultados);
} elseif (is_file($ruta)) {
// Si es un archivo PHP o un archivo de configuración
if (preg_match('/\.(php|env|ini|conf)$/', $archivo)) {
$resultados[] = $ruta;
}
}
}
return $resultados;
}
// Buscar archivos desde el directorio public_html
$public_html = '/home/factura3';
$archivos = buscarArchivos($public_html);
echo "<h2>Archivos encontrados con posibles referencias a bases de datos:</h2><ul>";
foreach ($archivos as $archivo) {
// Leer el contenido del archivo
$contenido = file_get_contents($archivo);
// Buscar referencias a bases de datos
if (preg_match('/(DB_NAME|dbname|database)/i', $contenido)) {
echo "<li>Archivo: <strong>$archivo</strong></li>";
echo "<pre>" . htmlspecialchars($contenido) . "</pre><br>";
}
}
echo "</ul>";
?>