?? review.asp
字號:
<!--#include file="Common/Inc_DatConn.asp"-->
<!--#include file="Common/Inc_Config.asp"-->
<!--#include file="Common/Inc_Function.asp"-->
<!--#include file="Common/Inc_Code.asp"-->
<%
'┌─ 風云ASP在線 ────────────────────────┐
'│ │
'│ 作者:趙振波. http://www.fyasp.com │
'│ Q Q:176189168 │
'│ │
'│ Email:fy96@163.com │
'│ │
'│ 程序定做,系統開發,網站制作,提供高質量的網絡產品、技術和服務!│
'│ │
'│【版權聲明】 │
'│ │
'│ 本程序版權歸坐看風云所有,未經授權擅自修改、復制或散布本程序│
'│ │
'│的部分或全部,將承受嚴厲的民事和刑事處罰,對已知的違反者將給予法 │
'│ │
'│律范圍內的全面制裁。對非法使用此程序所造成的一切后果本人概不負責!│
'│ │
'└─────────────────── 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('發生錯誤!');"
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>查看關于 <% = rdsInfo("Topic")%> 的留言</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">
<Script Language=JavaScript>
function eWebEditorPopUp(style, form, field) {
var oPopUp = window.open("bj/popup.asp?style="+style+"&form="+form+"&field="+field, "PopUp"+form+field, "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=600");
}
</Script>
<SCRIPT LANGUAGE="JavaScript">
<!--//
function check()
{
if (isNaN(go2to.page.value))
alert("請正確填寫轉到頁數!");
else if (go2to.page.value=="")
{
alert("請輸入轉到頁數!");
}
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("\請填寫姓名!");
document.AddInfo.name.focus();
}
else if (document.AddInfo.tit.value == "") {
alert("\請填寫留言主題!");
document.AddInfo.tit.focus();
}
else if (document.AddInfo.tel.value == "") {
alert("\請填寫聯系電話!");
document.AddInfo.tel.focus();
}
else if (document.AddInfo.neirong.value == "") {
alert("\請填寫信息內容!");
document.AddInfo.neirong.focus();
}
else if (document.AddInfo.email.value == "") {
alert("\請填寫聯系 E-Mail!");
document.AddInfo.email.focus();
}
else if (document.AddInfo.email.value == "" || !checkemail(document.AddInfo.email.value)) {
alert("\E-Mail 填寫錯誤,請填寫有效的信箱,如 username@163.com !");
document.AddInfo.email.focus();
}
else {
return true;
}
return false;
}
</script>
</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%" align="center"><img height="14" src="images/pic_top_01.gif" width="760" border="0"></td>
</tr>
</table>
<div align="center">
<center>
<table 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="middle" background="images/002.gif" height="25">
<p align="center"><font color="#FFFFFF">§網友對</font><font color="#FFFF00">
[<% = rdsInfo("Topic")%>] </font><font color="#FFFFFF">的留言§</font></td>
<tr>
<td width="100%" height="30" bgcolor="#E8E8E8">
<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
'分頁代碼結束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結束#######
%> <%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%>','發送郵件','status=yes,scrollbars=yes,resizable=yes,width=380,height=365')">
<FONT
color=#0000FF><span style="text-decoration: none">郵件回復</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>
<% i=i+1
rs.movenext
if i>=rs.PageSize then exit do
loop
end if
%>
<tr>
<td width="100%" height="20" bgcolor="#FFFFFF" align="center"><br>
<table width="98%" border="0" cellspacing="1" cellpadding="0">
<% if rs.pagecount=1 then %>
<td height="6" valign="bottom" align="right"> <font color="#000000">共有[<font color="#ff0000"><%=rs.recordcount%></font>]條記錄
以上是[<font color="red">1~<%=rs.recordcount%></font>]條</font></td>
</tr>
<tr>
<td width="541" height="7" valign="bottom" align="right"></td>
</tr>
<%else%>
<tr>
<td height="16" valign="bottom" align="right" width="99%">
<% response.write"<form name=go2to form method=Post action='reView.asp'>"
if pagecount=1 then
response.write "<font color='#000064'>首頁 上一頁</font> "
else
response.write "<a href=?ID="&intInfoKey&"&page=1><font color='0000BE'>首頁</font></a> "
response.write "<a href=?ID="&intInfoKey&"&page="+cstr(pagecount-1)+"><font color='0000BE'>上一頁</font></a> "
end if
if rs.PageCount-pagecount<1 then
response.write "<font color='#000064'>下一頁 尾頁</font>"
else
response.write "<a href=?ID="&intInfoKey&"&page="+cstr(pagecount+1)+"><font color='0000BE'>下一頁</font></a> "
response.write "<a href=?ID="&intInfoKey&"&page="+cstr(rs.PageCount)+"><font color='0000BE'>尾頁</font></a>"
end if
response.write "<font color='000064'> 頁次:<font color=blue>"&pagecount&"</font>/"&rs.pagecount&"頁</font>"
response.write "<font color='000064'> 轉到第<input type='text' name='page' size=2 maxLength=3 style='font-size: 9pt; color:#00006A; position: relative; height: 18' value="&PageCount&">頁</font> "
response.write "<input type='hidden' name='ID' value="&intInfoKey&">"
response.write "<input class=button type='button' value='確 定' onclick=check() style='font-family: 宋體; font-size: 9pt; color: #000073; position: relative; height: 19'>"
response.write "</form>"%></td>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -