categories; // 定义需要特殊样式的分类slug或mid $special_categories = array('探店', '户外', '爸爸厨房'); // 判断是否包含特殊分类 $has_special_class = false; foreach ($categories as $category) { if (in_array($category['name'], $special_categories) || in_array($category['slug'], $special_categories) || in_array($category['mid'], $special_categories)) { $has_special_class = true; break; } } ?> need("header.php"); ?> need('assets/lantern.html'); ?>
need("component/menu.php"); ?>
need("component/post-title.php"); ?>
hasLogin()) { ?> content); ?> hasLogin()) { ?>
已进入私人领地,请登录再阅读
is('post')): ?> cid); ?>

往年今日 created); ?>

created); ?>
fetchAll($db->select('mid, COUNT(cid) AS count') ->from('table.relationships') ->group('mid')); $tagCountMap = array_column($tagCounts, 'count', 'mid'); ?> hasLogin()) { ?> tags): ?> tags as $tag): ?> []
authorId == $comments->ownerId) { ?> widget("Widget_Comments_Recent", [])->to($newComments); ?> have()): ?> next()): ?>
  • " target="_blank" class="line-clamp-2 text-sm dark:text-gray-400 jasmine-link-color-hover text-neutral-500"> <?php $comments->author; ?>
  • is('single')): ?> allow("comment")): ?>

    交流区

    hasLogin()) { ?>
    已开启深度、隐私交流模式,请登录后参与互动 已有 <commentsNum() ?>> 条评论
    user->hasLogin()): ?>
    <?php $this->user->screenName(); ?> user->screenName(); ?> 您已成功登录,祝阅读愉快
    need("comments.php"); ?>
    need("footer.php"); ?>