<h3><{$smarty.const._MD_USERSEARCH_1}></h3>

<div style="padding: 5px;">
  <fieldset>
    <legend><{$smarty.const._MD_USERSEARCH_2}></legend>
    <form name="searchform" action="index.php" method="get">
    <{$smarty.const._MD_USERSEARCH_3}><{xoops_input type=text name=uname size=30 value=$mActionform->get('uname')}>&nbsp;&nbsp;
    <{xoops_input type=radio name=searchtype id=searchtype value=0 default=$mActionform->get('searchtype')}><label for="searchtype_0"><{$smarty.const._MD_USERSEARCH_4}></label>&nbsp;&nbsp;
    <{xoops_input type=radio name=searchtype id=searchtype value=1 default=$mActionform->get('searchtype')}><label for="searchtype_1"><{$smarty.const._MD_USERSEARCH_5}></label>&nbsp;&nbsp;
    <{xoops_input type=radio name=searchtype id=searchtype value=2 default=$mActionform->get('searchtype')}><label for="searchtype_2"><{$smarty.const._MD_USERSEARCH_6}></label>
    <{xoops_input type=hidden name=dosearch value=1}>
    <{xoops_input type=hidden name=action value=search}>
    <{xoops_input type=hidden name=moddir value=$smarty.const._MY_DIRNAME}>
    <input type="submit" value="<{$smarty.const._SUBMIT}>" class="formButton" />
    </form>
  </fieldset>
</div>
<hr />
<{if $listdata!=false}>
<form method="post" action="index.php">
<{foreach item=user from=$listdata.udata}>
<input type="checkbox" name="adduid[]" value="<{$user->get('uid')}>" />
<a href="<{$xoops_url}>/modules/message/index.php?action=new&to_userid=<{$user->get('uid')}>"><{$user->get('uname')}></a>
<br />
<{/foreach}>
<input type="hidden" name="cmd" value="add" />
<{xoops_input type=hidden name=action value=favorites}>
<input type="submit" value="<{$smarty.const._MD_MESSAGE_ADDFAVORITES}>" />
</form><br />
<div class="pagenavi"><{xoops_pagenavi pagenavi=$listdata.pagenavi}></div>
<{else}>
<div><{$smarty.const._MD_USERSEARCH_8}></div>
<{/if}>
