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

📄 0000.asp

📁 超炫电台程序开发了两个版本了
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../Connections/radio.asp" -->
<%
'=========================================================
' 21GTRadio(世纪之音)网络电台
' Version:1.0
' Date: 2003-9-21
' 浪子不归
'=========================================================
' Copyright (C) 2003 21GT.COM. All rights reserved.
' Web: http://www.21gt.com,http://radio.21gt.net
' Email: fbcha@21cn.com
'=========================================================
%>
<%
Dim userpass
Dim userpass_numRows

Set userpass = Server.CreateObject("ADODB.Recordset")
userpass.ActiveConnection = MM_radio_STRING
userpass.Source = "SELECT * FROM userpass"
userpass.CursorType = 0
userpass.CursorLocation = 2
userpass.LockType = 1
userpass.Open()

userpass_numRows = 0
%>
<%
' *** Validate request to log in to this site.
MM_LoginAction = Request.ServerVariables("URL")
If Request.QueryString<>"" Then MM_LoginAction = MM_LoginAction + "?" + Request.QueryString
MM_valUsername=CStr(Request.Form("textfield"))
If MM_valUsername <> "" Then
  MM_fldUserAuthorization="等级"
  MM_redirectLoginSuccess="MANAGE.ASP"
  MM_redirectLoginFailed="fair.htm"
  MM_flag="ADODB.Recordset"
  set MM_rsUser = Server.CreateObject(MM_flag)
  MM_rsUser.ActiveConnection = MM_radio_STRING
  MM_rsUser.Source = "SELECT 用户名, 密码"
  If MM_fldUserAuthorization <> "" Then MM_rsUser.Source = MM_rsUser.Source & "," & MM_fldUserAuthorization
  MM_rsUser.Source = MM_rsUser.Source & " FROM userpass WHERE 用户名='" & Replace(MM_valUsername,"'","''") &"' AND 密码='" & Replace(Request.Form("textfield2"),"'","''") & "'"
  MM_rsUser.CursorType = 0
  MM_rsUser.CursorLocation = 2
  MM_rsUser.LockType = 3
  MM_rsUser.Open
  If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then 
    ' username and password match - this is a valid user
    Session("MM_Username") = MM_valUsername
    If (MM_fldUserAuthorization <> "") Then
      Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
    Else
      Session("MM_UserAuthorization") = ""
    End If
    if CStr(Request.QueryString("accessdenied")) <> "" And false Then
      MM_redirectLoginSuccess = Request.QueryString("accessdenied")
    End If
    MM_rsUser.Close
    Response.Redirect(MM_redirectLoginSuccess)
  End If
  MM_rsUser.Close
  Response.Redirect(MM_redirectLoginFailed)
End If
%>
<html>
<head>
<title>21GTRadio(世纪之音)网络电台--</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/radio.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000" topmargin="0">
<!--#include file="top.asp" -->
<table width="760" border="0" cellspacing="0" cellpadding="1" align="center" bgcolor="#999999">
  <tr>
    <td>
      <table width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
        <tr> 
          <td> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="60%" background="../images/logo2.jpg" height="172"><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="456" height="172">
                    <param name=movie value="../images/fff.swf">
                    <param name=quality value=high>
                    <param name="wmode" value="transparent">
                    <param name="menu" value="false">
                    <embed src="../images/fff.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="456" height="172" wmode="transparent" menu="false">
                    </embed> 
                  </object></td>
                <td width="40%" background="../images/playbg.png"><iframe name="I3" marginwidth="1" marginheight="1" scrolling="no" border="0" frameborder="0" width="100%" height="100%" align="left" src="../asp/syplayer.asp"> 
                        浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="1" align="center" bgcolor="#999999">
  <tr> 
    <td> 
      <table width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
        <tr> 
          <td> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="172" valign="top"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="5"></td>
                    </tr>
                  </table>
                  <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td> 
                        <table width="100%" border="0" cellspacing="0" cellpadding="1" align="center" bgcolor="#999999">
                          <tr> 
                            <td> 
                              <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
                                <tr> 
                                  <td> 
                                    <table cellspacing=0 cellpadding=0 width="100%" border=0>
                                      <tbody> 
                                      <tr> 
                                        <td style="FONT-SIZE: 9pt; LINE-HEIGHT: 15pt" align=middle 
                height=12><font color=#993300>: :加 入 我 们: : </font></td>
                                      </tr>
                                      <tr> 
                                        <td bgcolor=#ff9900 height=2></td>
                                      </tr>
                                      </tbody> 
                                    </table>
                                  </td>
                                </tr>
                                <tr> 
                                  <td>&nbsp;</td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                    <tr> 
                      <td height="195" valign="top"> 
                        <table width="100%" border="0" cellspacing="00" cellpadding="0">
                          <tr> 
                            <td align="center"> 
                              <form method="POST" action="<%=MM_LoginAction%>" name="form1">
                                <table border="0" width="450" align=center>
                                  <tr> 
                                    <td width="100%" align="center"> </td>
                                  </tr>
                                  <tr> 
                                    <td width="60%" align="center"> 
                                      <hr size=1 color=#666666>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td width="100%" align="center"> 
                                      <table border="0" width="350">
                                        <tr> 
                                          <td width="33%" align="right"><font color="#666666">用户名:</font></td>
                                          <td width="67%"> 
                                            <input type="text" name="textfield" size="20" style="font-size: 9pt">
                                          </td>
                                        </tr>
                                        <tr> 
                                          <td width="33%" align="right"><font color="#666666">密码:</font></td>
                                          <td width="67%"> 
                                            <input type="password" name="textfield2" size="20" style="font-size: 9pt">
                                          </td>
                                        </tr>
                                        <tr> 
                                          <td width="33%"></td>
                                          <td width="67%">&nbsp;&nbsp;&nbsp;&nbsp; 
                                            <input type="submit" value="进入" name="Submit" style="font-size: 9pt">
                                            <font size="2"> 
                                            <input type="reset" name="Submit2" value="重写">
                                            </font> </td>
                                        </tr>
                                      </table>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td width="90%" align="center"> 
                                      <hr size=1 color=#666666>
                                    </td>
                                  </tr>
                                  <tr> 
                                    <td width="100%" align="center"></td>
                                  </tr>
                                  <tr> 
                                    <td width="100%" align="center"></td>
                                  </tr>
                                  <tr> 
                                    <td width="100%"></td>
                                  </tr>
                                  <tr> 
                                    <td width="100%"></td>
                                  </tr>
                                </table>
                              </form>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!--#include file="down.asp" -->
</body>
</html>

⌨️ 快捷键说明

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