?? review.asp
字號:
<!--#include file="Common/Inc_DatConn.asp"-->
<!--#include file="Common/Inc_Config.asp"-->
<!--#include file="Common/Inc_Function.asp"-->
<%
'┌─ 風(fēng)云ASP在線 ────────────────────────┐
'│ │
'│ 作者:趙振波. http://www.fyasp.com │
'│ │
'│ Q Q:176189168 │
'│ │
'│ Email:fy96@163.com │
'│ │
'│ 程序定做,系統(tǒng)開發(fā),網(wǎng)站制作,提供高質(zhì)量的網(wǎng)絡(luò)產(chǎn)品、技術(shù)和服務(wù)!│
'│ │
'│【版權(quán)聲明】 │
'│ │
'│ 本程序版權(quán)歸坐看風(fēng)云所有,未經(jīng)授權(quán)擅自修改、復(fù)制或散布本程序│
'│ │
'│的部分或全部,將承受嚴(yán)厲的民事和刑事處罰,對已知的違反者將給予法 │
'│ │
'│律范圍內(nèi)的全面制裁。對非法使用此程序所造成的一切后果本人概不負(fù)責(zé)!│
'│ │
'└─────────────────── http://www.fyasp.com ──┘
%>
<%Dim intInfoKey
Dim rdsInfo
Dim sqlInfo
Dim sqlUpdateInfoHits
intInfoKey =changechr(Request("Id"))
if intInfoKey = "" then
response.write"<SCRIPT language=JavaScript>alert('發(fā)生錯誤!');"
response.write"javascript:history.back();</SCRIPT>"
response.end
end if
set rdsInfo = Server.CreateObject("ADODB.Recordset")
sqlInfo = "Select * From Dat_Information Where InfoKey = "& intInfoKey
rdsInfo.Open sqlInfo,Conn,1,1%>
<html>
<head>
<title>查看關(guān)于 <% = rdsInfo("Topic")%> 的留言</title>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="分類,供求信息,北方供求,整站出售,免費源碼,交友, 征友, 風(fēng)云在線, 約會, 聊天, 征婚, 婚介, 愛情, 友情, 友誼, 朋友, 伙伴, 情人, 伴侶, 同性, 異性, 女人, 男士, 女士, 男孩, 女孩, 帥哥, 美女, 單身, 獨身, 性感, 浪漫, 激情, 手機(jī)交友, 手機(jī), 短信, 彩信, 鈴聲, 圖片, 照片, 靚照, 貼圖, 語音, 視頻, 搜索, 文章, 商城" name="keywords">
<link href="Common/Style.css" type="text/css" rel="stylesheet">
<SCRIPT LANGUAGE="JavaScript">
<!--//
function check()
{
if (isNaN(go2to.page.value))
alert("請正確填寫轉(zhuǎn)到頁數(shù)!");
else if (go2to.page.value=="")
{
alert("請輸入轉(zhuǎn)到頁數(shù)!");
}
else
go2to.submit();
}
//-->
</SCRIPT><script language="javascript">
//檢查email的合法性
function checkemail(inputstr){
if(inputstr.indexOf('@') != -1 && inputstr.indexOf('.')!= -1)
return true;
else
return false;
}
//檢驗表單的合法性
function bbhf() {
if (document.AddInfo.name.value == "") {
alert("\請?zhí)顚懶彰?quot;);
document.AddInfo.name.focus();
}
else if (document.AddInfo.tit.value == "") {
alert("\請?zhí)顚懥粞灾黝}!");
document.AddInfo.tit.focus();
}
else if (document.AddInfo.tel.value == "") {
alert("\請?zhí)顚懧?lián)系電話!");
document.AddInfo.tel.focus();
}
else if (document.AddInfo.neirong.value == "") {
alert("\請?zhí)顚懶畔?nèi)容!");
document.AddInfo.neirong.focus();
}
else if (document.AddInfo.email.value == "") {
alert("\請?zhí)顚懧?lián)系 E-Mail!");
document.AddInfo.email.focus();
}
else if (document.AddInfo.email.value == "" || !checkemail(document.AddInfo.email.value)) {
alert("\E-Mail 填寫錯誤,請?zhí)顚懹行У男畔?,?username@163.com !");
document.AddInfo.email.focus();
}
else {
return true;
}
return false;
}
</script>
</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="#000080"><b>§網(wǎng)友對
[<% = rdsInfo("Topic")%>] 的留言§</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 border="0" width="100%" cellspacing="1" cellpadding="3">
<%
set rs=Server.Createobject("ADODB.Recordset")
'分頁代碼1#######
if not isempty(request("page")) then
pagecount=cint(request("page"))
else
pagecount=1
end if
'分頁代碼結(jié)束1#######
sql="select * from Dat_hf Where xxid ="&intInfoKey&" order by id desc"
rs.open sql,conn,1,1
if rs.eof then%>
<tr>
<td bgcolor="#FFFFFF">
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td colspan="8">對不起,此信息暫時沒有留言!</td>
</tr> <TR>
<TD background=images/line.gif
height=1 colspan="8" ></TD>
</TR></table></div></td></tr>
<%
else
'分頁代碼2#######
rs.pagesize=10
if pagecount>rs.pagecount or pagecount<=0 then
pagecount=1
end if
rs.AbsolutePage=pagecount
'分頁代碼2結(jié)束#######
%> <%if mmm<>0 then
for iisf=1 to mmm * 16
if rs.eof then exit for
rs.movenext
next
end if
do while not rs.eof%>
<td bgcolor="#E9FBFF">
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><%if rs("sex")="保密" then%><img border="0" src="images/bz.gif" width="16" height="18" alt="性別:保密"><%end if%><%if rs("sex")="男" then%><img border="0" src="images/ic_male.gif" alt="性別:男"><%end if%><%if rs("sex")="女" then%><img border="0" src="images/ic_female.gif" alt="性別:女"><%end if%></td>
<td width="521"><font color="#000080"><%=rs("name")%>:
</font><font color="#E10044"><%=rs("tit")%></font></td>
<td>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td colspan="8"><p style="line-height: 150%; margin-left: 15px; margin-right: 15px"><%=rs("neirong")%></p></td>
</tr> <TR>
<TD background=images/line.gif
height=1 colspan="8" ></TD>
</TR>
<tr>
<td width="3%">
<img border="0" src="images/time.gif" width="16" height="15"></td>
<td width="20%"><%=rs("hfsj")%></td>
<td width="3%">
<img border="0" src="images/email.gif" alt="<%=rs("email")%>" width="16" height="16"></td>
<td width="11%"><a href="#" onClick="window.open('xinxi_mail.asp?email=<%=rs("email")%>&id=<% =intInfoKey%>','發(fā)送郵件','status=yes,scrollbars=yes,resizable=yes,width=380,height=365')">
<FONT
color=#0000FF><span style="text-decoration: none">郵件回復(fù)</span></FONT></a></td>
<td width="4%">
<img border="0" src="images/call.gif" width="17" height="12"></td>
<td width="26%">電話:<%=rs("tel")%></td>
<td width="18%"><img border="0" src="images/ip.gif" width="16" height="15" alt="IP地址:<%=rs("ip")%>">IP
</td>
<td width="15%"><%if Session("strAccount")<>"" and Session("strPassWord")<>"" then%>
<a href="delhf_admin.asp?id=<%=rs("id")%>&xxid=<%=intInfoKey%>" target=_blank>
<img border="0" src="images/del.gif" width="15" height="16" alt="刪除此留言"></a><%end if%>
<%
xxmem=cstr(rs("xxmem"))
xxmem1=cstr(Session("intMemberKey"))
if xxmem=xxmem1 then%>
<a href="delhf_user.asp?id=<%=rs("id")%>&xxid=<%=intInfoKey%>" target=_blank>
<img border="0" src="images/del.gif" width="15" height="16" alt="刪除此留言"></a><%end if%></td>
</tr>
</table>
</div>
</td>
</tr>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -