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