Initiales CMS: Deutschsprachiges Blog-System mit Admin-Bereich
Vollständiges, schlankes PHP/SQLite-CMS für IT-, KI- und Gaming-Inhalte: - Core: DB-Singleton, Auth mit Passwort-Hashing, Session-Cookies, CSRF-Schutz, Login-Rate-Limit, Bild-Upload mit serverseitiger Validierung - Admin: Dashboard, Artikel/Seiten-Verwaltung mit Quill WYSIWYG-Editor, Kategorien, Navigation (Drag & Drop), Medienbibliothek, Profil - Frontend: Responsive Dark-Theme, Artikel-Grid, Kategorie-Filter, Archiv, Paginierung, SEO-Meta-Tags - Sicherheit: Prepared Statements, HTML-Sanitizer, .htaccess-Schutz für sensible Verzeichnisse, PHP-Ausführungsschutz im Upload-Ordner - Installation: install.php erstellt DB-Schema und Admin-Account https://claude.ai/code/session_01Xsg4j2t4S9goMuWVpF3ezG
This commit is contained in:
18
templates/category.php
Normal file
18
templates/category.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<header class="page-header">
|
||||
<h1>Kategorie: <?= e($category['name']) ?></h1>
|
||||
<?php if ($category['description']): ?>
|
||||
<p class="page-description"><?= e($category['description']) ?></p>
|
||||
<?php endif; ?>
|
||||
</header>
|
||||
|
||||
<?php if (empty($articles)): ?>
|
||||
<p class="empty-state">Keine Artikel in dieser Kategorie.</p>
|
||||
<?php else: ?>
|
||||
<div class="article-grid">
|
||||
<?php foreach ($articles as $article): ?>
|
||||
<?php include __DIR__ . '/_article-card.php'; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
||||
<?php include __DIR__ . '/_pagination.php'; ?>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user