</span></td>
        <?php 
if ($this->_tpl_vars['user']) {
    ?>
		<td><span id="top-username"><?php 
    echo smarty_function_atktext(array('0' => 'logged_in_as'), $this);
    ?>
 <?php 
    echo $this->_tpl_vars['user'];
    ?>
</span>&nbsp;&nbsp;|&nbsp;&nbsp;</td>
        <td><span id="top-logout"><a href="index.php?atklogout=1" target="<?php 
    echo $this->_tpl_vars['logouttarget'];
    ?>
"><?php 
    echo smarty_function_atktext(array('0' => 'logout'), $this);
    ?>
</a></span>&nbsp;&nbsp;</td>
        <?php 
}
?>
        <?php 
if (!$this->_tpl_vars['user']) {
    ?>
		<td><span id="top-logout"><a href="index.php?atklogout=1" target="<?php 
    echo $this->_tpl_vars['logouttarget'];
    ?>
">Login</a></span>&nbsp;&nbsp;</td>
        <?php 
}
?>
    ?>
">
	</td>
    <?php 
    if ($this->_tpl_vars['auth_enablepasswordmailer']) {
        ?>
	</tr><tr><td colspan="2"><br></br>
	<input name="login" class="button" type="submit" value="<?php 
        echo smarty_function_atktext(array('0' => 'password_forgotten'), $this);
        ?>
"></td>
	<?php 
    }
    ?>
    </tr></table>
  <?php 
}
?>
	
    <br><br><?php 
echo smarty_function_atktext(array('0' => 'login_guest_text'), $this);
?>

  </div>
</form>
</div>
<div class="LoginFooter"><img src="<?php 
echo smarty_function_atkthemeimg(array('0' => "contentfooterright.jpg"), $this);
?>
" align="right"></div>
smarty_core_load_plugins(array('plugins' => array(array('function', 'atktext', './atk/themes/stillblue/templates/simplesearch.tpl', 8, false))), $this);
?>
<form action="index.php" <?php 
if ($this->_tpl_vars['targetframe'] != "") {
    ?>
target="<?php 
    echo $this->_tpl_vars['targetframe'];
    ?>
"<?php 
}
?>
>
<input type="hidden" name="atknodetype" value="search.search">
<input type="hidden" name="atkaction" value="search">
<?php 
echo $this->_tpl_vars['session_form'];
?>

<table cellpadding="0" cellspacing="0" height="18">
  <tr>
    <td valign="center"><input id='top-search-input' maxlength=88 name="searchstring" type="text" size="18" value="<?php 
echo $this->_tpl_vars['searchstring'];
?>
">&nbsp;</td>
    <td valign="center">&nbsp;<a href="#" onclick="document.forms[0].submit()"><?php 
echo smarty_function_atktext(array('0' => 'search'), $this);
?>
</a></td>
  </tr>
</table>
</form>
        settype($_from, 'array');
    }
    if (count($_from)) {
        foreach ($_from as $this->_tpl_vars['error']) {
            ?>
          <?php 
            echo $this->_tpl_vars['error']['label'];
            ?>
: <?php 
            echo $this->_tpl_vars['error']['message'];
            ?>
 <?php 
            if ($this->_tpl_vars['error']['tablink']) {
                ?>
 <?php 
                echo smarty_function_atktext(array('0' => 'error_tab'), $this);
                ?>
 <?php 
                echo $this->_tpl_vars['error']['tablink'];
            }
            ?>
<br/>
        <?php 
        }
    }
    unset($_from);
    ?>
        <br/>
      </td>
    </tr>
  <?php