<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<%@include file="/WEB-INF/navigation/JsAndCss.jsp"%>
	<script src="/js/quant.js"></script>
<script src="/js/html5.js"></script>
<style type="text/css">
.current_page {
	border: solid 1px;
	padding: 0 3px;
}
</style>
</head>
<body>
	<div class="container">
		<div class="navbar">
			<div class="navbar-inner">
				<%@include file="../navigation/menu.jsp"%>
			</div>
		</div>
		<div class="row">
			<%@include file="../navigation/navigation.jsp"%>
			<div class="span9">
				<h1>合作公司列表</h1>
				<table class="table table-bordered table-striped">
					<thead>
						<tr>
							<th>公司名称</th>
							<th>联系人</th>
							<th>联系方式</th>
							<th>操作</th>

						</tr>
					</thead>
					<tbody>
						<c:forEach items="${companys }" var="company">
							<tr>
								<td>
								<c:if test="${company.shorterName!=null }" >${company.shorterName}</c:if>
								<c:if test="${company.shorterName==null }" >${company.companyName}</c:if>
								</td>
								<td>${company.contactName }</td>
								<td>${company.contactPhoneNumber}</td>
								<td class="td_modi"><a
									href="toModifyCompany.do?companyId=${company.companyId}">编辑</a>
								</td>

							</tr>
						</c:forEach>
						<tr>
							<td colspan="4"><%@include file="../navigation/page.jsp"%>
							</td>
						</tr>
					</tbody>
				</table>
				<a class="toggle-link" href="toAddCompany.do"><i
					class="icon-plus"></i>添加合作公司</a>

			</div>
		</div>
	</div>
</body>
</html>
