头部文件引入
<title>{$cates.cate_name}-{$confs.name}</title>
<meta name="keywords" content="{$cates.keywords?$cates.keywords:$confs.keywords}"/>
<meta name="description" content="{$cates.desc?$cates.desc:$confs.desc}"/>
css js img 引入
<script type="text/javascript" src="__TEMPCSS__/js/timepeople.js"></script>
<link rel="stylesheet" href="font/iconfont.css" />
正文调用
<h2>{$cates.cate_name}</h2>
<div class="box"> <?php echo htmlspecialchars_decode($cates['content']);?></div>
频道页封面图调用
<img src="{if condition="$topCates['img'] eq ''"}https://www.hbsjsd.cn/public/static/index/uploads/img/20210224/408595d4245e5adbae5b6d0ff1282b9d.jpg{else/}{$topCates.img}{/if} " style="width: 100%; height:100%" alt="{$cates.cate_name}">
头部底部切割调用
{include file="../template/head.html"}
{include file="../template/footer.html" }