{if $action == ''}
  <html>
  <head>
  <title>{$index_titel}</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <link rel="stylesheet" href="templates/{$global_template}/css/styles_login.css" type="text/css">
  </head>
  <body onload="if(document.login)document.login.user.focus();return false;">

  <table height="100%" width="100%">
  <tr>
  <td width="20%">
    &nbsp;
  </td>
  <td width="60%">
  <div class="Header">
     <div>
        <div align="center">{$index_titel}</div>
     </div>
  </div>
  <div class="pat_list_box">
  	<p>
      <table align="center" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0"  width="96%" >
          <tr>
              <td width="200px" align="center" valign="middle">
                <img style="margin:10px;padding:10px;"src="templates/{$global_template}/images/message_login.gif">
              </td>
              <td align="left">
                <table width="100%">
                  <form action=?action=anmeld method="POST" name="login">
                  <tr>
                    <td width="40%">
                      <strong>{$index_field_user}</strong>
                    </td>
                    <td>
                      <input class="eingabe" type="text" name="user" value="{$index_user}" tabindex="1"></td>
                    </td>
                  </tr>
                  <tr>
                    <td width="40%">
                      <strong>{$index_field_pass}</strong>
                    </td>
                    <td>
                      <input class="eingabe" type="password" name="password" tabindex="2"></td>
                    </td>
                  </tr>
                  <tr>
                    <td width="40%">
                      <strong>{$index_field_domain}</strong>
                    </td>
                    <td>
                      <select name="domain">
                        <option value="hsnet" {if $index_domain == 'hsnet'} selected {/if}>HSNET</option>
                        <option value="studnet" {if $index_domain == 'studnet'} selected {/if}>STUDNET</option>
                      </select>
                    </td>
                  </tr>

                  <tr>
                    <td width="100%" colspan="2" align="center">
                      <font color="#FF0000" size="2"><strong>
                      {if $index_error == '1'}{$index_mandatory_text}{/if}
                      {if $index_error == '2'}{$index_userunknown_text}{/if}
                      </strong></font>
                      &nbsp;
                    </td>
                  </tr>

                  <tr>
                    <td width="40%">
                      &nbsp;
                    </td>
                    <td>
                      <input type="submit" value="Login">
                    </td>
                  </tr>


                </table>
              </td>
          </tr>
      </table>
      <br />
      <br />
  </div>
  </td>
  <td width="20%">
    &nbsp;
  </td>
  </tr>
  </table>
  </form>
  </body>
  </html>
{/if}