-<form action="{!URL!}/modules.php?module=admin&what=add_sponsor" method="post">
-<table border="0" cellspacing="0" cellpadding="0" align="center" class="admin_table dashed" width="530">
+<div align="center">
+<form accept-charset="utf-8" action="{%url=modules.php?module=admin&what=add_sponsor%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed">
<tr>
- <td class="admin_title bottom2" width="10" height="30"> </td>
- <td class="admin_title bottom2" colspan="3" align="center">
+ <td class="admin_title bottom" colspan="2" align="center">
<strong>{--ADMIN_SPONSOR_ENTER_COMPANY_DATA--}</strong>
</td>
- <td class="admin_title bottom2" width="10"> </td>
</tr>
<tr>
- <td class="bottom2" width="10" height="40"> </td>
- <td class="bottom2" colspan="3" align="center">
+ <td class="bottom" colspan="2" align="center">
<span class="admin_note">{--ADMIN_SPONSOR_COMPANY_NOTE--}</span>
</td>
- <td class="bottom2" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
- <td align="right" width="300">
- {--SPONSOR_ENTER_COMPANY_TITLE--}:
+ <td align="right">
+ {--SPONSOR_ENTER_COMPANY_TITLE--}:
</td>
- <td class="seperator" width="10"> </td>
- <td width="200">
+ <td>
<input type="text" name="company" class="admin_normal" size="20" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right">
- {--SPONSOR_ENTER_COMPANY_POSITION--}:
+ {--SPONSOR_ENTER_COMPANY_POSITION--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<input type="text" name="position" class="admin_normal" size="20" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
- <td align="right" valign="top">
- {--SPONSOR_ENTER_TAX_IDENT--}:
+ <td class="bottom" align="right" valign="top">
+ {--SPONSOR_ENTER_TAX_IDENT--}:
</td>
- <td class="seperator" width="10"> </td>
- <td>
+ <td class="bottom">
<input type="text" name="tax_ident" class="admin_normal" size="20" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator bottom2" colspan="5" height="5"> </td></tr>
<tr>
- <td class="admin_title bottom2" width="10" height="30"> </td>
- <td class="admin_title bottom2" colspan="3" align="center">
+ <td class="admin_title bottom" colspan="2" align="center">
<strong>{--ADMIN_SPONSOR_ENTER_PERSONA_DATA--}</strong>
</td>
- <td class="admin_title bottom2" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right">
- {--GUEST_GENDER--}:
+ {--GUEST_GENDER--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<select name="gender" class="admin_select" size="1">
<option value="M">{--GENDER_M--}</option>
<option value="C">{--GENDER_C--}</option>
</select>
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right">
- {--GUEST_SURNAME--}:
+ {--GUEST_SURNAME--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<input type="text" name="surname" class="admin_normal" size="20" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
- <td align="right">
- {--GUEST_FAMILY--}:
+ <td class="bottom" align="right">
+ {--GUEST_FAMILY--}:
</td>
- <td class="seperator" width="10"> </td>
- <td>
+ <td class="bottom">
<input type="text" name="family" class="admin_normal" size="20" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator bottom2" colspan="5" height="5"> </td></tr>
<tr>
- <td class="admin_title bottom2" width="10" height="30"> </td>
- <td class="admin_title bottom2" colspan="3" align="center">
+ <td class="admin_title bottom" colspan="2" align="center">
<strong>{--ADMIN_SPONSOR_ENTER_CONTACT_DATA--}</strong>
</td>
- <td class="admin_title bottom2" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right" valign="top">
- {--SPONSOR_ENTER_STREET_NR1--}:
+ {--SPONSOR_ENTER_STREET_NR1--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<input type="text" name="street_nr1" class="admin_normal" size="20" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right" valign="top">
- {--SPONSOR_ENTER_STREET_NR2--}:
+ {--SPONSOR_ENTER_STREET_NR2--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<input type="text" name="street_nr2" class="admin_normal" size="20" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right" valign="top">
- {--SPONSOR_ENTER_CNTRY_ZIP_CITY--}:
+ {--SPONSOR_ENTER_CNTRY_ZIP_CITY--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<input type="text" name="country" class="admin_normal" size="2" maxlength="2" value="DE" />-<input type="text" name="zip" class="admin_normal" size="5" maxlength="6" />
<input type="text" name="city" class="admin_normal" size="10" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right" valign="top">
- {--SPONSOR_ENTER_PHONE--}:
+ {--SPONSOR_ENTER_PHONE--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<input type="text" name="phone" class="admin_normal" size="20" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right" valign="top">
- {--SPONSOR_ENTER_FAX--}:
+ {--SPONSOR_ENTER_FAX--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<input type="text" name="fax" class="admin_normal" size="20" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right" valign="top">
- {--SPONSOR_ENTER_CELL--}:
+ {--SPONSOR_ENTER_CELL--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<input type="text" name="cell" class="admin_normal" size="20" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right" valign="top">
- {--SPONSOR_ENTER_EMAIL--}:
+ {--SPONSOR_ENTER_EMAIL--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<input type="text" name="email" class="admin_normal" size="20" maxlength="255" value="@" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
- <td align="right" valign="top">
- {--SPONSOR_ENTER_URL--}:
+ <td class="bottom" align="right" valign="top">
+ {--SPONSOR_ENTER_URL--}:
</td>
- <td class="seperator" width="10"> </td>
- <td>
+ <td class="bottom">
<input type="text" name="url" class="admin_normal" size="20" maxlength="255" value="http://" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator bottom2" colspan="5" height="5"> </td></tr>
<tr>
- <td class="admin_title bottom2" width="10" height="30"> </td>
- <td class="admin_title bottom2" colspan="3" align="center">
+ <td class="admin_title bottom" colspan="2" align="center">
<strong>{--ADMIN_SPONSOR_ENTER_PASSWORDS--}</strong>
</td>
- <td class="admin_title bottom2" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
- <td align="right" valign="top">
- {--SPONSOR_ENTER_PASSWORDS--}:
+ <td class="bottom" align="right" valign="top">
+ {--SPONSOR_ENTER_PASSWORDS--}:
</td>
- <td class="seperator" width="10"> </td>
- <td>
+ <td class="bottom">
<input type="password" name="pass1" class="admin_normal" size="10" maxlength="255" />
<input type="password" name="pass2" class="admin_normal" size="10" maxlength="255" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator bottom2" colspan="5" height="5"> </td></tr>
<tr>
- <td class="admin_title bottom2" width="10" height="30"> </td>
- <td class="admin_title bottom2" colspan="3" align="center">
+ <td class="admin_title bottom" colspan="2" align="center">
<strong>{--ADMIN_SPONSOR_WARNINGS_POINTS--}</strong>
</td>
- <td class="admin_title bottom2" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right">
- {--SPONSOR_RECEIVE_WARNINGS--}:
+ {--SPONSOR_RECEIVE_WARNINGS--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<select name="receive_warnings" class="admin_select" size="1">
<option value="Y">{--YES--}</option>
<option value="N">{--NO--}</option>
</select>
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
<td align="right">
- {--SPONSOR_WARNING_INTERVAL--}:
+ {--SPONSOR_WARNING_INTERVAL--}:
</td>
- <td class="seperator" width="10"> </td>
<td>
<select name="warning_interval" class="admin_select" size="1">
<option value="0">{--SELECT_NONE--}</option>
- <option value="{--($_CONFIG['one_day']*1)--}">1 {--DAYS--}</option>
- <option value="{--($_CONFIG['one_day']*3)--}">3 {--DAYS--}</option>
- <option value="{--($_CONFIG['one_day']*7)--}" selected="selected">1 {--LIFE_WEEKS--}</option>
- <option value="{--($_CONFIG['one_day']*14)--}">2 {--LIFE_WEEKS--}</option>
- <option value="{--($_CONFIG['one_day']*28)--}">4 {--LIFE_WEEKS--}</option>
- <option value="{--($_CONFIG['one_day']*56)--}">8 {--LIFE_WEEKS--}</option>
+ <option value="{--({?ONE_DAY?}*1)--}">1 {--DAYS--}</option>
+ <option value="{--({?ONE_DAY?}*3)--}">3 {--DAYS--}</option>
+ <option value="{--({?ONE_DAY?}*7)--}" selected="selected">1 {--LIFE_WEEKS--}</option>
+ <option value="{--({?ONE_DAY?}*14)--}">2 {--LIFE_WEEKS--}</option>
+ <option value="{--({?ONE_DAY?}*28)--}">4 {--LIFE_WEEKS--}</option>
+ <option value="{--({?ONE_DAY?}*56)--}">8 {--LIFE_WEEKS--}</option>
</select>
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator" colspan="5" height="5"> </td></tr>
<tr>
- <td class="seperator" width="10"> </td>
- <td align="right" valign="top">
- {--SPONSOR_ENTER_POINTS--}:
+ <td class="bottom" align="right" valign="top">
+ {--SPONSOR_ENTER_POINTS--}:
</td>
- <td class="seperator" width="10"> </td>
- <td>
- <input type="text" name="points_amount" class="admin_normal" size="6" maxlength="20" value="{!__SPONSOR_MIN_VALUE!}" />
+ <td class="bottom">
+ <input type="text" name="points_amount" class="admin_normal" size="6" maxlength="20" value="{?sponsor_min_points?}" />
</td>
- <td class="seperator" width="10"> </td>
</tr>
-<tr><td class="seperator bottom2" colspan="5" height="5"> </td></tr>
<tr>
- <td class="admin_footer seperator" width="10"> </td>
- <td class="admin_footer" colspan="3" align="center">
+ <td class="admin_footer" colspan="2" align="center">
<input type="reset" class="admin_reset" value="{--CLEAR_FORM--}" />
<input type="submit" name="ok" class="admin_submit" value="{--ADD_SPONSOR--}" />
</td>
- <td class="admin_footer seperator" width="10"> </td>
</tr>
</table>
</form>
+</div>