| Server IP : 104.21.84.107 / Your IP : 104.23.197.209 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/biblioteca/ |
Upload File : |
<?php
declare(strict_types=1);
$titulo = 'Recursos bibliográficos - Biblioteca Unillanos';
$recursos = require __DIR__ . '/data/recursos_digitales.php';
?>
<!doctype html>
<html lang="es">
<head>
<?php include __DIR__ . '/includes/head.php'; ?>
</head>
<body>
<?php include __DIR__ . '/includes/encabezado.php'; ?>
<main class="page-recursos">
<section class="container page-wrap">
<h1 class="page-title">Recursos Digitales</h1>
<div class="rd-controls">
<div class="rd-tabs" role="tablist" aria-label="Tipos de recursos">
<button class="rd-tab is-active" data-filter="all" aria-selected="true">Todos</button>
<button class="rd-tab" data-filter="base_datos" aria-selected="false">Bases de datos</button>
<button class="rd-tab" data-filter="plataforma_ebooks" aria-selected="false">Plataformas e-books</button>
<button class="rd-tab" data-filter="recurso_institucional" aria-selected="false">Recursos institucionales</button>
</div>
<label class="rd-search">
<input type="search" id="rdQuery" placeholder="Buscar por nombre o descripción..." aria-label="Buscar recursos" />
</label>
</div>
<section class="rd-grid" id="rdGrid" aria-label="Listado de recursos">
<?php foreach ($recursos as $recurso): ?>
<article class="rd-card" id="<?= htmlspecialchars((string) $recurso['id'], ENT_QUOTES, 'UTF-8') ?>" data-tipo="<?= htmlspecialchars((string) $recurso['tipo'], ENT_QUOTES, 'UTF-8') ?>">
<div class="rd-card-logo">
<img src="<?= htmlspecialchars((string) $recurso['logo'], ENT_QUOTES, 'UTF-8') ?>" alt="<?= htmlspecialchars((string) $recurso['logo_alt'], ENT_QUOTES, 'UTF-8') ?>" />
</div>
<div class="rd-card-body">
<h3 class="rd-card-title"><?= htmlspecialchars((string) $recurso['titulo'], ENT_QUOTES, 'UTF-8') ?></h3>
<p class="rd-card-desc"><?= htmlspecialchars((string) $recurso['descripcion'], ENT_QUOTES, 'UTF-8') ?></p>
</div>
<div class="rd-card-actions">
<a class="rd-btn" href="<?= htmlspecialchars((string) $recurso['url'], ENT_QUOTES, 'UTF-8') ?>" target="_blank" rel="noopener noreferrer">Abrir</a>
</div>
</article>
<?php endforeach; ?>
</section>
<p class="rd-note"><strong>Nota:</strong> Recursos disponibles 24/7 para consulta y descarga, dentro y fuera del campus.</p>
</section>
</main>
<?php include __DIR__ . '/includes/piepagina.php'; ?>
<script src="js/main.js" defer></script>
</body>
</html>