<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <base href="{BASEPATH}">
    <title>{TITEL}</title>
    <link rel="stylesheet" type="text/css" href="styles/contenido.css">
    <link rel="shortcut icon" href="{BASEPATH}favicon.ico">
    <style type="text/css">
    #page {border-top:1px solid #0060b1;height:110px;/*overflow:hidden;*/}
    #lblusername {width:75px; display:block; float:left;}
    #lblpasswd {width:75px; display:block; float:left;}
    .navcontainer {border-top:1px solid #666; clear: left;}
    .text_login_error {float:right; margin-right:15px;}
    .style1 {background-color:#f1f1f1;height:80px;}
    </style>
{_JS_HEAD_CONTENIDO_}
    <script type="text/javascript">
    if (top != self) {
        top.location = "index.php";
    }
    </script>
</head>
<body>
<div id="page">
    <div id="head">
        <a id="head_logo" href="http://www.contenido.org"><img title="CONTENIDO Website." alt="CONTENIDO Website." src="images/conlogo.gif"></a>
        <div id="head_content" class="left_menu_dist">
            <div id="head_info" class="left_dist">
                &nbsp;
            </div>
            <form id="login" name="login" method="post" action="{ACTION}">
                <div id="head_nav1" class="left_dist head_nav_login">
                    <select id="lang" name="belang" tabindex="3" class="text_medium">
                        {OPTIONS}
                    </select>
                    <label id="lbllang" for="lang">{LANGUAGE}</label>
                    <div class="text_medium_bold login_title">{BACKEND}</div>
                    <label id="lblusername" for="username">{LOGIN}:</label>
                    <input id="username" tabindex="1" type="text" class="text_medium" name="username" size="25" maxlength="32" value="{USERNAME}">
                </div>
                <div id="head_nav2" class="head_nav_login left_dist">
                    <input id="okbutton" tabindex="4" type="image" title="Login" alt="Login" src="images/but_ok.gif">
                    <div class="text_error text_login_error">{ERROR}</div>
                    <div style="clear:both;display:none;"></div>
                    <div class="text_medium_bold login_title">&nbsp;</div>
                    <label id="lblpasswd" for="passwd">{PASSWORD}:</label>
                    <input id="passwd" tabindex="2" type="password" class="text_medium" name="password" size="25">
                    <input type="hidden" name="vaction" value="login">
                    <input type="hidden" name="formtimestamp" value="{TIME}">
                </div>
            </form>
        </div>
        <div class="navcontainer">{FORM}</div>
    </div>
    <div style="background-color: #F1F1F1;height:80px;"></div>
    <div class="navcontainer" style="clear:none;border-top:1px solid #666;"></div>
</div>
<div id="alertbox">{NOTI}</div>

<script type="text/javascript">
(function(Con, $) {
    $(function() {
        $("#lang").change(function() {
            if ("" !== $("#username").val() && "" !== $("#passwd").val()) {
            	$("#login").submit();
        	}
        });

        if ("" === $("#username").val()) {
            $("#username").focus();
        } else {
            $("#passwd").focus();
        }
    });
})(Con, Con.$);
</script>

</body>
</html>