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

<body>
	
    {include file="head.php"}
 
	<div class="pt20">
    	<div class="width ui-box">
    	<!---->
        <div class="ui-row bbs">
            <div class="bbs-left">
                {include file="bbs/left.php"}
            </div>
            <div class="bbs-right">
                <div class="ui-tabs" data-href="1">
                    <div class="ui-tabs-header-nav">
                        <ul class="ui-tabs-nav">
                            <li><a href="{U('bbs/mytopic','uid='.$uid.'')}">我的主题</a></li>
                            <li class="active"><a href="{U('bbs/myreply','uid='.$uid.'')}">我的回复</a></li>
                        </ul>
                    </div>
                </div>
                <ul class="ui-media-list ui-media-border ui-mt-20">
                    {sdcms:rs pagesize="15" table="sd_bbs_reply" join="left join sd_user on sd_bbs_reply.userid=sd_user.id" where="sd_bbs_reply.islock=1 and istopic=0 and userid=$uid" order="replyid desc" key="replyid"}
                    <li class="ui-media ui-scrollspy" data-am="ui-am-slide-bottom" data-time="{$i*100}">
                        <div class="ui-media-img ui-mr-20 ui-radius">
                            <img src="{if strlen($rs[uface])}{$rs[uface]}{else}{WEB_ROOT}upfile/noface.gif{/if}" alt="{$rs[uname]}" width="64" height="64" >
                        </div>
                        <div class="ui-media-body">
                            <div class="ui-media-header ui-row ui-align-items-center">
                                <div class="ui-font-14">{$rs[uname]}<span class="ui-pl ui-text-gray">{formatTime($rs[createdate])}</span></div>
                            </div>
                            <div class="ui-media-text">
                                {$rs[content]}
                                {if $rs[reply]<>''}<div class="ui-line ui-line-left"><span class="ui-text-red">管理员回复：</span></div>{$rs[reply]}{/if}
                            </div>
                        </div>
                    </li>
                    {/sdcms:rs}
                </ul>
                {if $pg->totalpage>1}<div class="ui-page ui-page-center ui-page-green ui-page-mid"><ul>{$showpage}</ul></div>{/if}
                
            </div>
        </div>
        <!---->
    </div>
    
    {include file="foot.php"}
    <script>
	$(function(){
		$("#nav_bbs").addClass("hover");
	})
	</script>
</body>
</html>