<?php if(!defined('IN_SDCMS')) exit;?>
<ul class="media-list mt-20">
	{sdcms:rs pagesize="$catepage" num="3" table="sd_content" join="$join" where="$where" order="ontop desc,ordnum desc,id desc"}
	{rs:eof}没有资料{/rs:eof}
	<li class="media">
		<div class="media-img mr-20">
			<a href="{$rs[link]}" title="{$rs[title]}">{if $rs[ispic]==0}<svg width="100" height="90" 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]}" width="100" />{/if}</a>
		</div>
		<div class="media-body">
			<div class="media-header text-hide"><a href="{$rs[link]}" title="{$rs[title]}">{$rs[title]}</a></div>
			<div class="media-text font-12 text-gray text-hide">{nohtml($rs[intro])}</div>
			<div class="media-other row"><div class="col-6"><span class="ui-icon-time-circle text-gray"></span> {date('Y-m-d',$rs[createdate])}</div><div class="col-6 text-right"><span class="ui-icon-eye text-gray"></span> {$rs[hits]}</div></div>
		</div>
	</li>
	{/sdcms:rs}
</ul>
{if $total_rs>0}<div class="page page-center page-mid mt-20"><ul>{$showpage}</ul></div>{/if}
