* Date: 2026-5-30 */ if (!defined('ROOT_PATH')) { exit('Access Denied'); } if (!isset($videoInfo) && isset($id) && $id > 0) { $videoInfo = $db->fetch("SELECT v.*, c.channel_name FROM {$db->table('video')} v LEFT JOIN {$db->table('channel')} c ON v.channel_id=c.id WHERE v.id=? AND v.status=1", [$id]); } $pageTitle = htmlspecialchars($videoInfo['title'] ?? '视频详情'); require_once __DIR__ . '/_header.php'; $detailChannelName = $videoInfo['channel_name'] ?? '视频'; $detailTitle = $videoInfo['title'] ?? ''; $detailBreadcrumb = '视频详情'; $detailDateRaw = $videoInfo['create_time'] ?? 0; $detailAuthorRaw = $videoInfo['author'] ?? ''; $detailHitsRaw = $videoInfo['hits'] ?? 0; $detailSummaryRaw = $videoInfo['description'] ?? ''; require __DIR__ . '/_detail_top.php'; ?>