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

📄 bigclass.asp

📁 强大的网站
💻 ASP
📖 第 1 页 / 共 3 页
字号:
                                      <%else%>
                                      <%=title%> 
                                      <%end if%>
                                      <%end if%>
                                      </font></<%=rs3("titletype")%>></a></td>
                                    <td width="7%" align="right"> 
                                      <%if showauthor="1" then%>
                                      <%=rs3("author")%> 
                                      <%end if%>
                                    </td>
                                    <td width="15%" align="center"> 
                                      <%if showtime="1" then%>
                                      <%=datetime%> 
                                      <%end if%>
                                    </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%>
</table></div>
</td>
</tr>
</td>
</tr>                               

<%
rs3.MoveNext
wend
rs3.close
%>	

<%
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>&nbsp;&nbsp;</td>
   </tr>
</table>
<%
else 
Response.Write "<table width=98% border=0 height=25><tr><td>本栏暂无新闻</td></tr></table>"
end if
%>
<% case "3" %><!--网址模版-->
<%
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">&nbsp;<img src=images/ico.gif>&nbsp;<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="98%" border="1" cellspacing="0" cellpadding="3" bordercolorlight=#cccccc  bordercolordark=#ffffff align="center">



<!--网址换行显示1-->

<%do while not rs3.EOF%>
<tr>
<%
Content=rs3("Content")
content=replace(content,"[[","<")
content=replace(content,"]]",">")
%>
<td width=25% align=center valign="middle">
<%if not rs3.EOF then%>
<div align="center"> 
<a class=middle href="<%=rs3("Original")%>" target=_blank title="<%=left(nohtml(rs3("Content")),80)%>...">
<%=left(rs3("title"),14)%>
</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="<%=left(nohtml(rs3("Content")),80)%>...">
<%=left(rs3("title"),14)%>
</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>&nbsp;&nbsp;</td>
   </tr>
</table>
<%
else 
Response.Write "<table width=98% border=0 height=25><tr><td>本栏暂无网址</td></tr></table>"
end if
%>	

<% case "4" %><!--软件模版-->
<%
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">&nbsp;<img src=images/ico.gif>&nbsp;<font class=m_tittle><%=BigClassName%></font>
	 </td>
   </tr>
</table>
                          <%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

title=trim(rs3("title"))
title=replace(title,"<br>","")
%>


                          <div align="center"><table width="95%" border="0" cellpadding="3" cellspacing="0">
                                  <tr bgcolor="#EFEFEF"> 
                                    <td colspan="2">&nbsp;<img src="images/img.gif" width="9" height="9" border="0">&nbsp;<a class=middle href="<%=newsurl%>" target="_blank" title="<%=title%>"><strong><font color="<%=rs3("titlecolor")%>"> 
                                      <%if len(title)>10 then%>
                                      <%=left(title,10)%> 
                                      <%else%>
                                      <%=title%> 
                                      <%end if%>
                                      </font></strong></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%>
                                    </td>
                                    <td width="13%" align="center" bgcolor="#EFEFEF"><div align="right"> 
                                        <%if year(rs3("updatetime"))=year(date()) and month(rs3("updatetime"))=month(date()) and day(rs3("updatetime"))=day(date()) then%>
                                        <img src="images/new.gif" border="0"> 
                                        <%end if%>
                                        <%if rs3("goodnews")="1" then%>
                                        <img src="images/g.gif" border="0"> 
                                        <%end if%>
                                      </div></td>
                                  </tr>
                                  <tr> 
                                    <td width="16%"><a class=middle href="ReadNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=rs3("title")%>"> 
                                      <%if   rs3("picname")=("")   then%>
								      <img  src="IMAGES/softno.gif" width="65" height="65" border=0 align="left">
								      <%else%>
									 <img  src="uploadfile/<%=rs3("picname")%>" width="65" height="65" border=0 align="left"> 
                                      <%end if%>
                                      </a></td>
                                    <td colspan="3" valign="top"><%=left(nohtml(rs3("Content")),150)%>... 
                                    </td>
                                  </tr>
                                </table>
                         
						  <%
rs3.MoveNext
wend
rs3.close
%>	

<%
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>&nbsp;&nbsp;</td>
   </tr>
</table>
<%
else 
Response.Write "<table width=98% border=0 height=25><tr><td>本栏暂无软件</td></tr></table>"
end if
%>

<% end select%>

<!--模版结束-->

      </td>
  </tr>
  <tr valign="top">
    <td height="20" background="IMAGES/menu-d-t.gif" bgcolor="#FFFFFF">&nbsp;</td>
    <td>&nbsp;</td>
    <td height="20" background="IMAGES/menu-l-t.gif" class="daohang">&nbsp;</td>
  </tr>
</table>




<!--#include file=include/bottom.asp -->
</body>
</html>

⌨️ 快捷键说明

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