<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<form method="post" action="index.php?do=login">

<table width="450" border="0" align="center" cellpadding="20" cellspacing="5" class="loginborder">
  <tr>
    <td class="loginheader">
	<img src="{$imgpath}/logo_login.gif" alt="" /></td>
    <td valign="top" class="loginmiddle"><table width="100%" border="0" cellspacing="3" cellpadding="0">
      <tr>
        <td colspan="2"><h2>{#LoginName#}</h2>
          <br />
{#LoginNameInf#} <br />
<br /></td>
        </tr>
      <tr>
        <td width="100">{#LoginEmail#}</td>
        <td><input class="input" name="login_email" style="width:130px"  type="text" id="login_email" value="{$smarty.request.login_email|escape:html}" /></td>
      </tr>
      <tr>
        <td width="100">{#LoginPass#}</td>
        <td><input class="input" name="login_pass" style="width:130px" type="password" id="login_pass" value="{$smarty.request.login_pass|escape:html}" /></td>
      </tr>
      <tr>
        <td width="100">{#LoginSection#}</td>
        <td><select class="input" style="width:130px" name="area" id="area">
          
		{foreach from=$sections item=s}
          
          <option value="{$s->Id}">{$s->Name|stripslashes}</option>
          
      {/foreach}
          
        </select>        </td>
      </tr>
      <tr>
        <td width="100">{#LoginLang#}</td>
        <td><select class="input" style="width:130px"  name="lang">
          
		{foreach from=$languages item=l}
          
          <option value="{$l->Sprachcode}" {if $smarty.cookies.preselected_lang==$l->Sprachcode}selected="selected"{/if}>{$l->Sprache|stripslashes}</option>
          
      {/foreach}
		
        </select>        </td>
      </tr>
      <tr>
        <td width="100">&nbsp;</td>
        <td><input class="button" type="submit" name="Submit" value="{#LoginName#}" />
            <input name="action" type="hidden" id="action" value="login" /></td>
      </tr>
    </table>
      <br />
      {$message}</td>
  </tr>
  
  {if $message}
  {/if} 
</table>
</form>
