126 lines
5.3 KiB
Plaintext
126 lines
5.3 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"%>
|
||
|
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<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/user.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>
|
||
|
|
var context = "${pageContext.request.contextPath}";
|
||
|
|
|
||
|
|
function linkPage(index){
|
||
|
|
$("#pageIndex").val(index);
|
||
|
|
$("#searchForm").attr("action", "${pageContext.request.contextPath}/admins/user/07.do").submit();
|
||
|
|
}
|
||
|
|
|
||
|
|
/* function excelDownload(){
|
||
|
|
$("#searchForm").attr("action", "${pageContext.request.contextPath}/admins/user/01_excel.do").submit();
|
||
|
|
$("#searchForm").attr("action", "${pageContext.request.contextPath}/admins/user/01.do");
|
||
|
|
}
|
||
|
|
*/
|
||
|
|
$(function(){
|
||
|
|
var searchTitle = "${params.searchTitle}";
|
||
|
|
searchTitle = searchTitle == "" ? "3" : searchTitle;
|
||
|
|
$("#searchTitle").val(searchTitle);
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<form id="searchForm" name="searchForm" method="post">
|
||
|
|
<input type="hidden" id="pageIndex" name="pageIndex" value="${params.pageIndex}" />
|
||
|
|
<table id="Table_Main" width="100%" border="0" cellpadding="0" cellspacing="0">
|
||
|
|
<tr><td colspan=2><img src="${pageContext.request.contextPath}/images/admins/user/1_toptit_07.gif"></td></tr>
|
||
|
|
<tr height=20 colspan=2><td> </td></tr>
|
||
|
|
<tr height=25>
|
||
|
|
<!-- START : 엑셀 다운로드 ------------------------------------------------------------------------->
|
||
|
|
<td>
|
||
|
|
<%-- <img src="${pageContext.request.contextPath}/images/admins/excel.gif" style="cursor:hand" onClick="javascript:excelDownload()"></td> --%>
|
||
|
|
<!-- END : 엑셀 다운로드 ------------------------------------------------------------------------->
|
||
|
|
<!-- START : 검색 ---------------------------------------------------------------------------------->
|
||
|
|
<td align="right" class="search">
|
||
|
|
<select id="searchTitle" name="searchTitle" onchange="linkPage('1');">
|
||
|
|
<option value="3">전체</option>
|
||
|
|
<option value="0">미확인</option>
|
||
|
|
<option value="1">승인</option>
|
||
|
|
<option value="2">반려</option>
|
||
|
|
</select>
|
||
|
|
<%-- <input type="text" class="search" id="searchValue" name="searchValue" value="${params.searchValue}" />
|
||
|
|
<input type="image" src="${pageContext.request.contextPath}/images/admins/search.gif" > --%>
|
||
|
|
</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="#D6D6D6">
|
||
|
|
<!-- START : list head ----------------------------------------------------------------------------->
|
||
|
|
<tr height=28 bgcolor="#FBF4E4" class="list_head" align="center">
|
||
|
|
<td width="4%">번호</td>
|
||
|
|
<td width="12%">아이디</td>
|
||
|
|
<td width="12%">수정한이름</td>
|
||
|
|
<td width="19%">회사명</td>
|
||
|
|
<td width="23%">수정한이메일</td>
|
||
|
|
<td width="12%">요청날짜</td>
|
||
|
|
<td width="8%">상태</td>
|
||
|
|
<td width="10%">상세보기</td>
|
||
|
|
</tr>
|
||
|
|
<!-- END : list head ----------------------------------------------------------------------------->
|
||
|
|
|
||
|
|
<!-- REPEAT TABLE -->
|
||
|
|
<c:forEach items="${resultList}" var="resultList" varStatus="status">
|
||
|
|
<tr height=28 bgcolor="#FFFFFF" class="list_content" align="center">
|
||
|
|
<td>${resultList.num}</td>
|
||
|
|
<td>${resultList.userid}</td>
|
||
|
|
<td>${resultList.username}</td>
|
||
|
|
<td>${resultList.companyName}</td>
|
||
|
|
<td>${resultList.email}</td>
|
||
|
|
<c:set var="requestdate" value='${resultList.requestdate}' />
|
||
|
|
<td>${fn:substring(requestdate,0,4)}-${fn:substring(requestdate,4,6)}-${fn:substring(requestdate,6,8)}</td>
|
||
|
|
<td>
|
||
|
|
<c:choose>
|
||
|
|
<c:when test="${resultList.accept == '0'}">
|
||
|
|
미확인
|
||
|
|
</c:when>
|
||
|
|
<c:when test="${resultList.accept == '1'}">
|
||
|
|
승인
|
||
|
|
</c:when>
|
||
|
|
<c:otherwise>
|
||
|
|
반려
|
||
|
|
</c:otherwise>
|
||
|
|
</c:choose>
|
||
|
|
</td>
|
||
|
|
<td>
|
||
|
|
<img src="${pageContext.request.contextPath}/images/admins/zoom.gif" onClick="javascript:openDetailInI('${resultList.userid}','02','${resultList.requestdate}')" style="cursor:hand">
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</c:forEach>
|
||
|
|
<!-- END OF REPEAT TABLE -->
|
||
|
|
</table>
|
||
|
|
</tbody>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
<tr height=42>
|
||
|
|
<!-- START : 네비게이션 ---------------------------------------------------------------------------->
|
||
|
|
<td align=center class="navi" colspan='2'>
|
||
|
|
<table width=100% >
|
||
|
|
<tr align="center">
|
||
|
|
<td>
|
||
|
|
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage"/>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</td>
|
||
|
|
<!-- END : 네비게이션 ---------------------------------------------------------------------------->
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</form>
|
||
|
|
</body>
|
||
|
|
</html>
|