📄 hyxx.asp
字号:
<%@ codepage ="936" %>
<!--#include file="../conn/dbconn1.asp"--><head>
<SCRIPT>
function view(url){
var url; window.open(url,'_blank','status=no,scrollbars=yes,top=20,left=110,width=600,height=460');
}
</SCRIPT>
<%
const TjMax=15
const PicMax=1
%>
<head>
<STYLE type=text/css>
BODY {
FONT-SIZE: 12px; COLOR: #000; FONT-FAMILY: 宋体
}
TD {
FONT-SIZE: 12px; COLOR: #000; FONT-FAMILY: 宋体
}
A:link {
COLOR: #006699
}
A:visited {
COLOR: #006699
}
A:hover {
COLOR: #f60
}
.GR {
COLOR: #666
}
.GR:link {
COLOR: #666
}
.GR:visited {
COLOR: #666
}
.M {
FONT: bold 14px 宋体
}
.C {
FONT-SIZE: 13px
}
.S {
FONT-SIZE: 12px
}
.LM {
LINE-HEIGHT: 130%
}
.LL {
LINE-HEIGHT: 150%
}
SELECT {
FONT-SIZE: 12px
}
INPUT {
FONT-SIZE: 12px
}
</STYLE>
</head>
<%
sql="select * from hyxx where tjnews=1 order by NewsID desc"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
%>
<title>21sji商贸网</title>
<body bgcolor="#F0FAFF">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="190" style="border-collapse: collapse" bordercolor="#111111">
<%do while not rs.eof%>
<TR height=20><TD>
<a target="_blank" href="more.asp?typeid=<%=rs("typeid")%>&newstype=<%=rs("Typename")%>"><font color="#FF6600"><%=rs("Typename")%></a></font>|<%if rs("selectpic")=1 then%><%end if%><span style=\"font-size:9pt;line-height: 15pt\"><a href="javascript:view('shownews.asp?newsid=<%=rs("newsid")%>')"><% if len(rs("title"))>13 then%><%=left(rs("title"),11)%>..<% else%><%=rs("title")%><%end if%></a></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 + -