if ($totalLocked == '0') $totalLocked = '0.00000';
// Remember several values in constants
-$content['sum'] = ($totalPoints - getUserData('used_points'), false);
+$content['sum'] = ($totalPoints - getUserData('used_points'));
$content['tref'] = $totalReferals;
$content['tlock'] = $totalLocked;
<tr>
<td align="right">{--SURNAME--}, {--FAMILY--}:</td>
<td>
- <input type="text" name="surname" class="member_normal" size="15" maxlength="255" value="{%user,surname=$userid%}" />
- <input type="text" name="family" class="member_normal" size="15" maxlength="255" value="{%user,family=$userid%}" />
+ <input type="text" name="surname" class="member_normal" size="15" maxlength="255" value="{%user,surname%}" />
+ <input type="text" name="family" class="member_normal" size="15" maxlength="255" value="{%user,family%}" />
</td>
</tr>
<tr>
<td align="right">{--STREET_NR--}:</td>
<td>
- <input type="text" name="street_nr" class="member_normal" size="25" maxlength="255" value="{%user,street_nr=$userid%}" />
+ <input type="text" name="street_nr" class="member_normal" size="25" maxlength="255" value="{%user,street_nr%}" />
</td>
</tr>
<tr>
<td align="right">{--COUNTRY--}, {--ZIP--}, {--CITY--}:</td>
<td>
- {%user,country,determineCountry=$userid%}
- <input type="text" name="zip" class="member_normal" size="5" maxlength="10" value="{%user,zip,bigintval=$userid%}" />
- <input type="text" name="city" class="member_normal" size="20" maxlength="255" value="{%city,city=$userid%}" />
+ {%user,country,determineCountry%}
+ <input type="text" name="zip" class="member_normal" size="5" maxlength="10" value="{%user,zip,bigintval%}" />
+ <input type="text" name="city" class="member_normal" size="20" maxlength="255" value="{%city,city%}" />
</td>
</tr>
<tr>
</tr>
<tr>
<td align="right">{--GENDER--}:</td>
- <td><strong>{%user,gender,translateGender=$userid%}</strong></td>
+ <td><strong>{%user,gender,translateGender%}</strong></td>
</tr>
<tr>
<td align="right">{--SURNAME--}:</td>
- <td><strong>{%user,surname=$userid%}</strong></td>
+ <td><strong>{%user,surname%}</strong></td>
</tr>
<tr>
<td align="right">{--FAMILY--}:</td>
- <td><strong>{%user,family=$userid%}</strong></td>
+ <td><strong>{%user,family%}</strong></td>
</tr>
<tr>
<td align="right">{--STREET_NR--}:</td>
- <td><strong>{%user,street_nr=$userid%}</strong></td>
+ <td><strong>{%user,street_nr%}</strong></td>
</tr>
<tr>
<td align="right">{--COUNTRY--}:</td>
- <td><strong>{%user,country,determineCountry=$userid%}</strong></td>
+ <td><strong>{%user,country,determineCountry%}</strong></td>
</tr>
<tr>
<td align="right">{--ZIP--}:</td>
- <td><strong>{%user,zip,bigintval=$userid%}</strong></td>
+ <td><strong>{%user,zip,bigintval%}</strong></td>
</tr>
<tr>
<td align="right">{--CITY--}:</td>
- <td><strong>{%city,city=$userid%}</strong></td>
+ <td><strong>{%city,city%}</strong></td>
</tr>
<tr>
<td align="right">{--EMAIL--}:</td>
</tr>
<tr>
<td class="member_data">{--BONUS_LOGIN_TOTAL--}</td>
- <td class="member_data">{%user,login_bonus,translateComma=$userid%} {?POINTS?}</td>
+ <td class="member_data">{%user,login_bonus,translateComma%} {?POINTS?}</td>
<td class="member_data"></td>
</tr>
<tr>
<td class="member_data">{--BONUS_TURBO_TOTAL--}</td>
- <td class="member_data">{%user,turbo_bonus,translateComma=$userid%} {?POINTS?}</td>
+ <td class="member_data">{%user,turbo_bonus,translateComma%} {?POINTS?}</td>
<td class="member_data">-</td>
</tr>
<tr>
<td class="member_data">{--BONUS_REF_TOTAL--}</td>
- <td class="member_data">{%user,bonus_ref,translateComma=$userid%} {?POINTS?}</td>
+ <td class="member_data">{%user,bonus_ref,translateComma%} {?POINTS?}</td>
<td class="member_data">-</td>
</tr>
<tr>
<td class="member_data">{--BONUS_ORDER_TOTAL--}</td>
- <td class="member_data">{%user,bonus_order,translateComma=$userid%} {?POINTS?}</td>
+ <td class="member_data">{%user,bonus_order,translateComma%} {?POINTS?}</td>
<td class="member_data">-</td>
</tr>
<tr>
<td class="member_data bottom">{--BONUS_STATS_TOTAL--}</td>
- <td class="member_data bottom">{%user,bonus_stats,translateComma=$userid%} {?POINTS?}</td>
+ <td class="member_data bottom">{%user,bonus_stats,translateComma%} {?POINTS?}</td>
<td class="member_data bottom">-</td>
</tr>
<tr>