<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!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" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>营业网点</title>
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript">
$(function(){
$("tr:odd").css("background-color","green");
$("tr:even").css("background-color","yellow");
$("tr:eq(1)").css("background-color","orange");
})
</script>
</head>
<body>
<table border="1" cellpadding="0">
<tr><td colspan="5" style="background-color: white;text-align: center;"><h1>营业网点查询</h1></td></tr>
<tr>
<td>网点名称</td>
<td>所在城区</td>
<td>网点地址</td>
<td>联系电话</td>
<td>操作</td>
</tr>
<c:forEach items="${blist }" var="breach" varStatus="status">
<tr>
<td>${breach.name }</td>
<td>${breach.cityName }</td>
<td>${breach.address }</td>
<td>${breach.telephone }</td>
<td><a href="CityAreaServlet?id=${breach.id }&&cityname=${breach.cityName}">修改</a></td>
</tr>
</c:forEach>
</table>
</body>
</html>