-<form
- action="{!URL!}/modules.php?module=admin&what=send_bonus&mode={!__MODE!}"
- method="POST">
-<TABLE border="0" cellspacing="0" cellpadding="0" width="580"
- class="admin_table dashed" align="center">
- <TR>
- <TD colspan="5" height="10" class="seperator"> </TD>
- </TR>
- <TR>
- <TD width="10" class="seperator"> </TD>
- <TD align="right">{--SELECT_CATEGORY--}:</TD>
- <TD width="10" class="seperator"> </TD>
- <TD><select name="cat" size="1" class="admin_select">
- <option value="" disabled>{--PLEASE_SELECT--}</option>
- <option value="0">{--ALL_MEMBERS--} ({!__ALL_VALUE!})</option>
- {!__OPTION_LINES!}
- </select></TD>
- <TD width="10" class="seperator"> </TD>
- </TR>
- <TR>
- <TD colspan="5" height="5" class="seperator"> </TD>
- </TR>
- <TR>
- <TD width="10" class="seperator"> </TD>
- <TD align="right">{--ENTER_RECEIVER--}:</TD>
- <TD width="10" class="seperator"> </TD>
- <TD><INPUT type="text" name="receiver" class="admin_normal"
- size="4" maxlength="5"></TD>
- <TD width="10" class="seperator"> </TD>
- </TR>
- <TR>
- <TD colspan="5" height="5" class="seperator"> </TD>
- </TR>
- <TR>
- <TD width="10" class="seperator"> </TD>
- <TD align="right">{--ENTER_POINTS--}:</TD>
- <TD width="10" class="seperator"> </TD>
- <TD><INPUT type="text" name="points" class="admin_normal"
- size="4" maxlength="5"></TD>
- <TD width="10" class="seperator"> </TD>
- </TR>
- <TR>
- <TD colspan="5" height="5" class="seperator"> </TD>
- </TR>
- <TR>
- <TD width="10" class="seperator"> </TD>
- <TD align="right">{--ENTER_SECONDS--}:</TD>
- <TD width="10" class="seperator"> </TD>
- <TD><INPUT type="text" name="seconds" class="admin_normal"
- size="4" maxlength="5"></TD>
- <TD width="10" class="seperator"> </TD>
- </TR>
- <TR>
- <TD colspan="5" height="5" class="seperator"> </TD>
- </TR>
- <TR>
- <TD width="10" class="seperator"> </TD>
- <TD align="right">{--ENTER_SUBJECT--}:</TD>
- <TD width="10" class="seperator"> </TD>
- <TD><INPUT type="text" name="subject" class="admin_normal"
- size="30" maxlength="150"></TD>
- <TD width="10" class="seperator"> </TD>
- </TR>
- <TR>
- <TD colspan="5" height="5" class="seperator"> </TD>
- </TR>
- <TR>
- <TD width="10" class="seperator"> </TD>
- <TD align="right">{--ENTER_TEXT--}:</TD>
- <TD width="10" class="seperator"> </TD>
- <TD><textarea name="text" class="admin_normal" rows="10"
- cols="50"></textarea></TD>
- <TD width="10" class="seperator"> </TD>
- </TR>
- <TR>
- <TD colspan="5" height="5" class="seperator"> </TD>
- </TR>
- <TR>
- <TD width="10" class="seperator"> </TD>
- <TD align="right">{--MEMBER_ENTER_URL--}:</TD>
- <TD width="10" class="seperator"> </TD>
- <TD><INPUT type="text" name="url" class="admin_normal" size="40"
- maxlength="350" value="http://"></TD>
- <TD width="10" class="seperator"> </TD>
- </TR>
- <TR>
- <TD colspan="5" height="10" class="seperator"> </TD>
- </TR>
- <TR>
- <TD width="10" class="seperator"> </TD>
- <TD colspan="3" align="center"><INPUT type="reset"
- class="admin_reset" value="{--CLEAR_FORM--}" /> <INPUT
- type="submit" name="ok" class="admin_submit"
- value="{--ADMIN_SEND_MAIL--}" /></TD>
- <TD width="10" class="seperator"> </TD>
- </TR>
- <TR>
- <TD colspan="5" height="10" class="seperator"> </TD>
- </TR>
-</TABLE>
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=send_bonus&mail_mode=$content[mail_mode]%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <tr>
+ <td colspan="2" class="table_header bottom" align="center">
+ <strong>{--ADMIN_SEND_BONUS_MAIL_TITLE--}</strong>
+ </td>
+ </tr>
+ <tr>
+ <td align="right">{--SELECT_CATEGORY--}:</td>
+ <td>
+ <select name="cat" size="1" class="form_select">
+ <option value="X" disabled="disabled">{--PLEASE_SELECT--}</option>
+ <option value="0">{--ALL_MEMBERS--} ({%pipe,getTotalReceivers,translateComma=$content[mail_mode]%})</option>
+ {%pipe,generateCategoryOptionsList=$content[mail_mode]%}
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td align="right">{--ENTER_RECEIVER--}:</td>
+ <td>
+ <input type="text" class="form_field" name="receiver" size="4" maxlength="5" />
+ </td>
+ </tr>
+ <tr>
+ <td align="right">{--ENTER_POINTS--}:</td>
+ <td>
+ <input type="text" class="form_field" name="points" size="4" maxlength="5" />
+ <span class="tiny">({?POINTS?})</span>
+ </td>
+ </tr>
+ <tr>
+ <td align="right">{--ENTER_SECONDS--}:</td>
+ <td>
+ <input type="text" class="form_field" name="seconds" size="4" maxlength="5" />
+ </td>
+ </tr>
+ <tr>
+ <td align="right">{--ENTER_SUBJECT--}:</td>
+ <td>
+ <input type="text" class="form_field" name="subject" size="30" maxlength="150" />
+ </td>
+ </tr>
+ <tr>
+ <td align="right">{--ENTER_TEXT--}:</td>
+ <td>
+ <textarea name="text" class="form_field" rows="10" cols="50"></textarea>
+ </td>
+ </tr>
+ <tr>
+ <td class="bottom" align="right">{--MEMBER_ENTER_URL--}:</td>
+ <td class="bottom">
+ <input type="text" class="form_field" name="url" size="40" maxlength="350" value="http://" />
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="table_footer" align="center">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="ok" value="{--ADMIN_SEND_MAIL--}" />
+ </td>
+ </tr>
+</table>
</form>
+</div>