<{if $user_ownpage == true && $user_candelete == true}>
  <div style="text-align:right;">
    <a href="<{$smarty.const.XOOPS_URL}>/user.php?op=delete"><{$smarty.const._US_DELACCOUNT}></a>
  </div>
<{elseif $xoops_isadmin == true}>
  <div style="text-align:right;">
    <a href="<{$smarty.const.XOOPS_URL}>/modules/user/admin/index.php?action=UserEdit&amp;uid=<{$thisUser->getVar('uid')}>"><{$smarty.const._US_EDITPROFILE}></a> - 
    <a href="<{$smarty.const.XOOPS_URL}>/modules/user/admin/index.php?action=UserDelete&amp;uid=<{$thisUser->getVar('uid')}>"><{$smarty.const._US_DELACCOUNT}></a>
  </div>
<{/if}>

<table width="100%" border="0" cellspacing="5">
  <tr valign="top">
    <td width="50%">

    <table class="outer" cellpadding="4" cellspacing="1" width="100%">
      <tr>
        <th colspan="2" style="text-align:center;">
          <{$smarty.const._US_ALLABOUT|replace:"%s":$thisUser->getVar('uname')}>
        </th>
      </tr>
      <{if $user_ownpage == true}>
      <tr>
        <td class="head" colspan="2" style="text-align:center;">
          <a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=EditUser&amp;uid=<{$thisUser->getVar('uid')}>"><{$smarty.const._US_EDITPROFILE}></a>
        </td>
      </tr>
      <{/if}>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_AVATAR}></td>
        <td class="even" style="text-align:center;">
          <{if $thisUser->getVar('user_avatar') != "blank.gif" }>
            <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$thisUser->getVar('user_avatar')}>" alt="Avatar" title="Avatar" />
          <{else}>
            <img src="<{$smarty.const.XOOPS_URL}>/modules/user/images/no_avatar.gif" alt="No Avatar" title="No Avatar" />
          <{/if}>
          <{if $user_ownpage == true}>
            <br /><a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=AvatarEdit&amp;uid=<{$thisUser->getVar('uid')}>"><{$smarty.const._MD_USER_LANG_AVATAR_EDIT}></a>
          <{/if}>
        </td>
      </tr>
      <tr>
        <td class="head"><{$smarty.const._US_REALNAME}></td>
        <td class="odd" style="text-align:center;"><{$thisUser->getVar('name')}></td>
      </tr>
      <tr>
        <td class="head"><{$smarty.const._US_WEBSITE}></td>
        <td class="even"><a href="<{$thisUser->getVar('url', 'E')}>" target="_blank"><{$thisUser->getVar('url')}></a></td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_EMAIL}></td>
        <td class="odd">
          <{if $thisUser->getVar('user_viewemail') == 1 || $user_ownpage == true || $xoops_isadmin == true }>
            <{mailto address=$thisUser->getVar('email') encode="javascript"}>
          <{/if}>
        </td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_PM}></td>
        <td class="even">
          <a href="javascript:openWithSelfMain('<{$smarty.const.XOOPS_URL}>/pmlite.php?send2=1&amp;to_userid=<{$thisUser->getVar('uid')}>', 'pmlite', 450, 380);">
          <img src="<{$smarty.const.XOOPS_URL}>/images/icons/pm.gif" alt="<{$smarty.const._SENDPMTO|replace:"%s":$thisUser->getVar('uname')}>" title="<{$smarty.const._SENDPMTO|replace:"%s":$thisUser->getVar('uname')}>" /></a>
          <{$user_pmlink}>
        </td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_ICQ}></td>
        <td class="odd"><{$thisUser->getVar('user_icq')}></td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_AIM}></td>
        <td class="even"><{$thisUser->getVar('user_aim')}></td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_YIM}></td>
        <td class="odd"><{$thisUser->getVar('user_yim')}></td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_MSNM}></td>
        <td class="even"><{$thisUser->getVar('user_msnm')}></td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_LOCATION}></td>
        <td class="odd"><{$thisUser->getVar('user_from')}></td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_OCCUPATION}></td>
        <td class="even"><{$thisUser->getVar('user_occ')}></td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_INTEREST}></td>
        <td class="odd"><{$thisUser->getVar('user_intrest')}></td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_EXTRAINFO}></td>
        <td class="even"><{$thisUser->getVar('bio')}></td>
      </tr>
    </table>
    </td>
    <td width="50%">
    <table class="outer" cellpadding="4" cellspacing="1" width="100%">
      <tr valign="top">
        <th colspan="2" style="text-align:center;"><{$smarty.const._US_STATISTICS}></th>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_MEMBERSINCE}></td>
        <td class="even" style="text-align:center;"><{$thisUser->getVar('user_regdate')|xoops_formattimestamp:l}></td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_RANK}></td>
        <td class="odd" style="text-align:center;">
          <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getVar('rank_image')}>" alt="<{$rank->getVar('rank_title')}>" title="<{$rank->getVar('rank_title')}>" /><br />
          <{$rank->getVar('rank_title')}>
        </td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_POSTS}></td>
        <td class="even" style="text-align:center;"><{$thisUser->getVar('posts')}></td>
      </tr>
      <tr valign="top">
        <td class="head"><{$smarty.const._US_LASTLOGIN}></td>
        <td class="odd" style="text-align:center;"><{$thisUser->getVar('last_login')|xoops_formattimestamp:l}></td>
      </tr>
    </table>
    <br />
    <table class="outer" cellpadding="4" cellspacing="1" width="100%">
      <tr valign="top">
        <th colspan="2" style="text-align:center;"><{$smarty.const._US_SIGNATURE}></th>
      </tr>
      <tr valign="top">
        <td class="even"><{$user_signature}></td>
      </tr>
    </table>
    </td>
  </tr>
</table>

<!-- start module search results loop -->
<{foreach item=module from=$searchResults}>
  <p>
  <h4><{$module.name}></h4>

  <!-- start results item loop -->
  <{foreach item=result from=$module.results}>
    <img src="<{$result.image}>" alt="<{$module.name}>" title="<{$module.name}>" /><b><a href="<{$result.link}>"><{$result.title}></a></b><br /><small>(<{$result.time|xoops_formattimestamp:l}>)</small><br />
  <{/foreach}>
  <!-- end results item loop -->

  <{if $module.showall_link}>
    <a href="<{$module.showall_link|escape}>"><{$smarty.const._US_SHOWALL}></a>
  <{/if}>
  </p>
<{/foreach}>
<!-- end module search results loop -->