= htmlspecialchars($page_title) ?>
פורסם ב־= date('d/m/Y H:i', strtotime($page['created_at'])) ?>
= $page['content'] /* full HTML from DB */ ?>
prepare(" SELECT title, content, created_at FROM static_pages WHERE slug = ? AND is_active = 1 LIMIT 1 "); $stmt->bind_param("s", $slug); $stmt->execute(); $page = $stmt->get_result()->fetch_assoc(); if (!$page) { header("HTTP/1.0 404 Not Found"); echo "
= htmlspecialchars($page_description) ?>