|
|
|
|
<!-- $Id: comment_info.htm 16854 2009-12-07 06:20:09Z sxc_shop $ -->
|
|
|
|
|
|
|
|
|
|
{include file="pageheader.htm"}
|
|
|
|
|
<!-- comment content list -->
|
|
|
|
|
<div class="main-div">
|
|
|
|
|
<table width="100%">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<!-- <a href="mailto:{$msg.email}"><b>{if $msg.user_name}{$msg.user_name}{else}{$lang.anonymous}{/if}</b></a> {$lang.from}
|
|
|
|
|
{$msg.add_time} {$lang.to} <b>{$id_value}</b> -->{$lang.single_img}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2"><hr color="#dadada" size="1"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="r">{$lang.img_list}:</td>
|
|
|
|
|
<td>
|
|
|
|
|
{foreach from=$single_img item=img}
|
|
|
|
|
<div id="gallery_{$img.id}" style="float:left; text-align:center; border: 1px solid #DADADA; margin: 4px; padding:2px;">
|
|
|
|
|
<a href="javascript:;" onclick="if (confirm('{$lang.drop_img_confirm}')) dropImg('{$img.id}')">[-] {$lang.drop_img}</a><br/>
|
|
|
|
|
<a href="goods.php?act=show_image&img_url={$img.img_file}" target="_blank">
|
|
|
|
|
<img src="../{$img.img_file}" width="300" border="0" />
|
|
|
|
|
</a><br />
|
|
|
|
|
<textarea cols="35" style="border:1px solid green;" name="old_img_desc[{$img.id}]" readonly="readonly"/>{$img.cont_desc|escape}</textarea>
|
|
|
|
|
</div>
|
|
|
|
|
{/foreach}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{if $reply_info.content}
|
|
|
|
|
<!-- reply content list -->
|
|
|
|
|
<div class="main-div">
|
|
|
|
|
<table width="100%">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
{$lang.admin_user_name} <a href="mailto:{$msg.email}"><b>{$reply_info.user_name}</b></a> {$lang.from}
|
|
|
|
|
{$reply_info.add_time} {$lang.reply}
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2"><hr color="#dadada" size="1"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<div style="overflow:hidden; word-break:break-all;">{$reply_info.content}</div>
|
|
|
|
|
<div align="right"><b>{$lang.ip_address}</b>: {$reply_info.ip_address}</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{if $send_fail}
|
|
|
|
|
<ul style="padding:0; margin: 0; list-style-type:none; color: #CC0000;">
|
|
|
|
|
<li style="border: 1px solid #CC0000; background: #FFFFCC; padding: 10px; margin-bottom: 5px;" >{$lang.mail_send_fail}</li>
|
|
|
|
|
</ul>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
<div class="main-div">
|
|
|
|
|
<form method="post" action="comment_manage.php?act=" name="theForm" onsubmit="return validate()">
|
|
|
|
|
<table border="0">
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{$lang.single_goods_name}:</td>
|
|
|
|
|
<td><a style="color:blue;" href="../goods.php?id={$msg.goods_id}" target="_blank ">{$msg.goods_name}</a></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{$lang.single_title}:</td>
|
|
|
|
|
<td align="left"><div style="width:200px;">{$msg.single_name}</div></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{$lang.single_desc}:</td>
|
|
|
|
|
<td>{$msg.single_description}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{$lang.add_integration}:</td>
|
|
|
|
|
<td><input type="text" name="add_integration" id="add_integration" value="{if $msg.integ}{$msg.integ}{else}0{/if}" />{$lang.integ_notice}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td></td>
|
|
|
|
|
<!-- <td><input name="send_email_notice" type="checkbox" value='1'/>{$lang.send_email_notice}</td> -->
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td> </td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
{if $single_edit_delete}
|
|
|
|
|
<div style="margin-left:136px;">
|
|
|
|
|
<input {if $msg.is_audit eq 1}disabled{/if} type="button" onclick="add_integ(this, 'allow', {$msg.order_id}, {$msg.goods_id}, {$msg.user_id});" value="{$lang.allow}" class="button" />
|
|
|
|
|
<input {if $msg.is_audit eq 0}disabled{/if} type="button" onclick="add_integ(this, 'forbid', {$msg.order_id}, {$msg.goods_id}, {$msg.user_id});" value="{$lang.forbid}" class="button" />
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
{insert_scripts files="../js/utils.js,validator.js"}
|
|
|
|
|
{literal}
|
|
|
|
|
<script language="JavaScript">
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
function validate()
|
|
|
|
|
{
|
|
|
|
|
validator = new Validator("theForm");
|
|
|
|
|
validator.required("content", no_content);
|
|
|
|
|
return validator.passed();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onload = function() {
|
|
|
|
|
//
|
|
|
|
|
startCheckOrder();
|
|
|
|
|
}
|
|
|
|
|
//-->
|
|
|
|
|
|
|
|
|
|
function add_integ(obj, act, id, goods_id, user_id)
|
|
|
|
|
{
|
|
|
|
|
var integ = document.getElementById('add_integration').value;
|
|
|
|
|
location.href='comment_manage.php?act=single_check&check=' + act + '&id=' + id + '&integ=' + integ + '&goods_id=' + goods_id + '&user_id=' + user_id;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ɾ��ͼƬ
|
|
|
|
|
*/
|
|
|
|
|
function dropImg(imgId)
|
|
|
|
|
{
|
|
|
|
|
Ajax.call('comment_manage.php?is_ajax=1&act=drop_single_image', "img_id="+imgId, dropImgResponse, "GET", "JSON");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function dropImgResponse(result)
|
|
|
|
|
{
|
|
|
|
|
if (result.error == 0)
|
|
|
|
|
{
|
|
|
|
|
document.getElementById('gallery_' + result.content).style.display = 'none';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
{/literal}
|
|
|
|
|
{include file="pagefooter.htm"}
|