📄 addcategorystep1.jsp
字号:
<%@page contentType="text/html;charset=gb2312"%>
<%@ include file="../incoming/Common.jsp"%>
<%@ include file="../incoming/ConnectDB.jsp"%>
<%@ include file="../incoming/Check.jsp"%>
<html>
<head>
<title><%=title%>管理</title>
<link href="../incoming/style.css" rel="stylesheet" type="text/css">
</head>
<script Language="JavaScript">
function check_input(theForm)
{
if (theForm.categoryname.value == "")
{
alert("请输入栏目名称.");
theForm.categoryname.focus();
return (false);
}
if (theForm.description.value == "")
{
alert("请输入栏目描述.");
theForm.description.focus();
return (false);
}
}
</script>
<body>
<table border="1" width=700 align=center cellpadding=0 cellspacing=0>
<form method="POST" action="AddCategoryStep2.jsp" onsubmit="return check_input(this)">
<tr align="center" bgcolor="#CCCCCC" height=25>
<td height="52" colspan=2><a class="title">添加栏目(*为必填项目)</a></TD>
</tr>
<tr>
<td width="15%" height="26" align="center" class="text"><div align="right"><B>栏目名称:</B></div></td>
<td width="85%" class="text"> <input name=categoryname TYPE="text" id="categoryname" size=20 maxlength=20>
*不得超过10个汉字</TD>
</tr>
<tr>
<td height="25" align="center" ><div align="right"><span class="text"><B>栏目</B></span><strong>描述</strong>:<BR>
</div></td>
<td><span class="text">
<input name=description TYPE="text" id="description" size=80 maxlength=80>
*</span></td>
</tr>
<tr>
<td height="58" colspan=2 align=center ><FONT color=#000000>
<input name=Submit type=submit value="添加">
<input name=Submit2 type=reset value="取消">
</font></td>
</tr>
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -