<%@ 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()); %>
<%// String host = request.getServerName(); out.println(host); %>
<c:import url="${phpurl }/default_alert.php?name=${member.name }&page=default&HTTP_HOST=${host }" />	
<!-- /.row -->
  <div class="row">
      <div class="col-lg-8">
          <div class="panel panel-default">
              <div class="panel-heading">
                  <i class="fa fa-desktop fa-fw"></i> 전체 서버 현황
                  <div class="pull-right">
                      <div class="btn-group">
                          <!-- 
                          <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
                              IDC-회선
                              <span class="caret"></span>
                          </button>
                          <ul class="dropdown-menu pull-right" role="menu">
                              <li><a href="#">전체보기</a></li>
                              <li class="divider"><HR></li>
                              <li><a href="#">도쿄일반</a></li>
                              <li><a href="#">도쿄보안</a></li>
                              <li><a href="#">치바일반</a></li>
                              <li><a href="#">치바보안 </a></li>
                          </ul> 
                          -->
                      </div>
                  </div>
              </div>
              <!-- /.panel-heading -->
            <div class="panel-body">
                <div id="morris-area-chart"></div>
                <div class="row">
                    <div class="col-lg-12">
                        <div class="table-responsive">
                            <c:import url="${phpurl}/total_counting.php" />
                        </div>
                        <!-- /.table-responsive -->
                    </div>
                </div>
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
        <div class="panel panel-default">
            <div class="panel-heading">
                <i class="fa fa-bar-chart-o fa-fw"></i> 최근 신규 서버 현황
                <div class="pull-right">
                    <!-- 
                    <div class="btn-group">
                        <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
                                                                            기간 보기
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu pull-right" role="menu">
                            <li><a href="#">오늘</a></li>
                            <li><a href="#">최근7일</a></li>
                            <li><a href="#"></a></li>
                        </ul>
                    </div> 
                    -->
                </div>
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="table-responsive">
                            <c:import url="${phpurl}/new_server_list.php?limit=5" />
                        </div>
                        <!-- /.table-responsive -->
                    </div>
                    <!-- /.col-lg-4 (nested) -->
                    <!-- /.col-lg-8 (nested) -->
                </div>
                <!-- /.row -->
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
        <!-- /.panel -->
    </div>
    <!-- /.col-lg-8 -->
    <div class="col-lg-4">
 		<div class="panel panel-default">
            <div class="panel-heading">
                <i class="fa fa-wrench fa-fw"></i> 작업내역
            </div>
            <div class="panel-body">
                <div class="list-group">
                  <c:import url="${phpurl}/working_history.php?limit=16" />
                </div>
            </div>
        </div>
        <!-- 
        <div class="panel panel-default">
            <div class="panel-heading">
                <i class="fa fa-bar-chart-o fa-fw"></i> 거래처 별통계
            </div>
            <div class="panel-body">
                <div id="morris-donut-chart"></div>
                <a href="#" class="btn btn-default btn-block">자세히보기</a>
            </div>
        </div>
        -->
    </div>
    <!-- /.col-lg-4 -->
</div>
<!-- /.row -->