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

📄 index.asp

📁 一个完整的flash 教程 很不错 适合初学者~
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="css.asp"-->
<%
lb=Request("lb")
nr=Request("nr")
xz=Request("xz")
%>
<meta http-equiv="Content-Language" content="zh-cn">
<META name="星鸿网络→MTV欣赏" content="www.zrit.com">
<META NAME="DESCRIPTION" CONTENT="综合资源网站,音乐,Flash,电影,建站资源,免费服务,搞笑笑话,美女图库写真,网址大全">
<meta name="Keywords" content="星鸿网络">
<META NAME="robots" CONTENT="all">
<!--#include file="data.asp"-->
<body topmargin="0" leftmargin="0" bgcolor="#5F9960">
<script language="JavaScript1.2">


function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",20)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=60
}



function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if (window.highlighting)
clearInterval(highlighting)
}

</script>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="770">
    <tr>
      <td width="100%" bgcolor="#FFffff">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="9">
        <tr>
          <td width="100%" height="25">  <div align="center"><SCRIPT src="http://www.zrit.com/toppop.js"></SCRIPT></div></td>
        </tr>
      </table>
      </td>
    </tr>
  </table>
  </center>
</div>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="770" height="1">
    <tr>
      <td width="231" bgcolor="#000000" height="1">
      <img border="0" src="images/logo.gif" width="230" height="50"></td>
      <td width="255" bgcolor="#000000" height="1"> </td>
      <td width="28" bgcolor="#000000" height="1">
      <img border="0" src="images/top2.gif" width="50" height="50"></td>
      <td width="256" bgcolor="#AD0000" height="1" valign="bottom">
      <table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="1">
        <tr>
          <td width="100%" colspan="2" height="1">
          <img border="0" src="images/search.gif"></td>
        </tr>
        <tr>
          <td width="86%" height="27"><form name="form1" method="post" action="index.asp">

                <p align="right">&nbsp;&nbsp;&nbsp;&nbsp;

                <input name="nr" type="text" size="19" style="font-size: 9pt; border-style: solid; border-width: 1">&nbsp;&nbsp;
                <select name="xz" style="font-size: 9pt">
                  <option value="歌名">MTV名称</option>
                  <option value="歌手姓名">MTV歌手</option>
                </select>&nbsp; </p>
            </td>
          <td width="14%" height="27">
                <input type=image src=images/go_plain.gif name="submit" align="left" alt="搜索MTV[SEARCH]"></td>
        </tr></form>
      </table>
      </td>
    </tr>
  </table>
  </center>
</div>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="770" height="1">
    <tr>
      <td width="770" bgcolor="#666666" height="1" colspan="4">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="4">
        <tr>
          <td width="100%" height="4"></td>
        </tr>
      </table>
      </td>
    </tr>
    <tr>
      <td width="178" bgcolor="#C0C0C0" height="1" rowspan="7" valign="top">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%">
        <tr>
          <td width="100%" colspan="2"><img border="0" src="images/MTVTOP.gif"></td>
        </tr>
        <tr>
          <td width="100%" colspan="2"><a href="index.asp?lb=华人MTV">
          <img border="0" src="images/dh1.gif" style="filter:alpha(opacity=70)" onMouseover="high(this)" onMouseout="low(this)" alt="华人MTV"></a></td>
        </tr>
        <tr>
          <td width="100%" colspan="2"><a href="index.asp?lb=日韩MTV">
          <img border="0" src="images/dh2.gif" style="filter:alpha(opacity=70)" onMouseover="high(this)" onMouseout="low(this)" alt="日韩MTV"></a></td>
        </tr>
        <tr>
          <td width="100%" colspan="2"><a href="index.asp?lb=欧美MTV">
          <img border="0" src="images/dh3.gif" style="filter:alpha(opacity=70)" onMouseover="high(this)" onMouseout="low(this)" alt="欧美MTV"></a></td>
        </tr>
        <tr>
          <td width="100%" colspan="2"><a href="index.asp?lb=精彩片段">
          <img border="0" src="images/dh4.gif" style="filter:alpha(opacity=70)" onMouseover="high(this)" onMouseout="low(this)" alt="精彩片段"></a></td>
        </tr>
        <tr>
          <td width="100%" colspan="2"><a href="index.asp?lb=另类其他">
          <img border="0" src="images/dh5.gif" style="filter:alpha(opacity=70)" onMouseover="high(this)" onMouseout="low(this)" alt="另类其他"></a></td>
        </tr>
        <tr>
          <td width="100%" colspan="2"><a href="index.asp">
          <img border="0" src="images/dh6.gif" style="filter:alpha(opacity=70)" onMouseover="high(this)" onMouseout="low(this)" alt="全部分类"></a></td>
        </tr>
        <tr>
          <td width="96%">
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="170" height="1">
            <tr>
              <td width="100%" bgcolor="#FFFFFF" valign="top" height="1">
              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%">
                <tr>
                  <td width="100%"><img border="0" src="images/top20.gif"></td>
                </tr>
                <tr>
                  <td width="100%">
                  <table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" width="100%">
                  <%
set rs=server.createobject("adodb.recordset")
i=0 
Shangpin=45
sql="SELECT * FROM 歌曲 order by dd desc"
rs.Open sql,conn,1,1
%>
<%
do while not rs.eof
i=i+1
id1=right(rs("歌曲地址"),2)
if id1="vb" then id2="play.asp"
if id1="rm" then id2="play.asp"
if id1="vi" then id2="playWMV.asp"
if id1="mv" then id2="playWMV.asp"
if id1="sf" then id2="playWMV.asp"
%>
                    <tr>
                      <td width="14%">&nbsp;<b><%=i%>.</b></td>
                      <td width="86%"><a href="#" onClick="window.open('<%=id2%>?id=<%=rs("id")%>','tt90','scrollbars=no,resizable=no,width=352,height=370,menubar=no,top=168,left=168')" ><%=rs("歌名")%></a>(<%=rs("dd")%>)</td>
                    </tr>
                    <%
if (i mod (Shangpin/20)=0) and i>=(Shangpin/20) then
%>

<%
end if
if i>=Shangpin then exit do
rs.movenext
loop
%>
                  </table>
                  </td>
                </tr>
              </table>
              </td>
            </tr>
          </table>
          </td>
          <td width="4%"> </td>
        </tr>
      </table>
       </td>
      <td width="592" bgcolor="#666666" height="135" valign="top" colspan="3">
      <%
randomize timer
r=int(rnd*3)+1
%>
      <img border="0" src="images/BANNER<%=r%>.jpg" width="592" height="140"></td>
    </tr>
    <tr>
      <td width="592" bgcolor="#666666" height="1" valign="top" colspan="3">
      <p align="left"><img border="0" src="images/TOP3.gif"></td>
    </tr>
    <tr>
      <td width="9" bgcolor="#FFFFFF" height="1" rowspan="4"> </td>
      <td width="398" bgcolor="#FFFFFF" height="1" valign="top">
      <table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" width="100%">
              <tr align="center"> 
        </tr>
<!--#include file="data.asp"-->
<%
dim page
page=request.querystring("page")
PageSize = 9
if lb="" and nr="" then 
rs.open "Select * From 歌曲 Order by id DESC ",conn,3,3
end if
if lb<>"" then 
rs.open "Select * From 歌曲 where 所属分类='"&lb&"' Order by id DESC ",conn,3,3
end if 
if nr<>"" then
rs.open "Select * From 歌曲 where "&xz&"='"&nr&"' Order by id DESC ",conn,3,3
end if 
rs.PageSize = PageSize
pgnum=rs.Pagecount
if page="" or clng(page)<1 then page=1
if clng(page) > pgnum then page=pgnum
if pgnum>0 then rs.AbsolutePage=page%>
      <div align="center">
        <center>
      <table border="0" cellspacing="0" cellpadding="4" width="398" style="border-collapse: collapse" bordercolor="#111111" height="8">
<%
count=0
do while not (rs.eof or rs.bof) and count<rs.PageSize
id1=right(rs("歌曲地址"),2)
if id1="vb" then id2="play.asp"
if id1="rm" then id2="play.asp"
if id1="vi" then id2="playWMV.asp"
if id1="mv" then id2="playWMV.asp"
if id1="sf" then id2="playWMV.asp"
%>

        <tr align="center"> 
          <td width="139" valign="top" height="8">
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="120" height="1" bordercolor="#000000">
            <tr>
              <td width="100%" height="1">
              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="120" height="72" bordercolor="#000000">
                <tr>
                  <td width="100%" background="<%=rs("图片")%>">
                  <a href="#" onClick="window.open('<%=id2%>?id=<%=rs("id")%>','tt90','scrollbars=no,resizable=no,width=352,height=370,menubar=no,top=168,left=168')" ><img border="0" src="images/MTVLOGO.gif"></a></td>
                </tr>
              </table>
              </td>
            </tr>
            <tr>
              <td width="100%" height="1">
              <img border="0" src="images/picdown.gif"></td>
            </tr>
          </table>
          </td>
          <td width="243" valign="top" height="8" background="images/bg.gif">

        <table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" width="100%">
          <tr>
            <td width="100%"><div align="left"><img border="0" src="images/marker.gif" width="22" height="7"><b><font color="#006699"><font face="Arial">MTV</font>名称:</font></b><a href="#" onClick="window.open('<%=id2%>?id=<%=rs("id")%>','tt90','scrollbars=no,resizable=no,width=352,height=370,menubar=no,top=168,left=168')" ><%=rs("歌名")%><b><font color="#AD0000">[<%=rs("格式")%>]</font></b></a><font color="#AD0000"><b></td></b></font>
          </tr>
          <tr>
            <td width="100%"><img border="0" src="images/marker.gif" width="22" height="7"><font color="#FF6600"><b>歌手名称:</b></font><%=rs("歌手姓名")%></td>
          </tr>
          <tr>
            <td width="100%"><img border="0" src="images/marker.gif" width="22" height="7"><font color="#FF6600"><b>观看次数</b>:</font><%=rs("dd")%></div></td>
          </tr>
          <tr>
            <td width="100%"><b><img border="0" src="images/marker.gif" width="22" height="7"><font color="#FF6600">所属类别:</font></b><%=rs("所属分类")%></td>
          </tr></center>
</div>

⌨️ 快捷键说明

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