?? 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 + -