<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/jsp/includes.jsp" %>

<!--未登陆-->
<c:if test="${lUser.guest}">
    <a href="${contextPath}/home/index.mooc" class="btn-hollow">登录</a>
    <a href="${contextPath}/home/register.mooc" class="btn-public-ttm">注册</a>
</c:if>

<!--已登陆-->
<c:if test="${!lUser.guest}">
    <div class="pm-mod">
    	<img alt="" src="${uInfo.useravatar30}" class="user-header">
        <span class="pm-name substr" title="${uInfo.loginName}">${uInfo.loginName}</span>
        <i class="ic-arrow-down icon-ttm"></i>
    </div>
    <div class="select-dropdown">
        <em class="icon-arrow-up"></em>
        <div class="select-box">
            <!--超管 -->
            <c:if test="${uInfo.role==10}">
                <a href="${contextPath}/platform/admin/index.mooc" class="select-item">系统后台</a>
            </c:if>
            <a href="${contextPath}/portal/mycourse/index.mooc" class="select-item">我的课程</a>
            <a href="${contextPath}/portal/setting.mooc" class="select-item">个人中心</a>
            <a href="${contextPath}/home/logout.mooc" class="select-item">退出</a>
        </div>
    </div>
</c:if>

