93 lines
4.1 KiB
Plaintext
93 lines
4.1 KiB
Plaintext
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||
|
|
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||
|
|
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<title></title>
|
||
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
|
<script src="${pageContext.request.contextPath}/js/jquery/jquery-1.10.2.min.js"></script>
|
||
|
|
<script src="${pageContext.request.contextPath}/js/admins/common.js"></script>
|
||
|
|
<link rel="stylesheet" HREF="${pageContext.request.contextPath}/css/admins/style.css" type="text/css">
|
||
|
|
<script>
|
||
|
|
$(function(){
|
||
|
|
<c:forEach items="${getYear_Visitor}" var="getYear_Visitor" varStatus="status">
|
||
|
|
$("#year").append("<option value='${getYear_Visitor.value}'>${getYear_Visitor.name}</option>")
|
||
|
|
</c:forEach>
|
||
|
|
<c:forEach items="${getMonth_Visitor}" var="getMonth_Visitor" varStatus="status">
|
||
|
|
$("#month").append("<option value='${getMonth_Visitor.value}'>${getMonth_Visitor.name}</option>")
|
||
|
|
</c:forEach>
|
||
|
|
|
||
|
|
var year = "${params.year}";
|
||
|
|
var month = "${params.month}";
|
||
|
|
|
||
|
|
$("#year").val(year);
|
||
|
|
$("#month").val(month);
|
||
|
|
});
|
||
|
|
|
||
|
|
function excelDownload(){
|
||
|
|
$("#searchForm").attr("action", "${pageContext.request.contextPath}/admins/userLog/28_excel.do").submit();
|
||
|
|
$("#searchForm").attr("action", "${pageContext.request.contextPath}/admins/userLog/28.do");
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<form id="searchForm" name="searchForm" method="post">
|
||
|
|
<table id="Table_Main" width="100%" border="0" cellpadding="0" cellspacing="0">
|
||
|
|
<tr>
|
||
|
|
<td colspan=2>
|
||
|
|
<img src="${pageContext.request.contextPath}/images/admins/userLog/2_toptit_08.gif">
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td colspan="3" align="right" class="list_content">* 방문자가 없는 날짜는 보여지지 않습니다</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<!-- START : 엑셀 다운로드 ------------------------------------------------------------------------->
|
||
|
|
<td valign=middle>
|
||
|
|
<img src="${pageContext.request.contextPath}/images/admins/excel.gif" style="cursor:hand" onClick="javascript:excelDownload()">
|
||
|
|
</td>
|
||
|
|
<!-- END : 엑셀 다운로드 ------------------------------------------------------------------------->
|
||
|
|
|
||
|
|
<!-- START : 날짜별 검색 --------------------------------------------------------------------------->
|
||
|
|
<td align="right" class="date_search">
|
||
|
|
<select id="year" name="year" class="level6" onchange="submit();"></select>
|
||
|
|
<select id="month" name="month" class="level6" onchange="submit();"></select>
|
||
|
|
<!-- <a href='#' onFocus='this.blur();' onclick="javascript:window.open('01-graph.jsp?year=[SELECTEDYEAR]&month=[SELECTEDMONTH]','graph','width=700,height=505,scrollbars=auto,status=no,toolbar=no,menubar=no')"><img src="${pageContext.request.contextPath}/images/admins/graph.gif" align=absmiddle></a>-->
|
||
|
|
</td>
|
||
|
|
<!-- END : 날짜별 검색 --------------------------------------------------------------------------->
|
||
|
|
</tr>
|
||
|
|
<tr height=12><td colspan=2><img src="${pageContext.request.contextPath}/images/admins/spacer.gif" width="1" height="12"></td></tr>
|
||
|
|
<tr>
|
||
|
|
<td colspan=2>
|
||
|
|
<tbody>
|
||
|
|
<table id="Table_List" width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#C9C9C9">
|
||
|
|
<!-- START : list head ----------------------------------------------------------------------------->
|
||
|
|
<tr height=28 bgcolor="#F5F5F5" class="list_head" align="center">
|
||
|
|
<td width="50%">날짜</td>
|
||
|
|
<td>방문자수</td>
|
||
|
|
</tr>
|
||
|
|
<!-- REPEAT TABLE-->
|
||
|
|
<c:forEach items="${resultList}" var="resultList" varStatus="status">
|
||
|
|
<tr height=23 bgcolor="#FFFFFF" class="list_content" align="center">
|
||
|
|
<td>${resultList.datetime}</td>
|
||
|
|
<td>${resultList.cnt}</td>
|
||
|
|
</tr>
|
||
|
|
</c:forEach>
|
||
|
|
<!-- END OF REPEAT TABLE-->
|
||
|
|
</table>
|
||
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#C9C9C9">
|
||
|
|
<tr align=center class="list_content" bgcolor="#FFFFFF">
|
||
|
|
<td width="339">합계 </td>
|
||
|
|
<td><c:out value="${totalCnt}" /></td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</tbody>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</form>
|
||
|
|
<br>
|
||
|
|
</body>
|
||
|
|
</html>
|