{*<!--

+---------------------------------------------------------------------------+
| OpenX v2.6                                                                |
| =========                                                                 |
|                                                                           |
| Copyright (c) 2003-2008 OpenX Limited                                     |
| For contact details, see: http://www.openx.org/                           |
|                                                                           |
| This program is free software; you can redistribute it and/or modify      |
| it under the terms of the GNU General Public License as published by      |
| the Free Software Foundation; either version 2 of the License, or         |
| (at your option) any later version.                                       |
|                                                                           |
| This program is distributed in the hope that it will be useful,           |
| but WITHOUT ANY WARRANTY; without even the implied warranty of            |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             |
| GNU General Public License for more details.                              |
|                                                                           |
| You should have received a copy of the GNU General Public License         |
| along with this program; if not, write to the Free Software               |
| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA |
+---------------------------------------------------------------------------+
$Id:captcha-dialog.html 11612 2007-10-26 11:00:05Z matteo.beccati@openads.org $

-->*}

{if $uiEnabled}
<br />
<form 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" valign="bottom"><img src="{$assetPath|escape}/images/login-welcome.gif">&nbsp;&nbsp;</td>
            <td width="100%" valign="bottom">
                <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 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"{tabindex} /></td>
                    </tr>
                    <tr height="24">
                        <td>{t str=Password}:&nbsp;</td>
                        <td><input class="flat" type="password" name="password" id="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 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>
{else}
{phpAds_ShowBreak}
<br /><img src="{$assetPath|escape}/images/info.gif" align="absmiddle">&nbsp;{t str=NoAdminInterface}
{/if}
