<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"   prefix="fmt" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>

<div class="NAVI1">
<html:link action="home">Startseite</html:link>
 - <html:link action="topiclist">Topic-Liste</html:link>
 - <html:link action="topichierarchy">Topic-Hierarchie</html:link>
<c:if test="${sessionScope.User.admin}">
 - <html:link action="searchengine">${applicationScope.ConsensusFoundation.ontologyManager.queryEngine.querySyntaxName}-Suche</html:link>
</c:if>
 - <html:link action="account">Meine Daten</html:link>
 - <html:link action="logout">Abmelden</html:link>
<br>
</div>
<div class="NAVI2">
<c:if test="${sessionScope.User.admin}"><html:link action="admin">Admin</html:link>&nbsp;&nbsp;&nbsp;</c:if>
(Benutzer: ${sessionScope.User.firstname} ${sessionScope.User.lastname}, 
 angemeldet seit <fmt:formatDate value="${sessionScope.User.loginTime}" pattern="HH:mm:ss dd.MM.yyyy"/>;
 Punkte: <fmt:formatNumber value="${sessionScope.User.score}" minFractionDigits="2"/>)
<br clear="all">
</div>
