<%@ page contentType="text/html" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%--
  ~ This file is part of DebGen Biobank Software developed by ASTRID Research.
  ~ All rights reserved. Reproduction, modification, use or disclosure
  ~ to third parties without express authority is forbidden.
  ~
  ~ Copyright ASTRID Research Inc., Hungary, 2009-2011.
  ~
  ~ ASTRID Research
  ~ Headquaters: Csapo utca 42. Debrecen H-4029 HUNGARY
  ~ Phone: +36-52-533-173        Fax: +36-52-533-174
  ~ Web: http://www.astrid.hu    E-mail: info@astrid.hu
  ~
  ~ Project name: DebGen Biobank Software project.
  ~ URLS:
  ~ Developers: Istvan Zoltan Nagy (istvan.nagy@astrid.hu)
  --%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="stylesheet/debgen.css" />
        <title><fmt:message key="${applicationData.thisApplicationName}" /></title>
        <script type="text/javascript">
            setWebTitle('<fmt:message key="ELFELEJTETTJELSZO" />');
            <c:if test="${param.cancelled ne null}">
                setTimeout("alert('<fmt:message key="refusepasschange" />')",1000);
            </c:if>
        </script>
    </head>
    <body>
        <div class="loginwindowbg">
            <h1 class="debgen_h1"><fmt:message key="${applicationData.thisApplicationName}" /> <fmt:message key="SZOFTVER" /></h1>
            <table class="rounded" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                        <td class="tl"></td>
                        <td class="top"></td>
                        <td class="tr"></td>
                    </tr>
                    <tr>
                        <td class="left"></td>
                        <td class="main">
                            <div class="innerdiv">
                                <div style="padding: 10px;">
                                    <c:choose>
                                        <c:when test="${param.emailsent ne null}">
                                            <h5><fmt:message key="VISSZAIGAZOLÁS" /></h5>
                                            <p class="text">
                                            <fmt:message key="SIKERES_VISSZAIGAZOLÁS" /> <a href="index.html"><fmt:message key="IDE" /></a>.
                                            </p>
                                        </c:when>
                                        <c:when test="${param.noemailaddress ne null}">
                                            <h5><fmt:message key="HIBA" /></h5>
                                            <p class="text">
                                            <fmt:message key="MÁSIK_EMAIL_MEGADÁSA" />
                                            <a href="forgottenpassword.html"><fmt:message key="IDE" /></a><fmt:message key="OR_LOGIN_" /> <a href="index.html"><fmt:message key="ITT" /></a>.
                                            </p>
                                        </c:when>
                                        <c:when test="${param.cancelled ne null}">
                                            <h5><fmt:message key="WELCOME_MESSAGE" /></h5>
                                            <p><fmt:message key="ELFELEJTETT_SZOVEG_ELEJE" /> <a href="forgottenpassword.html"><fmt:message key="ELFELEJTETT_JELSZÓ"/></a> <fmt:message key="ELFELEJTETT_SZOVEG_VEGE" /></p>
                                            <%@include file="showembedederror.jsp" %>
                                            <form name="login" action="login.html" method="POST">
                                                <p><fmt:message key="FELHASZNALOI_NEV" /></p>
                                                <input class="input" type="text" name="username" value="" size="30" />
                                                <p><fmt:message key="JELSZO" />:</p>
                                                <input class="input" type="password" name="password" value="" size="30" />
                                                <p align="center"><input class="button" type="submit" value="<fmt:message key="BELÉPÉS" />" name="login" /></p>
                                            </form>
                                        </c:when>
                                        <c:when test="${param.confirmerror ne null or cancelerror ne null}">
                                            <h5><fmt:message key="HIBA" /></h5>
                                            <p class="text">
                                            <fmt:message key="MEGTAGADÁS_HIBA" /> <a href="index.html"><fmt:message key="IDE" /></a>.
                                            </p>
                                        </c:when>
                                        <c:otherwise>
                                            <form action="sendreminder.html" method="POST">
                                                <h5><fmt:message key="JELSZÓ_EMLÉKEZTETŐ" /></h5>
                                                <p class="text"><fmt:message key="VISSZAÁLLÍTÁS_KÉRÉSE" /></p>
                                                <p><fmt:message key="EMAIL_CÍM" /></p>
                                                <input class="input" type="text" name="email" size="30"><br />
                                                <div align="right" style="width:200px; padding-top: 10px">
                                                    <input class="button" type="submit" value="<fmt:message key="ELKÜLDÉS" />">
                                                </div>
                                            </form>
                                        </c:otherwise>
                                    </c:choose>
                                </div>
                            </div>
                        </td>
                        <td class="right"></td>
                    </tr>
                    <tr>
                        <td class="bl"></td>
                        <td class="bottom"></td>
                        <td class="br"></td>
                    </tr>
                </tbody>
            </table>
            <div class="copyright">
                &copy; 2009-2010 Astrid Research Inc.
            </div>
        </div>
    </body>
</html>

