<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<% pageContext.setAttribute("phpurl",request.getScheme()+"://"+request.getServerName()); %>

<!-- 여기가 본 페이지이다 -->
<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h4><i class="fa fa-desktop fa-fw"></i> 전체 서버현황</h4>
			</div>
			<div class="panel-body">
					<div class=" btn-group">
						<!-- 윗줄 ㅇㅇ -->
							<a class="btn btn-outline btn-info" href="IdcClientDBList.cli" >고객리스트</a>
					</div>
	   			<div class="table-responsive">
  				<table class="table table-bordered table-hover table-striped">
						<thead>
							<tr>
								<td rowspan="2">고객명</td>
								<td colspan="2">일반</td>
								<td colspan="2">방어</td>
								<td colspan="2">전용</td>
								<td colspan="2">대체</td>
								<td colspan="2">전용 라인</td>
								<td colspan="3">합계</td>
								<td colspan="3">테스트</td>
							</tr>
							<tr>
								<td>도쿄</td>
								<td>치바</td>
								<td>도쿄</td>
								<td>치바</td>
								<td>도쿄</td>
								<td>치바</td>
								<td>도쿄</td>
								<td>치바</td>
								<td>도쿄</td>
								<td>치바</td>
								<td>도쿄</td>
								<td>치바</td>
								<td>합계</td>
								<td>도쿄</td>
								<td>치바</td>
								<td>합계</td>
							</tr>
						</thead>
						<tbody>
							<c:forEach begin="1" end="${IdcHaveListSize-1}" var="temp" varStatus="i">
							<tr>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].client_name }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].normal_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].normal_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].defence_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].defence_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].solo_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].solo_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].sub_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].sub_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].soloLine_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].soloLine_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].total_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].total_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].total_total }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].test_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].test_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-i.count-1].test_total }</td>
							</tr>
							</c:forEach>
							<tr>
								<td>${IdcHaveList[IdcHaveListSize-1].client_name }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].normal_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].normal_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].defence_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].defence_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].solo_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].solo_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].sub_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].sub_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].soloLine_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].soloLine_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].total_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].total_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].total_total }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].test_t }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].test_c }</td>
								<td>${IdcHaveList[IdcHaveListSize-1].test_total }</td>
							</tr>
						</tbody>
					</table>
				</div><!-- table-responsive -->
			</div>
			<!-- panel-body -->
		</div>
		<!-- panel panel-default -->
	</div>
	<!-- col-lg-12 -->
</div>
<!-- row -->
<!-- /#page-wrapper -->
