📄 flashedit.asp
字号:
<!--#include file="admin.asp"-->
<!--#include file="conn1.asp"-->
<!-- #include file="../Inc/Head.asp" -->
<%
flashId=request("flashId")
set rs=server.createobject("adodb.recordset")
Sql="select * from flash where flashId="&flashId
rs.open sql,conn,1,1
%>
<script Language="JavaScript">
function FormValidator(theForm)
{
if (theForm.flashName.value == "")
{
alert("Flash标题必须填写");
theForm.flashName.focus();
return (false);
}
return (true);
}
</script>
<table border="0" width="60%" cellspacing="1" cellpadding="2" align="center" bgcolor="#ffffff">
<form method="POST" action="flashsave.asp?action=edit&flashId=<%=flashId%>" onsubmit="return FormValidator(this)">
<tr>
<td nowrap>动画标题:</td>
<td > <input type="text" name="flashName" size="20" maxlength="50" value="<%=rs("flashName")%>">
</td>
</tr>
<tr>
<td >动画作者:</td>
<td colspan="3"> <input type="text" name="flashauthor" value="<%=rs("author")%>" size="10">
</td>
</tr>
<tr>
<td colspan="2" align="right"><div align="center">
<script src=../Inc/eshopcode.js></script>
<!--#include file=../Inc/Ubb.inc -->
</div></td>
</tr>
<tr>
<td width="17%" align="right"><div align="left">试听地址:<br>
(<font color="#FF0000">支持UBB</font>)</div></td>
<td>
<textarea name="content" cols="50" rows="4" id="content"><%=rs("src")%></textarea></td>
</tr>
<tr >
<td colspan=2 align=center> <input type="submit" value=" 确 定 "> </td>
</tr>
</form>
</table>
<!-- #include file="../Inc/Foot.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -