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

📄 js.asp

📁 北方供求 V3.3 Sql 版 §V3.3更新功能 1、首页(自动生成静态
💻 ASP
字号:
<!--#include file="Common/Inc_DatConn.asp"-->
<!--#include file="Common/Inc_Function.asp"-->
<%
'┌─  风云ASP在线  ────────────────────────┐
'│                                                                 │
'│  作者:赵振波.	http://www.fyasp.com	    				    │
'│                                                                 │
'│   Q Q:176189168  										   	    │
'│                                                                 │
'│ Email:fy96@163.com                                             │
'│                                                                 │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│                                                                 │
'│【版权声明】                                                     │
'│                                                                 │
'│     本程序版权归坐看风云所有,未经授权擅自修改、复制或散布本程序│
'│                                                                 │
'│的部分或全部,将承受严厉的民事和刑事处罚,对已知的违反者将给予法 │
'│                                                                 │
'│律范围内的全面制裁。对非法使用此程序所造成的一切后果本人概不负责!│
'│                                                                 │
'└───────────────────  http://www.fyasp.com ──┘
qq=lcase(request.servervariables("url"))
rr=InstrRev(""&qq&"","/")
dd=left(""&qq&"",""&rr&"")
hp="http://"&request.servervariables("server_name")&""&dd&""
%>
<%
dim fyshow
s_num=changechr(request("num"))
lm=changechr(request("dl"))
lx=changechr(request("lx"))
s_words=changechr(request("words"))
tj=changechr(request("tj"))
showlx=changechr(request("showlx"))
tempcontent="<table cellspacing=0 cellpadding=0 width=100% align=center border=0>"
tempcontent=tempcontent&"  <tbody>"
tempcontent=tempcontent&"  <tr>"
tempcontent=tempcontent&"    <td height=4></td>"
tempcontent=tempcontent&"  </tr>"
if s_num="" then
s_num=6
end if
if s_words="" then
s_words=10
end if
			set rsa=server.createobject("adodb.recordset")
			strsql="select Top "&s_num&" * from Dat_Information Where State = 1 "
			if lx<>"" then
			strsql=strsql&" and InfoClass='"&lx&"' "
			end if
			if tj="ok" then
			strsql=strsql&" and tj = true "
			end if
			if lm<>"" then
			strsql=strsql&" and dl ='"&lm&"' "
			end if
			strsql=strsql&" Order By InfoKey Desc"
			rsa.Open strsql,conn,1,1
			if rsa.EOF or rsa.BOF then
tempcontent=tempcontent&" <tr><td>暂时没有任何信息!</td></tr>"
			end if
			do while not rsa.EOF
			tempcontent=tempcontent&"  <tr>" 
			sstit=Trim(rsa("Topic"))
			xxidb=Trim(rsa("InfoKey"))
if len(sstit)>cint(s_words) then
					atempTitle = Left(sstit,s_words)&"..."
		   		else
					atempTitle =sstit
end if


tempcontent=tempcontent&"    <td height=20 valign=top><div align='left'>"
if showlx="ok"  then
xxlx3=cstr(rsa("InfoClass"))
		Select Case xxlx3
		Case "1"
							tempcontent=tempcontent&"·<a  target=_blank href="&hp&"list.asp?lx=1><font color=#009933 style=font-size: 9pt><span style=text-decoration: none>[销售]</span></font></a><a  target=_blank href='"&hp&"View_Info.asp?Id="&xxidb&"'>"&atempTitle&"</a>"
							Case "2"
								tempcontent=tempcontent&"·<a  target=_blank href="&hp&"list.asp?lx=2><font color=#ff0000 style=font-size: 9pt><span style=text-decoration: none>[求购]</span></font></a><a  target=_blank href='"&hp&"View_Info.asp?Id="&xxidb&"'>"&atempTitle&"</a>"	
							Case "3"
								tempcontent=tempcontent&"·<a  target=_blank href="&hp&"list.asp?lx=3><font color=#FF00FF style=font-size: 9pt><span style=text-decoration: none>[要闻]</span></font></a><a  target=_blank href='"&hp&"View_Info.asp?Id="&xxidb&"'>"&atempTitle&"</a>"
							Case "4"
								tempcontent=tempcontent&"·<a  target=_blank href="&hp&"list.asp?lx=4><font color=#008080 style=font-size: 9pt><span style=text-decoration: none>[动态]</span></font></a><a  target=_blank href='"&hp&"View_Info.asp?Id="&xxidb&"'>"&atempTitle&"</a>"
							Case "5"
								tempcontent=tempcontent&"·<a  target=_blank href="&hp&"list.asp?lx=5><font color=#0000FF style=font-size: 9pt><span style=text-decoration: none>[招聘]</span></font></a><a  target=_blank href='"&hp&"View_Info.asp?Id="&xxidb&"'>"&atempTitle&"</a>"
							Case "6"
								tempcontent=tempcontent&"·<a  target=_blank href="&hp&"list.asp?lx=6><font color=#9900FF style=font-size: 9pt><span style=text-decoration: none>[求职]</span></font></a><a  target=_blank href='"&hp&"View_Info.asp?Id="&xxidb&"'>"&atempTitle&"</a>"
							Case "7"
								tempcontent=tempcontent&"·<a  target=_blank href="&hp&"list.asp?lx=7><font color=#CC6600 style=font-size: 9pt><span style=text-decoration: none>[展会]</span></font></a><a  target=_blank href='"&hp&"View_Info.asp?Id="&xxidb&"'>"&atempTitle&"</a>"
							Case "8"
								tempcontent=tempcontent&"·<a  target=_blank href="&hp&"list.asp?lx=8><font color=#000000 style=font-size: 9pt><span style=text-decoration: none>[其它]</span></font></a><a  target=_blank href='"&hp&"View_Info.asp?Id="&xxidb&"'>"&atempTitle&"</a>"
						Case else
								tempcontent=tempcontent&"·<font color=#000000 style=font-size: 9pt><span style=text-decoration: none>[未知]</span></font><a  target=_blank href='"&hp&"View_Info.asp?Id="&xxidb&"'>"&atempTitle&"</a>"

		End Select
else
tempcontent=tempcontent&"·<a  target=_blank href='"&hp&"View_Info.asp?Id="&xxidb&"'>"&atempTitle&"</a>"
end  if
tempcontent=tempcontent&"    </div></td>"
tempcontent=tempcontent&"  </tr>"

	rsa.movenext
	loop
	rsa.close
	set rsa = nothing
tempcontent=tempcontent&"  </tbody>"
tempcontent=tempcontent&"</table>"
%>
document.write("<%=tempcontent%>");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -