|
|
|
|
<!-- $Id: comment_list.htm 14216 2008-03-10 02:27:21Z testyang $ -->
|
|
|
|
|
|
|
|
|
|
{include file="pageheader.htm"}
|
|
|
|
|
{insert_scripts files="../js/utils.js,listtable.js"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form method="POST" action="comment_collect.php?act=comment_batch_import&goods_id={$goods_id}" name="listForm" onsubmit="return confirm_bath()">
|
|
|
|
|
|
|
|
|
|
<!-- start comment list -->
|
|
|
|
|
<div class="list-div" id="listDiv">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table cellpadding="3" cellspacing="1">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>
|
|
|
|
|
<input onclick='listTable.selectAll(this, "checkboxes")' type="checkbox">
|
|
|
|
|
编号</th>
|
|
|
|
|
<th>商品关键词</th>
|
|
|
|
|
<th>用户名</th>
|
|
|
|
|
<th>评论内容</th>
|
|
|
|
|
<th>评论时间</th>
|
|
|
|
|
</tr>
|
|
|
|
|
{foreach from=$comment_list item=comment name=notaobao key=key}
|
|
|
|
|
<tr>
|
|
|
|
|
<td><input value="{$key}" name="checkboxes[]" type="checkbox"><input type="hidden" name="user_id[]" value="{$comment.user_id}" />{$key}</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<td><a href="../goods.php?id={$comment.id_value}" target="_blank" >{$comment.goods_name}</a><input type="hidden" name="id_value[]" value="{$comment.id_value}" /></td>
|
|
|
|
|
<td><input value="{if $comment.user_name}{$comment.user_name}{else}{$lang.anonymous}{/if}" name="usernames[]" type="text" size="20">
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
<td><input value="{$comment.contents}" name="contents[]" type="text" size="70"></td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<td align="center"><input value="{$comment.add_time}" name="times[]" type="text" size="19"></td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
{foreachelse}
|
|
|
|
|
<tr><td class="no-records" colspan="10">{$lang.no_records}</td></tr>
|
|
|
|
|
{/foreach}
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<table cellpadding="4" cellspacing="0">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="hidden" name="goods_id" value="{$goods_id}" />
|
|
|
|
|
<input type="submit" name="drop" id="btnSubmit" value="批量导入" class="button" disabled="true" />
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<table cellpadding="3" cellspacing="1">
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="80%">搜索到评论<strong><font color="#FF0000">{$num}</font></strong>条</td>
|
|
|
|
|
<td> </td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="80%">
|
|
|
|
|
|
|
|
|
|
{foreach from=$source_url name=source item=source}
|
|
|
|
|
|
|
|
|
|
评论来源{$smarty.foreach.source.iteration}:<a href="{$source}" target="_blank">{$source}</a><br>
|
|
|
|
|
|
|
|
|
|
{/foreach}
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
<td> </td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<!-- end comment list -->
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" language="JavaScript">
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function confirm_bath()
|
|
|
|
|
{
|
|
|
|
|
return confirm("确定将所选评论导入数据库?");
|
|
|
|
|
}
|
|
|
|
|
//-->
|
|
|
|
|
</script>
|
|
|
|
|
{include file="pagefooter.htm"}
|