?? line.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<%@ include file="../hear/hear.jsp" %>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>部門查看</title>
<link href="../css/work.css" rel="stylesheet" type="text/css" />
<script src="../js/oa.js"></script>
<style type="text/css">
<!--
.style1 {
color: #000000;
font-weight: bold;
font-family: "宋體";
font-size: 16px;
}
.style2 {
color: #0060BF;
font-family: "宋體";
font-size: 16px;
font-weight: bold;
}
.style3 {
color: #003366;
font-weight: bold;
}
-->
</style>
</head>
<body bgcolor="#ECF1FF">
<table width="59%" height="451" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<form name="form2" id="form2" method="post" action="">
<tr>
<td height="21" colspan="4" align="center" background="../image/zs.gif" class="style1" >在線信息</td>
</tr>
<tr>
<td height="27" colspan="3" align="center" class="style4 style3 style2 column"><strong class="style2"> 在線列表 </strong></td>
<td width="198" rowspan="2" align="center"> </td>
</tr>
<tr>
<td width="121" height="30" align="center" class="style4 style3 style2 column"><strong class="style2">員工序號</strong></td>
<td width="121" align="center" class="style4 style3 style2 column"><strong class="style2">員工姓名</strong></td>
<td width="138" align="center" class="style4 style3 style2 column"><strong class="style2">員工部門</strong></td>
</tr>
<tr>
<td colspan="3" rowspan="4" align="center">
<textarea name="textarea" cols="50" rows="20" disabled>
<%
int delid=0,temp=0;
UserList list=UserList.getInstance();
try{
delid=Integer.parseInt((String)request.getParameter("delid"));
}catch(Exception e){
delid=-1;
}
if(delid!=-1){
temp=list.removeUser(delid);
if(temp>0){
}
}
Vector vector=list.getList();
if(!vector.isEmpty()&&vector!=null){
Enumeration em=vector.elements();
while(em.hasMoreElements()){
Eminfo emin=(Eminfo)em.nextElement();
if(emin.getId()!=-1){
out.print(emin.getId()+" ");
out.print(emin.getName()+" ");
out.print(emin.getDepartment()+" ");
}
}
}
%> </textarea></td>
<td height="80" align="center" class="advise"><span class="style3">刪除在線人員</span></td>
</tr>
<tr>
<td height="80" align="center">
<input type="submit" name="Submit2" value="刪除" />
<input type="text" name="delid" /></td>
</tr>
</form>
<tr>
<form name="form2" id="form2" action="">
<td height="80" align="center"><input type="submit" name="Submit" value="刷新" /></td>
</form>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -