📄 add-cl.asp
字号:
<!--#include file="../conn/conn.asp" -->
<html>
<head>
<title>添加类别</title>
<link rel="stylesheet" href="../conn/css.css" type="text/css">
</head>
<script language="javascript">
<!--
function check() {
if (form1.newTitle.value == "")
{
alert("请填写类别名称");
form1.newTitle.focus();
return false;
}
return true;
}
//-->
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" OnLoad = "form1.newTitle.focus();">
<%
Select case Request("action")
case "Add"
%>
<form method="POST" action="add-clend.asp?action=step1" align="center" onsubmit="return check();" name="form1">
<table width="100%" cellspacing="0" cellpadding="3" align="center">
<tr align="center">
<td><font color="#FF3333">>>新增大类别</font></td>
</tr>
<tr align="center">
<td>
<p>类别名称:
<input type="text" name="newTitle" size="20" class=textbox>
<input type="submit" value="新增" class="textbox-1" name="B3">
</td>
</tr>
</table>
</form>
<%case "Ndd"%>
<form method="POST" action="add-clend.asp?action=step2" align="center" onsubmit="return check();" name="form1">
<input type="hidden" name="clid" value="<%=Request("clid")%>">
<table width="100%" cellspacing="0" cellpadding="3" align="center">
<tr align="center">
<td><font color="#FF3333">>>新增小类别</font></td>
</tr>
<tr align="center">
<td> <p>类别名称:
<input type="text" name="newTitle" size="20" class=textbox>
<input type="submit" value="新增" class="textbox-1" name="B3">
</td>
</tr>
</table>
</form>
<%end Select%>
<div align="center">
<input type="button" name="button" value="关闭窗口" OnClick="Javascript:window.close();" class="textbox-1">
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -