<form style="margin-top: 0px;" action="<{$xoops_url}>/modules/<{$block.mydirname}>/index.php" method="get" accept-charset="utf-8">
  <input type="text" name="query" size="14" /><input type="hidden" name="action" value="results" /><input type="hidden" name="showcontext" value="1" /><input type="submit" value="<{$block.lang_search}>" />
</form>
<a href="<{$xoops_url}>/modules/<{$block.mydirname}>/index.php"><{$block.lang_advsearch}></a>