'MEMBER_REFBACK_NO_ENTRIES' => "Es gibt technische Probleme mit der Refback-Tabelle. Bitte Support benachrichtigen.",
'MEMBER_REFBACK_EDIT_SUBMIT' => "Refback einstellen",
'MEMBER_REFBACK_REFID' => "Mitglieder-Id (Nickname)",
+ 'MEMBER_REFBACK_LEVEL_REFID' => "Geworben von",
'MEMBER_REFBACK_STATUS' => "Referal-Status",
'MEMBER_REFBACK_PERCENTS' => "Ref-Back Prozente",
'MEMBER_REFBACK_POINTS' => "Ref-Back Vergütung",
r.refid,
r.refback,
r.points,
- d.status".$add."
+ d.status".$add.",
+ d.joined,
+ d.refid AS level_refid
FROM
`{?_MYSQL_PREFIX?}_user_refs` AS r
LEFT JOIN
if (is_null($refRow['status'])) $deleted = true;
// Add/"translate" more content
- $refRow['sw'] = $SW;
- $refRow['points'] = translateComma($refRow['points']);
- $refRow['refback'] = translateComma($refRow['refback']);
- $refRow['status'] = translateUserStatus($refRow['status']);
+ $refRow['sw'] = $SW;
+ $refRow['points'] = translateComma($refRow['points']);
+ $refRow['refback'] = translateComma($refRow['refback']);
+ // UNUSED: $refRow['status'] = translateUserStatus($refRow['status']);
+ $refRow['joined'] = generateDateTime($refRow['joined'], '3');
if (empty($refRow['nickname'])) $refRow['nickname'] = '---';
// Load row template
- if ($deleted) {
+ if ($deleted === true) {
$rows .= loadTemplate('member_refback_list_row_deleted', true, $refRow);
} else {
$rows .= loadTemplate('member_refback_list_row', true, $refRow);
<strong>{--MEMBER_REFLIST_TITLE--}</strong>
</td>
</tr>
-<tr><td class="seperator" height="5"> </td></tr>
$content
-<tr><td class="seperator"> </td></tr>
</table>
<tr>
- <td align="center">
-<table border="0" cellspacing="0" cellpadding="0" class="member_table dashed" width="730">
+ <td align="center" style="padding:0px;margin:0px">
+<table border="0" cellspacing="0" cellpadding="0" class="member_table dashed">
<tr>
<td align="center" class="member_header" colspan="6">
<strong>{--MEMBER_REFLIST_LIST_TITLE_1--}$content[level]{--MEMBER_REFLIST_LIST_TITLE_2--}$content[percents]{--MEMBER_REFLIST_LIST_TITLE_3--}</strong>
</table>
</td>
</tr>
-<tr><td class="seperator" height="5"> </td></tr>
<strong>{--MEMBER_REFBACK_TITLE--}</strong>
</td>
</tr>
-<tr><td class="seperator" height="5"> </td></tr>
$content
<tr>
<td align="center" class="member_footer top">
<tr>
- <td align="center">
+ <td align="center" style="padding:0px;margin:0px">
<table border="0" cellspacing="0" cellpadding="0" class="member_table dashed" width="730">
<tr>
- <td align="center" class="member_header" colspan="5">
+ <td align="center" class="member_header" colspan="6">
<strong>{--MEMBER_REFBACK_LIST_TITLE_1--}$content[level]{--MEMBER_REFBACK_LIST_TITLE_2--}$content[percents]{--MEMBER_REFBACK_LIST_TITLE_3--}</strong>
</td>
</tr>
<strong>{--MEMBER_REFBACK_REFID--}</strong>
</td>
<td align="center" class="header_column bottom right">
- <strong>{--MEMBER_REFBACK_STATUS--}</strong>
+ <strong>{--MEMBER_REFBACK_LEVEL_REFID--}</strong>
</td>
<td align="center" class="header_column bottom right">
<strong>{--MEMBER_REFBACK_PERCENTS--}</strong>
<td align="center" class="header_column bottom right">
<strong>{--MEMBER_REFBACK_POINTS--}</strong>
</td>
- <td align="center" class="header_column bottom" width="142">
+ <td align="center" class="header_column bottom right">
+ <strong>{--MEMBER_JOINED--}</strong>
+ </td>
+ <td align="center" class="header_column bottom" width="134">
<strong>{--MEMBER_REFBACK_EDIT--}</strong>
</td>
</tr>
$content[rows]
<tr>
- <td align="center" class="member_footer" colspan="5">
+ <td align="center" class="member_footer" colspan="6">
<span class="member_note">{--MEMBER_REFLIST_COUNTER_1--}$content[counter]{--MEMBER_REFLIST_COUNTER_2--}</span>
</td>
</tr>
</table>
</td>
</tr>
-<tr><td class="seperator" height="5"> </td></tr>
$content[refid] ($content[nickname])
</td>
<td align="center" class="switch_sw$content[sw] bottom right">
- $content[status]
+ $content[level_refid]
</td>
<td align="center" class="switch_sw$content[sw] bottom right">
$content[refback] %
<td align="center" class="switch_sw$content[sw] bottom right">
$content[points] {?POINTS?}
</td>
+ <td align="center" class="switch_sw$content[sw] bottom right">
+ $content[joined]
+ </td>
<td align="center" class="switch_sw$content[sw] bottom">
<form accept-charset="utf-8" action="{%url=modules.php?module=login&what=refback%}" method="post">
<input type="hidden" name="id" value="$content[id]" />
<td align="center" class="switch_sw$content[sw] bottom right">
$content[points] {?POINTS?}
</td>
+ <td align="center" class="switch_sw$content[sw] bottom right">
+ $content[joined]
+ </td>
<td align="center" class="switch_sw$content[sw] bottom">
<form accept-charset="utf-8" style="paddin-bottom:0px">
<input type="button" name="edit" class="member_submit disabled" title="{--MEMBER_REFBACK_DELETED_TITLE--}"