?? 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>
<title><% = strSiteName%></title>
<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 bgColor="#ffffff" leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
<!--#include file="Top.asp"-->
<table align="center" border="0" width="760" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<p align="center"><img height="14" src="images/pic_top_01.gif" width="760" border="0"></td>
</tr>
</table>
<div align="center">
<center>
<table id="AutoNumber8" style="BORDER-COLLAPSE: collapse" cellSpacing="0" cellPadding="0" width="760" border="0">
<tbody>
<tr>
<td vAlign="top" width="1" background="images/space_01.gif"><img height="1" src="images/space_01.gif" width="1" border="0"></td>
<td vAlign="top" width="10"><img height="1" src="images/space.gif" width="10" border="0"></td>
<td vAlign="top" width="580">
<div align="center">
<center>
<table id="AutoNumber12" style="BORDER-COLLAPSE: collapse" height="103" cellSpacing="0" cellPadding="0" width="580" border="0">
<tbody>
<tr>
<td vAlign="top" height="3"></td>
<tr>
<td vAlign="top" height="100"><img src="images/ad_01.gif" width="580" height="100" alt="一號廣告位"></td></tr></tbody></table></center></div>
<div align="center">
<center>
<table id="AutoNumber11" style="BORDER-COLLAPSE: collapse" height="73" cellSpacing="0" cellPadding="0" width="580" border="0">
<tbody>
<tr>
<td vAlign="center" background="images/bg_quick_search_01.gif" height="63" align="center"><!--#include file="Common/Inc_Search.asp"--></td>
</tr>
<tr>
<td vAlign="top" height="10"></td></tr></tbody></table></center></div>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="25">
<tr>
<td width="100%" height="30"> 您的位置:<a href="index.asp" class="links">首 頁</a> ->> 留言反饋</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" background="images/002.gif" height="25">
<tr>
<td width="100%">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"></td>
</tr>
</table>
</td>
</tr>
</table>
</center>
<div align="center">
<table borderColor="#111111" cellSpacing="0" cellPadding="0" width="100%" bordercolordark="#FFFFFF" borderColorLight="#3986CE" border="1">
<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>
</div>
</td>
<td vAlign="top" width="10"><img height="1" src="images/space.gif" width="10" border="0"></td>
<td vAlign="top" width="1" background="images/space_01.gif"><img height="1" src="images/space_01.gif" width="1" border="0"></td>
<td class="bg01" vAlign="top" width="157">
<div align="center">
<center>
<table id="AutoNumber11" style="BORDER-COLLAPSE: collapse" borderColor="#111111" height="176" cellSpacing="0" cellPadding="0" width="157" border="0">
<tbody>
<tr>
<td vAlign="top" height="35"><img height="35" src="images/pic_520_passport_01.gif" width="157" border="0"></td></tr>
<tr>
<td vAlign="top" background="images/pic_520_passport_02.gif" bgColor="#ffffff" height="120" align="center"><!--#include file="Common/Inc_Login.asp"--></td>
</tr>
<tr>
<td vAlign="top" height="21"><img height="21" src="images/pic_520_passport_03.gif" width="157" border="0"></td></tr></tbody></table></center></div>
<div align="center">
<center>
<table borderColor="#111111" cellSpacing="0" cellPadding="0" width="157" border="0">
<tbody>
<tr>
<td vAlign="center" background="images/space_01.gif" height="25" width="155"> <img src="images/arrow_02.gif" border="0"> <b><font color="#FFFFFF">信息分類</font></b></td></tr>
<tr>
<td height="8" width="155"></td></tr>
<tr>
<td width="155" align="center" valign="top"><!--#INCLUDE FILE="Common/Inc_Catalog.asp"--></td>
</tr>
<tr>
<td height="8" width="155" colspan="2"></td></tr></tbody></table></center></div>
<div align="center">
<center>
<table borderColor="#111111" cellSpacing="0" cellPadding="0" width="157" border="0">
<tbody>
<tr>
<td vAlign="center" background="images/space_01.gif" height="25"> <img src="images/arrow_02.gif" border="0"> <b><font color="#FFFFFF">合作伙伴</font></b></td></tr>
<tr>
<td height="8"></td>
</tr>
<tr>
<td width="155" align="center" valign="top"><!--#INCLUDE FILE="Common/Inc_Cooperate.asp"--></td>
</tr>
<tr>
<td height="8"></td>
</tr>
</tbody>
</table>
</center>
</div>
<div align="center">
<center>
<table borderColor="#111111" cellSpacing="0" cellPadding="0" width="157" border="0">
<tbody>
<tr>
<td vAlign="center" background="images/space_01.gif" height="25"> <img src="images/arrow_02.gif" border="0"> <b><font color="#FFFFFF">友情鏈接</font></b></td></tr>
<tr>
<td height="8"></td>
</tr>
<tr>
<td width="155" align="center" valign="top"><!--#INCLUDE FILE="Common/Inc_Link.asp"--></td>
</tr>
<tr>
<td height="8"></td>
</tr>
</tbody>
</table>
</center>
</div>
</td>
<td vAlign="top" width="1" background="images/space_01.gif"><img height="1" src="images/space_01.gif" width="1" border="0"></td></tr>
<tr>
<td vAlign="top" width="760" colSpan="7" height="14"><img height="14" src="images/pic_bottom_01.gif" width="760" border="0"></td></tr></tbody></table></div>
<!--#include file="End.asp"-->
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -