<?php if(!defined('IN_SDCMS')) exit;?>{include file="mobile/top.php"}
<title>{$keyword}_{sdcms[bbs_webname]}</title>
<meta name="keywords" content="{$seokey}">
<meta name="description" content="{$seodesc}">
</head>

<body>
	{include file="mobile/head.php"}

    <article>
    	
    	<section>
        	<div class="subject">
                <b>主题搜索</b>
            </div>
            <div class="clear"></div>
            <div class="bbs-topic">
                {sdcms:rs pagesize="20" table="sd_bbs" join="left join sd_user on sd_bbs.userid=sd_user.id" where="sd_bbs.islock=1 $where" order="ontop desc,bbs_id desc" key="bbs_id"}
                {rs:eof}<div class="ui-mt-20">没有找到您要的结果</div>{/rs:eof}
                <div class="bbs-topic-item">
                    <div class="bbs-topic-item-head">
                        <div class="face"><img src="{if !isempty($rs[uface])}{$rs[uface]}{else}{WEB_ROOT}upfile/noface.gif{/if}" alt="{$rs[uname]}"></div>
                        <div class="info">
                            <div class="name"><a href="{U('bbs/mytopic','uid='.$rs[userid].'')}">{$rs[uname]}</a></div>
                            <div class="time">{formatTime($rs[createdate])}</div>
                        </div>
                        <div class="action">
                        {if $rs[ontop]==1}<em>置顶</em>{/if}{if $rs[isnice]==1}<em>精</em>{/if}
                        </div>
                    </div>
                    <div class="bbs-topic-item-body">
                        <div class="title"><a href="{N('bbsshow','','id='.$rs[bbs_id].'')}" title="{$rs[title]}">{$rs[title]}</a></div>
                    </div>
                    <div class="bbs-topic-item-foot ui-row">
                        <div class="ui-col-6"><i class="ui-icon-eye"></i>{$rs[hits]}</div>
                        <div class="ui-col-6"><i class="ui-icon-comment"></i>{$rs[replynum]}</div>
                    </div>
                    
                </div>
                {/sdcms:rs}
                {if $pg->totalpage>1}<div class="ui-page ui-page-center ui-page-mid ui-mt-20"><ul>{$showpage}</ul></div>{/if}
            </div>
        </section>
    </article>
    {include file="mobile/foot.php"}

</body>
</html>