{include file="pageheader.htm"}
{insert_scripts files='../js/quickView.js'}
<div class="BodyRight">
	<div class="RightDetill">
		<ul>
			<li class="Green"><a href="http://www.nitc.cc/About-nitc/488.html#_Toc239504371" target="_blank">查看演示文件</a></li>
			<li class="SkyBlue"><a href="help_document.php?action=download">下载演示文档</a></li>
			<li class="Black">操作帮助请详见演示文件!</li>
			<li class="DetillRigh"></li>
		</ul>
	</div>
	
	<div class="PageContent">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		  <tr>
			<td class="LineRightBlue1">
				<table width="95%" border="0" cellpadding="0" cellspacing="0" style="margin-left:20px;">
			  <tr>
				<td width="88%" height="24">咨询管理 > 查看咨询信息</td>
				<td width="12%" align="right" class="bt_count">{if $inquiry_stat==true}<a href="inquiry.php?action=statistics">统计</a>{/if}</td>
			  </tr>
			</table>
			</td>
		  </tr>
		</table>
		<form name="theForm" method="post" action="">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px;">
		  <tr>
			<td height="36" class="BotNavBg">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td align="right" style="padding-right:10px;">
				{$page}
				 </td>
			  </tr>
			</table>
			</td>
		  </tr>
		</table>
        <div class="tablelisthead">
        <ul>
        <li class="li_5">序号</li>
        <li class="li_40">主题</li>
        <li class="li_20">国家地区</li>
        <li class="li_20">日期</li>
        <li class="li_10">{if $inquiry_del==true or $inquiry_show==true}编辑{/if}</li>
        </ul>
        </div>
        <div class="tablelist">
        {section name=loop loop=$inquiry}
        <ul onmouseover="this.style.background ='#FFFDD7'" onmouseout="this.style.background ='#FFFFFF'">
        <li class="li_5">{$inquiry[loop].cnt}</li>
        <li class="li_40">{$inquiry[loop].subject}</li>
        <li class="li_20">{$inquiry[loop].country}&nbsp;</li>
        <li class="li_20">{$inquiry[loop].date_added}</li>
        <li class="li_10 operation">{if $inquiry_show==true}
					<a href="inquiry.php?action=show&inquiry_id={$inquiry[loop].inquiry_id}{$strpass}" title="查看" class="op_look"></a> 
				{else}
					<span class="op_look_off"></span>
				{/if}		
				{if $inquiry_del==true}
					<a href="inquiry.php?action=del&inquiry_id={$inquiry[loop].inquiry_id}{$strpass}" onClick="return window.confirm('确定删除该咨询信息?');" title="删除" class="op_del"></a>
				{else}
					<span class="op_del_off"></span>
				{/if}</li>
        </ul>
        {/section}
        </div>
		
		
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
			<td height="36" class="BotNavBg">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td align="right"  style="padding-right:10px;">
				{$page}
				 </td>
			  </tr>
			</table>
			</td>
		  </tr>
		</table>
		</form>
	</div>
</div>
<script type="text/javascript">
{literal}
function clearSearchText(searchText){
	if(document.getElementById(searchText).value=="查找咨询信息..."){
		document.getElementById(searchText).value="";
	}
}
function searchSubmit(){
	if(document.getElementById("searchText").value=="查找咨询信息..."){
		document.getElementById("searchText").value="";
	}
	document.searchForm.action="inquiry.php";
	document.searchForm.submit();
}

{/literal}
</script>
{include file="pagefooter.htm"}