0) { $article = $db->fetch("SELECT a.*, c.channel_name FROM {$db->table('article')} a LEFT JOIN {$db->table('channel')} c ON a.channel_id=c.id WHERE a.id=? AND a.status=1", [$id]); } $pageTitle = htmlspecialchars($article['title'] ?? '文章详情'); $extraHead = ''; require_once __DIR__ . '/../_header.php'; ?>

发布时间:  | 浏览: