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