<!--#include file="../Include/Head.asp"-->
<%session("ListPage")=session("nowpage")%>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="../Main/Right.asp">首页</a></li>
    <li><a href="Set.asp">留言表单设置</a></li>
    </ul>
    </div>
    <style>
	.forminfo li{width:33.3% !important; float:left !important; clear:inherit !important;}
	</style>
   
  	<div id="tab1" class="tabson">
	
	
	
    <ul class="forminfo">
    <form class="MsgSet" method="post" action="?Action=MsgSet">
        <li style="width:100% !important; font-size:14px;">设置留言必填字段</li>  
        <li><label>留言标题<b></b></label><input type="checkbox" name="MsgField" id="MsgField" value="Msg01" checked disabled ></li> 
        <li><label>姓名<b></b></label><input type="checkbox" name="MsgField" id="MsgField" value="Msg02" checked disabled ></li> 
        <li><label>性别<b></b></label><input type="checkbox" name="MsgField" id="MsgField" value="Msg03" checked disabled ></li> 
        <li><label>邮箱<b></b></label><input type="checkbox" name="MsgField" id="MsgField" value="Msg04" <%If IsMsgField("Msg04") Then%>checked<%End If%> ></li> 
        <li><label>电话<b></b></label><input type="checkbox" name="MsgField" id="MsgField" value="Msg05" <%If IsMsgField("Msg05") Then%>checked<%End If%> ></li> 
        <li><label>QQ<b></b></label><input type="checkbox" name="MsgField" id="MsgField" value="Msg06" <%If IsMsgField("Msg06") Then%>checked<%End If%> ></li>  
        <li><label>地址<b></b></label><input type="checkbox" name="MsgField" id="MsgField" value="Msg07" <%If IsMsgField("Msg07") Then%>checked<%End If%> ></li> 
        <li><label>留言内容<b></b></label><input type="checkbox" name="MsgField" id="MsgField" value="Msg08" checked disabled ></li>  
		
        <li style="width:100% !important; font-size:14px;"><label>留言提示信息</label><input name="Web_MsgTips" type="text" class="newinput450" value="<%=Web_MsgTips%>" /></li>  
        <li style="width:100% !important;"><input name="submit" type="submit" class="btn" id="send" value="保存设置"/></li>  
    </form>
	</ul>
	</div>
    
    
<%
Action=Request_QueryString("Action")
If action="MsgSet" Then
	conn.execute "UPDATE [Jin_Config] SET Web_MsgField = '"&replace(request_Form("MsgField")," ","")&"' , Web_MsgTips = '"&request_Form("Web_MsgTips")&"' where exists(select top 1 sysID from Jin_Config)"
	Call ShowMsg("",2)
End If
%>


<%Call BackFoot()%>