⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bigclass.asp

📁 完美政府版,正版网站解决方案
💻 ASP
📖 第 1 页 / 共 4 页
字号:
		<%end if%>
		</a>
	</td>
</tr>
<tr><td><a class=middle href="Article.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=htmlencode4(rs3("title"))%>"> <%=rs3("title")%></a></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>
<!--最新图文结束-->
		</td>

<td width="6">&nbsp;</td>
<td  style="border-left: 1px solid #cccccc ; border-top: 0px solid #cccccc ; border-bottom: 1px solid #cccccc ; border-right: 1px solid #cccccc "> 
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr> 
					<td height="25" background="IMAGES/menu-l-m.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class=m_tittle>&nbsp;</font> &nbsp<a href="./" class="daohang">网站首页</a>><a  class="daohang" href=type.asp?typeid=<%=typeid%> ><%=typename%></a>><%=bigClassName%></td>
				</tr>
<tr> 
<!--无小类文章区开始-->
<% SELECT CASE (bigclasszs)
CASE 1 %>
<!--图片模版-->
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
<%
Set objRsnosmall = Server.CreateObject("ADODB.RecordSet")
strSqlobjRsnosmall="SELECT TOP " & bigclassshownum & " Content, picname, NewsID, title FROM "& db_News_Table &" WHERE (bigClassID=" & request_BigClassID &"  and smallclassid IS NULL AND checkked=1) ORDER BY newsid DESC"
objRsnosmall.Open strSqlobjRsnosmall,conn,1,1
%>
<tr> 
	<td>
<table width="100%" border="0" cellspacing="0" cellpadding="3" align="center">
<!--图片换行显示1-->
<%
if Not objRsnosmall.EOF then
	fileExt=lcase(getFileExtName(objRsnosmall("picname")))
	Content=htmlencode4(objRsnosmall("Content"))
	content=replace(content,"[---分页---]","")
%>

<%
	While NOT objRsnosmall.EOF%>
<tr> 
	<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all"> 
<%
		If NOT objRsnosmall.EOF then%>
<div align="center"><a class=middle href="Article.asp?NewsID=<%=objRsnosmall("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>..."> 
			<%if objRsnosmall("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 & objRsnosmall("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 & objRsnosmall("picname")%>">
					<param name=quality value=high>
					<param name='Play' value='-1'>
					<param name='Loop' value='0'>
					<param name='Menu' value='-1'>
					<embed src="<%=FileUploadPath & objRsnosmall("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="Article.asp?NewsID=<%=objRsnosmall("NewsID")%>" target=_blank title="<%=objRsnosmall("title")%>"><%=CutStr(objRsnosmall("title"),18)%></a> 
</div>
	</td>
	<%objRsnosmall.movenext
end if %>
<!--图片换行显示2-->
	<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all"> 
				<%if not objRsnosmall.EOF then%>
                  <div align="center"> 
                    <a class=middle href="Article.asp?NewsID=<%=objRsnosmall("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>"> 
                    <%if objRsnosmall("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 & objRsnosmall("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 & objRsnosmall("picname")%>">
						<param name=quality value=high>
						<param name='Play' value='-1'>
						<param name='Loop' value='0'>
						<param name='Menu' value='-1'>
						<embed src="<%=FileUploadPath & objRsnosmall("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="Article.asp?NewsID=<%=objRsnosmall("NewsID")%>" target=_blank title="<%=objRsnosmall("title")%>"><%=CutStr(objRsnosmall("title"),18)%></a> 
					</div>
					</td>
					<%objRsnosmall.movenext   
					end if %>
<!--图片换行显示3-->
					<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all"> 
					<%if not objRsnosmall.EOF then%>
						<div align="center"> 

                    <a class=middle href="Article.asp?NewsID=<%=objRsnosmall("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>"> 
                    <%if objRsnosmall("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 & objRsnosmall("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 & objRsnosmall("picname")%>">
						<param name=quality value=high>
						<param name='Play' value='-1'>
						<param name='Loop' value='0'>
						<param name='Menu' value='-1'>
						<embed src="<%=FileUploadPath & objRsnosmall("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="Article.asp?NewsID=<%=objRsnosmall("NewsID")%>" target=_blank title="<%=objRsnosmall("title")%>"><%=CutStr(objRsnosmall("title"),18)%></a> 
                  </div></td>
                <%objRsnosmall.movenext   
				end if %>
<!--图片换行显示4-->

					<td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all"> 
					<%if not objRsnosmall.EOF then%>
					<div align="center"> 

                    <a class=middle href="Article.asp?NewsID=<%=objRsnosmall("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>..."> 
                    <%if objRsnosmall("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 & objRsnosmall("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 & objRsnosmall("picname")%>">
						<param name=quality value=high>
						<param name='Play' value='-1'>
						<param name='Loop' value='0'>
						<param name='Menu' value='-1'>
						<embed src="<%=FileUploadPath & objRsnosmall("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="Article.asp?NewsID=<%=objRsnosmall("NewsID")%>" target=_blank title="<%=objRsnosmall("title")%>"><%=CutStr(objRsnosmall("title"),18)%></a> 
					</div>
					</td>
					<%objRsnosmall.movenext   
					end if %>
              </tr>
<!--图片换行结束-->
		
              <%Wend%>
			<tr> 
			<td colspan="4" width=100% height="19" align=right><a class=class href='nosmallClass.asp?typeid=<%=typeid%>&BigClassid=<%=request_BigClassID%>'><img src="images/more.gif" border="0" alt="更多<%=BigClassName%>"></a>&nbsp;&nbsp;</td>
			</tr>
			<%
			end if
			objRsnosmall.close
			set objRsnosmall=nothing
			%>
    </table>
	    </table>
<!--图片模版-->

<% case 2 %>
<!--新闻模版-->
		
		<td><%
set objRsnosmall=server.CreateObject("ADODB.RecordSet")
strSqlobjRsnosmall="select top " & bigclassshownum & " * from "& db_News_Table &" where (bigClassID=" & request_BigClassID &"  and smallclassid is null and checkked=1) order by newsid DESC"
objRsnosmall.Open strSqlobjRsnosmall,conn,1,1
%>
		<tr> 
          <td> <div align="center">
			<%
			if not objRsnosmall.EOF then
			%>
			
              <table width="100%" border="0" cellpadding="3" cellspacing="0">

	      <%
	      while not objRsnosmall.EOF
				if showyear=1 then
					newsurl="Article.asp?NewsID=" & objRsnosmall("NewsID")
					newswwwurl=objRsnosmall("titleface")
					datetime="<font class=middle>" & year(objRsnosmall("UpdateTime"))  &"/"& Month(objRsnosmall("UpdateTime"))  &"/"& Day(objRsnosmall("UpdateTime")) &"</font>"
				else
					newsurl="Article.asp?NewsID=" & objRsnosmall("NewsID")
					newswwwurl=objRsnosmall("titleface")
					datetime="<font class=middle>"& Month(objRsnosmall("UpdateTime"))  &"/"& Day(objRsnosmall("UpdateTime")) &"</font>"
				end if
				if objRsnosmall("picnews")=1 then
					img="<img src='images/news_img.gif' border='0'>"
				else
					img=""
				end if
					title=trim(objRsnosmall("title"))
					title=replace(title,"<br>","")
	      %>
                <tr> 
                  <td width="62%">&nbsp;&nbsp;<img src="IMAGES/006.gif" width="8" height="10"> 
                    <%=img%> <a class=middle href="<%if objRsnosmall("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=objRsnosmall("title")%>" target="_blank"> 
                    <<%=objRsnosmall("titletype")%>><font color="<%=objRsnosmall("titlecolor")%>"> 
                    <%=CutStr(title,46)%></font></<%=objRsnosmall("titletype")%>></a> 
					<!--标题后评论提示-->
                    <% if objRsnosmall("titlesize")>=1 then %>
                    <A class=middle HREF="<%=path%>review.asp?NewsID=<%=objRsnosmall("NewsID")%>" target="_blank" ><font color="#cccccc"><b>评</b></font></A> 
                    <%end if %>
                    <!--标题后评论提示-->
					<div style='border-top:1px dashed #cccccc;height: 1px;overflow:hidden'></div>

                  </td>
                  <td width="10%" align="right"> 
                    <%if showauthor="1" then%>
                    <%=CutStr(objRsnosmall("Author"),6)%> 
                    <%end if%>
                  </td>
                  <td width="20%" align="left"> 
                    <%if showtime="1" then%>
                    <%=datetime%> 
                    <%end if%>
                    &nbsp; 
					<%if showclick="1" then%>
                    <font color=#666666>[<%=objRsnosmall("click")%>]</font> 
                    <%end if%></td>

                  <td width="8%" align="left">
                    
                    <%if year(objRsnosmall("updatetime"))=year(date()) and month(objRsnosmall("updatetime"))=month(date()) and day(objRsnosmall("updatetime"))=day(date()) then%>
                    
                    <img src="images/new.gif"> 
                    <%end if%>
                    <%if objRsnosmall("goodnews")="1" then%>
                    <img src="images/g.gif" > 
                    <%end if%>
                  </td>
                </tr>
        <%
		objRsnosmall.MoveNext
		wend
		%>

		<tr> 
			<td colspan="5" width=100% height="19" align=right><a class=class href='nosmallClass.asp?typeid=<%=typeid%>&BigClassid=<%=request_BigClassID%>'><img src="images/more.gif" border="0" alt="更多<%=BigClassName%>"></a>&nbsp;&nbsp;</td>
		</tr>
		              </table>
            </div></td>
        </tr>

		<%end if
		objRsnosmall.close
		set objRsnosmall=nothing
		%>
</td>
</tr>
    </table>
<!--新闻模版-->

<% case 3 %>
<!--网址模版-->
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
<%set objRsnosmall=server.CreateObject("ADODB.RecordSet")
strSqlobjRsnosmall="select top " & bigclassshownum & " * from "& db_News_Table &" where (bigClassID=" & request_BigClassID &"  and smallclassid is null and checkked=1) order by newsid DESC"
objRsnosmall.Open strSqlobjRsnosmall,conn,1,1
%>
		<tr> 
			<td>
				
<!--网址换行显示1-->
					<%
					if not objRsnosmall.EOF then
					%>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">

				</table>
				<table width="97%" border="1" cellspacing="0" cellpadding="3" bordercolorlight=#cccccc  bordercolordark=#ffffff align="center">
					<%
					do while not objRsnosmall.EOF%>
					<tr> 
					<%
						Content=htmlencode4(objRsnosmall("Content"))
					%>
					<td width=25% align=center valign="middle" bgColor=#ffffff onMouseOver="javascript:this.bgColor='#cd0000'" 
    onmouseout="javascript:this.bgColor='#FFFFFF'"> 
						<%if not objRsnosmall.EOF then%>
						<div align="center"> <a class=middle_web href="<%=objRsnosmall("Original")%>" target=_blank title="<%=CutStr(nohtml(objRsnosmall("Content")),8000)%>"><%=CutStr(objRsnosmall("title"),30)%></a> 
						</div></td>
					<%objRsnosmall.movenext   
					end if %>
<!--网址换行显示2-->
					<td width=25% align=center valign="middle" bgColor=#ffffff onMouseOver="javascript:this.bgColor='#cd0000'" 
    onmouseout="javascript:this.bgColor='#FFFFFF'"> 
					<%if not objRsnosmall.EOF then%>
					<div align="center"> <a class=middle_web href="<%=objRsnosmall("Original")%>" target=_blank title="<%=CutStr(nohtml(objRsnosmall("Content")),8000)%>"><%=CutStr(objRsnosmall("title"),30)%></a> 
					</div>
					</td>
					<%objRsnosmall.movenext   
					end if %>
					</tr>
<!--网址换行结束-->
              <%loop%>
			</table>
			<tr> 
			<td width=100% height="19" align=right><a class=class href='nosmallClass.asp?typeid=<%=typeid%>&BigClassid=<%=request_BigClassID%>'><img src="images/more.gif" border="0" alt="更多<%=BigClassName%>"></a>&nbsp;&nbsp;</td>
			</tr>
			<%
			end if
			objRsnosmall.close
			set objRsnosmall=nothing
			%>

</tr>
        

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -