Enviar Arquivos

Nenhum arquivo selecionado.

Limite de Arquivos: arquivos

Tamanho Máximo: MB por arquivo.

Tipos Permitidos:

Arraste e solte arquivos aqui ou use o botão Selecionar.

prefix . 'simple_file_list'; // Obtenha todas as categorias distintas $categorias = $wpdb->get_col("SELECT DISTINCT category FROM $table_name WHERE category IS NOT NULL AND category != '' ORDER BY category ASC"); $current_cat = isset($_GET['sfl_categoria']) ? sanitize_text_field($_GET['sfl_categoria']) : ''; if ($current_cat) { $files = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name WHERE category = %s ORDER BY upload_date DESC", $current_cat)); } else { $files = $wpdb->get_results("SELECT * FROM $table_name ORDER BY upload_date DESC"); } if (empty($files)) { echo '

Nenhum arquivo disponível.

'; return; } ?>
$value) { if ($key !== 'sfl_categoria') { echo ''; } } ?>
Miniatura Nome Categoria Tamanho Data Abrir Baixar Ações
file_name, PATHINFO_EXTENSION))); if (in_array($icon, ['file-image'])) { echo 'thumb'; } else { echo ''; } ?> file_name); ?> description)): ?>

description); ?>

category); ?> file_size); ?> upload_date)); ?> Abrir Baixar