<div>
<a href="./index.php?action=UserInfo&amp;uid=<{$actionForm->get('uid')}>"><{$smarty.const._US_PROFILE}></a>
&nbsp;<span style="font-weight:bold;">&raquo;&raquo;</span>&nbsp;<{$smarty.const._US_EDITPROFILE}>
</div>

<{if $actionForm->hasError()}>
<ul>
  <{foreach item=message from=$actionForm->getErrorMessages()}>
    <li><{$message}></li>
  <{/foreach}>
</ul>
<{/if}>

<form action="./index.php?action=EditUser" method="post">
<{xoops_token form=$actionForm}>
<{xoops_input name=uid type=hidden value=$actionForm->get('uid')}>
<table class="outer" cellspacing="1" width="100%">
  <tr>
    <th colspan="2"><{$smarty.const._US_EDITPROFILE}></th>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_NICKNAME}></td>
    <td class="<{cycle values="odd,even"}>"><{$thisUser->getVar('uname')}></td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_REALNAME}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input name=name size=30 maxlength=60 value=$actionForm->get('name')}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_EMAIL}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input name=email size=30 maxlength=60 value=$actionForm->get('email')}><br />
      <input type="checkbox" name="user_viewemail" value="1"<{if $actionForm->get('user_viewemail')}>checked<{/if}> /><{$smarty.const._US_ALLOWVIEWEMAIL}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_WEBSITE}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input name=url size=30 maxlength=100 value=$actionForm->get('url')}>
    </td>
  </tr>
  <!--- // TODO TIMEZONE --->
  <tr>
    <td class="head"><{$smarty.const._US_ICQ}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input name=user_icq size=15 maxlength=15 value=$actionForm->get('user_icq')}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_AIM}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input name=user_aim size=18 maxlength=18 value=$actionForm->get('user_aim')}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_YIM}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input name=user_yim size=25 maxlength=25 value=$actionForm->get('user_yim')}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_MSNM}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input name=user_msnm size=30 maxlength=100 value=$actionForm->get('user_msnm')}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_LOCATION}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input name=user_from size=30 maxlength=100 value=$actionForm->get('user_from')}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_OCCUPATION}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input name=user_occ size=30 maxlength=100 value=$actionForm->get('user_occ')}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_INTEREST}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input name=user_intrest size=30 maxlength=150 value=$actionForm->get('user_intrest')}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_SIGNATURE}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_dhtmltarea name=user_sig value=$actionForm->get('user_sig')}><br />
      <input type="checkbox" name="attachsig" value="1"<{if $actionForm->get('attachsig')}>checked<{/if}> /><{$smarty.const._US_SHOWSIG}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_EXTRAINFO}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_textarea name=bio value=$actionForm->get('bio') rows=5 cols=50 id=bio}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_PASSWORD}><br />
    <{$smarty.const._US_TYPEPASSTWICE}></td>
    <td class="<{cycle values="odd,even"}>">
      <{xoops_input type=password name=pass size=10 maxlength=32 value=$actionForm->get('pass')}>
      <{xoops_input type=password name=vpass size=10 maxlength=32 value=$actionForm->get('vpass')}>
    </td>
  </tr>
  <tr>
    <td class="head"><{$smarty.const._US_MAILOK}></td>
    <td class="<{cycle values="odd,even"}>">
      <input type="radio" name="user_mailok" value="1"<{if $actionForm->get('user_mailok')==1}>checked<{/if}> /><{$smarty.const._YES}>
      <input type="radio" name="user_mailok" value="0"<{if $actionForm->get('user_mailok')==0}>checked<{/if}> /><{$smarty.const._NO}>
    </td>
  </tr>
  <tr>
    <td class="head">&nbsp;</td>
    <td class="<{cycle values="odd,even"}>">
      <input type="submit" value="<{$smarty.const._US_SAVECHANGES}>" />
    </td>
  </tr>
</table>
</form>
