📄 addclassmeet.jsp
字号:
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>班会管理</title>
<link style="text/css" rel="stylesheet" href="../css/menu.css" />
<link style="text/css" rel="stylesheet" href="../css/main.css" />
<link style="text/css" rel="stylesheet" href="../css/general.css" />
<script src="../js/js.js" charset="gbk">
</script>
<style type="text/css">
<!--
.STYLE1 {font-size: 14px}
.STYLE4 {font-size: 36px}
.bei {
background-color: #F7FFFE;
}
.gao {
background-color: #F7FFFE;
height: 25px;
}
-->
</style>
</head>
<script language=javascript>
function checkForm(){
if (document.getElementsById("emceeName").value=="")
{
alert("请您填写主持人姓名!");
}
else if(document.getElementsById("emceeName").length>10)
{
alert("您填写的主持人姓名太长了!");
}
else if (document.getElementsById("location").value=="")
{
alert("请您填写所在地点!");
}
else if(document.getElementsById("location").length>10)
{
alert("您填写的地点字符太长了!");
}
else if(document.all.theme.value=='')
{
alert("请您填写主题!");
}
else if (document.all.theme.value.length>10)
{
alert("您填写主题字符太长了!");
}
else if(document.all.content.value=='')
{
alert("请您填写内容!");
}
else if(document.all.content.value.length>100)
{
alert("所写内容过多!");
}
else if(document.all.decision.value=='')
{
alert("请您填写您的描述!");
}
else if(document.all.decision.value.length>150)
{
alert("您好写的字数太过多了!");
}
else if (document.all.remark1.value=='')
{
alert("请写点吧!");
}
else if (document.all.remark1.value.length>50)
{
alert("字数过多!");
}
else{
document.all.ClassmeetForm.submit();
}
return false;
}
</script>
<body bgcolor="#E6FEFF"><center>
<form action="<%=basePath%>admins/bwgl/classmeet.html?method=addRecord" onsubmit="return(checkForm())" method="post">
<table width="536" height="345" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF">
<tr >
<td height="41" colspan="4" align="center"><span class="STYLE4">班 会</span></td>
</tr>
<tr>
<td width="75" height="29" align="center">主持人:</td>
<td width="178" align="center"><input name="emceeName" class="gao" type="text" size="25" /></td>
<td width="81" align="center">时间:</td>
<td width="179" align="center"><input class="gao" name="time" type="text" onfocus="calendar()" size="25"/></td>
</tr>
<tr>
<td height="29" align="center">地点:</td>
<td><input class="gao" name="location" type="text" size="25" /></td>
<td align="center">主题:</td>
<td><input class="gao" name="theme" type="text" size="25" /></td>
</tr>
<tr >
<td height="70" align="center">内容</td>
<td colspan="3"><textarea name="content" class="bei" cols="61" rows="5"></textarea></td>
</tr>
<tr>
<td height="70" align="center">描述</td>
<td colspan="3"><textarea name="decision" class="bei" cols="61" rows="5"></textarea></td>
</tr>
<tr>
<td height="70" align="center">备注</td>
<td colspan="3"><textarea name="remark1" class="bei" cols="61" rows="5"></textarea></td>
</tr>
<tr>
<td colspan="4" align="center"><input type="submit" name="Submit" class="button" value="提交" />
<input type="reset" name="Submit2" class="button" value="重置" /></td>
</tr>
</table>
</form>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -