2022-02-15 07:38:58 +00:00
|
|
|
<%@ 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="spring" uri="http://www.springframework.org/tags"%>
|
|
|
|
|
|
2022-02-22 04:33:20 +00:00
|
|
|
<script src="../../../js/admin/userinfoView.js"></script>
|
2022-03-02 08:31:55 +00:00
|
|
|
<div class="row justify-content-between bg-white mx-3 py-2">
|
2022-02-22 04:33:20 +00:00
|
|
|
|
2022-02-15 07:38:58 +00:00
|
|
|
<form:form commandName="userVO" name="updateForm" id="updateForm" action="/admin/userUpdate" method="post">
|
2022-03-02 08:31:55 +00:00
|
|
|
<div class="section_content">
|
2022-02-15 07:38:58 +00:00
|
|
|
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" />
|
|
|
|
|
<input type="hidden" name="userid" value="${userVO.userid}" />
|
2022-03-02 08:31:55 +00:00
|
|
|
|
2022-02-15 07:38:58 +00:00
|
|
|
<div class="join_top">
|
2022-03-02 08:31:55 +00:00
|
|
|
<h2> <i class="bi bi-person-circle"></i> 회원 정보 수정</h2>
|
2022-02-15 07:38:58 +00:00
|
|
|
</div>
|
|
|
|
|
<table class="join_table">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>아이디</th>
|
|
|
|
|
<td>${userVO.userid}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>비밀번호</th>
|
|
|
|
|
<td>
|
|
|
|
|
<p><label><input type="checkbox" id="changePw" /> 비밀번호 변경</<label></p>
|
|
|
|
|
<input type="password" class="form-control" id="password" name="password" value="" disabled="true" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>비밀번호 확인</th>
|
|
|
|
|
<td><input type="password" class="form-control" id="passwordCheck" name="passwordCheck" value="" disabled="true" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>이름</th>
|
|
|
|
|
<td><input type="text" class="form-control" name="name" id="name" value="${userVO.name}" /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>소속기관</th>
|
|
|
|
|
<td><input type="text" class="form-control" name="company" id="company" value="${userVO.company}" /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>연락처</th>
|
|
|
|
|
<td><input type="text" class="form-control" name="phonenum" id="phonenum" value="${userVO.phonenum}"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>이메일</th>
|
|
|
|
|
<td>
|
2022-03-02 08:31:55 +00:00
|
|
|
<div>
|
2022-02-15 07:38:58 +00:00
|
|
|
<input type="text" class="form-control" name="email" id="email" value="${userVO.email}" />
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2022-03-02 08:31:55 +00:00
|
|
|
|
2022-02-15 07:38:58 +00:00
|
|
|
<c:if test="${userVO.auth ne '99'}">
|
|
|
|
|
<tr>
|
|
|
|
|
<th>권한</th>
|
|
|
|
|
<td>
|
|
|
|
|
<label class="auth-label">
|
|
|
|
|
<input type="radio" name="auth" value="2"
|
|
|
|
|
<c:if test="${userVO.auth eq '2'}">checked</c:if>
|
|
|
|
|
/> 사용자
|
|
|
|
|
</label>
|
|
|
|
|
<label class="auth-label">
|
|
|
|
|
<input type="radio" name="auth" value="1"
|
|
|
|
|
<c:if test="${userVO.auth eq '1'}">checked</c:if>
|
|
|
|
|
/> 관리자
|
|
|
|
|
</label>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</c:if>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<div class="join_top" style="margin-top:20px;">
|
|
|
|
|
<p class="search_p1">
|
|
|
|
|
<input class="btn btn-primary" type="button" value="목록" onclick="history.go(-1)" />
|
|
|
|
|
</p>
|
|
|
|
|
<p class="search_p2">
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${userVO.auth eq '99'}">
|
2022-02-24 06:42:37 +00:00
|
|
|
<input type="button" class="btn btn-success" value="승인" onclick="confirmBtn('${item.userid}','2'); return false;" />
|
|
|
|
|
<input type="button" class="btn btn-danger" value="삭제" onclick="confirmBtn('${item.userid}','-1'); return false;" />
|
2022-02-15 07:38:58 +00:00
|
|
|
</c:when>
|
|
|
|
|
<c:otherwise>
|
2022-02-24 06:42:37 +00:00
|
|
|
<input class="btn btn-success" type="button" value="수정" onclick="update();" />
|
2022-02-15 07:38:58 +00:00
|
|
|
</c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
2022-03-02 08:31:55 +00:00
|
|
|
</div>
|
2022-02-15 07:38:58 +00:00
|
|
|
</form:form>
|
2022-03-02 08:31:55 +00:00
|
|
|
|