📄 admin_news_lm2_add.asp
字号:
<!--#include file = admin_chk.asp -->
<!--#include file = admin_conn.asp -->
<head>
<!--#include file = language.asp -->
<style>
<!--
a:link { font-size: 9pt; font-family: 宋体; color: #000000;text-decoration: none; }
a:visited { color: #000000; font-family: 宋体; font-size: 9pt;text-decoration: none; }
a:hover { font-size: 9pt; font-family: 宋体; color: #000000;TEXT-DECORATION: underline; }
body { font-family: 宋体; color: #000000; font-size: 9pt }
p { color: #000000; font-family: 宋体; font-size: 9pt }
td { font-size: 9pt; font-family: 宋体; color: #000000 }
input { font-size: 9pt; font-family: 宋体; color: #000000 }
-->
</style>
</head>
<body bgcolor="#EFEFDE">
<p> </p>
<%
id=trim(request("id"))
sql = "select * from lm where id="&id
Set rs = Server.CreateObject("ADODB.RecordSet")
rs.Open sql,conn,1,1
lm=rs("lm")
%>
<!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script Language="JavaScript" Type="text/javascript"><!--
function FrontPage_Form1_Validator(theForm)
{
if (theForm.lm2.value == "")
{
alert("请在 二级栏目 域中输入值。");
theForm.lm2.focus();
return (false);
}
if (theForm.lm2.value.length < 2)
{
alert("在 二级栏目 域中,请至少输入 2 个字符。");
theForm.lm2.focus();
return (false);
}
if (theForm.lm2.value.length > 6)
{
alert("在 二级栏目 域中,请最多输入 6 个字符。");
theForm.lm2.focus();
return (false);
}
return (true);
}
//--></script><!--webbot BOT="GeneratedScript" endspan --><form method="POST" action="admin_news_lm2_add_save.asp?id=<%=id%>" name="FrontPage_Form1" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript">
<div align="center">
<table border="1" width="600" id="table1" cellspacing="0" cellpadding="6" style="border-collapse: collapse" bordercolor="#C0C0C0">
<tr>
<td width="295" bgcolor="#C0C0C0"><font face="Wingdings">1</font>给《<%=lm%>》添加二级栏目</td>
<td bgcolor="#C0C0C0"> </td>
</tr>
<tr>
<td colspan="2" bgcolor="#F5F5F5">
<table border="0" width="100%" id="table2">
<tr>
<td width="220">
<p align="right">二级栏目名称</td>
<td>
<!--webbot bot="Validation" s-display-name="二级栏目" b-value-required="TRUE" i-minimum-length="2" i-maximum-length="6" --><input type="text" name="lm2" size="34" maxlength="6"></td>
</tr>
</table>
<p align="center"><input type="submit" value="保存" name="B1"> <input type="reset" value="重置" name="B2"></td>
</tr>
</table>
</div>
<p> </p>
</form>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -