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

📄 e_bigclass.asp

📁 zheng fu wang zhan gong neng qi quan
💻 ASP
📖 第 1 页 / 共 5 页
字号:
					title=replace(title,"<br>","")
		%>
          <tr>
            <td>
                <table width="98%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="62%">&nbsp;&nbsp;<img src="IMAGES/point.gif" width="10" height="7"> <%=img%> <a class=middle href="<%if rs3("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=rs3("title")%>" target="_blank"> <<%=rs3("titletype")%>><font color="<%=rs3("titlecolor")%>"> <%=CutStr(title,46)%></font></<%=rs3("titletype")%>></a>
                        <!--标题后评论提示-->
                        <% if rs3("titlesize")>=1 then %>
                        <A class=middle HREF="<%=path%>review.asp?NewsID=<%=rs3("NewsID")%>" target="_blank" ><font color=red><b>评</b></font></A>
                        <%end if %>
                        <!--标题后评论提示-->                    </td>
                    <td width="10%" align="right">
                      <%if showauthor="1" then%>
                      <%=CutStr(rs3("Author"),6)%>
                      <%end if%>
                    </td>
                    <td width="15%" align="left">
                      <%if showtime="1" then%>
                      <%=datetime%>
                      <%end if%>
&nbsp; </td>
                    <td width="5%" align="center">
                      <%if showclick="1" then%>
                      <font color=#666666><%=rs3("click")%></font>
                      <%end if%>
                    </td>
                    <td width="8%" align="left">
                      <%if year(rs3("updatetime"))=year(date()) and month(rs3("updatetime"))=month(date()) and day(rs3("updatetime"))=day(date()) then%>
                      <img src="images/new.gif">
                      <%end if%>
                      <%if rs3("goodnews")="1" then%>
                      <img src="images/g.gif" >
                      <%end if%>
                    </td>
                  </tr>
                </table>
</td>
          </tr>
          <%
		rs3.MoveNext
		wend
		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%'>&nbsp;&nbsp;<img src='IMAGES/006.gif' width='8' height='10'> 暂无信息</td></tr></table></div></td></tr>"
		    end if
			%>
          <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>&nbsp;&nbsp;</td>
          </tr>
        </table>
        <%
		end if
			next
		else 
			Response.Write "<table width=98% border=0 height=25><tr><td>暂无小类</td></tr></table>"
		end if
		%>
        <% case 3 %>
        <!--网址模版-->
        <%
	    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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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
		%>
          <tr>
            <td>
              <table width="98%" border="1" cellspacing="0" cellpadding="3" bordercolorlight=#cccccc  bordercolordark=#ffffff align="center">
                <!--网址换行显示1-->
                <%
					if not rs3.EOF then
					do while not rs3.EOF%>
                
                  <%
						Content=htmlencode4(rs3("Content"))
					%>
                  <tr><td width=25% align=center valign="middle">
                    <%if not rs3.EOF then%>
                    <div align="center"> <a class=middle href="<%=rs3("Original")%>" target=_blank title="<%=CutStr(nohtml(rs3("Content")),80)%>"><%=CutStr(rs3("title"),30)%></a> </div></td>
                  <%rs3.movenext   
					end if %>
                  <!--网址换行显示2-->
                  <td width=25% align=center valign="middle">
                    <%if not rs3.EOF then%>
                    <div align="center"> <a class=middle href="<%=rs3("Original")%>" target=_blank title="<%=CutStr(nohtml(rs3("Content")),80)%>"><%=CutStr(rs3("title"),30)%></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%'>&nbsp;&nbsp;<img src='IMAGES/006.gif' width='8' height='10'> 暂无信息</td></tr></table></div></td></tr>"
		    end if
			%>
              </table>
          </tr>
          <tr>
            <td>
              <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>&nbsp;&nbsp;</td>
                </tr>
              </table>
			  </td>
          </tr>
          <%
		end if
		next
		else 
		Response.Write "<table width=98% border=0 height=25><tr><td>暂无小类</td></tr></table>"
		end if
		%>
        </table>
        <% case 4 %>
        <!--软件模版-->
        <%
	    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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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"))
						title=replace(title,"<br>","")
			%>
          <tr>
            <%
		fileExt=lcase(getFileExtName(rs3("picname")))
		Content=htmlencode4(rs3("Content"))
		content=replace(content,"[---分页---]","")%>
		<tr>
            <td><div align="center">
                <table width="95%" border="0" cellpadding="3" cellspacing="0">
                  <tr bgcolor="#EFEFEF">
                    <td colspan="2"> &nbsp;<img src="images/news_img.gif" width="9" height="9"> <a class=middle href="<%if rs3("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=htmlencode4(title)%>" target="_blank"> <font color="<%=rs3("titlecolor")%>"><strong> <%=CutStr(title,40)%> </strong></font> </a> </td>
                    <td width="22%" align="right" bgcolor="#EFEFEF">
                      <%if showtime="1" then%>
                      <%=datetime%>
                      <%end if%>
                      <%if showclick="1" then%>
                      <font color=#666666>[<%=rs3("click")%>]</font>
                      <%end if%>
&nbsp;</td>
                    <td w

⌨️ 快捷键说明

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