You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
3.1 KiB
107 lines
3.1 KiB
<!-- $Id: comment_list.htm 14216 2008-03-10 02:27:21Z testyang $ -->
|
|
|
|
{if $full_page}
|
|
{include file="pageheader.htm"}
|
|
{insert_scripts files="../js/utils.js,listtable.js"}
|
|
<div class="form-div">
|
|
<form action="javascript:searchComment()" name="searchForm">
|
|
<img src="images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
|
|
商家名称 <input type="text" name="keyword" /> <input type="submit" class="Button" value="{$lang.button_search}" />
|
|
</form>
|
|
</div>
|
|
|
|
<form method="POST" action="comment_manage.php?act=batch_drop" name="listForm" onsubmit="return confirm_bath()">
|
|
|
|
<!-- start comment list -->
|
|
<div class="list-div" id="listDiv">
|
|
{/if}
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<th>编号</th>
|
|
<th>用户名</th>
|
|
<th>订单号</th>
|
|
<th>商家名称</th>
|
|
<th>商品描述相符</th>
|
|
<th>卖家服务态度</th>
|
|
<th>物流发货速度</th>
|
|
<th>配送人员态度</th>
|
|
<th>评论时间</th>
|
|
</tr>
|
|
{foreach from=$rank_list item=comment}
|
|
<tr>
|
|
<td align="center">{$comment.sid}</td>
|
|
<td style="padding-left:5px;">{if $comment.user_name}{$comment.user_name}{else}{$lang.anonymous}{/if}</td>
|
|
<td align="center">{$comment.order_sn}</td>
|
|
<td align="center">{if $comment.ru_name}<font style="color:#F00;">{$comment.ru_name}</font>{else}自营{/if}</td>
|
|
<td align="center">{$comment.desc_rank}</td>
|
|
<td align="center">{$comment.service_rank}</td>
|
|
<td align="center">{$comment.delivery_rank}</td>
|
|
<td align="center">{$comment.sender_rank}</td>
|
|
<td align="center">{$comment.add_time}</td>
|
|
</tr>
|
|
{foreachelse}
|
|
<tr><td class="no-records" colspan="10">{$lang.no_records}</td></tr>
|
|
{/foreach}
|
|
</table>
|
|
|
|
<table cellpadding="4" cellspacing="0" style="margin-top:10px;">
|
|
<tr>
|
|
<td align="right">{include file="page.htm"}</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{if $full_page}
|
|
</div>
|
|
<!-- end comment list -->
|
|
|
|
</form>
|
|
<script type="text/javascript" language="JavaScript">
|
|
<!--
|
|
listTable.recordCount = {$record_count};
|
|
listTable.pageCount = {$page_count};
|
|
cfm = new Object();
|
|
cfm['allow'] = '{$lang.cfm_allow}';
|
|
cfm['remove'] = '{$lang.cfm_remove}';
|
|
cfm['deny'] = '{$lang.cfm_deny}';
|
|
|
|
{foreach from=$filter item=item key=key}
|
|
listTable.filter.{$key} = '{$item}';
|
|
{/foreach}
|
|
|
|
{literal}
|
|
onload = function()
|
|
{
|
|
document.forms['searchForm'].elements['keyword'].focus();
|
|
// 开始检查订单
|
|
startCheckOrder();
|
|
}
|
|
/**
|
|
* 搜索评论
|
|
*/
|
|
function searchComment()
|
|
{
|
|
var keyword = Utils.trim(document.forms['searchForm'].elements['keyword'].value);
|
|
if (keyword.length > 0)
|
|
{
|
|
listTable.filter['keywords'] = keyword;
|
|
listTable.filter.page = 1;
|
|
listTable.loadList();
|
|
}
|
|
else
|
|
{
|
|
document.forms['searchForm'].elements['keyword'].focus();
|
|
}
|
|
}
|
|
{/literal}
|
|
|
|
function confirm_bath()
|
|
{
|
|
var action = document.forms['listForm'].elements['sel_action'].value;
|
|
|
|
return confirm(cfm[action]);
|
|
}
|
|
//-->
|
|
</script>
|
|
{include file="pagefooter.htm"}
|
|
{/if}
|