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

📄 e_type.asp

📁 zheng fu wang zhan gong neng qi quan
💻 ASP
📖 第 1 页 / 共 5 页
字号:
                      <div align="center"> <a class=middle href="E_ReadNews.asp?NewsID=<%=rsnodigclass("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>...">
                        <%if   rsnodigclass("picname")=("") then
						response.Write"<img src='IMAGES/flashorno.gif' width='110' height='80' border=1 style=border-color:#000000 align=top>"
						else response.Write"<img src='IMAGES/flashorno.gif' width='110' height='80' border=1 style=border-color:#000000 align=top>"
						if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then
						response.Write"<img  src="&FileUploadPath & rsnodigclass("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 & rsnodigclass("picname")%>">
                          <param name=quality value=high>
                          <param name='Play' value='-1'>
                          <param name='Loop' value='0'>
                          <param name='Menu' value='-1'>
                          <embed src="<%=FileUploadPath & rsnodigclass("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=<%=rsnodigclass("NewsID")%>" target=_blank title="<%=rsnodigclass("title")%>"><%=CutStr(rsnodigclass("title"),18)%></a> </div></td>
                    <%rsnodigclass.movenext   
					end if %>
                    <!--图片换行显示2-->
                    <td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all">
                      <%if not rsnodigclass.EOF then%>
                      <div align="center"> <a class=middle href="E_ReadNews.asp?NewsID=<%=rsnodigclass("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>">
                        <%if rsnodigclass("picname")=("") then
						response.Write("<img src='IMAGES/flashorno.gif' width='110' height='80' border=1 style=border-color:#000000 align=top>")
						else response.Write("<img src='IMAGES/flashorno.gif' width='110' height='80' border=1 style=border-color:#000000 align=top>")%>
                        <%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then
						response.Write"<img  src="&FileUploadPath & rsnodigclass("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 & rsnodigclass("picname")%>">
                          <param name=quality value=high>
                          <param name='Play' value='-1'>
                          <param name='Loop' value='0'>
                          <param name='Menu' value='-1'>
                          <embed src="<%=FileUploadPath & rsnodigclass("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=<%=rsnodigclass("NewsID")%>" target=_blank title="<%=rsnodigclass("title")%>"><%=CutStr(rsnodigclass("title"),18)%></a> </div></td>
                    <%rsnodigclass.movenext   
					end if %>
                    <!--图片换行显示3-->
                    <td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all">
                      <%if not rsnodigclass.EOF then%>
                      <div align="center"> <a class=middle href="E_ReadNews.asp?NewsID=<%=rsnodigclass("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>">
                        <%if rsnodigclass("picname")=("") then%>
						response.Write("<img src='IMAGES/flashorno.gif' width='110' height='80' border=1 style=border-color:#000000 align=top>")
						else response.Write("<img src='IMAGES/flashorno.gif' width='110' height='80' border=1 style=border-color:#000000 align=top>")%>
                        <%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then
						response.Write"<img  src="&FileUploadPath & rsnodigclass("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 & rsnodigclass("picname")%>">
                          <param name=quality value=high>
                          <param name='Play' value='-1'>
                          <param name='Loop' value='0'>
                          <param name='Menu' value='-1'>
                          <embed src="<%=FileUploadPath & rsnodigclass("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=<%=rsnodigclass("NewsID")%>" target=_blank title="<%=rsnodigclass("title")%>"><%=CutStr(rsnodigclass("title"),18)%></a> </div></td>
                    <%rsnodigclass.movenext   
				end if %>
                    <!--图片换行显示4-->
                    <td width=25% align=center valign="top" style="table-layout:fixed; word-break:break-all">
                      <%if not rsnodigclass.EOF then%>
                      <div align="center"> <a class=middle href="E_ReadNews.asp?NewsID=<%=rsnodigclass("NewsID")%>" target=_blank title="<%=CutStr(nohtml(Content),150)%>...">
                        <%if rsnodigclass("picname")=("") then%>
						response.Write("<img src='IMAGES/flashorno.gif' width='110' height='80' border=1 style=border-color:#000000 align=top>")
						else response.Write("<img src='IMAGES/flashorno.gif' width='110' height='80' border=1 style=border-color:#000000 align=top>")%>
                        <%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then
						response.Write"<img  src="&FileUploadPath & rsnodigclass("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 & rsnodigclass("picname")%>">
                          <param name=quality value=high>
                          <param name='Play' value='-1'>
                          <param name='Loop' value='0'>
                          <param name='Menu' value='-1'>
                          <embed src="<%=FileUploadPath & rsnodigclass("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=<%=rsnodigclass("NewsID")%>" target=_blank title="<%=rsnodigclass("title")%>"><%=CutStr(rsnodigclass("title"),18)%></a> </div></td>
                    <%rsnodigclass.movenext   
					end if %>
                  </tr>
                  <!--图片换行结束-->
                  <%loop%>
                  <tr>
                    <td colspan="4" width=100% height="19" align=right><a class=class href='E_NobigClass.asp?typeid=<%=typeid%>'><img src="images/more.gif" border="0" alt="更多<%=typeName%>"></a>&nbsp;&nbsp;</td>
                  </tr>
                  <%
			end if
			rsnodigclass.close
			set rsnodigclass=nothing
			%>
          </table>
		  </td></tr>
          <!--图片模版-->
          <% case 2 %>
          <!--新闻模版--><%set rsnodigclass=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
				rsnodigclass.Source="select top " & top_news & " * from "& db_News_Table &" where (typeID=" & typeID &"  and bigclassid is null and smallclassid is null and checkked=1) order by newsid DESC"
				end if
				if Request.cookies(eChuang)("key")="" then
					rsnodigclass.Source="select top " & top_news & " * from "& db_News_Table &" where (typeID=" & typeID &"  and bigclassid is null and smallclassid is null and checkked=1 ) order by newsid DESC"
				end if
				if Request.cookies(eChuang)("key")="selfreg" then
					if Request.cookies(eChuang)("reglevel")=3 then
						rsnodigclass.Source="select top " & top_news & " * from "& db_News_Table &" where (typeID=" & typeID &"  and bigclassid is null and smallclassid is null and checkked=1 ) order by newsid DESC"
					end if
				if Request.cookies(eChuang)("reglevel")=2 then
					rsnodigclass.Source="select top " & top_news & " * from "& db_News_Table &" where (typeID=" & typeID &"  and bigclassid is null and smallclassid is null and checkked=1 ) order by newsid DESC"
				end if
				if Request.cookies(eChuang)("reglevel")=1 then
					rsnodigclass.Source="select top " & top_news & " * from "& db_News_Table &" where (typeID=" & typeID &"  and bigclassid is null and smallclassid is null and checkked=1 ) order by newsid DESC"
				end if
				
			end if
			else
			rsnodigclass.Source="select top " & top_news & " * from "& db_News_Table &" where (typeID=" & typeID &"  and bigclassid is null and smallclassid is null and checkked=1) order by newsid DESC"
			end if
				rsnodigclass.Open rsnodigclass.Source,conn,1,1

		%>
  <tr>
    <td>
        <%
			if not rsnodigclass.EOF Then
		  %>
        <table width="100%" border="0" cellpadding="3" cellspacing="0">
          <tr background="IMAGES/lmenu_bg.gif">
            <td height="30" colspan="5" background="Images/menu_bg.jpg"></td>
          </tr>
          <%
		while not rsnodigclass.EOF
				if showyear=1 then
					newsurl="E_ReadNews.asp?NewsID=" & rsnodigclass("NewsID")
					newswwwurl=rsnodigclass("titleface")
					datetime="<font class=middle>(" & year(rsnodigclass("UpdateTime"))  &"年"& Month(rsnodigclass("UpdateTime"))  &"月"& Day(rsnodigclass("UpdateTime")) &"日)</font>"
				else
					newsurl="E_ReadNews.asp?NewsID=" & rsnodigclass("NewsID")
					newswwwurl=rsnodigclass("titleface")
					datetime="<font class=middle>("& Month(rsnodigclass("UpdateTime"))  &"月"& Day(rsnodigclass("UpdateTime")) &"日)</font>"
				end if
				if rsnodigclass("picnews")=1 then
					img="<img src='images/news_img.gif' border='0'>"
				else
					img=""
				end if
					title=trim(rsnodigclass("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 rsnodigclass("titleface")="无" then %><%=newsurl%><% else %> <%=newswwwurl%><%end if%>" title="<%=rsnodigclass("title")%>" target="_blank"> <<%=rsnodigclass("titletype")%>><font color="<%=rsnodigclass("titlecolor")%>"> <%=CutStr(title,46)%></font></<%=rsnodigclass("titletype")%>></a>
                <!--标题后评论提示-->
                <% if rsnodigclass("titlesize")>=1 then %>
                <A class=middle HREF="<%=path%>review.asp?NewsID=<%=rsnodigclass("NewsID")%>" target="_blank" ><font color=red><b>评</b></font></A>
                <%end if %>
                <!--标题后评论提示-->
            </td>
            <td width="10%" align="right">
              <%if showauthor="1" then%>
              <%=CutStr(rsnodigclass("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><%=rsnodigclass("click")%></font>
              <%end if%>
            </td>
            <td width="8%" align="left">
              <%if year(rsnodigclass("updatetime"))=year(date()) and month(rsnodigclass("updatetime"))=month(date()) and day(rsnodigclass("updatetime"))=day(date()) then%>
              <img src="images/new.gif">
              <%end if%>
              <%if rsnodigclass("goodnews")="1" then%>
              <img src="images/g.gif" >
              <%end if%>
            </td>
          </tr>
          <%
				rsnodigclass.MoveNext
				wend
				%>
          <tr>
            <td colspan="5" width=100% height="19" align=right><a class=class href='E_NobigClass.asp?typeid=<%=typeid%>'><img src="images/more.gif" border="0" alt="更多<%=typeName%>"></a>&nbsp;&nbsp;</td>
          </tr>
        </table>
</td>
  </tr>
  <%end if
		rsnodigclass.close
		set rsnodigclass=nothing
		%>
        <% case 3 %>
        <!--网址模版-->
          <%set rsnodigclass=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
				rsnodigclass.Source="select top " & top_news & " * from "& db_News_Table &" where (typeID=" & typeID &"  and bigclassid is null and smallclassid is null and checkked=1) order by newsid DESC"
				end if
				if Request.cookies(eChuang)("key")="" then
					rsnodigclass.Source="select top " & top_news & " * from "& db_News_Table &" where (typeID=" & typeID &"  and bigclassid is null and smallclassid is null and checkked=1 ) order by newsid DESC"
				end if
				if Request.cookies(eChuang)("key")="selfreg" then
					if Request.cookies(eChuang)("reglevel")=3 then
						rsnodigclass.Source="select top " & top_news & " * from "& db_News_Table &" where (typeID=" & typeID &"  and bigclassid is null and smallclassid is null and checkked=1 ) order by newsid DESC"
					end if

⌨️ 快捷键说明

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