<{if $searchResults.0.name != null}>
  <h4><{$searchResults.0.name}></h4>

  <!-- start results item loop -->
  <{foreach item=result from=$searchResults.0.results}>
    <img src="<{$result.image}>" alt="<{$module.name}>" title="<{$module.name}>" /><b><a href="<{$result.link}>"><{$result.title}></a></b><br />
    <small>
      <{if $result.uid > 0}>
        <a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$result.uid|escape}>"><{$result.uid|xoops_user:uname}></a>
      <{/if}>
      (<{$result.time|xoops_formattimestamp:l}>)
    </small>
  <{/foreach}>
  <!-- end results item loop -->

  <{if $actionForm->get('start') > 0}>
    <a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall&amp;query=<{$actionForm->get('query')|escape}>&amp;mid=<{$module.mid}>&amp;uid=<{$actionForm->get('uid')}>&amp;andor=<{$actionForm->get('andor')|escape}>&amp;start=<{$prevStart}>"><a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall"><{$smarty.const._MD_BASE_LANG_PREV_PAGE}></a>
  <{/if}>

  <{if $searchResults.0.has_more}>
    <a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall&amp;query=<{$actionForm->get('query')|escape}>&amp;mid=<{$module.mid}>&amp;uid=<{$actionForm->get('uid')}>&amp;andor=<{$actionForm->get('andor')|escape}>&amp;start=<{$nextStart}>"><a href="<{$smarty.const.XOOPS_URL}>/search.php?action=showall"><{$smarty.const._MD_BASE_LANG_PREV_PAGE}></a>
  <{/if}>
<{/if}>

<{include file=db:legacy_search_form.html}>
