📄 hyxx.asp
字号:
<%@ codepage ="936" %>
<!--#include file="../inc/config.asp"-->
<!--#include file="../conn/dbconn1.asp"--><%
'┌─ 风云ASP在线 ────────────────────────┐
'│ │
'│ 作者:赵振波. http://www.fyasp.com │
'│ │
'│ Q Q:176189168 │
'│ │
'│ Email:service@fyasp.com │
'│ │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│ │
'│【版权声明】 │
'│ │
'│ 本程序版权归坐看风云所有,未经授权擅自修改、复制或散布本程序│
'│ │
'│的部分或全部,将承受严厉的民事和刑事处罚,对已知的违反者将给予法 │
'│ │
'│律范围内的全面制裁。对非法使用此程序所造成的一切后果本人概不负责!│
'│ │
'└─────────────────── http://www.fyasp.com ──┘
%>
<head>
<%
const TjMax=5
const PicMax=1
%>
<link href="../css/Style.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><head>
</head>
<%
sql="select * from hyxx where tjnews=1 order by NewsID desc"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
%>
<body>
<TABLE border=0 cellPadding=4 cellSpacing=1 width="100%" style="border-collapse: collapse" bordercolor="#111111">
<%do while not rs.eof%>
<TR height=20>
<TD> <span class="S"><a target="_blank" href="more.asp?typeid=<%=rs("typeid")%>&newstype=<%=rs("Typename")%>"><font color="#FF6600"><%=rs("Typename")%></font></a>|
<%if rs("selectpic")=1 then%>
<%end if%>
<span style=\"font-size:9pt;line-height: 15pt\"><a target="_blank" href="shownews.asp?newsid=<%=rs("newsid")%>">
<% if len(rs("title"))>10 then%>
<%=left(rs("title"),10)%>..
<% else%>
<%=rs("title")%>
<%end if%>
</a></span></span></TD>
<%rs.movenext %>
<TD><span class="S"><a target="_blank" href="more.asp?typeid=<%=rs("typeid")%>&newstype=<%=rs("Typename")%>"><font color="#FF6600">
<%=rs("Typename")%></font></a>|
<%if rs("selectpic")=1 then%>
<%end if%>
<span style=\"font-size:9pt;line-height: 15pt\"><a target="_blank" href="shownews.asp?newsid=<%=rs("newsid")%>">
<% if len(rs("title"))>10 then%>
<%=left(rs("title"),10)%>..
<% else%>
<%=rs("title")%>
<%end if%>
</a></span></span></TD>
</TR>
<% x=x+1
if x>=TjMax then exit do
rs.movenext
loop
rs.close
set rs=nothing
%>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -