<!-- Headline -->
<body>
{$php_errors}
<form action='main.php{$plug}' name='mainform' method='post' enctype='multipart/form-data'>
<div class='setup_header'>
  <div style="float:left;"><img src='themes/default/images/go_logo.png' class='center' alt='GOsa' style="padding-left:2px; padding-right:25px;">
   {if !$javascript}
    <a class="maintitlebar" href='main.php?reset=1' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "main.php?reset=1");' ><img src='{$go_home}' class='center' border="0" alt="Main">&nbsp;{t}Main{/t}
    </a>
   {else}
    <a class="maintitlebar" onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "main.php?reset=1");' ><img src='{$go_home}' class='center' border="0" alt="Main">&nbsp;{t}Main{/t}
    </a>
   {/if}
    &nbsp;
    <a class="maintitlebar" style="margin-left:35px" {$help_method}>
       <img src='{$go_help}' class='center' border="0" alt="Help">&nbsp;{t}Help{/t}
    </a>
    &nbsp;
   {if !$javascript}
    <a class="maintitlebar" href='logout.php?request' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php?request");' style="margin-left:35px;">
      <img src='{$go_out}' class='center' border="0" alt="Sign out">&nbsp;{t}Sign out{/t}
    </a>
    {else}
    <a class="maintitlebar" onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php?request");' style="margin-left:35px;">
      <img src='{$go_out}' class='center' border="0" alt="Sign out">&nbsp;{t}Sign out{/t}
    </a>
    {/if}
  </div>
  <div style="padding-top:8px;text-align:right;height:28px"><a>{t}Signed in:{/t} <b>{$username}</b></a></div>
</div>
<!--<div class='setup_menu'>
  <b>{t}GOsa main menu{/t}</b>
</div>-->

<table summary="" class="framework" cellspacing="0" cellpadding="0" style='margin-top:7px'>
  <tr style="vertical-align:top;">
    <!-- Menu -->
    <td style="background-color:white; vertical-align:top;" id="menucell">
      {$menu}
	  <br />
	  <div style="height:1px; width:140px;"></div>
    </td>
    <!-- Plugin window -->
    <td style="background-color:white; width:100%; vertical-align:top; height:15px;" colspan="2">
      <table style="vertical-align:top; text-align:justify; background-color: white; border:1px solid #AAA; margin-top:0px; margin-left:7px; margin-right:7px; width:99%" summary="">
       <tr>
        <td>
	{$msg_dialogs}
	 {$contents}
       </td>
      </tr>
     </table>
    </td>
  </tr>
 {if $channel != ""}
	<input type="hidden" name="_channel_" value="{$channel}">
 {/if}
</table>{$errors}{$focus}<input type="hidden" name="php_c_check" value="1"></form></body></html>
