📄 z-z-musicmb.asp
字号:
<!--#include file="bzmtvconst.asp"-->
<%CheckAdmin3%>
<%
set rs=server.CreateObject("ADODB.RecordSet")
if request("id")="save" then
if request.form("bzmtv")<>"" then
rs.open "select * from mb",conn,1,2
if request("type")="geshou" then
rs("geshou")=request.form("bzmtv")
elseif request("type")="gequ" then
rs("gequ")=request.form("bzmtv")
elseif request("type")="zhuanji" then
rs("zhuanji")=request.form("bzmtv")
end if
rs.Update
rs.close
zymsg="成功:修改网页模板完成"
else
zymsg="错误:模版内容不能为空"
end if
end if
rs.open "select * from mb",conn,1
if request("type")="geshou" then
title="歌手列表"
mb=rs("geshou")
elseif request("type")="zhuanji" then
title="专辑列表"
mb=rs("zhuanji")
elseif request("type")="gequ" then
title="歌曲列表"
mb=rs("gequ")
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
td{font-size:9pt;line-height:140%}
body{font-size:9pt;line-height:140%}
a:link { color: #0033CC; text-decoration: none }
a:visited { color: #0033CC; text-decoration: none }
a:active { color: #FF0000; text-decoration: none }
a:hover { color: #000000; text-decoration: underline}
</style>
<SCRIPT LANGUAGE="JavaScript">
helpstat = false;
stprompt = true;
basic = false;
function thelp(swtch){
if (swtch == 1){
basic = false;
stprompt = false;
helpstat = true;
} else if (swtch == 0) {
helpstat = false;
stprompt = false;
basic = true;
} else if (swtch == 2) {
helpstat = false;
basic = false;
stprompt = true;
}
}
function AddText(NewCode) {
document.frmAnnounce.body.value+=NewCode
}
function runEx(){
//alert('请注意,按下确定将生成页面,按下后请稍后....');
var winEx = window.open("", "winEx", "width=300,height=200,status=yes,menubar=yes,scrollbars=yes,resizable=yes"); winEx.document.open("text/html", "replace");
winEx.document.write(unescape(event.srcElement.parentElement.children[2].value));
winEx.document.close();
}
</SCRIPT>
<script language="Javascript">
<!-- hide
function insertsmilie(smilieface){
document.frmAnnounce.body.value+=smilieface;
}
// -->
</script>
</head>
<body topmargin="1" leftmargin="1">
<table border="0" cellspacing="1" width="100%" bgcolor="#555555" height="100%">
<form name="frmAnnounce" method="post" action="z-z-musicmb.asp?id=save&type=<%=request("type")%>">
<tr>
<td width="100%" bgcolor="#6A6A6A">
<b><font color="#FFFFFF"><%=title%>(HTML)页模板</font></b></td>
</tr>
<%if zymsg<>"" then%>
<tr>
<td bgcolor="#FFFFFF"><font color="#FF0000">·</font><%=zymsg%>,时间<%=Now()%></td>
</tr>
<%
end if
%>
<tr>
<td width="100%" bgcolor="#FFFFFF" height="100%"><textarea style="width:100%; height:100%;" rows="19" name="bzmtv" cols="102"><%=mb%></textarea></td>
</tr>
<tr>
<td width="100%" bgcolor="#DFDFDF">
<p align="center">
<input name="change" value="修改<%=title%>(HTML)页模板" type='submit'> </td>
</tr>
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -