<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="/spring" %>
<div id ="header">
    <div id="left_block">
         <div style="height: 50px"></div>
         <div id="short_title">
          <img alt="logo" src="img/nir.png" style="padding-top: 20px;"/>
          <span style="color: #f00;">NMAIL</span>SYSTEM
         </div>
         <div style="height: 50px; background-color: #f1f1f1;"></div>
    </div>
    <div id="right_block">
        <div id="title">
            <div id="title_msg">
                <div id="title_msg_short">NIR-MAIL SYSTEM</div>
                <div id="title_msg_long"><spring:message code="nir.title"/></div>
            </div>
        </div>
        <div id="menu_line">
            <c:set var="menu" value='<%= request.getParameter("menu") %>' scope="page"/>  
            <c:if test='${menu != "login.jsp"}'>
                <div class="menu">
                    <a class="menu" href="base.htm"><spring:message code="menu.sendingmails"/></a>&nbsp;|
                    <c:if test="${restriction.displaySettings}">
                        <a class="menu" href="settings.htm"><spring:message code="menu.settings"/></a>&nbsp;|
                    </c:if>
                    <a class="menu" href="informations.htm"><spring:message code="menu.informations"/></a>&nbsp;|
                    <a class="menu" href="logout.htm"><spring:message code="menu.logout"/></a>
                </div>
            </c:if>
        </div>
    </div>
</div>
