<?php if(!defined('IN_SDCMS')) exit;?>
<div class="piclist piclist-col-3 piclist-1-1 piclist-100">
	{sdcms:rs pagesize="$catepage" table="sd_content" join="$join" where="$where" order="ontop desc,ordnum desc,id desc"}
	{rs:eof}<div class="font-14">没有资料</div>{/rs:eof}
	<div class="piclist-item">
		<div class="piclist-image"><a href="{$rs[link]}" title="{$rs[title]}" target="_blank">{if $rs[ispic]==0}<svg width="100%" height="140" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Image cap"><rect width="100%" height="100%" fill="#fafafa" /><text x="50%" y="50%" fill="#666666" dy=".3em">暂无图片</text></svg>{else}<img src="{thumb($rs[pic],400,400)}" alt="{$rs[title]}" />{/if}</a></div>
		<div class="piclist-body">
			<div class="piclist-title text-center text-hide"><a href="{$rs[link]}" title="{$rs[title]}" target="_blank">{$rs[title]}</a></div>
		</div>
	</div>
	{/sdcms:rs}
</div>

{if $total_rs>0}<div class="page page-center page-mid mt-20"><ul>{$showpage}</ul></div>{/if}