📄 feedback.asp
字号:
<!--#include file="Common/Inc_DatConn.asp"-->
<!--#include file="Common/Inc_Config.asp"-->
<!--#include file="Common/Inc_Function.asp"-->
<%
'┌─ 风云ASP在线 ────────────────────────┐
'│ │
'│ 作者:赵振波. http://www.fyasp.com │
'│ │
'│ Q Q:176189168 │
'│ │
'│ Email:fy96@163.com │
'│ │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│ │
'│【版权声明】 │
'│ │
'│ 本程序版权归坐看风云所有,未经授权擅自修改、复制或散布本程序│
'│ │
'│的部分或全部,将承受严厉的民事和刑事处罚,对已知的违反者将给予法 │
'│ │
'│律范围内的全面制裁。对非法使用此程序所造成的一切后果本人概不负责!│
'│ │
'└─────────────────── http://www.fyasp.com ──┘
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<title>留言反馈-<% =strSiteName%></title>
<LINK href="hy/img/STYLE.css" type=text/css rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="分类,供求信息,北方供求,整站出售,免费源码,交友, 征友, 风云在线, 约会, 聊天, 征婚, 婚介, 爱情, 友情, 友谊, 朋友, 伙伴, 情人, 伴侣, 同性, 异性, 女人, 男士, 女士, 男孩, 女孩, 帅哥, 美女, 单身, 独身, 性感, 浪漫, 激情, 手机交友, 手机, 短信, 彩信, 铃声, 图片, 照片, 靓照, 贴图, 语音, 视频, 搜索, 文章, 商城" name="keywords">
<link href="Common/Style.css" type="text/css" rel="stylesheet">
</head>
<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
<!--#include file="Top.asp"-->
<div align="center">
<table cellSpacing="0" cellPadding="0" width="760" border="0">
<tr vAlign="top">
<td width="170" bgcolor="#F3F5F5">
<!--#include file="left.asp"-->
</td>
<td>
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td>
<img height="39" src="images/jiansuo.gif.gif" width="587"></td>
</tr>
<tr>
<td background="images/lhtbg.gif.gif">
<table cellSpacing="0" cellPadding="0" width="550" align="center" border="0">
<tr>
<td><!--#include file="Common/Inc_Search.asp"--></td>
</tr>
<tr>
<td height="6"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgColor="#85bdef" height="1"></td>
</tr>
</table>
<table height="3" cellSpacing="0" cellPadding="0" width="132" border="0">
<tr>
<td></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr vAlign="top">
<td>
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td width="587" height="32" background="images/vxinxi.gif" align="center">
<font color="#00007F"><b>留言反馈</b></font></td>
</tr>
</table>
<table cellSpacing="1" cellPadding="0" width="586" bgColor="#a8d70c" border="0">
<tr>
<td bgColor="#ffffff">
<table cellSpacing="0" cellPadding="0" width="100%" bordercolordark="#FFFFFF" borderColorLight="#3986CE" border="0">
<tbody>
<tr>
<td vAlign="top" width="100%" align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top">
<%
if UCase(Request.Form("Oper")) = "ADDFEEDBACK" then
Dim rdsFeedBack
set rdsFeedBack = Server.CreateObject("ADODB.Recordset")
rdsFeedBack.Open "Dat_FeedBack",Conn,3,3
rdsFeedBack.AddNew
rdsFeedBack("CompanyName") = Request.Form("CompanyName")
rdsFeedBack("ContactMan") = Request.Form("ContactMan")
rdsFeedBack("Tel") = Request.Form("Tel")
rdsFeedBack("Email") = Request.Form("Email")
rdsFeedBack("Add") = Request.Form("Add")
rdsFeedBack("Postalcode") = Request.Form("Postalcode")
rdsFeedBack("Topic") = Request.Form("Topic")
rdsFeedBack("Content") = Request.Form("Content")
rdsFeedBack("Ip") = Request.ServerVariables("REMOTE_ADDR")
rdsFeedBack("State") = 0
rdsFeedBack("CreateTime") = now()
rdsFeedBack.Update
rdsFeedBack.Close
set rdsFeedBack = nothing
Response.Write "<table border=""0"" width=""60%"" cellspacing=""0"" cellpadding=""0"" align=""center"">"& VbCRLF
Response.Write "<tr>"& VbCRLF
Response.Write "<td width=""100%"" height=""30"" style=""letter-spacing: 1pt;line-height: 160%""><b>非常感谢:</b><br><br>您的信息已经提交成功。<br>我们将尽快与您联系。<br>请您继续浏览网站上的其它页面。</td>"& VbCRLF
Response.Write "</tr>"& VbCRLF
Response.Write "</table><br><br><br><br>"& VbCRLF
else
%>
<script language="javascript">
//检查email的合法性
function checkemail(inputstr){
if(inputstr.indexOf('@') != -1 && inputstr.indexOf('.')!= -1)
return true;
else
return false;
}
//检验表单的合法性
function FeedbackForm() {
if (document.FeedBackForm.ContactMan.value == "") {
alert("\请填写联系人姓名!");
document.FeedBackForm.ContactMan.focus();
}
else if (document.FeedBackForm.Email.value == "" || !checkemail(document.FeedBackForm.Email.value)) {
alert("\请正确填写 E-Mail!");
document.FeedBackForm.Email.focus();
}
else if (document.FeedBackForm.Topic.value == "") {
alert("\请输入信息主题!");
document.FeedBackForm.Topic.focus();
}
else if (document.FeedBackForm.Content.value == "") {
alert("\请输入信息内容!");
document.FeedBackForm.Content.focus();
}
else {
return true;
}
return false;
}
</script>
<table border="0" width="98%" cellspacing="0" cellpadding="0" style="line-height:150%;letter-spacing:1px">
<form method="post" action="FeedBack.asp" OnSubmit="return FeedbackForm()" name="FeedBackForm">
<input type="hidden" name="Oper" value="AddFeedBack">
<tr>
<td width="25%" height="10"></td>
<td width="75%" height="10"></td>
</tr>
<tr>
<td align="right" height="25">公司名称:</td>
<td height="25"><input type="text" name="CompanyName" size="45" class="face"></td>
</tr>
<tr>
<td align="right" height="25"><font color="#FF0000">联 系 人:</font></td>
<td height="25"><input type="text" name="ContactMan" size="20" class="face"></td>
</tr>
<tr>
<td align="right" height="25">电 话:</td>
<td height="25"><input type="text" name="Tel" size="20" class="face"></td>
</tr>
<tr>
<td align="right" height="25"><font color="#FF0000">电子邮件:</font></td>
<td height="25"><input type="text" name="Email" size="20" class="face"></td>
</tr>
<tr>
<td align="right" height="25">地 址:</td>
<td height="25"><input type="text" name="Add" size="45" class="face"></td>
</tr>
<tr>
<td align="right" height="25">邮政编码:</td>
<td height="25"><input type="text" name="Postalcode" size="11" class="face"></td>
</tr>
<tr>
<td align="right" height="25"><font color="#ff0000">信息主题:</font></td>
<td height="25"><input type="text" name="Topic" size="46" class="face"></td>
</tr>
<tr>
<td align="right" height="25" valign="top"><font color="#FF0000">信息内容:</font></td>
<td height="25"><textarea rows="6" name="Content" cols="50" class="face"></textarea></td>
</tr>
<tr>
<td width="100%" align="center" colspan="2" height="30"><input type="submit" value="发 送" name="Submit" class="button"> <input type="reset" value="重 写" name="Reset" class="button"></td>
</tr>
<tr>
<td width="20%" height="10"></td>
<td width="80%" height="10"></td>
</tr>
</form>
</table>
<%end if%>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<table height="6" cellSpacing="0" cellPadding="0" width="132" border="0">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table></div>
<!--开始-->
<div align="center">
<table border="0" style="border-collapse: collapse" width="760">
<tr>
<td background="hy/img/2005_soft_mainbg.gif" height="7"></td>
</tr> </table>
</div>
<!--结束-->
<!--#include file="end.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -