⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 review.asp

📁 个人网站系统,本人基于第三方源码进行更改!
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#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")%>:&nbsp; 
								</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>&nbsp;"
			 else                                                        
             response.write "<a href=?ID="&intInfoKey&"&page=1><font color='0000BE'>首页</font></a>&nbsp;" 
	         response.write "<a href=?ID="&intInfoKey&"&page="+cstr(pagecount-1)+"><font color='0000BE'>上一页</font></a>&nbsp;"
			 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>&nbsp;"
			 response.write "<a href=?ID="&intInfoKey&"&page="+cstr(rs.PageCount)+"><font color='0000BE'>尾页</font></a>"           
             end if 
			 response.write "<font color='000064'>&nbsp;页次:<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>&nbsp;" 
			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 + -