📄 enterpriseinfo.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
<head>
<link rel="stylesheet" type="text/css" href="enterprise/style_css/enterprise_style.css">
<script type="text/javascript">
function changebgColor(who){
if(who.style.backgroundColor==''){
who.style.backgroundColor='#dde8ff';
}else{
who.style.backgroundColor='';
}
}
function button_deleteEnterprise(){
if(window.confirm("你真的要删除吗?")){
window.document.fm.action="bulkDeleteEnterprise.do";
window.document.fm.submit();
}
}
function checkAll(who){
var eids=document.getElementsByName("eids");
for(var i=0;i<eids.length;i++){
eids[i].checked=who.checked;
}
}
</script>
</head>
<body>
<form action="" method="post" name="fm">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="50" valign="bottom" class="font_style_title"><img src="enterprise/image/client.gif"/>企业信息管理:</td>
</tr>
<tr>
<td><hr/></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr class="bg_style_title">
<td width="50" height="30" align="center"> </td>
<td width="120" align="center">用户名</td>
<td width="120" align="center">密码</td>
<td width="150" align="center">公司名称</td>
<td width="100" align="center">联系人</td>
<td align="center">联系电话</td>
</tr>
<logic:iterate id="enterprise" name="EnterpriseInfos" length="<%=request.getAttribute("PageSize").toString() %>" offset="<%=request.getAttribute("PageStartRow").toString() %>">
<tr class="font_style_normal" onmouseover="changebgColor(this)" onmouseout="changebgColor(this)">
<td height="25" align="center">
<input type="checkbox" name="eids" value="${enterprise.EId }" />
</td>
<td align="center">${enterprise.EName }</td>
<td align="center">${enterprise.EPass }</td>
<td align="center">${enterprise.ECompanyName }</td>
<td align="center">${enterprise.ELinkMan }</td>
<td align="center">${enterprise.ETel }</td>
</tr>
</logic:iterate>
<tr>
<td height="40" colspan="3">全选:
<input type="checkbox" name="checkbox2" value="checkbox" onclick="checkAll(this);"/>
<input type="reset" name="Submit" value="删除所选记录" onclick="button_deleteEnterprise();"/>
</td>
<td colspan="3" align="right" class="font_style_normal">
| <a href="findAllEnterprise.do?page=1" class="menu_font_style">首页</a>
| <a href="findAllEnterprise.do?page=<%=request.getAttribute("BackPage") %>" class="menu_font_style">上一页</a>
| <a href="findAllEnterprise.do?page=<%=request.getAttribute("NextPage") %>" class="menu_font_style">下一页</a>
| <a href="findAllEnterprise.do?page=<%=request.getAttribute("TotalPage") %>" class="menu_font_style">尾页</a> |
</td>
</tr>
</table></td>
</tr>
</table>
</form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -