<%
/**
 * <pre>
 * @Class Name : agreeProvInfoForm.jsp
 * 
 * @Description : 신규 지방문화원 정보제공 동의 화면 
 * 
 * 
 * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
 *
 * </pre>
 *
 * @ ------------    --------    ---------------------------
 * @ 수정일                     수정자             수정내용
 * @ ------------    --------    ---------------------------
 * @ 2021. 9. 1.     KNKIM       최초 생성
 *
 * 
 * @author 이씨플라자 * DIGITALSHIP KNKIM
 * @since 2021. 9. 1.
 * @version 1.0
 *
 */
 %>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<c:set var="pageTitle">지방문화원 정보제공 동의</c:set>

<!DOCTYPE html>
<html>
<head>
<title>LoginTest</title>
<script src = "//developers.kakao.com/sdk/js/kakao.min.js"></script>
<script type="text/javascript" src="https://static.nid.naver.com/js/naverLogin_implicit-1.0.2.js" charset="utf-8"></script>
  <script src="https://apis.google.com/js/api:client.js"></script>
  <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
  <script>
      function signUp(){
    	  location.href="${pageContext.request.contextPath}/member/selectMemberJoiningInfo.do";
      }
      function findInfo(){
    	  location.href="${pageContext.request.contextPath}/member/initPasswordForm.do";
      }
  </script>
</head>
<body>
<br>

<h1>${pageTitle }</h1>


<form name="agreeForm" id="agreeForm"  
      action="${pageContext.request.contextPath}/login/agreeProvInfo.do" 
      method="post"> 
	<br />
	<input type="text" id="mbInfoId" name="mbInfoId" value="${oauthUser.nlibVO.mbInfoId}" />
	<input type="text" id="councilCd" name="councilCd" value="${councilCd}" />
	<br />
	정상적으로 처리되었습니다.<br />
	<br />
	- 이름 : ${oauthUser.nlibVO.name}<br />
	- 로그인ID : ${oauthUser.nlibVO.loginUserId}<br />
	- 이메일 : ${oauthUser.nlibVO.email}<br />
	- 동의대상 지방문화원 : ${councilCd } ${councilNm }<br />
    - 처리결과 : ${resultCount }<br />
	<br/>
    <input type="button" id="continueBtn" name="continueBtn" value="로그인 계속 진행" onclick="javascript: location.href = '${pageContext.request.contextPath}/login/loginCouncilSSO.do';" />
</form>

</body>
</html>