{lib(/msgbook.php)}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=gbk" />
<title>在线留言——{cfg:(sys,site_name)}</title>
<link rel="shortcut icon" href="favicon.ico" />
<meta name="keywords" content="{cfg:(sys,site_keywords)}">
<meta name="description" content="{cfg:(sys,site_description)}">
<link rel="stylesheet" type="text/css" href="img/css.css"/>
<script src="{$web_url}/plus/js/init.php?act=init_js"></script>
<script src="{$web_url}/images/js/common.js"></script>
<script src="{$web_url}/images/js/dialog.js"></script>
<script src="{$web_url}/images/js/ajax.js"></script>
<script src="{$web_url}/images/js/job.js"></script>
<script>
function me_change(msgval){
	obj_list=document.getElementById("id_msg_list");
	obj_ask=document.getElementById("id_msg_ask")
	obj_li_2=document.getElementById("id_li_2");
	obj_li_1=document.getElementById("id_li_1");
	if(msgval==1){
		obj_li_1.className="x_sel";
		obj_li_2.className="";
		obj_ask.style.display="none";
		obj_list.style.display="";
	}else{
		obj_li_1.className="";
		obj_li_2.className="x_sel";
		obj_ask.style.display="";
		obj_list.style.display="none";
	}
}
</script>
</head>
<body>
{include(header.html)}
<div class="css_main">
<div class="search_left">
	<div class="x_tit1">常见问题</div>
	<div class="x_box1"></div>
</div>
<div class="sp_w20">&nbsp;</div>
<form name="frmMsg" method="post" action="index.php?app=msgbook">
<input type="hidden" name="act" value="save">
<div class="search_right">
	<div class="x_box1">
		<div class="x_tit1"><li class="x_sel" onmouseover="me_change(1)" id="id_li_1">咨询列表</li><li onmouseover="me_change(2)" id="id_li_2">我要咨询</li></div>
		<div class="x_box2" id="id_msg_ask" style="display:none">
			<li>姓名：<input type="text" name="msg_name" value="">　　来自：<input type="text" name="msg_area" value=""></li>			
			<li>问题：<font color="#888888">(我们将在一到三个工作日内回复)</font><br><textarea name='msg_msg' id="msg_msg" cols='60' rows='15'></textarea></li>	
			<li><span style="float:left"><input type="input" name="msgboxcode" value="" style="width:50px" class="text_1"></span><span style="float:left">&nbsp;&nbsp;<img src="{$web_url}/plus/page.code.php?code=msgbox" onclick="this.src='{$web_url}/plus/page.code.php??code=msgbox&rnd='+Math.random();"></span></li>
			<li><input type="submit" name="btn_ok" value="提 交" class="btn_67"></li>
		</div>
		<div class="msgbook" id="id_msg_list">
		{foreach($arr_msgbook as $item)}
			<div class="msgbook_tit1">{$item["msg_name"]}　来自：{$item["msg_area"]}　时间：{$item["addtime"]}</div>
			<div class="msgbook_msg">{$item["msg_msg"]}</div>
			{if($item["msg_retime"]>0)}
			<div class="msgbook_remsg">回复：{$item["msg_remsg"]}</div>
			{else}
			<div class="msgbook_remsg"><font color="#ff0000">等待处理中....</font></div>
			{/if}
			<div class="dot_1"></div>
			<div class="sp_h20 "></div>
		{/foreach}
		</div>
	</div>
	<div class="pPage">
	{$page_split_page}
	</div>
</div>
</form>
</div>
{include(footer.html)}
</body>
</html>