📄 index_vod.asp
字号:
<!--#include file="articleconn.asp"-->
<!--#include file="security.asp"-->
<!--#include file="../checkpost.asp"-->
<!--#include file="inc/function.asp"-->
<%if session("flag")>1 then
response.write "<script>alert('您的操作权限不够!');history.back();</script>"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" href="inc/Admin_STYLE.CSS" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br>
<table class="border" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr class="title">
<td align="center" height="22" valign="middle"><strong><font color="#000000">首页MTV播放器地址修改
</font></strong></td>
</tr>
<tr class="tdbg">
<td align="center" height="150" valign="middle"><%set rs=server.createobject("adodb.recordset")
if request("do")=1 then
sql="select * from info"
rs.open sql,conn,1,3
rs("music")=request.form("url1")
rs("music2")=request.form("url2")
rs("music3")=request.form("url3")
rs("music4")=request.form("url4")
rs("music5")=request.form("url5")
rs("format")=request.form("format")
rs.update
content=content&""&rs("music")&""&VbCrLf&""
content=content&""&rs("music2")&""&VbCrLf&" "
content=content&""&rs("music3")&""&VbCrLf&" "
content=content&""&rs("music4")&""&VbCrLf&" "
Set fso = Server.CreateObject("Scripting.FileSystemObject") '创建fso对象
Set fout = fso.CreateTextFile(server.mappath("../zcsky_index_mtv.asx"))
fout.Write content
rs.close
response.write "修改成功!"
response.end
else
sql="select * from info"
rs.open sql,conn,1,1
%>
<table align="center" cellpadding="0" cellspacing="1">
<%if rs.eof and rs.bof then%>
<tr>
<td width="100%"> 暂时没有MTV地址</td>
</tr>
<%else%>
<tr>
<td width="100%">当前地址 1 为:<u><b><%=rs("music")%> 媒体格式为
<%if rs("format")="rm" then%>
<img src="images/real.gif">
<%else%>
<img src="images/media.gif">
<%end if%>
</b></u></td>
</tr>
<tr>
<td width="100%">当前地址 2 为:<u><b><%=rs("music2")%> 媒体格式为
<%if rs("format")="rm" then%>
<img src="images/real.gif">
<%else%>
<img src="images/media.gif">
<%end if%>
</b></u></td>
</tr>
<tr>
<td width="100%">当前地址 3 为:<u><b><%=rs("music3")%> 媒体格式为
<%if rs("format")="rm" then%>
<img src="images/real.gif">
<%else%>
<img src="images/media.gif">
<%end if%>
</b></u></td>
</tr>
<tr>
<td width="100%">当前地址 4 为:<u><b><%=rs("music4")%> 媒体格式为
<%if rs("format")="rm" then%>
<img src="images/real.gif">
<%else%>
<img src="images/media.gif">
<%end if%>
</b></u></td>
</tr>
<%end if
%>
<tr>
<td width="100%" height="199"> <form Name="FormPst" Method="Post" Action="index_vod.asp?do=1">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>新的地址1:
<input type="text" name="url1" Size="60" value="<%=rs("music")%>">
<br>
新的地址2:
<input type="text" name="url2" Size="60" value="<%=rs("music2")%>">
<br>
新的地址3:
<input type="text" name="url3" Size="60" value="<%=rs("music3")%>">
<br>
新的地址4:
<input type="text" name="url4" Size="60" value="<%=rs("music4")%>">
<br>
说明备注1:
<textarea name="url5" cols="50" rows="4"><%=rs("music5")%></textarea>
</td>
</tr>
</table>
<p>请选择格式:
<input name="format" type="radio" value="wm" checked>
<img src="images/media.gif"><font color="#FF0000">(注意:所有MTV的格式都必须一致)</font></p>
<p align="center">
<input type="submit" Value="确定" name="submit4">
<input name="reset" type="reset" Value="清除">
<br>
</p>
</form></td>
</tr>
</table>
<%rs.close
end if
set rs=nothing
conn.close
set conn=nothing
%>
</td>
</tr>
</table>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -