📄 view_info.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 ──┘
Dim intInfoKey
Dim rdsInfo
Dim sqlInfo
Dim sqlUpdateInfoHits
intInfoKey =Request.QueryString("Id")
set rdsInfo = Server.CreateObject("ADODB.Recordset")
sqlInfo = "Select * From Dat_Information Where InfoKey = "&intInfoKey
rdsInfo.Open sqlInfo,Conn,1,1
bt=rdsInfo("Topic")
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<title><%=bt%>-<% =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">
<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 leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
<!--#include file="Top.asp"-->
<table class="zi09" height="60" cellSpacing="0" cellPadding="0" width="760" align="center" background="<% = strSysUrl%>hy/img/106.gif" border="0">
<tr>
<td width="12">
<div align="left">
<img height="60" src="<% = strSysUrl%>hy/img/104.gif" width="9"></div>
</td>
<td style="WIDTH: 47px" vAlign="center" align="right" width="47">
<div align="right">
<img height="60" src="<% = strSysUrl%>hy/img/115.gif" width="39"></div>
</td>
<td vAlign="center" align="middle" width="58">
<b><span class="currentarea"><font color="#0A8ECC" size="2">地区<br>
导航</font></span></b></td>
<td width="631">
<table class="zi-chengshi" cellSpacing="0" cellPadding="0" align="center" border="0">
<tr>
<td height="22"><%set rsadd=server.createobject("adodb.recordset")
sqladd="select * from mxdq order by sj desc"
rsadd.open sqladd,conn,1,1
do while not rsadd.eof
dqname=rsadd("name")
%>
<a target="_blank" href="<% = strSysUrl%>list.asp?dq=<%=dqname%>">
<%=dqname%></a>
<%
rsadd.movenext
loop
rsadd.close
set rsadd=nothing
%></td>
</tr>
</table>
</td>
<td align="right" width="13">
<div align="right">
<img height="60" src="<% = strSysUrl%>hy/img/105.gif" width="9"></div>
</td>
</tr>
</table>
<div align="center">
<table border="0" style="border-collapse: collapse" width="760" height="2">
<tr>
<td></td>
</tr>
</table>
</div>
<div align="center">
<table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="2">
<tr>
<td></td>
</tr>
</table>
</div>
<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>
<%
if not rdsInfo.EOF then
%>
<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="#3986CE" size="2"><b><span lang="en-us">
<%=bt%></span></b></font><%xxlx3=rdsInfo("InfoClass")
Select Case xxlx3
Case "1"
strInfoClass = "<font color=#FFFF00>[销售]</font>"
Case "2"
strInfoClass = "<font color=#0000f0>[求购]</font>"
Case "3"
strInfoClass = "<font color=#FFFF00>[要闻]</font>"
Case "4"
strInfoClass = "<font color=#FFFF00>[动态]</font>"
Case "5"
strInfoClass = "<font color=#FFFF00>[招聘]</font>"
Case "6"
strInfoClass = "<font color=#FFFF00>[求职]</font>"
Case "7"
strInfoClass = "<font color=#FFFF00>[展会]</font>"
Case "8"
strInfoClass = "<font color=#FFFF00>[其它]</font>"
End Select
Response.Write ""&strInfoClass&""%></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" width="100%">
<table width="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="line-height:120%;letter-spacing:1px">
<tr>
<td width="100%" height="1" background="images/dotline.gif" colspan="4"></td>
</tr>
<tr>
<td width="100%" height="30" align="center" colspan="4">
<%yxq=rdsInfo("InfoDate")
fbsj=FormatTime(rdsInfo("CreateTime"),8)
dqsj=DateAdd( "d" ,yxq ,fbsj)
sysj=DateDiff ("d",date(),dqsj)
if sysj<0 then
sysj="<font color=#808080>过期</font>"
else
sysj="<font color=#ff0000>"&sysj&"</font> 天"
end if%>发布时间<% =fbsj%> 浏览次数:<% = rdsInfo("Hits")%> 次</td>
</tr><tr>
<td width="100%" height="1" background="images/dotline.gif" colspan="4"></td>
</tr>
<tr>
<td width="100%" height="7" colspan="4"></td>
</tr><tr>
<td width="16%" height="18" align="right">信 誉 度:</td>
<td width="21%" height="18"> <%
strgquser=rdsInfo("MemberKey")
if strgquser<>"0" then
set rdsInfo1 = Server.CreateObject("ADODB.Recordset")
sqlInfo1 = "Select jb,MemberType From Dat_Member Where MemberKey= "&strgquser
rdsInfo1.Open sqlInfo1,Conn,1,1
strjb=rdsInfo1("jb")
hyType=rdsInfo1("MemberType")
rdsinfo1.close
set rdsinfo1=nothing
end if
if hyType=1 then
Select Case strjb
Case "0"
strInfoClassa = "<font color=#0000ff>普通个人会员</font>"
strgg="<img border=0 src=images/jf_null.gif alt=普通个人会员><a href=hy/company1.asp?cid="&strgquser&" target=_blank><font color=#2969AD>逛逛掌柜的店铺</font></a>"
Case "-1"
strInfoClassa = "<font color=#0000ff><b>普通个人会员</b></font>"
strgg="<img border=0 src=images/jf_null.gif alt=普通个人会员><a href=hy/company1.asp?cid="&strgquser&" target=_blank><font color=#2969AD>逛逛掌柜的店铺</font></a>"
Case "1"
strInfoClassa = "<font color=#FF0000><b>收费个人会员</b></font>"
strgg="<img border=0 src=images/jf_shell.gif alt=收费个人会员><a href=hy/company1.asp?cid="&strgquser&" target=_blank><font color=#2969AD>逛逛掌柜的店铺</font></a>"
Case else
strInfoClassa = "<font color=#008080>游客发布</font>"
strgg="<a href=RegMember target=_blank><font color=#2969AD>免费注册 免费开店</font></a>"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -