⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 person_insert.jsp

📁 是一个企业的进销存系统。账号问1001密码为123456
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<head>
	<style type="text/css">
<!--
.style3 {
	font-size: 12px;
	font-weight: bold;
}

.style5 {
	color: #FF00FF
}
.style8 {font-size: 12px}
-->
    </style>
</head>
<body bgcolor="#F1F4F8">
	  <%
  	if (session.getAttribute("yid")==null) {
	%>

	<script language=javascript>
    alert("对不起,您没有登录,请先登录!");
    window.location.href="../erro.jsp";
    </script>
  <%} %>

	<table width="660" height="480">
		<tr>
			<td bgcolor="#FFCCFF" width="660" height="30">
				<jsp:include flush="true" page="person_top.jsp" />
			</td>
		</tr>
		<tr>
			<td height="25">
				<strong><span class="style3"><font color="#CC33CC">----&gt;员工信息添加&lt;----</font>
				</span>
				</strong>
			</td>
		</tr>
		<tr>
			<td width="660" height="25">
				<center class="style3">
					<strong><font color="#CC33CC"> <%
 	if (session.getAttribute("erro") == "null") {
 %> 带星号的必须填!! <%
 	session.removeAttribute("erro");
 	} else if (session.getAttribute("erro") == "fal") {
 %> 信息添加失败!! <%
 	session.removeAttribute("erro");
 	} else if (session.getAttribute("erro") == "succ") {
 %> 信息添加成功!! <%
 	session.removeAttribute("erro");
 	}
 %> </font>
					</strong>
				</center>
			</td>
		</tr>
		<tr>
			<td width="660" height="350">
				<form name="form1" method="post" action="PersonInsetTreat">
					<table width="422" height="262" align="center" bgcolor="#cccccc">
						<tr>
							<td width="113" bgcolor="#F1F4F8">
								<div align="right" class="style3">
									员工ID:
						  </div>						  </td>
							<td width="297" bgcolor="#F1F4F8">
								&nbsp; &nbsp; &nbsp; &nbsp;
								<input name="yid" type="text" size="20">
								<span class="style5">*</span>
							</td>
						</tr>
						<tr>
							<td bgcolor="#F1F4F8">
								<div align="right" class="style3">
									姓名:
								</div>
							</td>
							<td bgcolor="#F1F4F8">
								&nbsp; &nbsp; &nbsp; &nbsp;
								<input name="yname" type="text" size="20">
								<span class="style5">*</span>
							</td>
						</tr>
						<tr>
							<td bgcolor="#F1F4F8">
								<div align="right" class="style3">
									职位:
								</div>
							</td>
						  <td bgcolor="#F1F4F8">
								&nbsp; &nbsp; &nbsp; &nbsp;
								<select name="yjob">
									<option value="类别">
										--类别--
									</option>
									<option value="销售员">
										--销售员--
									</option>
									<option value="进货员">
										--进货员--
									</option>
									<option value="经理">
										--经理--
									</option>
									<option value="库存员">
										--库存员--
									</option>
								</select>
							<span class="style5">*</span>							</td>
						</tr>
						<tr>
							<td bgcolor="#F1F4F8">
								<div align="right" class="style3">
									性别:
								</div>
							</td>
							<td bgcolor="#F1F4F8">
&nbsp; &nbsp; &nbsp;  &nbsp;  
<span class="style8">
<input type="radio" name="ysex" value="男">
男&nbsp; &nbsp; &nbsp; &nbsp; 
<input type="radio" name="ysex" value="女">	
女	<span class="style5">*</span></span>
							</td>
						</tr>
						<tr>
							<td bgcolor="#F1F4F8">
								<div align="right" class="style3">
									年龄:
								</div>
							</td>
							<td bgcolor="#F1F4F8">
								&nbsp; &nbsp; &nbsp; &nbsp;
								<input name="yage" type="text" size="4">
							</td>
						</tr>
						<tr>
							<td bgcolor="#F1F4F8">
								<div align="right" class="style3">
									联系电话:
								</div>
							</td>
							<td bgcolor="#F1F4F8">
								&nbsp; &nbsp; &nbsp; &nbsp;
								<input name="ypho" type="text" size="20">
							</td>
						</tr>
							<tr>
							<td bgcolor="#F1F4F8">
								<div align="right" class="style3">
									家庭住址:
								</div>
							</td>
							<td bgcolor="#F1F4F8">
								&nbsp; &nbsp; &nbsp; &nbsp;
								<input name="yaddr" type="text" size="20">
							</td>
						</tr>
						<tr>
							<td colspan="2" bgcolor="#F1F4F8">
								<div align="center">
									<input type="submit" name="Submit" value="提交">
									&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
									<input type="reset" name="Submit2" value="重置">
								</div>
							</td>
						</tr>
					</table>
				</form>
			</td>
		</tr>
		<tr>
			<td width="660" height="50">&nbsp;
				
		  </td>
		</tr>
	</table>
</body>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -