|
请大家帮忙,看看我这段程序那里错了!!!没有传到服务器没有错,一传上去一运行就提示脚本错!高手指点!!谢谢!!去http://www.fxplxw.cn/yyyl/mp3play.htm点那频道播放就可以看到了!!!
<!--#include file="conn.asp"-->
<%
sql="select * from dj where dj_id="&request.querystring("dj_id")&""
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
dim djpic
djpic=rs("dj_pic")
dim djid
djid=cint(request.querystring("dj_id"))
%>
<%if djpic="rm" then%>
<script>
SplashWin=window.open("djplay.asp?dj_id=<%=djid%>",'dj','width=250,height=280');
SplashWin.focus();
self.close();
</script>
<%elseif djpic="asf" then%>
<script>
SplashWin=window.open("djplay.asp?dj_id=<%=djid%>",'asf','width=340,height=350');
SplashWin.focus();
self.close();
</script>
<%elseif djpic="flash" then%>
<script>
SplashWin=window.open("djplay.asp?dj_id=<%=djid%>",'flash','width=550,height=420');
SplashWin.focus();
self.close();
</script>
<%elseif djpic="rmmtv" then%>
<script>
SplashWin=window.open("djplay.asp?dj_id=<%=djid%>",'rmmtv','width=450,height=410');
SplashWin.focus();
self.close();
</script>
<%elseif djpic="mtv" then%>
<script>
SplashWin=window.open("djplay.asp?dj_id=<%=djid%>",'rmmtv','width=450,height=405');
SplashWin.focus();
self.close();
</script>
<%elseif djpic="asfmtv" then%>
<script>
SplashWin=window.open("djplay.asp?dj_id=<%=djid%>",'rmmtv','width=450,height=395');
SplashWin.focus();
self.close();
</script>
<%end if%> |
|