templates/de/html/guest/guest_frametester.tpl svneol=native#text/plain
templates/de/html/guest/guest_goto_top.tpl svneol=native#text/plain
templates/de/html/guest/guest_header.tpl svneol=native#text/plain
+templates/de/html/guest/guest_list_active.tpl svneol=native#text/plain
+templates/de/html/guest/guest_list_active_row.tpl svneol=native#text/plain
+templates/de/html/guest/guest_list_active_row_none.tpl svneol=native#text/plain
+templates/de/html/guest/guest_list_rallye.tpl svneol=native#text/plain
+templates/de/html/guest/guest_list_rallye_row.tpl svneol=native#text/plain
templates/de/html/guest/guest_login.tpl svneol=native#text/plain
templates/de/html/guest/guest_menu_bottom.tpl svneol=native#text/plain
templates/de/html/guest/guest_menu_content.tpl svneol=native#text/plain
templates/de/html/guest/guest_nickname_login.tpl svneol=native#text/plain
templates/de/html/guest/guest_no_rallyes.tpl svneol=native#text/plain
templates/de/html/guest/guest_rallye.tpl svneol=native#text/plain
+templates/de/html/guest/guest_rallye_404.tpl svneol=native#text/plain
templates/de/html/guest/guest_rallye_row.tpl svneol=native#text/plain
templates/de/html/guest/guest_rallye_show.tpl svneol=native#text/plain
templates/de/html/guest/guest_receive_table.tpl svneol=native#text/plain
templates/de/html/guest/guest_register.tpl svneol=native#text/plain
templates/de/html/guest/guest_register_refid.tpl svneol=native#text/plain
templates/de/html/guest/guest_register_refid_hide.tpl svneol=native#text/plain
+templates/de/html/guest/guest_show_rallye.tpl svneol=native#text/plain
templates/de/html/guest/guest_sponsor_act_row.tpl svneol=native#text/plain
templates/de/html/guest/guest_sponsor_activate.tpl svneol=native#text/plain
templates/de/html/guest/guest_sponsor_infos.tpl svneol=native#text/plain
templates/de/html/member/member_list_beg_row.tpl svneol=native#text/plain
templates/de/html/member/member_list_coupon.tpl svneol=native#text/plain
templates/de/html/member/member_list_coupon_row.tpl svneol=native#text/plain
+templates/de/html/member/member_list_rallye.tpl svneol=native#text/plain
+templates/de/html/member/member_list_rallye_row.tpl svneol=native#text/plain
templates/de/html/member/member_list_refback.tpl svneol=native#text/plain
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_primera_mode_list_row.tpl svneol=native#text/plain
templates/de/html/member/member_primera_mode_pay.tpl svneol=native#text/plain
templates/de/html/member/member_profile_outdated.tpl svneol=native#text/plain
+templates/de/html/member/member_rallye_404.tpl svneol=native#text/plain
templates/de/html/member/member_receive_table.tpl svneol=native#text/plain
templates/de/html/member/member_ref_list.tpl svneol=native#text/plain
templates/de/html/member/member_ref_list_level.tpl svneol=native#text/plain
./templates/de/html/admin/admin_list_user_sort_form.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_reset_pass_done.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_send_reset_link.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/guest/guest_active_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/guest/guest_active_table.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/guest/guest_no_rallyes.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/guest/guest_rallye_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/guest/guest_rallye_show.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/guest/guest_rallye.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/member/member_refback_edit.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/member/member_refback_list_level.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/member/member_refback_list_row_deleted.tpl:1:<!-- @DEPRECATED //-->
'RALLYE_NEW_REFS' => "Neue Refs",
'RALLYE_STOP_AUTO_ADD_NOW' => "Auto-Beitreten neuer Mitglieder deaktivieren",
'RALLYE_START_AUTO_ADD_NOW' => "Auto-Beitreten neuer Mitglieder aktivieren",
- 'RALLYE_GUEST_REFS' => "Geworbene Mitglieder",
+ 'RALLYE_REFS' => "Geworbene Mitglieder",
'_RALLYE_PRICE' => "Platz",
'RALLYE_EXPIRE_ONE_DAY' => "Rallye endet in weniger als 24 Stunden.",
'RALLYE_HAS_EXPIRED' => "Diese Referal-Rallye ist beendet.",
'RALLYE_REMOVE_PRICES' => "Rallye-Preis(e) entfernen",
'RALLYE_NO_TEMPLATES_FOUND' => "Keine Templates gefunden.",
'ADMIN_LIST_RALLYES_PRICING' => "Auflisten von Referal-Rallyes - Preise einrichten",
+ 'GUEST_RALLYE_HAS_STARTED_TITLE' => "{?MAIN_TITLE?} - Referal-Rallye gestartet",
+ 'RALLYE_NONE_ACTIVE_TITLE' => "Keine Referal-Rallyes aktiv",
+ 'RALLYE_NONE_ACTIVE' => "Derzeit ist noch keine Rallye im Gange. Bitte kommen Sie später noch einmal wieder.",
));
// [EOF]
}
//
-function addReferalRallyeTopUsers ($rallye, $default=0) {
+function addReferalRallyeTopUsers ($mode, $rallye, $default=0) {
// Init variables
$min_users = 0; $min_prices = 0;
);
// Load row template and switch color
- $OUT .= loadTemplate('guest_rallye_row', true, $content);
+ $OUT .= loadTemplate($mode . '_list_rallye_row', true, $content);
} // END - for
// Add min_prices/users
$content['min_users'] = bigintval($min_users);
// And finnally return the output
- return loadTemplate('guest_rallye', true, $content);
+ return loadTemplate($mode . '_list_rallye', true, $content);
}
// Run this function only when a new member has confirmed his email address!
}
// @TODO This function does not load min_users, min_prices, please encapsulate loading rallye data with e.g. getRallyeDataFromId()
-function addReferalRallyeWinners ($rallye, $default=0) {
+function addReferalRallyeWinners ($mode, $rallye, $default=0) {
// First check how many prices are set
$prices = countSumTotalData(bigintval($rallye), 'rallye_prices', 'id', 'rallye_id', true);
);
// Load row template
- $OUT .= loadTemplate('guest_rallye_row', true, $content);
+ $OUT .= loadTemplate($mode . '_list_rallye_row', true, $content);
} // END - for
// Prepare content
);
// Load main template and finnally return the output
- return loadTemplate('guest_rallye', true, $content);
+ return loadTemplate($mode . '_list_rallye', true, $content);
}
//
} // END - if
// Translate comma
- $content['last_online'] = generateDateTime($last, 2);
+ $content['last_online'] = generateDateTime($content['last_online'], '2');
// Load template
- $OUT .= loadTemplate('guest_active_row', true, $content);
+ $OUT .= loadTemplate('guest_list_active_row', true, $content);
} // END - while
} else {
// No member was online today! :-(
- $OUT = loadTemplate('guest_active_none_row', true);
+ $OUT = loadTemplate('guest_list_active_row_none', true);
}
// Load template
-loadTemplate('guest_active_table', false, $OUT);
+loadTemplate('guest_list_active', false, $OUT);
// [EOF]
?>
$content['min_prices'] = determineReferalRallyeMinimumPrices($min_prices);
if ($expired === true) {
- $content['prices'] = addReferalRallyeWinners($id);
+ $content['prices'] = addReferalRallyeWinners('guest', $id);
$content['top_users'] = '<div align="center" class="big">' . $content['extras'] . '</div>';
$content['can_win_this'] = '{--RALLYE_OUR_WINNERS_ARE--}';
} else {
$content['prices'] = addReferalRallyePrices($id, 'html');
- $content['top_users'] = addReferalRallyeTopUsers($id, getMemberId());
+ $content['top_users'] = addReferalRallyeTopUsers('guest', $id, getMemberId());
$content['can_win_this'] = '{--RALLYE_YOU_CAN_WIN--}';
}
// And load final template
- loadTemplate('guest_rallye_show', false, $content);
+ loadTemplate('guest_show_rallye', false, $content);
} else {
// No rallye found so far
- loadTemplate('guest_no_rallyes');
+ loadTemplate('guest_rallye_404');
}
// Close the div tag
$content['end'] = generateDateTime($content['end_time'] , 1);
if ($expired === true) {
- $content['prices'] = addReferalRallyeWinners($content['id']);
+ $content['prices'] = addReferalRallyeWinners('member', $content['id']);
$content['top_users'] = '<div align="center" class="big">' . $content['extras'] . '</div>';
$content['can_win_this'] = '{--RALLYE_OUR_WINNERS_ARE--}';
} else {
$content['prices'] = addReferalRallyePrices($content['id'], 'html');
- $content['top_users'] = addReferalRallyeTopUsers($content['id'], getMemberId());
+ $content['top_users'] = addReferalRallyeTopUsers('member', $content['id'], getMemberId());
$content['can_win_this'] = '{--RALLYE_YOU_CAN_WIN--}';
}
// And load final template
- loadTemplate('guest_rallye_show', false, $content);
+ loadTemplate('member_show_rallye', false, $content);
} else {
// No rallye found so far
- loadTemplate('guest_no_rallyes');
+ loadTemplate('member_rallye_404');
}
// Free result
-<tr>
- <td class="{%template,ColorSwitch%} bottom right">$content[userid] ({%user,nickname,fixEmptyContentToDashes=$content[userid]%})</td>
- <td class="{%template,ColorSwitch%} bottom right">{%pipe,getTotalPoints,translateComma=$content[userid]%}</td>
- <td class="{%template,ColorSwitch%} bottom">$content[last_online]</td>
-</tr>
+<!-- @DEPRECATED //-->
-<div align="center">
-<table border="0" cellspacing="0" cellpadding="0" width="480" class="table dashed">
- <tr>
- <td colspan="3" class="table_header bottom">
- <strong>{--GUEST_ACTIVE_HEADER--}</strong>
- </td>
- </tr>
- <tr>
- <td class="header_column bottom right">
- <strong>{--_USERID--}:</strong>
- </td>
- <td class="header_column bottom right">
- <strong>{--TOTAL_POINTS--}:</strong>
- </td>
- <td class="header_column bottom">
- <strong>{--LAST_ONLINE_SHORT--}:</strong>
- </td>
- </tr>
- $content
- <tr>
- <td colspan="3" align="center" class="table_footer">
- <div class="notice tiny">{--GUEST_ACTIVE_FOOTER--}</div>
- </td>
- </tr>
-</table>
-</div>
+<!-- @DEPRECATED //-->
--- /dev/null
+<div align="center">
+<table border="0" cellspacing="0" cellpadding="0" width="480" class="table dashed">
+ <tr>
+ <td colspan="3" class="table_header bottom">
+ <strong>{--GUEST_ACTIVE_HEADER--}</strong>
+ </td>
+ </tr>
+ <tr>
+ <td class="header_column bottom right">
+ <strong>{--_USERID--}:</strong>
+ </td>
+ <td class="header_column bottom right">
+ <strong>{--TOTAL_POINTS--}:</strong>
+ </td>
+ <td class="header_column bottom">
+ <strong>{--LAST_ONLINE_SHORT--}:</strong>
+ </td>
+ </tr>
+ $content
+ <tr>
+ <td colspan="3" align="center" class="table_footer">
+ <div class="notice tiny">{--GUEST_ACTIVE_FOOTER--}</div>
+ </td>
+ </tr>
+</table>
+</div>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom right">$content[userid] ({%user,nickname,fixEmptyContentToDashes=$content[userid]%})</td>
+ <td class="{%template,ColorSwitch%} bottom right">{%pipe,getTotalPoints,translateComma=$content[userid]%}</td>
+ <td class="{%template,ColorSwitch%} bottom">$content[last_online]</td>
+</tr>
--- /dev/null
+<tr>
+ <td colspan="3" align="center" class="bottom">
+ <table border="0" cellspacing="0" cellpadding="0" width="400" class="table dashed">
+ <tr>
+ <td align="center" height="40"><strong>{--GUEST_ACTIVE_NO_MEMER_ONLINE_TODAY--}</strong>
+ </td>
+ </tr>
+ </table>
+ </td>
+</tr>
--- /dev/null
+<div align="center">
+<table border="0" cellspacing="0" cellpadding="0" width="430" class="table dashed">
+<tr>
+ <td align="center" class="header_column bottom" width="80" height="25"><strong>{--_RALLYE_PRICE--}</strong></td>
+ <td align="center" class="header_column bottom" width="50"><strong>{--_USERID--}</strong></td>
+ <td align="center" class="header_column bottom" width="300"><strong>{--RALLYE_REFS--}</strong></td>
+</tr>
+$content[rows]
+<tr>
+ <td colspan="3" class="table_footer">
+ <ul>
+ <li><div class="notice">Es werden nur aktive User gewertet.</div></li>
+ <li><div class="notice">{%pipe,determineReferalRallyeMinimumUsers=$content[min_users]%}</div></li>
+ <li><div class="notice">{%pipe,determineReferalRallyeMinimumPrices=$content[min_prices]%}</div></li>
+ <li><div class="notice">Der Rechtsweg ist ausgeschlossen.</div></li>
+ </ul>
+ </td>
+</tr>
+</table>
+</div>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom">$content[idx].</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom">$content[start].{%pipe,fixEmptyContentToDashes=$content[userid]%}.$content[end]</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom">$content[start].{%pipe,fixEmptyContentToDashes=$content[ref]%}.$content[end]</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom">$content[start].{%pipe,fixEmptyContentToDashes=$content[infos]%}.$content[end]</td>
+</tr>
-<div align="center">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td class="table_header bottom" height="25">
- <strong>Keine Referal-Rallyes aktiv!</strong>
- </td>
- </tr>
- <tr>
- <td align="center" class="bottom">
- <div style="margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px" align="center">
- Derzeit ist noch keine Rallye im Gange! Bitte kommen Sie später noch einmal wieder!
- </div>
- </td>
- </tr>
-</table>
-</div>
+<!-- @DEPRECATED //-->
-<div align="center">
-<table border="0" cellspacing="0" cellpadding="0" width="430" class="table dashed">
-<tr>
- <td align="center" class="header_column bottom" width="80" height="25"><strong>{--_RALLYE_PRICE--}</strong></td>
- <td align="center" class="header_column bottom" width="50"><strong>{--_USERID--}</strong></td>
- <td align="center" class="header_column bottom" width="300"><strong>{--RALLYE_GUEST_REFS--}</strong></td>
-</tr>
-$content[rows]
-<tr>
- <td colspan="3" class="table_footer">
- <ul>
- <li><div class="notice">Es werden nur aktive User gewertet.</div></li>
- <li><div class="notice">{%pipe,determineReferalRallyeMinimumUsers=$content[min_users]%}</div></li>
- <li><div class="notice">{%pipe,determineReferalRallyeMinimumPrices=$content[min_prices]%}</div></li>
- <li><div class="notice">Der Rechtsweg ist ausgeschlossen.</div></li>
- </ul>
- </td>
-</tr>
-</table>
-</div>
+<!-- @DEPRECATED //-->
--- /dev/null
+<div align="center">
+<div class="table dashed">
+ <div class="table_header bottom">
+ <strong>{--RALLYE_NONE_ACTIVE_TITLE--}</strong>
+ </div>
+ <div style="margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px" align="center">
+ {--RALLYE_NONE_ACTIVE--}
+ </div>
+</div>
+</div>
-<tr>
- <td class="{%template,ColorSwitch%} bottom">$content[idx].</td>
- <td align="center" class="{%template,ColorSwitch%} bottom">$content[start].{%pipe,fixEmptyContentToDashes=$content[userid]%}.$content[end]</td>
- <td align="center" class="{%template,ColorSwitch%} bottom">$content[start].{%pipe,fixEmptyContentToDashes=$content[ref]%}.$content[end]</td>
- <td align="center" class="{%template,ColorSwitch%} bottom">$content[start].{%pipe,fixEmptyContentToDashes=$content[infos]%}.$content[end]</td>
-</tr>
+<!-- @DEPRECATED //-->
-<table border="0" cellspacing="0" cellpadding="0" width="90%" class="table dashed">
- <tr>
- <td class="table_header bottom" height="25">
- <strong>Referal-Rallye gestartet!</strong>
- </td>
- </tr>
- <tr>
- <td class="bottom" align="left" style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px">
- <ul>
- <li>Titel: <strong>$content[title]</strong></li>
- <li>Start: <strong>$content[start]</strong></li>
- <li>Ende : <strong>$content[end]</strong></li>
- </ul>
- </td>
- </tr>
- <tr>
- <td class="table_header bottom" height="25">
- <strong>...:: $content[title] ::...</strong>
- </td>
- </tr>
- <tr>
- <td class="bottom">
- <div style="margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px">
- $content[descr]
- </div>
- </td>
- </tr>
- <tr>
- <td class="table_header bottom" height="25">
- <strong>$content[can_win_this]:</strong>
- </td>
- </tr>
- <tr>
- <td class="bottom">
- <div style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px">
- $content[prices]
- </div>
- </td>
- </tr>
- <tr>
- <td class="table_header bottom" height="25">
- <strong>Aktueller Stand der Rallye:</strong>
- </td>
- </tr>
- <tr>
- <td class="bottom" align="center">
- <div style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px" align="center">
- $content[top_users]
- </div>
- </td>
- </tr>
- <tr>
- <td class="table_footer" height="25">
- <div align="center" style="margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px">
- <strong>...:: $content[extras] ::...</strong>
- </div>
- </td>
- </tr>
-</table>
+<!-- @DEPRECATED //-->
--- /dev/null
+<div align="center">
+<table border="0" cellspacing="0" cellpadding="0" width="90%" class="table dashed">
+ <tr>
+ <td class="table_header bottom" height="25">
+ <strong>{--GUEST_RALLYE_HAS_STARTED_TITLE--}</strong>
+ </td>
+ </tr>
+ <tr>
+ <td class="bottom" align="left" style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px">
+ <ul>
+ <li>Titel: <strong>$content[title]</strong></li>
+ <li>Start: <strong>$content[start]</strong></li>
+ <li>Ende : <strong>$content[end]</strong></li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td class="table_header bottom" height="25">
+ <strong>...:: $content[title] ::...</strong>
+ </td>
+ </tr>
+ <tr>
+ <td class="bottom">
+ <div style="margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px">
+ $content[descr]
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td class="table_header bottom" height="25">
+ <strong>$content[can_win_this]:</strong>
+ </td>
+ </tr>
+ <tr>
+ <td class="bottom">
+ <div style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px">
+ $content[prices]
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td class="table_header bottom" height="25">
+ <strong>Aktueller Stand der Rallye:</strong>
+ </td>
+ </tr>
+ <tr>
+ <td class="bottom" align="center">
+ <div style="margin-left: 5px; margin-right: 5px; margin-top: 10px; margin-bottom: 10px" align="center">
+ $content[top_users]
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td class="table_footer" height="25">
+ <div align="center" style="margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px">
+ <strong>...:: $content[extras] ::...</strong>
+ </div>
+ </td>
+ </tr>
+</table>
+</div>
--- /dev/null
+<div align="center">
+<table border="0" cellspacing="0" cellpadding="0" width="430" class="table dashed">
+<tr>
+ <td align="center" class="header_column bottom" width="80" height="25"><strong>{--_RALLYE_PRICE--}</strong></td>
+ <td align="center" class="header_column bottom" width="50"><strong>{--_USERID--}</strong></td>
+ <td align="center" class="header_column bottom" width="300"><strong>{--RALLYE_REFS--}</strong></td>
+</tr>
+$content[rows]
+<tr>
+ <td colspan="3" class="table_footer">
+ <ul>
+ <li><div class="notice">Es werden nur aktive User gewertet.</div></li>
+ <li><div class="notice">{%pipe,determineReferalRallyeMinimumUsers=$content[min_users]%}</div></li>
+ <li><div class="notice">{%pipe,determineReferalRallyeMinimumPrices=$content[min_prices]%}</div></li>
+ <li><div class="notice">Der Rechtsweg ist ausgeschlossen.</div></li>
+ </ul>
+ </td>
+</tr>
+</table>
+</div>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom">$content[idx].</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom">$content[start].{%pipe,fixEmptyContentToDashes=$content[userid]%}.$content[end]</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom">$content[start].{%pipe,fixEmptyContentToDashes=$content[ref]%}.$content[end]</td>
+ <td align="center" class="{%template,ColorSwitch%} bottom">$content[start].{%pipe,fixEmptyContentToDashes=$content[infos]%}.$content[end]</td>
+</tr>
--- /dev/null
+<div align="center">
+<div class="table dashed">
+ <div class="table_header bottom">
+ <strong>{--RALLYE_NONE_ACTIVE_TITLE--}</strong>
+ </div>
+ <div style="margin-left: 5px; margin-right: 5px; margin-top: 3px; margin-bottom: 3px" align="center">
+ {--RALLYE_NONE_ACTIVE--}
+ </div>
+</div>
+</div>