📄 bigclass.asp
字号:
<%=rs3("title")%></a></div></td>
</tr>
</table>
<%
rs3.MoveNext
wend
else
Response.Write "<table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"" align=""center"" style=""TABLE-LAYOUT: fixed""><tr><td width=100% align=center height=18 background='IMAGES/menu-d.gif'>暂无</td></tr></table>"
end if
rs3.close
set rs3=nothing
%>
</td>
</tr>
</table>
<%end if%>
</td>
</tr>
</table>
</td>
<td width="6"> </td>
<td background="IMAGES/menu-l.gif">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFFFF"><img src="IMAGES/kb.gif" width="9" height="3"></td>
</tr>
<tr>
<td height="25" background="IMAGES/menu-l-m.gif"> <font class=m_tittle> </font>栏目导航 <a href="./" class="daohang">网站首页</a>>><a href=type.asp?typeid=<%=typeid%> class="daohang"><%=typename%></a>
<% Response.Write ">>" & BigClassName & "" %>
</td>
</tr>
<tr>
<td background="IMAGES/menu-l.gif"><div align="center">
<script language=javascript src=./admin/banner/ads.asp?place=1></script>
</div></td>
</tr>
</table>
<!--模版开始-->
<% select case mode%>
<% case "1" %><!--图片模版-->
<%
set rs3=server.CreateObject("ADODB.RecordSet")
%>
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber4">
<tr>
<td height="25" background="IMAGES/menu-l-zj.gif"> <img src=images/ico.gif> <font class=m_tittle><%=BigClassName%></font></td>
</tr>
<%if uselevel=1 then
if Request.cookies("key")="super" or Request.cookies("key")="typemaster" or Request.cookies("key")="bigmaster" or Request.cookies("key")="smallmaster" or Request.cookies("key")="check" then
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1) order by newsid DESC"
end if
if Request.cookies("key")="" then
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1 ) order by newsid DESC"
end if
if Request.cookies("key")="selfreg" then
if Request.cookies("reglevel")=3 then
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1 and newslevel<=3) order by newsid DESC"
end if
if Request.cookies("reglevel")=2 then
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1 and newslevel<=2) order by newsid DESC"
end if
if Request.cookies("reglevel")=1 then
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1 and newslevel<=1) order by newsid DESC"
end if
end if
else
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1) order by newsid DESC"
end if
rs3.Open rs3.Source,conn,1,1
if not rs3.EOF then
more=1
else more=0
end if
%>
<table width="90%" border="0" cellspacing="0" cellpadding="3" align="center">
<!--图片换行显示1-->
<%do while not rs3.EOF%>
<tr>
<%
fileExt=lcase(getFileExtName(rs3("picname")))
Content=rs3("Content")
content=replace(content,"[[","<")
content=replace(content,"]]",">")
%>
<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all">
<%if not rs3.EOF then%>
<div align="center">
<% content=rs3("Content")
content=replace(content,"[---分页---]","")%>
<a class=middle href="ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=left(nohtml(Content),150)%>...">
<%if rs3("picname")=("") then%>
<img src="IMAGES/flashorno.gif" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%else%>
<%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then%>
<img src="uploadfile/<%=rs3("picname")%>" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%end if%>
<%end if%>
</a><br><br>
<a class=middle href="ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=rs3("title")%>">
<%=left(rs3("title"),18)%>
</a>
</div>
</td>
<%rs3.movenext
end if %>
<!--图片换行显示2-->
<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all">
<%if not rs3.EOF then%>
<div align="center">
<%
content=rs3("Content")
content=replace(content,"[---分页---]","")%>
<a class=middle href="ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=left(nohtml(Content),150)%>...">
<%if rs3("picname")=("") then%>
<img src="IMAGES/flashorno.gif" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%else%>
<%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then%>
<img src="uploadfile/<%=rs3("picname")%>" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%end if%>
<%end if%>
</a><br><br>
<a class=middle href="ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=rs3("title")%>">
<%=left(rs3("title"),18)%>
</a>
</div>
</td>
<%rs3.movenext
end if %>
<!--图片换行显示3-->
<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all">
<%if not rs3.EOF then%>
<div align="center">
<%
content=rs3("Content")
content=replace(content,"[---分页---]","")%>
<a class=middle href="ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=left(nohtml(Content),150)%>...">
<%if rs3("picname")=("") then%>
<img src="IMAGES/flashorno.gif" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%else%>
<%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then%>
<img src="uploadfile/<%=rs3("picname")%>" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%end if%>
<%end if%>
</a><br><br>
<a class=middle href="ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=rs3("title")%>">
<%=left(rs3("title"),18)%>
</a>
</div>
</td>
<%rs3.movenext
end if %>
<!--图片换行显示4-->
<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all">
<%if not rs3.EOF then%>
<div align="center">
<%
content=rs3("Content")
content=replace(content,"[---分页---]","")%>
<a class=middle href="ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=left(nohtml(Content),150)%>...">
<%if rs3("picname")=("") then%>
<img src="IMAGES/flashorno.gif" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%else%>
<%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then%>
<img src="uploadfile/<%=rs3("picname")%>" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%end if%>
<%end if%>
</a><br><br>
<a class=middle href="ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=rs3("title")%>">
<%=left(rs3("title"),18)%>
</a>
</div>
</td>
<%rs3.movenext
end if %>
</tr>
<!--图片换行结束-->
<%loop
rs3.Close
set rs3=nothing
%>
</table>
<%
if more=1 then
%>
<TABLE cellSpacing=0 cellPadding=3 width="99%" align=center border=0 >
<tr>
<td width="98%" align=right height="1" bgcolor="#CFE3F3"><a class=class href="bigClassdeta.asp?typeid=<%=typeid%>&BigClassid=<%=request_BigClassid%>&BigClassName=<%=request_BigClassName%>"><img src="images/more.gif" border="0" alt="更多<%=smallClassName%>"></a> </td>
</tr>
</table>
<%
else
Response.Write "<table width=98% border=0 height=25><tr><td>本栏暂无图片</td></tr></table>"
end if
%>
<% case "2" %><!--新闻模版-->
<%
set rs3=server.CreateObject("ADODB.RecordSet")
%>
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber4">
<tr>
<td height="25" background="IMAGES/menu-l-zj.gif"> <img src=images/ico.gif> <font class=m_tittle><%=BigClassName%></font></td>
</tr>
<%if uselevel=1 then
if Request.cookies("key")="super" or Request.cookies("key")="typemaster" or Request.cookies("key")="bigmaster" or Request.cookies("key")="smallmaster" or Request.cookies("key")="check" then
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1) order by newsid DESC"
end if
if Request.cookies("key")="" then
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1 ) order by newsid DESC"
end if
if Request.cookies("key")="selfreg" then
if Request.cookies("reglevel")=3 then
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1 and newslevel<=3) order by newsid DESC"
end if
if Request.cookies("reglevel")=2 then
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1 and newslevel<=2) order by newsid DESC"
end if
if Request.cookies("reglevel")=1 then
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1 and newslevel<=1) order by newsid DESC"
end if
end if
else
rs3.Source="select top "&bigclassshownum&" * from News where (BigClassid=" & request_BigClassid & " and checkked=1) order by newsid DESC"
end if
rs3.Open rs3.Source,conn,1,1
if not rs3.EOF then
more=1
else more=0
end if
while not rs3.EOF
if showyear=1 then
newsurl="ReadNews.asp?NewsID=" & rs3("NewsID")
datetime="<font class=middle>(" & year(rs3("UpdateTime")) &"年"& Month(rs3("UpdateTime")) &"月"& Day(rs3("UpdateTime")) &"日)</font>"
else
newsurl="ReadNews.asp?NewsID=" & rs3("NewsID")
datetime="<font class=middle>("& Month(rs3("UpdateTime")) &"月"& Day(rs3("UpdateTime")) &"日)</font>"
end if
if rs3("picname")<>"" then
img="<img src='IMAGES/IMG.gif' border='0'>"
else
img=""
end if
title=trim(rs3("title"))
title=replace(title,"<br>","")
%>
<tr>
<td height=1><div align="center">
<table width="98%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="65%"> <img src="images/006.gif" width="8" height="10" border="0"> <a class=middle href="<%=newsurl%>" target="_blank" title="<%=title%>">
<%=img%>
<<%=rs3("titletype")%>><font color="<%=rs3("titlecolor")%>">
<%if showtime="1" then%>
<%if len(title)>24 then%>
<%=left(title,24)%>
<%else%>
<%=title%>
<%end if%>
<%else%>
<%if len(title)>24 then%>
<%=left(title,24)%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -