* Date: 2026-5-20 */ if (!defined('ROOT_PATH')) { exit('Access Denied'); } require_once __DIR__ . '/_functions.php'; $row = !empty($row) ? $row : (!empty($id) ? $db->fetch("SELECT * FROM {$db->table('image')} WHERE id = ? AND status = 1 LIMIT 1", [intval($id)]) : null); if (empty($row)) { echo 'Image not found'; return; } $currentChannel = !empty($row['channel_id']) ? k607_channel_by_id($db, intval($row['channel_id'])) : null; $pageTitle = (string) ($row['title'] ?? '图集详情'); $heroImage = k607_channel_hero_image($currentChannel, !empty($row['litpic']) ? $row['litpic'] : (!empty($slides[0]['litpic']) ? $slides[0]['litpic'] : '')); $detailImage = ''; if (!empty($row['litpic'])) { $detailImage = (string) $row['litpic']; } elseif (!empty($row['content']) && preg_match('/]+src=["\\\']([^"\\\']+)["\\\']/i', (string) $row['content'], $matches)) { $detailImage = (string) $matches[1]; } require_once __DIR__ . '/_header.php'; ?>
GALLERY

当前位置:首页 / /

发布时间:
<?php echo htmlspecialchars($pageTitle); ?>