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

📄 test.asp

📁 ASP源程序采用天空软件小偷中心核件制成
💻 ASP
📖 第 1 页 / 共 2 页
字号:
	   	i=0 
%>
<table border="0" width="495" cellspacing="0" cellpadding="0" align="center" height="178">
            <tr> 
                  <td width="495" class="p1"><%if request("classid")="" then
	 
	  else 
	  cl=request("classid")	  
	  sqt="select * from ANclass where classid="&cl&" order by Nclassorder "
	  Set ts= Server.CreateObject("ADODB.Recordset")
	  ts.open sqt,conn,1,1   
  	  if ts.eof and ts.bof then       		
          else %>[ <a href="showclass.asp?classid=<%=request("classid")%>"><u><font color="#0000FF">此类全部</font></u></a> ] [ <a href="sousuo.asp"><u><font color="#0000FF">搜 索</font></u></a> ]<br><% do while not ts.eof %><img border="0" src="http://www.7k7k.com/images/j2.gif" width="8" height="11"><a href="showclass.asp?classid=<%=request("classid")%>&Nclassid=<%=ts("Nclassid")%>"><%if request("Nclassid")<>"" then %><%if fix(request("Nclassid"))=ts("Nclassid") then %><font color="#ff0000"><b><%=ts("Nclass")%> <%Nclassname=ts("Nclass")%></b></font>
      <%else %><%=ts("Nclass")%><%end if %><%else %><%=ts("Nclass")%><%end if %>
      </a> <% ts.movenext%><%	
	loop
	ts.close
	end if
	end if %></td></tr>
            <tr> 
                  <td width="495" height="5"></td></tr>
            <tr> 
                  <td width="495" height="4">
                  <img border="0" src="images2/showdi2.gif" width="495" height="4"></td></tr>
              <tr> 
                  <td width="495" valign="top" height="115"> 
                  <table border=0 cellpadding=0 cellspacing=0 width="495">
                  <tr> 
                      <td width="1" height="114" bgcolor="#DEDFDE">
                      <td width="490" height="114" bgcolor="#F7F7F7">
                        <center>
                        <table border="0" cellpadding="0" cellspacing="10" style="border-collapse: collapse" width="100%">
              <%do while not rs.eof%><%if rs("images")="" then%><tr>
                          <td width="25%">
                          <table border="0" cellspacing="0" style="border-collapse: collapse" width="113" align="center">
                            <tr>
                              <td width="113" height="103" background="images2/tdi.gif">
                              <p align="center"><IMG src="pic/s001.gif" width="100" height="75" border="0"><br>
 </td>
                            </tr>
                            </table>
                          </td><td width="25%">
                          <table border="0" cellspacing="3" style="border-collapse: collapse" width="100%" cellpadding="0">
                            <tr>
                              <td width="100%"><FONT color=#00a0e><B>1</b></font></td>
                            </tr>
                            <tr>
                              <td width="100%">作者:</td>
                            </tr>
                            <tr>
                              <td width="100%">歌手:</td>
                            </tr>
                            <tr>
                              <td width="100%">1</td>
                            </tr>
                            <tr>
                              <td width="100%"><img border="0" src="images2/s3.gif" alt="送给好友" width="16" height="16"> <img border="0" src="images2/s2.gif" alt="评论打分" width="16" height="16"> <img border="0" src="images2/s1.gif" alt="下载铃声" width="16" height="16"></td>
                            </tr>
                          </table>
                          </td><%else%><tr>
                          <td width="25%">
                          <table border="0" cellspacing="0" style="border-collapse: collapse" width="113" align="center">
                            <tr>
                              <td width="113" height="103" background="images2/tdi.gif">
                              <p align="center"><a href="javascript://" onClick="window.open('view.asp?id=<%=rs("id")%>');" ><IMG src="<%=rs("images")%>" width="100" height="75" border="0"></a><br>
 </td>
                            </tr>
                            </table>
                          </td><td width="25%">
                          <table border="0" cellspacing="3" style="border-collapse: collapse" width="100%" cellpadding="0">
                            <tr>
                              <td width="100%"><FONT color=#00a0e><B><%=rs("showname")%></b></font></td>
                            </tr>
                            <tr>
                              <td width="100%">作者:<a href="mailto:<%=rs("filename2")%>"><%=rs("filename1")%></A></td>
                            </tr>
                            <tr>
                              <td width="100%">歌手:<%if rs("note")="(无)" then%>( 无 )<%else%><a href="query.asp?keyword=<%=rs("note")%>"><%=rs("note")%></a><%end if%></td>
                            </tr>
                            <tr>
                              <td width="100%"><font color="#ff0000"><b><%=rs("hits")%></b></font> 次/<b><%=rs("size")%></b></td>
                            </tr>
                            <tr>
                              <td width="100%"><a href="javascript:tofriend('<%=rs("id")%>')">
                              <img border="0" src="images2/s3.gif" alt="送给好友" width="16" height="16"></a> <a href="javascript:Showvote('<%=rs("id")%>')">
                              <img border="0" src="images2/s2.gif" alt="评论打分" width="16" height="16"></a> <a href="http://mysms.tom.com/smslist/smsearch.php?inc=3&keyword=<%=rs("showname")%>&user_id=59856" target="_blank">
                              <img border="0" src="images2/s1.gif" alt="下载铃声" width="16" height="16"></a></td>
                            </tr>
                          </table>
                          </td><%end if%><%
	 i=i+1
	 if i>=MaxPerPage then exit do
	 	rs.movenext
%><%if rs("images")="" then%><tr>
                          <td width="25%">
                          <table border="0" cellspacing="0" style="border-collapse: collapse" width="113" align="center">
                            <tr>
                              <td width="113" height="103" background="images2/tdi.gif">
                              <p align="center"><IMG src="pic/s001.gif" width="100" height="75" border="0"><br>
 </td>
                            </tr>
                            </table>
                          </td><td width="25%">
                          <table border="0" cellspacing="3" style="border-collapse: collapse" width="100%" cellpadding="0">
                            <tr>
                              <td width="100%"><FONT color=#00a0e><B>1</b></font></td>
                            </tr>
                            <tr>
                              <td width="100%">作者:</td>
                            </tr>
                            <tr>
                              <td width="100%">歌手:</td>
                            </tr>
                            <tr>
                              <td width="100%">1</td>
                            </tr>
                            <tr>
                              <td width="100%"><img border="0" src="images2/s3.gif" alt="送给好友" width="16" height="16"> <img border="0" src="images2/s2.gif" alt="评论打分" width="16" height="16"> <img border="0" src="images2/s1.gif" alt="下载铃声" width="16" height="16"></td>
                            </tr>
                          </table>
                          </td></tr><%else%>
<td width="25%"><table border="0" cellspacing="0" style="border-collapse: collapse" width="113" align="center">
                            <tr>
                              <td width="113" height="103" background="images2/tdi.gif">
                              <p align="center"><a href="javascript://" onClick="window.open('view.asp?id=<%=rs("id")%>');" ><%if rs("images")="" then%><IMG src="pic/s001" width="100" height="75" border="0"><%else%><IMG src="<%=rs("images")%>" width="100" height="75" border="0"><%end if%></a><br>
 </td>
                            </tr>
                            </table>
                          </td>
<td width="25%">
                          <table border="0" cellspacing="3" style="border-collapse: collapse" width="100%" cellpadding="0">
                            <tr>
                              <td width="100%"><FONT color=#00a0e><B><%=rs("showname")%></b></font></td>
                            </tr>
                            <tr>
                              <td width="100%">作者:<a href="mailto:<%=rs("filename2")%>"><%=rs("filename1")%></A></td>
                            </tr>
                            <tr>
                              <td width="100%">歌手:<%if rs("note")="(无)" then%>( 无 )<%else%><a href="query.asp?keyword=<%=rs("note")%>"><%=rs("note")%></a><%end if%></td>
                            </tr>
                            <tr>
                              <td width="100%"><font color="#ff0000"><b><%=rs("hits")%></b></font> 次/<b><%=rs("size")%></b></td>
                            </tr>
                            <tr>
                              <td width="100%"><a href="javascript:tofriend('<%=rs("id")%>')">
                              <img border="0" src="images2/s3.gif" alt="送给好友" width="16" height="16"></a> <a href="javascript:Showvote('<%=rs("id")%>')">
                              <img border="0" src="images2/s2.gif" alt="评论打分" width="16" height="16"></a> <a href="http://mysms.tom.com/smslist/smsearch.php?inc=3&keyword=<%=rs("showname")%>&user_id=59856" target="_blank">
                              <img border="0" src="images2/s1.gif" alt="下载铃声" width="16" height="16"></a></td>
                            </tr>
                          </table>
                          </td></tr><%end if%><%
	 i=i+1
	 if i>=MaxPerPage then exit do
	 	rs.movenext
	 loop
%></table>
                        </center>
                      </td>
                      <td width="4" height="114" bgcolor="#DEDFDE"></td>
                    </tr>
                  </table> 
                </td>
              </tr>
             
<tr>
<td width="100%" height="10">
<img border="0" src="images2/showdi3.gif" width="495" height="10"></td>
              </tr>
              <tr> 
                <td height="49"><%
   end sub 

	function showpage(totalnumber,maxperpage,filename)
  	dim n

  	if totalnumber mod maxperpage=0 then
     		n= totalnumber \ maxperpage
  	else
     		n= totalnumber \ maxperpage+1
  	end if
  	response.write "<form method=Post action="&filename&"?classid="&request("classid")&"&Nclassid="&request("Nclassid")&"&order="&request("order")&"&updown="&request("updown")&">"
  	response.write "<p align='right'><font color='red'>"&Nclassname&"</font>"

  	if CurrentPage<2 then
    		response.write ""&totalnumber&"个&nbsp;首页 上一页&nbsp;"
  	else
    		response.write ""&totalnumber&"个&nbsp;<a href="&filename&"?page=1&classid="&request("classid")&"&Nclassid="&request("Nclassid")&"&order="&request("order")&"&updown="&request("updown")&">首页</a>&nbsp;"
    		response.write "<a href="&filename&"?page="&CurrentPage-1&"&classid="&request("classid")&"&Nclassid="&request("Nclassid")&"&order="&request("order")&"&updown="&request("updown")&">上一页</a>&nbsp;"
  	end if

  	if n-currentpage<1 then
    		response.write "下一页 尾页"
  	else
    		response.write "<a href="&filename&"?page="&(CurrentPage+1)&"&classid="&request("classid")&"&Nclassid="&request("Nclassid")&"&order="&request("order")&"&updown="&request("updown")&">"
    		response.write "下一页</a> <a href="&filename&"?page="&n&"&classid="&request("classid")&"&Nclassid="&request("Nclassid")&"&order="&request("order")&"&updown="&request("updown")&">尾页</a>"
  	end if
   	response.write "&nbsp;页次:<strong><font color=red>"&CurrentPage&"</font>/"&n&"</strong>页 "
    	response.write "&nbsp;<b>"&maxperpage&"</b>个作品/页 "
%>转到:<select name='page' size='1' style="color:#ff0000;font-size: 9pt" onChange='javascript:submit()'>
                    <%for i = 1 to n%>
                    <option value='<%=i%>' <%if cint(currentPage)=cint(i) then%> selected <%end if%>>第<%=i%>页</option>
                    <%next%>
                  </select>
                  <%	response.write "</FORM>"%>
                  <%     
end function
%>
                </td>
              </tr>
                <%
   	set rs=nothing   

%></table>
          </td>
        </tr>
      </table></td>
          </tr>
          </table>
        </td>
        <td width="16" valign="top"></td>
      </tr>
      </table>
    </td>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="760" align="center">
  <tr>
    <td width="100%">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="760" background="images/bg1-3.gif">
      <tr>
        <td width="760" background="images/bg2-2.gif" height="10"></td>
        </tr>
      <tr>
        <td width="760">
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%">
          <tr>
            <td width="44">
            <img border="0" src="images/b2.gif" width="44" height="50"></td>
            <td width="684" bgcolor="#ADE373"><!--#include file="CopyRight.asp"--></td>
            <td width="32">
            <p align="right">
            <img border="0" src="images/b1.gif" width="32" height="50"></td>
          </tr>
        </table>
        </td>
        </tr>
    </table>
    </td>
  </tr>
</table>
</body>

</html>

⌨️ 快捷键说明

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