{* Template Name:默认列表页 * Template Type:list|author|category|date|tag *}
<!DOCTYPE html>
<html>
<head>
{template:seo}
<link rel="stylesheet" href="{$host}zb_users/theme/{$theme}/style/{$style}.css?v={$themeinfo['modified']}">
</head>
<body>
<!--头部-->
{template:header}
<!--列表-->
<div class="container list">
<!--面包屑导航-->
<div class="crumbs">当前位置:{template:crumbs}</div>
<!--列表信息-->
<div class="info">
分类名称:{$category.Name}
分类链接:{$category.Url}
分类摘要:{$category.Intro}
</div>
<!--列表详情-->
<div class="detail">
<!--常规样式-->
{foreach $articles as $article}
{php}
$titlepic = $article->Metas->titlepic ? $article->Metas->titlepic : $article->AllImages[0];
{/php}
文章标题:{$article.Title}
文章链接:{$article.Url}
文章摘要:{$article.Intro}
文章摘要:{SubStrUTF8(TransferHTML($article.Intro,"[nohtml]"),60)}
文章正文:{$article.Content}
文章图片:{$titlepic}
文章浏览数:{$article.ViewNums}
文章更新时间:{$article.Time("PostTime","Y-m-d H:i:s")}
分类名称:{$article.Category.Name}
分类链接:{$article.Category.Url}
{/foreach}
<!--置顶单独样式-->
{foreach $articles as $article}
{if $article.TopType}
{template:post-istop}
{else}
{template:post-multi}
{/if}
</div>
<!--分页-->
<div class="pagebar">{template:pagebar}</div>
</div>
<!--底部-->
{template:footer}
</body>
</html>