{include file="header" /} {php} $currentPage = max(1, (int)request()->param('page/d', 1)); $featuredWhere = "FIND_IN_SET('1', flag)"; $newsWhere = "(flag='' OR flag IS NULL OR !FIND_IN_SET('1', flag))"; {/php} {$category['catname']|default=''} {if !empty($category['description'])} {$category['description']} {/if} {if $currentPage == 1} {yzn module="cms" action="lists" catid="$catid" where="$featuredWhere" order="listorder DESC,publish_time DESC,id DESC" num="1" return="featuredList" moreinfo="1"} {if !empty($featuredList)} {volist name="featuredList" id="featured"} {:getCategory($featured['catid'],'catname')} {$featured.title} {$featured.publish_time|date='Y-m-d'} {/volist} {/if} {/yzn} {/if} {yzn module="cms" action="lists" catid="$catid" where="$newsWhere" order="publish_time DESC,id DESC" num="9" page="$page" return="data" moreinfo="1"} {volist name="data" id="vo"} {:getCategory($vo['catid'],'catname')} {$vo.title} {$vo.publish_time|date='Y-m-d'} {/volist} {/yzn} {if !empty($pages)} {$pages|raw} {/if} {include file="footer-links" /} {include file="footer" /}
{$category['description']}