<!--#include file="../Include/Conn.jsp" -->
<!--#include file="../Include/char.jsp" -->
<!--#include file="../Include/const.jsp" -->
<!--#include file="../Include/function.jsp" -->

<%
dim rs,m_Sql
if Request.ServerVariables("REQUEST_METHOD")="POST" then
	if Trim(Request.form("txtCheckCode"))<>CStr(session("CheckCode")) then
       response.write "<script>alert('您输入的确认码和系统产生的不一致，请重新输入！');history.back();</Script>"
	   Response.end
   end if
  m_UserName = checkStr(Trim(Request.Form("txtUserName")))
  m_Sex = Request.Form("radSex")

  title = request.Form("title")
  if title="" then title=checkStr(Trim(title))
  m_QQ = checkStr(Trim(Request.Form("txtQQ")))
  m_Email = checkStr(Trim(Request.Form("txtEmail")))
  m_Content = NoCSSHackInput(Request.Form("txtContent"))
  m_From = checkStr(Trim(Request.Form("txtFrom")))
  m_IPInfo = Request.ServerVariables("REMOTE_ADDR")  
  m_Sql = "Insert Into T_Gbook(F_UserName,F_Email,F_Sex,F_QQ,F_From,F_Content,F_Addtime,F_IPInfo,F_title)"
  m_Sql = m_Sql + "Values('"&m_UserName&"','"&m_Email&"','"&m_WebSite&"','"&m_Sex&"','"&m_QQ&"','"&m_From&"','"&m_Content&"','"&now&"','"&m_Face&"','"&m_MyImage&"','"&m_IPInfo&"','"&title&"')"
 ' response.write m_sql

  conn.Execute(m_Sql)
 
  Response.Redirect "Suggestion.shtml"
end if
%>

<html>
<head>
<title>意见、问题和建议 - 运城搜索</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="description" content="运城搜索是立足于运城本地的搜索引擎。提供运城吃喝玩乐住行游等方面信息的搜索查询。">
<meta name="keywords" content="运城,运城生活,生活消费,休闲娱乐,时尚,家政,安居,旅游,购物,美食,交友,俱乐部,特约商户,消费打折">
<!--#include file="Include/style.css"-->

</head>

<body>
<!--#include file="Include/Top.inc" -->


<p align="center" class="content1">意见、问题和建议</p>

<table width="80%" border="0" cellpadding="0" cellspacing="1" align="center">
  <tr> 

      <td align="center" valign="top">
     <table width="99%" border="0" cellpadding="0" cellspacing="1">
                          <tr> 
                            <form name="form1" method="post" action="">
                              <td align="center" valign="top"><br>
                                <table width="100%" border="0" cellpadding="2" cellspacing="2" bgcolor="#FFFFFF">
                                  <tr> 
                                    <td width="16%" height="22" align="right">*你的名字:</td>
                                    <td colspan="2"><input name="txtUserName" type="text" style="BORDER-RIGHT: rgb(182,182,182) 1px solid; BORDER-TOP: rgb(182,182,182) 1px solid; FONT-WEIGHT: lighter; FONT-SIZE: 12px; BORDER-LEFT: rgb(182,182,182) 1px solid; BORDER-BOTTOM: rgb(182,182,182) 1px solid;" id="txtUserName" value="<%=Request.Cookies("aspxnet")("CurUserName")%>" size="11" maxlength="15"> 
                                      &nbsp;&nbsp; <input name="radSex" type="radio" value="男" checked>
                                      男&nbsp; <input type="radio" name="radSex" value="女">
                                      女</td>
                                  </tr>
                                  <tr> 
                                    <td align="right">来自哪里:</td>
                                    <td colspan="2"><input name="txtFrom" type="TEXT" style="BORDER-RIGHT: rgb(182,182,182) 1px solid; BORDER-TOP: rgb(182,182,182) 1px solid; FONT-WEIGHT: lighter; FONT-SIZE: 12px; BORDER-LEFT: rgb(182,182,182) 1px solid; BORDER-BOTTOM: rgb(182,182,182) 1px solid;" id="txtFrom" value="运城" size=26 maxlength=15></td>
                                  </tr>
                                  <tr> 
                                    <td align="right">电子邮件:</td>
                                    <td colspan="2"><input name="txtEmail" type="text" style="BORDER-RIGHT: rgb(182,182,182) 1px solid; BORDER-TOP: rgb(182,182,182) 1px solid; FONT-WEIGHT: lighter; FONT-SIZE: 12px; BORDER-LEFT: rgb(182,182,182) 1px solid; BORDER-BOTTOM: rgb(182,182,182) 1px solid;" id="txtEmail" size="26" maxlength="50">
                                      OICQ&nbsp; <input name="txtQQ" type="TEXT" style="BORDER-RIGHT: rgb(182,182,182) 1px solid; BORDER-TOP: rgb(182,182,182) 1px solid; FONT-WEIGHT: lighter; FONT-SIZE: 12px; BORDER-LEFT: rgb(182,182,182) 1px solid; BORDER-BOTTOM: rgb(182,182,182) 1px solid;"  id="txtQQ" value="" size=10 maxlength=12></td>
                                  </tr>


                                  <tr> 
                                    <td align="right"><font color="#FF0000">留言主题：</font></td>
                                    <td colspan="2"><input name="title" style="BORDER-RIGHT: rgb(182,182,182) 1px solid; BORDER-TOP: rgb(182,182,182) 1px solid; FONT-WEIGHT: lighter; FONT-SIZE: 12px; BORDER-LEFT: rgb(182,182,182) 1px solid; BORDER-BOTTOM: rgb(182,182,182) 1px solid;" type="TEXT" class=text id="title" size=26 maxlength=70></td>
                                  </tr>
                                  <tr> 
                                    <td align="right">*你的留言:</td>
                                    <td colspan="2"><textarea name="txtContent" cols="55" rows="12">
</textarea></td>
                                  </tr>
                                  <tr> 
                                    <td align="right">验 证 码:</td>
                                    <td colspan="2"><input name="txtCheckCode" size="13" maxlength="4" style="BORDER-RIGHT: rgb(182,182,182) 1px solid; BORDER-TOP: rgb(182,182,182) 1px solid; FONT-WEIGHT: lighter; FONT-SIZE: 12px; BORDER-LEFT: rgb(182,182,182) 1px solid; BORDER-BOTTOM: rgb(182,182,182) 1px solid; FONT-FAMILY: 奔覆"> 
                                      <img src="inc/checkcode.jsp"></td>
                                  </tr>
                                  <tr>
                                    <td align="right">&nbsp;</td>
                                    <td colspan="2"><font color="#FF6600">注意：以上 
                                      * 星号标出的项目必需填写.</font></td>
                                  </tr>
                                  <tr> 
                                    <td>&nbsp;</td>
                                    <td height="53" colspan="2"><input  type="submit" name="submit" value="确定留言"> 
                                      <input  type="reset" name="Submit1" value="重新填写"> 
                                      </td>
                                  </tr>
                                </table></td>
                            </form>
                          </tr>
        </table>   
      </td>

  </tr>
</table>

<!--#include file="Include/Bottom.inc" -->
</body>
</html>
