<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
 /**
  * Class Name : EgovCvplLeft.jsp
  * Description : Civil Appeal Sample left
  * Modification Information
  * 
  *   수정일         수정자                   수정내용
  *  -------    --------    ---------------------------
  *  2009.02.01   박소윤         최초 생성
  *
  * author 실행환경 개발팀 박소윤
  * since 2009.02.01
  *  
  * Copyright (C) 2009 by MOPAS  All right reserved.
  */
%>
<script type="text/javaScript" language="javascript" defer="defer">
<!--
function fn_egov_mypage(id) {
	document.myForm.selectedId.value = id;
	document.myForm.action = "<c:url value='/cvpl/selectCvplUserMyView.do'/>";
    document.myForm.submit();
}
-->
</script>
<!-- 로그인 & 좌측메뉴 -->
<form name="myForm" method="post">
    <input name="selectedId" type="hidden"/>
</form>
<div id="sub">
	<div class="login"><table width="100%" border="0" cellspacing="5" cellpadding="0">
		  <tr>
			<td height="20" align="center">[<b><c:out value='${egovCvplSessionAuth.userName}'/></b>]<spring:message code="info.cvpl.login.msg"/></td>
		  </tr>
		  <tr>
			<td align="right"><a href="<c:url value='/j_spring_security_logout'/>"><img src="<c:url value='/images/egovframework/rte/'/><spring:message code='image.logout'/>" border="0"></a></td>
		  </tr>
		</table>
	</div>
	<div class="sub_menu">
		<dl>
			<dd><spring:message code="leftmenu.title.userMng"/></dd>
				<c:if test="${egovCvplSessionAuth.isAdmin == true}">
				<dt><img src="<c:url value='/images/egovframework/rte/left_menu_dot.gif'/>"> <a href="<c:url value='/cvpl/egovCvplUserList.do'/>"><spring:message code="leftmenu.title.sub.userMng"/></a></dt>	
				</c:if>
				<dt><img src="<c:url value='/images/egovframework/rte/left_menu_dot.gif'/>"> <a href="javascript:fn_egov_mypage('<c:out value="${egovCvplSessionAuth.userId}"/>');"><spring:message code="leftmenu.title.sub.userInfoMng"/></a></dt>	
			<dd><spring:message code="leftmenu.title.cvplMng"/></dd>
				<dt><img src="<c:url value='/images/egovframework/rte/left_menu_dot.gif'/>"> <a href="<c:url value='/cvpl/egovCvplCnsltList.do'/>"><spring:message code="leftmenu.title.sub.cvplList"/></a></dt>	
				<dt><img src="<c:url value='/images/egovframework/rte/left_menu_dot.gif'/>"> <a href="<c:url value='/cvpl/addCvplCnsltView.do'/>"><spring:message code="leftmenu.title.sub.cvplReg"/></a></dt>	
				<dt><img src="<c:url value='/images/egovframework/rte/left_menu_dot.gif'/>"> <a href="<c:url value='/cvpl/egovCvplCnsltMyList.do'/>"><spring:message code="leftmenu.title.sub.cvplMyList"/></a></dt>	
			<dd><spring:message code="leftmenu.title.faqMng"/></dd>
				<dt><img src="<c:url value='/images/egovframework/rte/left_menu_dot.gif'/>"> <a href="<c:url value='/cvpl/egovCvplFaqList.do'/>"><spring:message code="leftmenu.title.sub.faqList"/></a></dt>	
				<c:if test="${egovCvplSessionAuth.isAdmin == true || egovCvplSessionAuth.isEgov == true}">
				<dt><img src="<c:url value='/images/egovframework/rte/left_menu_dot.gif'/>"> <a href="<c:url value='/cvpl/addCvplFaqView.do'/>"><spring:message code="leftmenu.title.sub.faqReg"/></a></dt>	
				</c:if>
		</dl>
	</div>
</div>
<!-- // 로그인 &  좌측메뉴 -->