<div align="center">
-<form accept-charset="UTF-8" id="earning_$content[earning_id]" action="{%url=modules.php?module=login&what=earning%}" method="post">
+{%form,formIdEarning_$content[earning_id],formMethodPost=modules.php?module=login&what=earning%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{%message,MEMBER_EARNING_POPUP_FORM_TITLE=$content[earning_provider]%}</strong>
</div>
-<div class="bottom" style="height:25px;padding-top:5px">
+<div style="height:25px;padding-top:5px">
{--MEMBER_EARNING_ENTER_DAILY_POPUP_AMOUNT--}
<input type="text" class="form_field" name="earning_daily_amount" size="5" maxlength="20" />
</div>
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_EARNING_SUBSCRIBE_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>