📄 bigclass.asp
字号:
end if
end if
else
rsnosmall.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (bigClassID=" & bigClassID &" and smallclassid is null and checkked=1) order by newsid DESC"
end if
rsnosmall.Open rsnosmall.Source,conn,1,1
%>
<tr>
<td>
<table width="90%" border="0" cellspacing="0" cellpadding="3" align="center">
<!--图片换行显示1-->
<%
if not rsnosmall.EOF then
do while not rsnosmall.EOF
%>
<tr>
<%
fileExt=lcase(getFileExtName(rsnosmall("picname")))
Content=htmlencode4(rsnosmall("Content"))
content=replace(content,"[---分页---]","")
%>
<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all">
<%if not rsnosmall.EOF then%>
<div align="center">
<% content=htmlencode4(rsnosmall("Content"))
content=replace(content,"[---分页---]","")%>
<a class=middle href="ReadNews.asp?NewsID=<%=rsnosmall("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>...">
<%if rsnosmall("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="<%=FileUploadPath & rsnosmall("picname")%>" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%end if%>
<%if fileext="swf" then%>
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width="110" height="80" border=0 >
<param name=movie value="<%=FileUploadPath & rsnosmall("picname")%>">
<param name=quality value=high>
<param name='Play' value='-1'>
<param name='Loop' value='0'>
<param name='Menu' value='-1'>
<embed src="<%=FileUploadPath & rsnosmall("picname")%>" width="110" height="80" border=0 pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'></embed>
</object>
<%end if%>
<%end if%>
</a>
<br><br>
<a class=middle href="ReadNews.asp?NewsID=<%=rsnosmall("NewsID")%>" target=_blank title="<%=rsnosmall("title")%>"><%=CutStr(rsnosmall("title"),18)%></a>
</div>
</td>
<%rsnosmall.movenext
end if %>
<!--图片换行显示2-->
<%
fileExt=lcase(getFileExtName(rsnosmall("picname")))
Content=htmlencode4(rsnosmall("Content"))
content=replace(content,"[---分页---]","")
%>
<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all">
<%if not rsnosmall.EOF then%>
<div align="center">
<%
content=htmlencode4(rsnosmall("Content"))
content=replace(content,"[---分页---]","")%>
<a class=middle href="ReadNews.asp?NewsID=<%=rsnosmall("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>">
<%if rsnosmall("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="<%=FileUploadPath & rsnosmall("picname")%>" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%end if%>
<%if fileext="swf" then%>
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width="110" height="80" border=0 >
<param name=movie value="<%=FileUploadPath & rsnosmall("picname")%>">
<param name=quality value=high>
<param name='Play' value='-1'>
<param name='Loop' value='0'>
<param name='Menu' value='-1'>
<embed src="<%=FileUploadPath & rsnosmall("picname")%>" width="110" height="80" border=0 pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'></embed>
</object>
<%end if%>
<%end if%>
</a><br><br>
<a class=middle href="ReadNews.asp?NewsID=<%=rsnosmall("NewsID")%>" target=_blank title="<%=rsnosmall("title")%>"><%=CutStr(rsnosmall("title"),18)%></a>
</div>
</td>
<%rsnosmall.movenext
end if %>
<!--图片换行显示3-->
<%
fileExt=lcase(getFileExtName(rsnosmall("picname")))
Content=htmlencode4(rsnosmall("Content"))
content=replace(content,"[---分页---]","")
%>
<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all">
<%if not rsnosmall.EOF then%>
<div align="center">
<%
content=htmlencode4(rsnosmall("Content"))
content=replace(content,"[---分页---]","")%>
<a class=middle href="ReadNews.asp?NewsID=<%=rsnosmall("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>">
<%if rsnosmall("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="<%=FileUploadPath & rsnosmall("picname")%>" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%end if%>
<%if fileext="swf" then%>
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width="110" height="80" border=0 >
<param name=movie value="<%=FileUploadPath & rsnosmall("picname")%>">
<param name=quality value=high>
<param name='Play' value='-1'>
<param name='Loop' value='0'>
<param name='Menu' value='-1'>
<embed src="<%=FileUploadPath & rsnosmall("picname")%>" width="110" height="80" border=0 pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'></embed>
</object>
<%end if%>
<%end if%>
</a>
<br><br>
<a class=middle href="ReadNews.asp?NewsID=<%=rsnosmall("NewsID")%>" target=_blank title="<%=rsnosmall("title")%>"><%=CutStr(rsnosmall("title"),18)%></a>
</div></td>
<%rsnosmall.movenext
end if %>
<!--图片换行显示4-->
<%
fileExt=lcase(getFileExtName(rsnosmall("picname")))
Content=htmlencode4(rsnosmall("Content"))
content=replace(content,"[---分页---]","")
%>
<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all">
<%if not rsnosmall.EOF then%>
<div align="center">
<%content=rsnosmall("Content")
content=replace(content,"[---分页---]","")%>
<a class=middle href="ReadNews.asp?NewsID=<%=rsnosmall("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>...">
<%if rsnosmall("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="<%=FileUploadPath & rsnosmall("picname")%>" width="110" height="80" border=1 style=border-color:#000000 align=top>
<%end if%>
<%if fileext="swf" then%>
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width="110" height="80" border=0 >
<param name=movie value="<%=FileUploadPath & rsnosmall("picname")%>">
<param name=quality value=high>
<param name='Play' value='-1'>
<param name='Loop' value='0'>
<param name='Menu' value='-1'>
<embed src="<%=FileUploadPath & rsnosmall("picname")%>" width="110" height="80" border=0 pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'></embed>
</object>
<%end if%>
<%end if%>
</a>
<br><br>
<a class=middle href="ReadNews.asp?NewsID=<%=rsnosmall("NewsID")%>" target=_blank title="<%=rsnosmall("title")%>"><%=CutStr(rsnosmall("title"),18)%></a>
</div>
</td>
<%rsnosmall.movenext
end if %>
</tr>
<!--图片换行结束-->
<%loop%>
<%
else
Response.Write "<tr><td> <div align='center'><table width='98%' border='0' cellpadding='3' cellspacing='0'><tr><td width='62%'> <img src='IMAGES/006.gif' width='8' height='10'> 无小类文章暂无</td></tr></table></div></td></tr>"
end if
rsnosmall.close
set rsnosmall=nothing
%>
</table>
</table>
<!--图片模版-->
<% case 2 %>
<!--新闻模版-->
<td><%set rsnosmall=server.CreateObject("ADODB.RecordSet")
if uselevel=1 then
if Request.cookies(Forcast_SN)("key")="super" or Request.cookies(Forcast_SN)("key")="typemaster" or Request.cookies(Forcast_SN)("key")="bigmaster" or Request.cookies(Forcast_SN)("key")="smallmaster" or Request.cookies(Forcast_SN)("key")="check" then
rsnosmall.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (bigClassID=" & bigClassID &" and smallclassid is null and checkked=1) order by newsid DESC"
end if
if Request.cookies(Forcast_SN)("key")="" then
rsnosmall.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (bigClassID=" & bigClassID &" and smallclassid is null and checkked=1 ) order by newsid DESC"
end if
if Request.cookies(Forcast_SN)("key")="selfreg" then
if Request.cookies(Forcast_SN)("reglevel")=3 then
rsnosmall.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (bigClassID=" & bigClassID &" and smallclassid is null and checkked=1 ) order by newsid DESC"
end if
if Request.cookies(Forcast_SN)("reglevel")=2 then
rsnosmall.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (bigClassID=" & bigClassID &" and smallclassid is null and checkked=1 ) order by newsid DESC"
end if
if Request.cookies(Forcast_SN)("reglevel")=1 then
rsnosmall.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (bigClassID=" & bigClassID &" and smallclassid is null and checkked=1 ) order by newsid DESC"
end if
end if
else
rsnosmall.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (bigClassID=" & bigClassID &" and smallclassid is null and checkked=1) order by newsid DESC"
end if
rsnosmall.Open rsnosmall.Source,conn,1,1
if not rsnosmall.EOF then
while not rsnosmall.EOF
if showyear=1 then
newsurl="ReadNews.asp?NewsID=" & rsnosmall("NewsID")
newswwwurl=rsnosmall("titleface")
datetime="<font class=middle>(" & year(rsnosmall("UpdateTime")) &"年"& Month(rsnosmall("UpdateTime")) &"月"& Day(rsnosmall("UpdateTime")) &"日)</font>"
else
newsurl="ReadNews.asp?NewsID=" & rsnosmall("NewsID")
newswwwurl=rsnosmall("titleface")
datetime="<font class=middle>("& Month(rsnosmall("UpdateTime")) &"月"& Day(rsnosmall("UpdateTime")) &"日)</font>"
end if
if rsnosmall("picnews")=1 then
img="<img src='images/news_img.gif' border='0'>"
else
img=""
end if
title=trim(rsnosmall("title"))
title=replace(title,"<br>","")
%>
<tr>
<td> <div align="center">
<table width="98%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td width="62%"> <img src="IMAGES/006.gif" width="8" height="10">
<%=img%> <a class=middle href="<%if rsnosmall("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=rsnosmall("title")%>" target="_blank">
<<%=rsnosmall("titletype")%>><font color="<%=rsnosmall("titlecolor")%>">
<%=CutStr(title,46)%></font></<%=rsnosmall("titletype")%>></a>
<!--标题后评论提示-->
<% if rsnosmall("titlesize")>=1 then %>
<A class=middle HREF="<%=path%>review.asp?NewsID=<%=rsnosmall("NewsID")%>" target="_blank" ><font color=red><b>评</b></font></A>
<%end if %>
<!--标题后评论提示-->
</td>
<td width="10%" align="right">
<%if showauthor="1" then%>
<%=CutStr(rsnosmall("Author"),6)%>
<%end if%>
</td>
<td width="15%" align="left">
<%if showtime="1" then%>
<%=datetime%>
<%end if%>
</td>
<td width="5%" align="center">
<%if showclick="1" then%>
<font color=#666666><%=rsnosmall("click")%></font>
<%end if%>
</td>
<td width="8%" align="left">
<%if showtime="1" then%>
<%if year(rsnosmall("updatetime"))=year(date()) and month(rsnosmall("updatetime"))=month(date()) and day(rsnosmall("updatetime"))=day(date()) then%>
<%end if%>
<img src="images/new.gif">
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -