📄 staffdeleteconfirm.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ page import="eshopsys.staff.biz.*" %>
<%@ page import="eshopsys.staff.model.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setCharacterEncoding("gb2312");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>用户主页面</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<%
StaffEntity staff=null;
StaffBiz staffbiz=new StaffBiz();
staff=((StaffEntity[])(staffbiz.findByQueryString("select * from tbl_staff where staffid="+request.getParameter("staffid").trim())))[0];
//response.sendRedirect("/Eshop/SysManager/Staff/regSuccess.html");
%>
<body>
<div align="center">
<span class="STYLE2">职员信息删除确定</span>
<form action="SysManager/Staff/staffDelete.jsp" method="post" name="form1" class="STYLE1">
<table>
<tr>
<td>
<div align="left">姓名:
<input name="staffname" type="text" id="staffname" value="<%=staff.getStaffName() %>" disabled="disabled">
<br>
性别:
<select name="staffsex" id="staffsex" disabled="disabled">
<%if(staff.getStaffSex().trim().equals("男")) {%>
<option value="男" selected="selected">男</option>
<option value="女">女</option>
<%}
else{ %>
<option value="男">男</option>
<option value="女" selected="selected">女</option>
<%} %>
</select>
<br>
帐号:
<input name="staffaccount" type="text" id="staffaccount" value="<%=staff.getStaffAccount() %>" disabled="disabled">
<br>
密码:
<input name="staffpassword" type="password" id="staffpassword" value="<%=staff.getStaffPassword() %>" disabled="disabled">
<br>
权限:
<select name="staffright" id="staffright" disabled="disabled">
<%if(staff.getStaffRight().trim().equals("administrator")) {%>
<option value="administrator" selected="selected">超级管理员</option>
<option value="manager">职员</option>
<%}
else{ %>
<option value="administrator">超级管理员</option>
<option value="manager" selected="selected">职员</option>
<%} %>
</select>
</div>
</td>
</tr>
<tr>
<td>
<div align="center">
<input type="submit" name="Submit" value="删除"> <font size="2"><a href="SysManager/Staff/staffDeleteList.jsp">放弃删除</a></font>
<input name="staffid" type="hidden" id="staffid" value="<%=staff.getStaffId() %>">
</div></td>
</tr>
</table></form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -