{include file="page_header.htm"}
{insert_scripts files="../js/utils.js"}
<form name="inquiry_form" action="inquiry.php" method="post" id="inquiry_form">
<table width="100%"  border="0" cellspacing="0" cellpadding="0" class="table_form1">

{if $product}
<tr>
<td class="label" width="120">产品:</td>
<td>{$product.name}</td>
</tr>
{/if}

{if $customer}
<tr>
<td class="label" width="120">会员:</td>
<td>{$customer.user_name}</td>
</tr>
{/if}


<tr>
<td class="label" width="120">主题:</td>
<td>{$inquiry.subject}</td>
</tr>

<tr>
<td class="label" width="120">内容:</td>
<td>{$inquiry.content}</td>
</tr>

<tr>
<td class="label" width="120">姓名:</td>
<td>{$inquiry.name}</td>
</tr>	

<tr>
<td class="label" width="120">邮箱:</td>
<td>
{$inquiry.email}
</td>
</tr>		

<tr>
<td class="label" width="120">电话:</td>
<td>{$inquiry.telephone}</td>
</tr>	

<tr>
<td class="label" width="120">IP:</td>
<td>{$inquiry.ip}</td>
</tr>			

<tr>
<td class="label" width="120">日期:</td>
<td>{$inquiry.date_added}</td>
</tr>					

<tr>
<td style="border:none;" class="label">&nbsp;</td>
<td style="border:none;">
	<input type="checkbox" name="checkboxes[]" value="{$inquiry.inquiry_id}" style="display:none;" checked="checked" />
	<input type="hidden" name="act" value="batch" />
	<input type="hidden" name="type" value="drop" id="type" />
	<input type="button"  OnClick="javascript:history.go(-1);" value="返回" class="bginput" />
	<input class="bginput" OnClick="javascript:delete_inquiry();" type="button" name="delbutton" value="删除" /> 
</td>
</tr> 	
</table>
</form>
<script type="text/javascript">
{literal}
function delete_inquiry(){
	if(confirm("确定删除?")==true){
		$('#inquiry_form').submit();
	}
}
{/literal}
</script>
{insert_scripts files="tab.js,validator.js"}
{include file="page_footer.htm"}