thread.htm文件修改
搜索1:
<!--{hook thread_postlist_before.htm}-->
下面添加:
<?php if(!empty($user)) {?>
搜索2:
<!--{hook thread_postlist_after.htm}-->
上面添加:
<?php } else{?>
<div class="card card-site-info">
<div class="m-3 text-center">
<div class="text-left"><a href="/user-login.htm"><font class="small" color="green">您还未登录,回复内容请登陆后查看</font></a>
</div>
</div>
</div>
<?php } ?>