templates/de/html/member/member_list_refback_deleted_row.tpl svneol=native#text/plain
templates/de/html/member/member_list_refback_level.tpl svneol=native#text/plain
templates/de/html/member/member_list_refback_row.tpl svneol=native#text/plain
+templates/de/html/member/member_list_referal.tpl svneol=native#text/plain
+templates/de/html/member/member_list_referal_level.tpl svneol=native#text/plain
+templates/de/html/member/member_list_referal_row.tpl svneol=native#text/plain
templates/de/html/member/member_list_reflinks.tpl svneol=native#text/plain
templates/de/html/member/member_list_reflinks_row.tpl svneol=native#text/plain
templates/de/html/member/member_list_surfbar.tpl svneol=native#text/plain
./inc/modules/member/what-beg.php:63:// @TODO No more needed? define('__BEG_USERID_TIMEOUT', createFancyTime(getBegUseridTimeout()));
./inc/modules/member/what-categories.php:131: // @TODO Rewrite this to use $OUT .= ...
./inc/modules/member/what-logout.php:17: * @TODO Rewrite the code to a filter *
-./inc/modules/member/what-order.php:488: // @TODO Rewrite this to a filter
-./inc/modules/member/what-order.php:85: // @TODO Rewrite this to SQL_FETCHARRAY()
+./inc/modules/member/what-order.php:485: // @TODO Rewrite this to a filter
+./inc/modules/member/what-order.php:82: // @TODO Rewrite this to SQL_FETCHARRAY()
./inc/modules/member/what-payout.php:194: // @TODO Rewrite this to a filter
./inc/modules/member/what-points.php:55:// @TODO Should we rewrite this to a filter?
./inc/modules/member/what-rallyes.php:89: // @TODO Reactivate this: $content['admin'] = '<a href="{%url=modules.php?module=index&what=impressum&admin=' . $content['admin_id'] . '%}">' . $content['login'] . '</a>';
./templates/de/html/member/member_refback_list.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/member/member_reflinks_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/member/member_reflinks_table.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/member/member_ref_list_level.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/member/member_ref_list_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/member/member_ref_list.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/member/member_surfbar_book_dynamic.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/member/member_surfbar_book_static.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/member/member_surfbar_list_form.tpl:1:<!-- @DEPRECATED //-->
$url = ''; $id = '0';
-// Count unconfirmed mails
-$links = getTotalUnconfirmedMails(getMemberId());
-
$ALLOWED = getUserData('receive_mails') - getUserData('mail_orders');
if (getConfig('order_max_full') == 'MAX') $ALLOWED = getUserData('receive_mails');
} elseif (($ALLOWED == '0') && (getConfig('order_max_full') == 'ORDER')) {
// No more mail orders allowed
displayMessage('{--MEMBER_ORDER_ALLOWED_EXHAUSTED--}');
-} elseif ($links < getConfig('unconfirmed')) {
+} elseif (getTotalUnconfirmedMails(getMemberId()) < getConfig('unconfirmed')) {
// Show only enabled categories to the user ...
$whereStatement = " WHERE `visible`='Y'";
}
} else {
// Please confirm some mails first
- displayMessage('<span class="notice">{%message,MEMBER_ORDER_LINKS_LEFT=' . $links . '%}</span>', $links);
+ displayMessage('<span class="notice">{%message,MEMBER_ORDER_LINKS_LEFT=' . getTotalUnconfirmedMails(getMemberId()) . '%}</span>');
}
if (!empty($url)) {
// Check for users ref in this level
foreach (getUserReferalPoints(getMemberId(), $content['level']) as $refRow) {
// Add/"translate" more content
- $refRow['click_rate'] = translateComma($refRow['click_rate'], true, 1);
+ $refRow['click_rate'] = translateComma($refRow['click_rate'], true, 1);
// Load row template
- $rows .= loadTemplate('member_ref_list_row', true, $refRow);
+ $rows .= loadTemplate('member_list_referal_row', true, $refRow);
// Count this ref and switch color
$counter++;
$content['rows'] = $rows;
// Load level template
- $OUT .= loadTemplate('member_ref_list_level', true, $content);
+ $OUT .= loadTemplate('member_list_referal_level', true, $content);
} // END - while
// Load main template
- loadTemplate('member_ref_list', false, $OUT);
+ loadTemplate('member_list_referal', false, $OUT);
} else {
// No entries
displayMessage('{--MEMBER_REFBACK_NO_ENTRIES--}');
if (!SQL_HASZERONUMS($result)) {
// Fetch all entries
while ($row = SQL_FETCHARRAY($result)) {
- // Get total points of this user
- $row['points'] = getTotalPoints($row['refid']);
-
- // Get unconfirmed mails
- $row['unconfirmed'] = getTotalUnconfirmedMails($row['refid']);
-
// Init click rate with zero
$row['click_rate'] = '0';
--- /dev/null
+<div align="center">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="740">
+<tr>
+ <td align="center" class="header_column bottom">
+ <strong>{--MEMBER_REFLIST_TITLE--}</strong>
+ </td>
+</tr>
+$content
+</table>
+</div>
--- /dev/null
+<tr>
+ <td align="center" style="padding:0px;margin:0px">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+<tr>
+ <td align="center" class="header_column" colspan="6">
+ <strong>{--MEMBER_REFLIST_LIST_TITLE_1--}$content[level]{--MEMBER_REFLIST_LIST_TITLE_2--}$content[percents]{--MEMBER_REFLIST_LIST_TITLE_3--}</strong>
+ </td>
+</tr>
+<tr>
+ <td align="center" class="header_column bottom right">
+ <strong>{--_USERID--}</strong>
+ </td>
+ <td align="center" class="header_column bottom right">
+ <strong>{--ACCOUNT_STATUS--}</strong>
+ </td>
+ <td align="center" class="header_column bottom right">
+ <strong>{--MEMBER_REFLIST_POINTS--}</strong>
+ </td>
+ <td align="center" class="header_column bottom right">
+ <strong>{--UNCONFIRMED_LINKS--}</strong>
+ </td>
+ <td align="center" class="header_column bottom right">
+ <strong>{--MEMBER_CLICK_RATE--}</strong>
+ </td>
+ <td align="center" class="header_column bottom">
+ <strong>{--MEMBER_REFLIST_ACTIVITY--}</strong>
+ </td>
+</tr>
+$content[rows]
+<tr>
+ <td align="center" class="table_footer" colspan="6">
+ <span class="notice">{%message,MEMBER_REFLIST_COUNTER=$content[counter]%}</span>
+ </td>
+</tr>
+</table>
+ </td>
+</tr>
--- /dev/null
+<tr>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ $content[refid] ({%user,nickname,fixEmptyContentToDashes=$content[refid]%})
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ {%pipe,translateUserStatus=$content[status]%}
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ {%pipe,getTotalPoints,translateComma=$content[refid]%} {?POINTS?}
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ {%pipe,getTotalUnconfirmedMails,translateComma=$content[refid]%}
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ $content[click_rate]%
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ $content[activity]
+ </td>
+</tr>
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="740">
-<tr>
- <td align="center" class="header_column bottom">
- <strong>{--MEMBER_REFLIST_TITLE--}</strong>
- </td>
-</tr>
-$content
-</table>
+<!-- @DEPRECATED //-->
-<tr>
- <td align="center" style="padding:0px;margin:0px">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
-<tr>
- <td align="center" class="header_column" colspan="6">
- <strong>{--MEMBER_REFLIST_LIST_TITLE_1--}$content[level]{--MEMBER_REFLIST_LIST_TITLE_2--}$content[percents]{--MEMBER_REFLIST_LIST_TITLE_3--}</strong>
- </td>
-</tr>
-<tr>
- <td align="center" class="header_column bottom right">
- <strong>{--_USERID--}</strong>
- </td>
- <td align="center" class="header_column bottom right">
- <strong>{--ACCOUNT_STATUS--}</strong>
- </td>
- <td align="center" class="header_column bottom right">
- <strong>{--MEMBER_REFLIST_POINTS--}</strong>
- </td>
- <td align="center" class="header_column bottom right">
- <strong>{--UNCONFIRMED_LINKS--}</strong>
- </td>
- <td align="center" class="header_column bottom right">
- <strong>{--MEMBER_CLICK_RATE--}</strong>
- </td>
- <td align="center" class="header_column bottom">
- <strong>{--MEMBER_REFLIST_ACTIVITY--}</strong>
- </td>
-</tr>
-$content[rows]
-<tr>
- <td align="center" class="table_footer" colspan="6">
- <span class="notice">{%message,MEMBER_REFLIST_COUNTER=$content[counter]%}</span>
- </td>
-</tr>
-</table>
- </td>
-</tr>
+<!-- @DEPRECATED //-->
-<tr>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[refid] ({%user,nickname,fixEmptyContentToDashes=$content[refid]%})
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- {%pipe,translateUserStatus=$content[status]%}
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- {%pipe,translateComma=$content[points]%} {?POINTS?}
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- {%pipe,translateComma=$content[unconfirmed]%}
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[click_rate]%
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[activity]
- </td>
-</tr>
+<!-- @DEPRECATED //-->