<?php if(!defined('IN_SDCMS')) exit;?>
<div class="piclist piclist-col-2 piclist-3-2 piclist-100 mt-10">
	{sdcms:rs pagesize="$catepage" num="3" table="sd_content" join="$join" where="$where" order="ontop desc,ordnum desc,id desc"}
	<div class="piclist-item">
		<div class="piclist-image"><a href="{$rs[link]}" title="{$rs[title]}">{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="{$rs[pic]}" 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]}">{$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}