{*<!--

+---------------------------------------------------------------------------+
| Revive Adserver                                                           |
| http://www.revive-adserver.com                                            |
|                                                                           |
| Copyright: See the COPYRIGHT.txt file.                                    |
| License: GPLv2 or later, see the LICENSE.txt file.                        |
+---------------------------------------------------------------------------+

-->*}

<br />
<form class="login" name="login" method="post" action="{$formAction|escape}">
    <input type="hidden" name="oa_cookiecheck" value="{$sessionID|escape}" />
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td width="80"><img src="{$assetPath|escape}/images/login-welcome.gif">&nbsp;&nbsp;</td>
            <td width="100%" >
                <span class="tab-s">{t str=WelcomeTo} {$appName|escape}</span><br />
                <span class="install">{t str=EnterUsername}</span><br />
    {if $message}
                <div class="errormessage" style="width: 400px;"><img class="errormessage" src="{$assetPath|escape}/images/errormessage.gif" align="absmiddle" />
                    <span class="tab-r">{$message}</span>
                </div>
    {else}
                <img class="break" src="{$assetPath|escape}/images/break-el.gif" width="400" height="1" vspace="8" />
    {/if}
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>
                <table cellpadding="0" cellspacing="0" border="0">
                    <tr height="24">
                        <td>{t str=Username}:&nbsp;</td>
                        <td><input class="flat" type="text" name="username" id="username" autocomplete="username"{tabindex} /></td>
                    </tr>
                    <tr height="24">
                        <td>{t str=Password}:&nbsp;</td>
                        <td><input class="flat" type="password" name="password" id="password" autocomplete="current-password"{tabindex} /></td>
                    </tr>
                    <tr height="24">
                        <td>&nbsp;</td>
                        <td><input type="submit" name="login" id="login" value="{t str=Login}"{tabindex} /></td>
                    </tr>
                </table>
                <img class="break" src="{$assetPath|escape}/images/break-el.gif" width="400" height="1" vspace="8" /><br />
                <a href="password-recovery.php">{t str=ForgotPassword}</a>
            </td>
        </tr>
    </table>
</form>
<script type="text/javascript">
<!--
    login_focus();
//-->
</script>

{*
  Do not remove. This is a marker that AJAX response parsers look for to
  determine whether the response did not redirect to the login page.
*}
<!-- login -->