📄 e_bigclass.asp
字号:
end if
if Request.cookies(eChuang)("key")="selfreg" then
if Request.cookies(eChuang)("reglevel")=3 then
rs3.Source="select top "& bigclassshownum &" * from "& db_News_Table &" where (smallClassID="& smallClassID &" and checkked=1 ) order by newsid DESC"
end if
if Request.cookies(eChuang)("reglevel")=2 then
rs3.Source="select top "& bigclassshownum &" * from "& db_News_Table &" where (smallClassID="& smallClassID &" and checkked=1 ) order by newsid DESC"
end if
if Request.cookies(eChuang)("reglevel")=1 then
rs3.Source="select top "& bigclassshownum &" * from "& db_News_Table &" where (smallClassID="& smallClassID &" and checkked=1 ) order by newsid DESC"
end if
end if
else
rs3.Source="select top "& bigclassshownum &" * from "& db_News_Table &" where (smallClassID="& smallClassID &" and checkked=1) order by newsid DESC"
end if
rs3.Open rs3.Source,conn,1,1
%>
<tr>
<td>
<table width="90%" border="0" cellspacing="0" cellpadding="3" align="center">
<!--图片换行显示1-->
<%
if not rs3.EOF then
do while not rs3.EOF
%>
<tr>
<%
fileExt=lcase(getFileExtName(rs3("picname")))
Content=htmlencode4(rs3("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=htmlencode4(rs3("Content"))
content=replace(content,"[---分页---]","")%>
<a class=middle href="E_ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>...">
<%if rs3("picname")=("") then
response.Write"<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
response.Write"<img src='"&FileUploadPath & rs3("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 & rs3("picname")%>">
<param name=quality value=high>
<param name='Play' value='-1'>
<param name='Loop' value='0'>
<param name='Menu' value='-1'>
<embed src="<%=FileUploadPath & rs3("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="E_ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=rs3("title")%>"><%=CutStr(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=htmlencode4(rs3("Content"))
content=replace(content,"[---分页---]","")%>
<a class=middle href="E_ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>">
<%if rs3("picname")=("") then
response.Write"<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
response.Write"<img src='"&FileUploadPath & rs3("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 & rs3("picname")%>">
<param name=quality value=high>
<param name='Play' value='-1'>
<param name='Loop' value='0'>
<param name='Menu' value='-1'>
<embed src="<%=FileUploadPath & rs3("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="E_ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=rs3("title")%>"><%=CutStr(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=htmlencode4(rs3("Content"))
content=replace(content,"[---分页---]","")%>
<a class=middle href="E_ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>">
<%if rs3("picname")=("") then
response.Write"<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
response.Write"<img src='"&FileUploadPath & rs3("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 & rs3("picname")%>">
<param name=quality value=high>
<param name='Play' value='-1'>
<param name='Loop' value='0'>
<param name='Menu' value='-1'>
<embed src="<%=FileUploadPath & rs3("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="E_ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=rs3("title")%>"><%=CutStr(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="E_ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>...">
<%if rs3("picname")=("") then
response.Write"<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
response.Write"<img src='"&FileUploadPath & rs3("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 & rs3("picname")%>">
<param name=quality value=high>
<param name='Play' value='-1'>
<param name='Loop' value='0'>
<param name='Menu' value='-1'>
<embed src="<%=FileUploadPath & rs3("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="E_ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=rs3("title")%>"><%=CutStr(rs3("title"),18)%></a> </div></td>
<%rs3.movenext
end if %>
</tr>
<!--图片换行结束-->
<%loop
rs3.Close
set rs3=nothing
%>
<%
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
%>
</table>
<TABLE cellSpacing=0 cellPadding=3 width="100%" align=center border=0>
<tr>
<td width=100% height="19" align=right><a class=class href='E_SmallClass.asp?typeid=<%=typeid%>&BigClassid=<%=BigClassid%>&smallClassid=<%=smallClassid%>'><img src="images/more.gif" border="0" alt="更多<%=E_smallclassname%>"></a> </td>
</tr>
</table>
</td>
</tr>
</table>
<%
end if
next
else
Response.Write "<table width=98% border=0 height=25><tr><td>暂无小类</td></tr></table>"
end if
%>
<% case 2 %>
<!--新闻模版-->
<%
if rseof=1 then
for i=1 to abcount
smallClassID=ArraysmallClassID(i)
E_smallclassname=ArrayE_smallclassname(i)
E_smallclassview=ArrayE_smallclassview(i)
if ArrayE_smallclassview(i)=1 then
%>
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
<tr>
<td height="30" background="IMAGES/menu_bg.jpg" class="white_link"> <font class=body><%=E_smallclassname%></font></td>
</tr>
<%set rs3=server.CreateObject("ADODB.RecordSet")
if uselevel=1 then
if Request.cookies(eChuang)("key")="super" or Request.cookies(eChuang)("key")="typemaster" or Request.cookies(eChuang)("key")="bigmaster" or Request.cookies(eChuang)("key")="smallmaster" or Request.cookies(eChuang)("key")="check" then
rs3.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (smallClassID=" & smallClassID &" and checkked=1) order by newsid DESC"
end if
if Request.cookies(eChuang)("key")="" then
rs3.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (smallClassID=" & smallClassID &" and checkked=1 ) order by newsid DESC"
end if
if Request.cookies(eChuang)("key")="selfreg" then
if Request.cookies(eChuang)("reglevel")=3 then
rs3.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (smallClassID=" & smallClassID &" and checkked=1 ) order by newsid DESC"
end if
if Request.cookies(eChuang)("reglevel")=2 then
rs3.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (smallClassID=" & smallClassID &" and checkked=1 ) order by newsid DESC"
end if
if Request.cookies(eChuang)("reglevel")=1 then
rs3.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (smallClassID=" & smallClassID &" and checkked=1 ) order by newsid DESC"
end if
end if
else
rs3.Source="select top " & bigclassshownum & " * from "& db_News_Table &" where (smallClassID=" & smallClassID &" and checkked=1) order by newsid DESC"
end if
rs3.Open rs3.Source,conn,1,1
if not rs3.EOF then
while not rs3.EOF
if showyear=1 then
newsurl="E_ReadNews.asp?NewsID=" & rs3("NewsID")
newswwwurl=rs3("titleface")
datetime="<font class=middle>(" & year(rs3("UpdateTime")) &"年"& Month(rs3("UpdateTime")) &"月"& Day(rs3("UpdateTime")) &"日)</font>"
else
newsurl="E_ReadNews.asp?NewsID=" & rs3("NewsID")
newswwwurl=rs3("titleface")
datetime="<font class=middle>("& Month(rs3("UpdateTime")) &"月"& Day(rs3("UpdateTime")) &"日)</font>"
end if
if rs3("picnews")=1 then
img="<img src='images/news_img.gif' border='0'>"
else
img=""
end if
title=trim(rs3("title"))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -