File: /www/wwwroot/bs.kntsleep.com/system/web/common/html/member/comment.html
{include common=html/member/head}
<div class="tabcheck">
<ul>
<li class="on"><a>我的评论</a></li>
</ul>
</div>
<div class="mycomment">
<form class="commentform" action="{path.relative}api/member/?action=comment&func=delete" method="post">
<table class="tables">
<tbody>
<tr>
{if:(config.member_authorize_delete)}
<th>选择</th>
{/if}
<th>评论</th>
<th>状态</th>
<th>发布时间</th>
</tr>
{foreach data=$G.comment.list}
<tr>
{if:(config.member_authorize_delete)}
<td width="68">{$input = form::checkbox('id',null,null,array($v.id=>null),array('class'=>'commentid','required'))}{$input}</td>
{/if}
<td t="评论"><a{if:($v.name)} href="{$v.url}" target="_blank"{/if}>{$v.content}</a></td>
<td t="状态" width="98">{$G.option.examine|arrExist=$v.examine}</td>
<td t="发布时间" s4 width="168">{$v.ctime|date='Y-m-d H:i:s',###}</td>
</tr>
{/foreach}
</tbody>
</table>
{if:(config.member_authorize_delete)}
<div class="buttons">
<a href="javascript:$('.mycomment input.commentid:not([disabled])').prop('checked',true);">全选</a>
<a href="javascript:$('.mycomment input.commentid:not([disabled])').prop('checked',false);" class="to">取消</a>
<a class="red" href="javascript:confirm('确定删除吗?')?$('.mycomment>form.commentform').submit():false;">删除</a>
</div>
{/if}
</form>
</div>
<div class="mypages">{pages class=html set=$G.comment.pages display=true}{/pages}</div>
{include common=html/member/foot}