<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="fn" uri="/WEB-INF/fn.tld"%>
<div class="left-menu lFloat">
	<ul class="menu" id="leftMenu">
		<c:forEach items="${manager.role.perms}" var="v" varStatus="vi">
		    <li>
			    <a href="<c:if test='${v.url eq "#"}'>${v.url}</c:if><c:if test='${v.url != "#"}'>${basePath}${v.url}</c:if>" class="<c:if test='${menu eq v.code}'>active</c:if>" <c:if test="${v.code eq 'ztgg_analysis' || v.code eq 'ywjc_analysis'}">target="_blank"</c:if> >
			    	<i class="icon ${v.logo}"></i>${v.name} <c:if test="${v.code eq 'admin' || v.code eq 'ad_placement' || v.code eq 'recommend'}"><b></b></c:if>
			    </a>
		    <c:if test="${fn:length(v.subPerms) > 0}">
		    <ul <c:if test='${parentMenu != v.code}'>class="contentTxt"</c:if>>
			    <c:forEach items="${v.subPerms}" var="v2">
				<li>
					<a href="${basePath}${v2.url}" class="<c:if test='${menu eq v2.code}'>active</c:if>">${v2.name}</a>
				</li>
			    </c:forEach>
			</ul>
			</c:if>
			</li>
		</c:forEach>
	</ul>
</div>
<script type="text/javascript">
$(function(){
	$("#leftMenu").Menu();
})
</script>