]> git.mxchange.org Git - mailer.git/commitdiff
Next wave of more use of EL, see ticket #176
authorRoland Häder <roland@mxchange.org>
Sun, 20 Jun 2010 20:23:59 +0000 (20:23 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 20 Jun 2010 20:23:59 +0000 (20:23 +0000)
52 files changed:
inc/extensions/ext-rallye.php
inc/language/de.php
inc/language/online_de.php
inc/libs/doubler_functions.php
inc/libs/refback_functions.php
inc/libs/surfbar_functions.php
inc/libs/task_functions.php
inc/mails/doubler_mails.php
inc/modules/admin/what-config_mediadata.php
inc/modules/admin/what-list_sponsor_pay.php
inc/modules/guest/action-online.php
inc/modules/guest/what-active.php
inc/modules/guest/what-sponsor_infos.php
inc/modules/guest/what-top10.php
inc/modules/guest/what-welcome.php
inc/modules/member/what-beg.php
inc/modules/member/what-beg2.php
inc/modules/member/what-bonus.php
inc/modules/member/what-payout.php
inc/modules/member/what-primera.php
inc/modules/member/what-stats.php
inc/modules/member/what-surfbar_book.php
inc/modules/member/what-surfbar_start.php
inc/mysql-manager.php
inc/pool/pool-bonus.php
inc/pool/pool-user.php
inc/wrapper-functions.php
templates/de/emails/add-points.tpl
templates/de/emails/admin/admin_refback.tpl
templates/de/emails/back-member.tpl
templates/de/emails/bonus-mail.tpl
templates/de/emails/member/member_doubler.tpl
templates/de/emails/member/member_refback.tpl
templates/de/emails/member/member_surfbar_low_points.tpl
templates/de/emails/normal-mail.tpl
templates/de/html/guest/guest_active_row.tpl
templates/de/html/guest/guest_doubler_list_rows.tpl
templates/de/html/guest/guest_sponsor_pay_row.tpl
templates/de/html/guest/guest_top10_row_earner.tpl
templates/de/html/guest/guest_top10_row_login.tpl
templates/de/html/guest/guest_top10_row_refs.tpl
templates/de/html/member/member_bonus_row.tpl
templates/de/html/member/member_doubler_list_rows.tpl
templates/de/html/member/member_list_beg_row.tpl
templates/de/html/member/member_payout_row.tpl
templates/de/html/member/member_primera_mode_list_row.tpl
templates/de/html/member/member_stats_row.tpl
templates/de/html/member/member_surfbar_book_dynamic.tpl
templates/de/html/member/member_surfbar_start_dynamic.tpl
templates/de/html/member/member_surfbar_start_static.tpl
templates/de/html/online_now.tpl
templates/de/html/welcome.tpl

index c6a84c8db393590a824b1f3ad43643813a834507..f3fc2aed8a17dc31f95f16b1828d2da0636ddefd 100644 (file)
@@ -331,7 +331,7 @@ Zudem sollten Sie mindestens folgende Templates (in <strong>templates/".getLangu
                // @TODO Move this code into rallye_functions.php
                if (getOutputMode() != 1) {
                        // Get total member count
-                       $total = countSumTotalData('CONFIRMED', 'user_data', 'userid', 'status', true);
+                       $total = getTotalConfirmedUser();
 
                        // Add more data on higher versions
                        $ADD1 = ''; $ADD2 = ''; $OR = '';
index 97bfc75aa3d6a0b86e918c49ada8bbf422dca37c..9c261f7db30224e36241c8dbaa672b1b7ef7c1ac 100644 (file)
@@ -639,9 +639,6 @@ addMessages(array(
        'REF_VIEWS' => "Views",
        'REFBANNER_TOTALS' => "Gesamt",
        'DAYS' => "Tage",
-       'GUESTS_ONLINE' => "G&auml;ste",
-       'MEMBERS_ONLINE' => "Mitglieder",
-       'ADMINS_ONLINE' => "Administratoren",
        'USER_NOW_ONLINE' => "User Online",
        'ADMIN_ONLINE_DETAILS' => "Detailierte Statistik f&uuml;r alle Besucher",
        '_REFID' => "Ref-Id",
index 98bdad07ac85ae46b92e910609cecddd5500b214..d523bf703a0c57eb346c449f23d4c583a73e4719 100644 (file)
@@ -45,6 +45,10 @@ if (!defined('__SECURITY')) {
 // Language definitions
 addMessages(array(
        'ONLINE_STATISTICS_DEACTIVATED' => "Online-Statistik deaktivert.",
+       'GUESTS_ONLINE' => "G&auml;ste",
+       'MEMBERS_ONLINE' => "Mitglieder",
+       'ADMINS_ONLINE' => "Administratoren",
+       'TOTAL_ONLINE' => "Gesamt",
 ));
 
 // [EOF]
index b6eddaf4432c2349b6baacf6ab2f3428feb7ccb3..c299e11eea0adf13cb9f86ac7cdb8dbfe7bd70a8 100644 (file)
@@ -91,6 +91,7 @@ LIMIT %s",
                $OUT = ''; $SW = 2;
                while ($content = SQL_FETCHARRAY($result)) {
                        // Rewrite userid/refid only if admin is in
+                       // @TODO Can't this be moved into EL?
                        if (isAdmin()) {
                                // Set links to admin area
                                if ($content['userid'] > 0) { $content['userid'] = generateUserProfileLink($content['userid']); } else { $content['userid'] = '---'; }
@@ -101,7 +102,7 @@ LIMIT %s",
                        $content = array(
                                'userid'   => $content['userid'],
                                'rid'      => $content['refid'],
-                               'points'   => translateComma($content['points']),
+                               'points'   => $content['points'],
                                'timemark' => generateDateTime($content['timemark'], $DT_MODE),
                                'sw'       => $SW,
                        );
@@ -109,17 +110,17 @@ LIMIT %s",
                        // Load template and switch color
                        $OUT .= loadTemplate($mode . '_doubler_list_rows', true, $content);
                        $SW = 3 - $SW;
-               }
+               } // END - while
 
                // Free memory
                SQL_FREERESULT($result);
        } else {
                // List no entries
-               $OUT = "<tr>
-  <td colspan=\"".$COLS."\" align=\"center\" class=\"doubler_big_row bottom\">
-    ".loadTemplate('admin_settings_saved', true, $message)."
+               $OUT = '<tr>
+  <td colspan="' . $COLS . '" align="center" class="doubler_big_row bottom">
+    ' . loadTemplate('admin_settings_saved', true, $message) . '
   </td>
-</tr>\n";
+</tr>';
        }
 
        // Return template
index 9278ccc5554807e2534dbfd703434e63bac77664..5dc539c2e7ad52e091f99f3de2770139ce2b1386 100644 (file)
@@ -394,21 +394,16 @@ function updateMemberRefbackPercents ($id, $percents) {
        } // END - if
 
        // Prepare email content
-       $content = array(
-               'percents' => translateComma($percents),
-               'refid'    => $dummy['refid'],
-               'level'    => $dummy['level'],
-               'points'   => translateComma($dummy['points']),
-       );
+       $dummy['percents'] = $percents;
 
        // Load member email template
-       $mail = loadEmailTemplate('member_refback', $content, $dummy['refid']);
+       $mail = loadEmailTemplate('member_refback', $dummy, $dummy['refid']);
 
        // Send email to user
        sendEmail($dummy['refid'], getMessage('MEMBER_REFBACK_SUBJECT'), $mail);
 
        // Send admin notification
-       sendAdminNotification(getMessage('ADMIN_REFBACK_SUBJECT'), 'admin_refback', $content, getMemberId());
+       sendAdminNotification(getMessage('ADMIN_REFBACK_SUBJECT'), 'admin_refback', $dummy, getMemberId());
 
        // All fine!
        $status['ok'] = true;
@@ -417,5 +412,6 @@ function updateMemberRefbackPercents ($id, $percents) {
        //* DEBUG: */ print("</li></ul>----------------------- <font color=\"#aa0000\">".__FUNCTION__." - EXIT</font> ------------------------<br />");
        return $status;
 }
-//
+
+// [EOF]
 ?>
index 2260039884b7d13acea6878d27bb9bfd2911fb5d..26f2aef2342e3771b9c47e22c14dcd81115e3ff1 100644 (file)
@@ -494,10 +494,8 @@ function SURFBAR_HANDLE_LOW_POINTS () {
                        // Prepare content
                        $content = array(
                                'userid'   => $userid,
-                               'low'      => translateComma(getConfig('surfbar_warn_low_points')),
-                               'points'   => translateComma($userids['points'][$userid]),
-                               'notified' => generateDateTime($userids['notified'][$userid]),
-                               'interval' => createFancyTime(getConfig('surfbar_low_interval'))
+                               'points'   => $userids['points'][$userid],
+                               'notified' => $userids['notified'][$userid]
                        );
 
                        // Notify this user
@@ -1335,7 +1333,7 @@ function SURFBAR_CALCULATE_DYNAMIC_MIN_VALUE () {
        $percent = abs(log(getConfig('surfbar_dynamic_percent') / 100 + 1));
 
        // Get total users
-       $totalUsers = countSumTotalData('CONFIRMED', 'user_data', 'userid', 'status', true);
+       $totalUsers = getTotalConfirmedUser();
 
        // Get online users
        $onlineUsers = SURFBAR_DETERMINE_TOTAL_ONLINE();
@@ -1372,7 +1370,7 @@ function SURFBAR_CALCULATE_DYNAMIC_MAX_VALUE () {
        $percent = abs(log(getConfig('surfbar_dynamic_percent') / 100 + 1));
 
        // Get total users
-       $totalUsers = countSumTotalData('CONFIRMED', 'user_data', 'userid', 'status', true);
+       $totalUsers = getTotalConfirmedUser();
 
        // Calculate addon
        $addon += abs($max * $percent * $totalUsers);
index d4eee50672d8a5709b685595f14f028f48176716..4b85d3da37d46554f8ee81278a61b72668b6fde8 100644 (file)
@@ -94,7 +94,7 @@ function outputAdvancedOverview (&$result_main) {
        // First check for all account status seperately
        //
        // Confirmed accounts
-       $value = countSumTotalData('CONFIRMED', 'user_data', 'userid', 'status', true);
+       $value = getTotalConfirmedUser();
 
        if ($value > 0) {
                $content['confirmed_members'] = '<a href="{%url=modules.php?module=admin&amp;what=list_user&amp;status=confirmed%}">' . $value . '</a>';
index 9101070df0ec572b15a1c66be8ceddf1b8e04a0f..975fae07e96946c894b5887f3ce3e9a5ded1b5e4 100644 (file)
@@ -177,13 +177,13 @@ if (((SQL_NUMROWS($result_total) > 0) && (getConfig('doubler_sent_all') == 'Y'))
                        // Prepare array
                        $content = array(
                                // Doubler transmission id
-                               'id'     => $content['id'],
+                               'id'        => $content['id'],
                                // Doubled points
-                               'points' => translateComma($content['points']),
+                               'points'    => $content['points'],
                                // Timemark
-                               'when'   => generateDateTime($content['timemark'], 2),
+                               'timemark'  => generateDateTime($content['timemark'], 2),
                                // IP number when the member submitted the doubling form
-                               'ip'     => $content['remote_ip'],
+                               'remote_ip' => $content['remote_ip'],
                        );
 
                        // Load mail template and send mail away...
index 3bceffb98487fdbaf0c7abd21c9a531aae16311a..dbacb56b841fe94cde72c7e0bdf8ad57eb3d69c2 100644 (file)
@@ -63,7 +63,7 @@ if (isFormSent()) {
 
        // Convert some data
        setPostRequestParameter('mt_stage', bigintval(postRequestParameter('mt_stage')));
-       if (postRequestParameter('mt_stage') <= countSumTotalData('CONFIRMED', 'user_data', 'userid', 'status', true)) {
+       if (postRequestParameter('mt_stage') <= getTotalConfirmedUser()) {
                // Not enougth!
                unsetPostRequestParameter('ok');
        }
index 4d8ed2f88b22306c34dd3eeeba0f0294887ad236..eb33c3789fe549ea43347862383558a6c8ca7d7a 100644 (file)
@@ -128,13 +128,13 @@ if (isFormSent('add')) {
                // Payment type added!
                $message = getMaskedMessage('ADMIN_SPONSOR_PAYTYPE_ADDED', postRequestParameter('pay_name'));
        } else {
-               // Free memory
-               SQL_FREERESULT($result);
-
                // Entry does already exists
                $message = getMaskedMessage('ADMIN_SPONSOR_PAYTYPE_ALREADY', postRequestParameter('pay_name'));
        }
 
+       // Free memory
+       SQL_FREERESULT($result);
+
        // Output message
        loadTemplate('admin_settings_saved', false, $message);
 } elseif ((isFormSent('edit')) || (isFormSent('del'))) {
@@ -185,8 +185,13 @@ if (isFormSent('add')) {
        }
 } else {
        // Load all payment types
-       $result = SQL_QUERY("SELECT `id`, `pay_name`, `pay_rate`, `pay_min_count`, `pay_currency` FROM `{?_MYSQL_PREFIX?}_sponsor_paytypes` ORDER BY `pay_name` ASC",
-       __FILE__, __LINE__);
+       $result = SQL_QUERY("SELECT
+       `id`, `pay_name`, `pay_rate`, `pay_min_count`, `pay_currency`
+FROM
+       `{?_MYSQL_PREFIX?}_sponsor_paytypes`
+ORDER BY
+       `pay_name` ASC",
+               __FILE__, __LINE__);
 
        // Do we have some paytypes setup?
        if (SQL_NUMROWS($result) > 0) {
@@ -212,9 +217,6 @@ if (isFormSent('add')) {
                        $SW = 3 - $SW;
                } // END - while
 
-               // Free memory
-               SQL_FREERESULT($result);
-
                // Load list template
                $content['list_out'] = loadTemplate('admin_list_sponsor_pay', true, $OUT);
        } else {
@@ -222,6 +224,9 @@ if (isFormSent('add')) {
                $content['list_out'] = loadTemplate('admin_settings_saved', true, getMessage('ADMIN_SPONSOR_NO_PAYTYPES'));
        }
 
+       // Free memory
+       SQL_FREERESULT($result);
+
        // Add new payment types here
        $content['add_out'] = loadTemplate('admin_add_sponsor_paytype', true);
 
index 0622b60eb06cc56573267c81822286758d3fc078..db8745d675888b036625c29d36bef6083207d16e 100644 (file)
@@ -58,10 +58,10 @@ if (getConfig('mad_count') < $total) {
 
 // Prepare content
 $content = array(
-       'guests'  => translateComma(countSumTotalData('N', 'online', 'id', 'is_admin', true, " AND `is_member`='N'")),
-       'members' => translateComma(countSumTotalData('N', 'online', 'id', 'is_admin', true, " AND `is_member`='Y'")),
-       'admins'  => translateComma(countSumTotalData('Y', 'online', 'id', 'is_admin', true)),
-       'total'   => translateComma($total)
+       'guests'  => countSumTotalData('N', 'online', 'id', 'is_admin', true, " AND `is_member`='N'"),
+       'members' => countSumTotalData('N', 'online', 'id', 'is_admin', true, " AND `is_member`='Y'"),
+       'admins'  => countSumTotalData('Y', 'online', 'id', 'is_admin', true),
+       'total'   => $total
 );
 
 // Output table
index ec9c8447044bb167d6b9654f06be5cf053a00055..bf342cfea86888313db1b12d43ff4e6af3582ac8 100644 (file)
@@ -80,7 +80,7 @@ if (SQL_NUMROWS($result) > 0) {
                        'sw'          => $SW,
                        'userid'      => $userid,
                        'nickname'    => $nick2,
-                       'points'      => translateComma(countSumTotalData($userid, 'user_points', 'points') - countSumTotalData($userid, 'user_data', 'used_points')),
+                       'points'      => (countSumTotalData($userid, 'user_points', 'points') - countSumTotalData($userid, 'user_data', 'used_points')),
                        'last_online' => generateDateTime($last, 2),
                );
 
index a25f9a99ede5cb99edb150e527521e4d10393b45..28019f4e7c03115a4ce4597b7058c319d4570144 100644 (file)
@@ -81,21 +81,13 @@ if (SQL_NUMROWS($result_act) > 0) {
        } // END - while
 
        // Check for pay types
-       $result_pay = SQL_QUERY('SELECT pay_name, pay_rate, pay_min_count, pay_currency FROM `{?_MYSQL_PREFIX?}_sponsor_paytypes` ORDER BY pay_name', __FILE__, __LINE__);
+       $result_pay = SQL_QUERY('SELECT `pay_name`, `pay_rate`, `pay_min_count`, `pay_currency` FROM `{?_MYSQL_PREFIX?}_sponsor_paytypes` ORDER BY `pay_name` ASC', __FILE__, __LINE__);
        if (SQL_NUMROWS($result_pay) > 0) {
                // Load all pay types
                $OUT_PAY = ''; $SW = 2;
                while ($content = SQL_FETCHARRAY($result_pay)) {
                        // Prepare data for the row template
-                       // @TODO Rewritings: name->pay_name,min->pay_min_count,min->pay_min_count,curr->pay_currency
-                       $content = array(
-                               'sw'    => $SW,
-                               'name'  => $content['pay_name'],
-                               'rate'  => translateComma($content['pay_rate']),
-                               'min'   => $content['pay_min_count'],
-                               'curr'  => $content['pay_currency'],
-                               'price' => translateComma($content['pay_min_count']),
-                       );
+                       $content['sw'] => $SW;
 
                        // Load row template and switch color
                        $OUT_PAY .= loadTemplate('guest_sponsor_pay_row', true, $content);
index f877c265376c1c5d38e1bf61ef37b5970890e90d..44193f3aff79776d3e6dfb1100db816951d05b33 100644 (file)
@@ -80,7 +80,7 @@ while ($content = SQL_FETCHARRAY($result)) {
                'userid'       => $content['userid'],
                'nickname'     => $content['nickname'],
                'total_logins' => $content['total_logins'],
-               'points'       => translateComma(countSumTotalData($content['userid'], 'user_points', 'points')),
+               'points'       => (countSumTotalData($content['userid'], 'user_points', 'points')),
                'last_online'  => generateDateTime($content['last_online'], 3),
        );
 
@@ -147,7 +147,7 @@ while ($content = SQL_FETCHARRAY($result)) {
                'cnt'         => $cnt,
                'userid'      => $content['userid'],
                'nickname'    => $content['nickname'],
-               'points'      => translateComma($content['points']),
+               'points'      => $content['points'],
                'last_online' => generateDateTime($content['last_online'], 3)
        );
 
@@ -215,7 +215,7 @@ while ($content = SQL_FETCHARRAY($result)) {
                'userid'      => $content['userid'],
                'refs'        => $content['refs'],
                'nickname'    => $content['nickname'],
-               'points'      => translateComma(countSumTotalData($content['userid'], 'user_points', 'points')),
+               'points'      => (countSumTotalData($content['userid'], 'user_points', 'points')),
                'last_online' => generateDateTime($content['last_online'], 3)
        );
 
index 58569f567307d8a5d362d15183f36027ef6b9d8a..91f3becd65379d918012b2fe31a75fb936cf6902 100644 (file)
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // Add description as navigation point
 addMenuDescription('guest', __FILE__);
 
-// Count referal levels
-$result = SQL_QUERY("SELECT COUNT(`id`) FROM `{?_MYSQL_PREFIX?}_refdepths` WHERE `level` > 0", __FILE__, __LINE__);
-
-// Fetch rows
-list($cnt) = SQL_FETCHROW($result);
-
-// Free result
-SQL_FREERESULT($result);
-
 // Prepare content
-$content = array(
-       'register'   => translateComma(getConfig('points_register')),
-       'ref_levels' => $cnt,
-       'ref_points' => translateComma(getConfig('points_ref'))
-);
+$content['ref_levels'] = countSumTotalData('', 'refdepths', 'id', '', true, ' WHERE `level` > 0');
 
 // Load default template
-loadTemplate(substr(basename(__FILE__), 5, -4), false, $content);
+loadTemplate('welcome', false, $content);
 
 // [EOF]
 ?>
index 0780e5e466fd8d5352ec13e08a15b91cd472e0ed..624d1483d4ca1f1afca182cb3eefba33cad5545b 100644 (file)
@@ -53,6 +53,7 @@ if ((!isExtensionActive('beg')) && (!isAdmin())) {
 } // END - if
 
 // Prepare constants
+// @TODO Can't this be moved into EL?
 if ((isExtensionActive('nickname')) && (getUserData('nickname') != '')) {
        // Get nickname
        $content['userid'] = getUserData('nickname');
index b448c2f40f48d68e487d2e2667d25deddb331979..b6632bb791273dcd4bd802b935bdcda02500a930 100644 (file)
@@ -59,21 +59,25 @@ $ONLINE = '';
 if (isExtensionActive('autopurge')) {
        // Use last online timestamp to keep inactive members away from here
        $lastOnline   = " AND `last_online` >= (UNIX_TIMESTAMP() - %s)";
-       $ONLINE = getConfig('ap_inactive_since');
+       $ONLINE = '{?ap_inactive_since?}';
 } // END - if
 
 // Let's check if there are some points left we can 'pay'...
 $result = SQL_QUERY_ESC("SELECT
-       `userid`, `beg_points` AS beg, `last_online`
+       `userid`, `beg_points` AS points, `last_online`
 FROM
        `{?_MYSQL_PREFIX?}_user_data`
 WHERE
-       `beg_points` > 0 AND `status`='CONFIRMED'" . $lastOnline . "
+       `beg_points` > 0 AND
+       `status`='CONFIRMED'
+       " . $lastOnline . "
 ORDER BY
-       `beg_points` DESC, `last_online` DESC, `userid` ASC LIMIT %s",
+       `beg_points` DESC,
+       `last_online` DESC,
+       `userid` ASC
+LIMIT {?beg_ranks?}",
        array(
-               $ONLINE,
-               getConfig('beg_ranks')
+               $ONLINE
        ), __FILE__, __LINE__);
 
 // Reset temporary variable and check for users
@@ -84,11 +88,11 @@ if (SQL_NUMROWS($result) > 0) {
        while ($content = SQL_FETCHARRAY($result)) {
                // Prepare data for the template
                $content = array(
-                       'sw'     => $SW,
-                       'cnt'    => $cnt,
-                       'userid'    => bigintval($content['userid']),
-                       'points' => translateComma($content['beg']),
-                       'last_online'   => generateDateTime($content['last_online'], 2),
+                       'sw'          => $SW,
+                       'cnt'         => $cnt,
+                       'userid'      => $content['userid'],
+                       'points'      => $content['points'],
+                       'last_online' => generateDateTime($content['last_online'], 2),
                );
 
                // Load row template
@@ -96,7 +100,7 @@ if (SQL_NUMROWS($result) > 0) {
 
                // Count one up and switch colors
                $cnt++; $SW = 3 - $SW;
-       }
+       } // END - while
 } else {
        // No one is interested in our "active rallye" ! :-(
        $OUT = loadTemplate('member_beg_404', true);
@@ -111,5 +115,5 @@ SQL_FREERESULT($result);
 // Load final template
 loadTemplate('member_list_beg', false, $content);
 
-//
+// [EOF]
 ?>
index 8d84a59412adb76a3fbf5b85c83db6c414d8e9d2..0125ce192d1327cb17828e55d3e1386545f476cf 100644 (file)
@@ -68,12 +68,12 @@ if (isExtensionInstalledAndNewer('bonus', '0.6.9')) {
 }
 
 // Autopurge installed?
-$lastOnline = "%s"; $ONLINE = '';
+$lastOnline = '%s'; $ONLINE = '';
 if (isExtensionActive('autopurge')) {
        // Use last online timestamp to keep inactive members away from here
        $lastOnline   = " AND `last_online` >= (UNIX_TIMESTAMP() - %s)";
        $ONLINE = getConfig('ap_inactive_since');
-}
+} // END - if
 
 // Let's check if there are some points left we can 'pay'...
 $result = SQL_QUERY_ESC("SELECT
@@ -81,15 +81,16 @@ $result = SQL_QUERY_ESC("SELECT
 FROM
        `{?_MYSQL_PREFIX?}_user_data`
 WHERE
-       " . $USE . " > 0 AND `status`='CONFIRMED'" . $lastOnline . "
+       " . $USE . " > 0 AND
+       `status`='CONFIRMED'
+       " . $lastOnline . "
 ORDER BY
        `points` DESC,
        last_online DESC,
        userid ASC
-LIMIT %s",
+LIMIT {?bonus_ranks?}",
        array(
-               $ONLINE,
-               getConfig('bonus_ranks')
+               $ONLINE
        ), __FILE__, __LINE__);
 
 // Reset temporary variable and check for users
@@ -100,11 +101,11 @@ if (SQL_NUMROWS($result) > 0) {
        while ($content = SQL_FETCHARRAY($result)) {
                // Prepare data for the template
                $content = array(
-                       'sw'     => $SW,
-                       'cnt'    => $cnt,
-                       'userid'    => bigintval($content['userid']),
-                       'points' => translateComma($content['points']),
-                       'last_online'   => generateDateTime($content['last_online'], 2)
+                       'sw'          => $SW,
+                       'cnt'         => $cnt,
+                       'userid'      => $content['userid'],
+                       'points'      => $content['points'],
+                       'last_online' => generateDateTime($content['last_online'], 2)
                );
 
                // Load row template
@@ -112,7 +113,7 @@ if (SQL_NUMROWS($result) > 0) {
 
                // Count one up and switch colors
                $cnt++; $SW = 3 - $SW;
-       }
+       } // END - while
 } else {
        // No one is interested in our "active rallye" ! :-(
        $OUT = loadTemplate('member_bonus_404', true);
index 73ebf494d79309ac7d27908006c756ecdb24f5ac..a73ae1afca13e3e620fa46a4b3dd81df638f2838 100644 (file)
@@ -124,10 +124,11 @@ ORDER BY
                                $content = array(
                                        'sw'               => $SW,
                                        'target_account'   => $content['target_account'],
-                                       'points'           => translateComma($content['payout_total']) . ' ' . $content['type'],
+                                       'payout_total'     => $content['payout_total'],
                                        'target_bank'      => $content['target_bank'],
                                        'payout_timestamp' => generateDateTime($content['payout_timestamp'], 2),
-                                       'status'           => $content['status']
+                                       'status'           => $content['status'],
+                                       'type'             => $content['type'],
                                );
 
                                // Load row template and switch colors
index 854c6f247d1c5a45346a44b64d6d4d7c2879c27e..b8f8557b5c74942216b84da8af8f38f98243d147 100644 (file)
@@ -83,14 +83,7 @@ if (!isGetRequestParameterSet('mode')) {
                $content['rows'] = ''; $SW = 2;
                while ($data = SQL_FETCHARRAY($result)) {
                        // Prepare data for output
-                       $rowContent = array(
-                               'primera_timestamp' => generateDateTime($data['primera_timestamp'], 2),
-                               'points'            => translateComma($data['primera_amount']),
-                               'primera_account'   => SQL_ESCAPE($data['primera_account']),
-                               'status'            => PRIMERA_TRANSFER_STATUS($data['primera_type']),
-                               'raw_type'          => strtolower($data['primera_type']),
-                               'sw'                => $SW,
-                       );
+                       $rowContent['primera_timestamp'] = generateDateTime($data['primera_timestamp'], 2);
 
                        // Load row template
                        $content['rows'] .= loadTemplate('member_primera_mode_list_row', true, $rowContent);
index 42cd192d7293673e3e2a193478aaf1da04b06874..fb156eb909278fbd171e81e284e3d3996005d4e3 100644 (file)
@@ -56,7 +56,8 @@ $result = SQL_QUERY_ESC("SELECT
 FROM
        `{?_MYSQL_PREFIX?}_pool`
 WHERE
-       `sender`=%s AND `data_type` != 'SEND'
+       `sender`=%s AND
+       `data_type` != 'SEND'
 ORDER BY
        `timestamp` DESC",
        array(getMemberId()), __FILE__, __LINE__);
@@ -65,22 +66,22 @@ ORDER BY
 if (SQL_NUMROWS($result) > 0) {
        // Load all orders
        $OUT = ''; $SW = 2;
-       while ($data = SQL_FETCHARRAY($result)) {
+       while ($content = SQL_FETCHARRAY($result)) {
                // Is the ZIP code set? If not, set dashes
-               if (empty($data['zip'])) $data['zip'] =  '---';
+               if (empty($content['zip'])) $content['zip'] =  '---';
 
                // Prepare content for output
                $content = array(
                        'sw'          => $SW,
-                       'id'          => $data['id'],
-                       'cat'         => getCategory($data['cat_id']),
-                       'pay'         => getPaymentTitlePrice($data['payment_id']),
-                       'subject'     => $data['subject'],
-                       'url'         => generateDerefererUrl($data['url']),
-                       'timestamp'   => generateDateTime($data['timestamp'], 2),
-                       'target_send' => $data['target_send'],
-                       'type'        => translatePoolType($data['data_type']),
-                       'zip'         => $data['zip']
+                       'id'          => $content['id'],
+                       'cat'         => getCategory($content['cat_id']),
+                       'pay'         => getPaymentTitlePrice($content['payment_id']),
+                       'subject'     => $content['subject'],
+                       'url'         => generateDerefererUrl($content['url']),
+                       'timestamp'   => generateDateTime($content['timestamp'], 2),
+                       'target_send' => $content['target_send'],
+                       'type'        => translatePoolType($content['data_type']),
+                       'zip'         => $content['zip']
                );
 
                // Load template
@@ -116,24 +117,23 @@ if (SQL_NUMROWS($result) > 0) {
        $OUT = ''; $SW = 2;
        while ($content = SQL_FETCHARRAY($result)) {
                // Prepare data for the template
-               // @TODO Rewrite in template: clix->clicks
                $content = array(
                        'sw'                => $SW,
-                       'cat'               => getCategory($content['cat_id']),
-                       'pay'               => getPaymentTitlePrice($content['payment_id']),
-                       'url'               => generateDerefererUrl($content['url']),
+                       'cat_id'            => $content['cat_id'],
+                       'payment_id'        => $content['payment_id'],
+                       'url'               => $content['url'],
                        'timestamp_ordered' => generateDateTime($content['timestamp_ordered'], 2),
-                       'target_send'       => $content['max_rec'],
-                       'sent'              => generateDateTime($content['timestamp_send'], 2),
-                       'clix'              => $content['clicks'],
+                       'max_rec'           => $content['max_rec'],
+                       'timestamp_sent'    => generateDateTime($content['timestamp_send'], 2),
+                       'clicks'            => $content['clicks'],
                        'subject'           => $content['subject'],
-                       'percents'          => translateComma($content['clicks'] / $content['max_rec'] * 100)."%",
+                       'percents'          => ($content['clicks'] / $content['max_rec'] * 100),
                );
 
                // Load row template and switch colors
                $OUT .= loadTemplate('member_stats_row', true, $content);
                $SW = 3 - $SW;
-       }
+       } // END - if
 
        // Load main template
        $main_content['stats'] = loadTemplate('member_stats_table', true, $OUT);
index 635640e598799fb81c2296c3082eaede1a8fd15c..1fb968bbf247f5c252f698ddafbba24d2dbfe4a6 100644 (file)
@@ -64,12 +64,12 @@ if (!SURFBAR_IF_USER_BOOK_MORE_URLS()) {
                setPostRequestParameter('limit', 0);
        } // END - if
 
-       // Register the new URL
-       $insertId = SURFBAR_MEMBER_ADD_URL(postRequestParameter('url'), postRequestParameter('limit'));
-
        // By default something went wrong
        $message = getMessage('MEMBER_SURFBAR_URL_NOT_ADDED');
 
+       // Register the new URL
+       $insertId = SURFBAR_MEMBER_ADD_URL(postRequestParameter('url'), postRequestParameter('limit'));
+
        // Was this fine?
        if ($insertId > 0) {
                // URL added and waiting for unlock
@@ -81,15 +81,13 @@ if (!SURFBAR_IF_USER_BOOK_MORE_URLS()) {
 } else {
        // Prepare some content
        $content = array(
-               'reward'     => translateComma(SURFBAR_DETERMINE_REWARD(true)),
-               'costs'      => translateComma(SURFBAR_DETERMINE_COSTS(true)),
-               'max_order'  => getConfig('surfbar_max_order'),
-               'curr_order' => SURFBAR_GET_TOTAL_USER_URLS()
+               'reward'     => SURFBAR_DETERMINE_REWARD(true),
+               'costs'      => SURFBAR_DETERMINE_COSTS(true),
        );
 
        // Load surfbar order form
        loadTemplate(sprintf("member_surfbar_book_%s", strtolower(getConfig('surfbar_pay_model'))), false, $content);
 }
 
-//
+// [EOF]
 ?>
index 6ce70f50cad61970602a55131ee343ff5cac3abe..26f8c725230ce957684824582f4422ca523258c4 100644 (file)
@@ -54,28 +54,14 @@ if ((!isExtensionActive('surfbar')) && (!isAdmin())) {
 
 // Prepare content for output
 $content = array(
-       'surfbar_static_reward' => translateComma(getConfig('surfbar_static_reward')),
-       'surfbar_static_time'   => createFancyTime(getConfig('surfbar_static_time')),
-       'surfbar_static_lock'   => createFancyTime(getConfig('surfbar_static_lock')),
        'surfbar_total_urls'    => SURFBAR_GET_TOTAL_URLS('ACTIVE', 0)
 );
 
 // In dynamic mode we need some more data
 if (getConfig('surfbar_pay_model') == 'DYNAMIC') {
-       // Total URLs
+       // Prepare content for dynamic surfbar
        $content = array(
-               'surfbar_dynamic_percent' => translateComma(getConfig('surfbar_dynamic_percent')),
-               'surfbar_total_urls'      => SURFBAR_GET_TOTAL_URLS('ACTIVE', 0),
-               'surfbar_user_urls'       => SURFBAR_GET_TOTAL_USER_URLS(),
-               'surfbar_total_online'    => SURFBAR_DETERMINE_TOTAL_ONLINE(),
-               'surfbar_total_users'     => translateComma(countSumTotalData('CONFIRMED', 'user_data', 'userid', 'status', true)),
-               'surfbar_min_reward'      => translateComma(SURFBAR_CALCULATE_DYNAMIC_MIN_VALUE()),
-               'surfbar_max_reward'      => translateComma(SURFBAR_CALCULATE_DYNAMIC_MAX_VALUE()),
-               'surfbar_min_time'        => createFancyTime(SURFBAR_CALCULATE_DYNAMIC_MIN_VALUE()),
-               'surfbar_max_time'        => createFancyTime(SURFBAR_CALCULATE_DYNAMIC_MAX_VALUE()),
-               'surfbar_dynamic_lock'    => createFancyTime(SURFBAR_CALCULATE_DYNAMIC_LOCK()),
-               'surfbar_static_reward'   => translateComma(getConfig('surfbar_static_reward')),
-               'surfbar_static_time'     => createFancyTime(getConfig('surfbar_static_time'))
+               'surfbar_total_urls'  => SURFBAR_GET_TOTAL_URLS('ACTIVE', 0),
        );
 } // END - if
 
@@ -85,5 +71,5 @@ loadTemplate('member_surfbar_start_' . strtolower(getConfig('surfbar_pay_model')
 // Load surfbar link template
 loadTemplate('member_surfbar_link');
 
-//
+// [EOF]
 ?>
index 1c20fbe7269a23df9c607a41f5c44888fff6c369..afd2f1caab172368b776823d70d96b759c5d6298 100644 (file)
@@ -1269,7 +1269,7 @@ function addPointsThroughReferalSystem ($subject, $userid, $points, $sendNotify
                                // Prepare content
                                $content = array(
                                        'text'   => getMessage('REASON_DIRECT_PAYMENT'),
-                                       'points' => translateComma($ref_points)
+                                       'points' => $ref_points
                                );
 
                                // Load message
index 6276de68290a22b048c95350d8d1a6663c92cd8a..65b4e36774bc95500ad7dfcf101e77b73124f080 100644 (file)
@@ -99,18 +99,8 @@ if ($GLOBALS['pool_cnt'] < getConfig('max_send')) {
                                                        if (isset($DATA[$key])) $DATA['text'] = str_replace($value, $DATA[$key], $DATA['text']);
                                                } // END - foreach
 
-                                               // Prepare content
-                                               $content = array(
-                                                       'id'       => $DATA['id'],
-                                                       'url'      => $DATA['url'],
-                                                       'time'     => createFancyTime($DATA['time']),
-                                                       'points'   => translateComma($DATA['points']),
-                                                       'category' => getCategory($DATA['cat_id']),
-                                                       'text'     => $DATA['text']
-                                               );
-
                                                // Prepare the mail
-                                               $mailText = loadEmailTemplate('bonus-mail', $content, $userid);
+                                               $mailText = loadEmailTemplate('bonus-mail', $DATA, $userid);
 
                                                // Send mail away
                                                if (isset($DATA['html_msg'])) {
@@ -153,8 +143,16 @@ if ($GLOBALS['pool_cnt'] < getConfig('max_send')) {
                        //* DEBUG: */ print("-L:".__LINE__.'/'.countSelection($dummy)."-<br />");
                        if (countSelection($dummy) == 0) {
                                // Queue reached!
-                               SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_bonus` SET `data_type`='SEND', `target_send`=0, `receivers`='' WHERE `id`=%s LIMIT 1",
-                               array(bigintval($DATA['id'])), __FILE__, __LINE__);
+                               SQL_QUERY_ESC("UPDATE
+       `{?_MYSQL_PREFIX?}_bonus`
+SET
+       `data_type`='SEND',
+       `target_send`=0,
+       `receivers`=''
+WHERE
+       `id`=%s
+LIMIT 1",
+                                       array(bigintval($DATA['id'])), __FILE__, __LINE__);
                                //* DEBUG: */ print("*L:".__LINE__."*<br />");
 
                                // Update mediadata if version is 0.0.4 or higher
@@ -165,22 +163,34 @@ if ($GLOBALS['pool_cnt'] < getConfig('max_send')) {
                                } // END - if
                        } elseif ($GLOBALS['pool_cnt'] >= getConfig('max_send')) {
                                // Update bonus pool
-                               SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_bonus` SET `data_type`='NEW', `target_send`=%s, `receivers`='%s' WHERE `id`=%s LIMIT 1",
-                               array(countSelection($dummy), implode(';', $dummy), bigintval($DATA['id'])), __FILE__, __LINE__);
+                               SQL_QUERY_ESC("UPDATE
+       `{?_MYSQL_PREFIX?}_bonus`
+SET
+       `data_type`='NEW',
+       `target_send`=%s,
+       `receivers`='%s'
+WHERE
+       `id`=%s
+LIMIT 1",
+                                       array(
+                                               countSelection($dummy),
+                                               implode(';', $dummy),
+                                               bigintval($DATA['id'])
+                                       ), __FILE__, __LINE__);
                                //* DEBUG: */ print("*L:".__LINE__."<pre>");
                                //* DEBUG: */ print(print_r($dummy, true));
                                //* DEBUG: */ print("</pre>\n!!!<br />");
                                break;
                        }
-               }
-       }
+               } // END - while
+       } // END - if
 
        // Free memory
        SQL_FREERESULT($result_bonus);
 
        // Remove variable
        unset($mailText);
-}
+} // END - if
 
-//
+// [EOF]
 ?>
index b29d3fb625568476092b8d12ddcc7f1706726cb9..744fb6b3ee47a8ed0c60597cec671d6bbf299202 100644 (file)
@@ -122,9 +122,6 @@ if (SQL_NUMROWS($result_main) > 0) {
                                                        case 'done':
                                                                // Prepare the mail
                                                                $DATA['stats_id'] = bigintval($stats_id);
-                                                               $DATA['surname']  = getUserData('surname');
-                                                               $DATA['family']   = getUserData('family');
-                                                               $DATA['gender']   = translateGender(getUserData('gender'));
 
                                                                // Replace text variables
                                                                foreach ($GLOBALS['replacer'] as $key => $value) {
@@ -132,18 +129,11 @@ if (SQL_NUMROWS($result_main) > 0) {
                                                                } // END - if
 
                                                                // Prepare content
-                                                               $content = array(
-                                                                       'id'            => $DATA['stats_id'],
-                                                                       'url'           => $DATA['url'],
-                                                                       'sender_userid' => $DATA['sender'],
-                                                                       'category'      => getCategory($DATA['cat_id']),
-                                                                       'time'          => createFancyTime(getPaymentPoints($DATA['payment_id'], 'time')),
-                                                                       'points'        => translateComma(getPaymentPoints($DATA['payment_id'], 'payment')),
-                                                                       'text'          => $DATA['text']
-                                                               );
+                                                               $DATA['time']   = getPaymentPoints($DATA['payment_id'], 'time');
+                                                               $DATA['points'] = getPaymentPoints($DATA['payment_id'], 'payment');
 
                                                                // Load message template
-                                                               $mailText = loadEmailTemplate('normal-mail', $content, bigintval($userid));
+                                                               $mailText = loadEmailTemplate('normal-mail', $DATA, bigintval($userid));
 
                                                                // Send mail away
                                                                sendEmail(getUserData('email'), $DATA['subject'], $mailText, $HTML);
@@ -268,9 +258,9 @@ if (SQL_NUMROWS($result_main) > 0) {
                                        SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_pool` SET `receivers`='%s' WHERE `id`=%s LIMIT 1",
                                                array(implode(';', $dummy), bigintval($DATA['id'])), __FILE__, __LINE__);
                                }
-                       }
-               }
-       }
+                       } // END - foreach
+               } // END - if
+       } // END - while
 
        // Do we have points to "pay back"?
        if ((count($pointsBack) > 0) && (!empty($pointsBack[0]))) {
@@ -280,7 +270,7 @@ if (SQL_NUMROWS($result_main) > 0) {
                        if (($PB > 0) && ($userid > 0)) {
                                // Prepare content
                                $content = array(
-                                       'points' => translateComma($PB)
+                                       'points' => $PB
                                );
 
                                // We have to pay back some points to the sender (we add them directly :-P)
@@ -300,7 +290,7 @@ if (SQL_NUMROWS($result_main) > 0) {
                        } // END - if
                } // END - foreach
        } // END - if
-}
+} // END - if
 
 // Free memory
 SQL_FREERESULT($result_main);
@@ -308,5 +298,5 @@ SQL_FREERESULT($result_main);
 // Remove variable
 unset($mailText);
 
-//
+// [EOF]
 ?>
index cee610df471d40f836d541a06e9e6907d6a30147..89ebde56c9ce83bf7d29eb90251928b6d097c64c 100644 (file)
@@ -1032,5 +1032,17 @@ function determineCountry ($userid) {
        return $country;
 }
 
+// "Getter" for total confirmed user accounts
+function getTotalConfirmedUser () {
+       // Is it cached?
+       if (!isset($GLOBALS['total_confirmed_users'])) {
+               // Then do it
+               $GLOBALS['total_confirmed_users'] = countSumTotalData('CONFIRMED', 'user_data', 'userid', 'status', true);
+       } // END - if
+
+       // Return cached value
+       return $GLOBALS['total_confirmed_users'];
+}
+
 // [EOF]
 ?>
index 9c2f7b5e9282936543d36d01082fa760b18d85e6..f3a83da89a7927ba72bb4ef790ab684748974994 100644 (file)
@@ -1,6 +1,6 @@
 Hallo {%user,gender,translateGender=$userid%} {%user,surname=$userid%} {%user,family=$userid%},
 
-Einer unserer Administratoren hat Ihnen soeben $content[points] {?POINTS?} gutgeschrieben!
+Einer unserer Administratoren hat Ihnen soeben {%pipe,translateComma=$content[points]%} {?POINTS?} gutgeschrieben!
 
 Grund dazu war folgender:
 ------------------------------
index 844e70fe08879ae0b690f0d6a7f3a78b7b2c4cba..ac37176630c7b6a79f9af63508dcb4815397ead7 100644 (file)
@@ -2,17 +2,19 @@ Hallo Administrator,
 
 Das Mitglied $userid hat soeben Ref-Back f&uuml;r ein anderes Mitglied eingestellt.
 
-------------------------------
+-----------------------------------
 Mitglied-Id: {%user,refid,bigintval=$userid%} (der den Ref-Back bekommt)
-------------------------------
+-----------------------------------
 Vorname: {%user,surname=$userid%}
-------------------------------
+-----------------------------------
 Familienname: {%user,family=$userid%}
-------------------------------
+-----------------------------------
 Email-Adresse: {%user,email=$userid%}
-------------------------------
-Ref-Back: $content[percents]%
-------------------------------
+-----------------------------------
+Ref-Back: {%pipe,translateComma=$content[percents]%}%
+-----------------------------------
+Bereits erhalten: {%pipe,translateComma=$content[points]%} {?POINTS?}
+-----------------------------------
 
 Mit freundlichen Gr&uuml;&szlig;en,
   Ihr {?MAIN_TITLE?} Team
index f8357fcf8e2f781849e754dfcaecbeb7d085d6d6..448c19ef20771e8c3433818fbda9ad4c8853cfd9 100644 (file)
@@ -1,6 +1,6 @@
 Hallo {%user,gender,translateGender=$userid%} {%user,surname=$userid%} {%user,family=$userid%},
 
-Eine Buchung von Ihnen konnte nich vollst&auml;ndig ausgesendet werden. Wir haben Ihnen $content[points] {?POINTS?} wieder gutgeschrieben!
+Eine Buchung von Ihnen konnte nich vollst&auml;ndig ausgesendet werden. Wir haben Ihnen {%pipe,translateComma=$content[points]%} {?POINTS?} wieder gutgeschrieben!
 
 Mit freundlichen Gr&uuml;&szlig;en,
   Ihr {?MAIN_TITLE?} Team
index 8498c28ca12727e4110eae650b686a356879ba32..c50331fef752bf570a03638ae6f4d38d8852a3d5 100644 (file)
@@ -9,17 +9,17 @@ $content[text]
 ----------------
 Verfallszeit: $content[expiration]
 ----------------
-Verguetung: $content[points] {?POINTS?}
+Verg&uuml;tung: {%pipe,translateComma=$content[points]%} {?POINTS?}
 ----------------
-Bestaetigungszeit: $content[time]
+Best&auml;tigungszeit: {%pipe,createFancyTime=$content[time]%}
 ----------------
-Beworbene Kategorie: $content[category]
+Beworbene Kategorie: {%pipe,getCategory=$content[cat_id]%}
 ----------------
 Beworbene URL: $content[url]
 ----------------
 Hinweis: Angesammelte {?POINTS?} k&ouml;nnen versteigert oder verkauft werden, jedoch mu&szlig; der K&auml;ufer bei {?MAIN_TITLE?} Mitglied sein oder werden.
 
-Um Ihre $content[points] {?POINTS?} gutgeschrieben zu bekommen, klicken Sie bitte auf folgenden Link:
+Um Ihre {%pipe,translateComma=$content[points]%} {?POINTS?} gutgeschrieben zu bekommen, klicken Sie bitte auf folgenden Link:
 {?URL?}/mailid.php?userid=$userid&bonusid=$content[id]
 
 Wichtig! Achten Sie darauf das Ihr Mailserver immer empfangbereit ist. Sollte Ihr Mailserver nicht empfangbereit sein (z.B. voll usw.), werden wir Ihren Account sperren! Sie haben nun innerhalb von 10 Tagen die m&ouml;glichkeit sich bei uns zu melden zwecks Freischaltung, erfolgt dieses nicht, wird Ihr Account gel&ouml;scht! Bei dieser Sperrung erhalten Sie von uns keine Mitteilung, sollten Sie keine Mails von uns bekommen, pr&uuml;fen Sie Ihren Account!
index 025c1150ca7c495c98e47329d8c0385b8b6485eb..bca7305f6710b13661754fb845de84cc5d14da19 100644 (file)
@@ -1,11 +1,11 @@
 Hallo {%user,gender,translateGender=$userid%} {%user,surname=$userid%} {%user,family=$userid%},
 
-Wir haben Ihnen soeben $content[points] {?POINTS?} durch eine Verdoppelung vom $content[when] Ihrem Account gutgeschrieben!
+Wir haben Ihnen soeben {%pipe,translateComma=$content[points]%} {?POINTS?} durch eine Verdoppelung vom $content[timemark] Ihrem Account gutgeschrieben!
 
 ------------------------------
 Ihre Mitglied-Id lautet: $userid
 Doppler-Transaktionsnummer: $content[id]
-Ihre IP-Nummer lautete: $content[ip]
+Ihre IP-Nummer lautete: $content[remote_ip]
 ------------------------------
 
 Mit freundlichen Gr&uuml;&szlig;en,
index 06da7bff2c1213708843519a8084d1035285177d..9217303ee4b10639b37d4578a8adb2db5d8fdac3 100644 (file)
@@ -1,14 +1,14 @@
 Hallo {%user,gender,translateGender=$userid%} {%user,surname=$userid%} {%user,family=$userid%},
 
-Das Mitglied $content[refid] hat Ihnen soeben $content[percents]% Ref-Back eingestellt. Sie erhalten also anteilig {?POINTS?} von seinen Referal-Gutschriften die Sie ihm/ihr bringen ebenfalls gutgeschrieben.
+Das Mitglied $content[refid] hat Ihnen soeben {%pipe,translateComma=$content[percents]%}% Ref-Back eingestellt. Sie erhalten also anteilig {?POINTS?} von seinen Referal-Gutschriften die Sie ihm/ihr bringen ebenfalls gutgeschrieben.
 
 ------------------------------
 Ihr Mitglieder-Id ist: $userid
 ------------------------------
-Ref-Back: $content[percents]%
+Ref-Back: {%pipe,translateComma=$content[percents]%}%
 ------------------------------
 
-Sie haben bereits $content[points] {?POINTS?} Ref-Back-Verg&uuml;tung an das Mitglied abgegeben.
+Sie haben bereits {%pipe,translateComma=$content[points]%} {?POINTS?} Ref-Back-Verg&uuml;tung an das Mitglied abgegeben.
 
 Mit freundlichen Gr&uuml;&szlig;en,
   Ihr {?MAIN_TITLE?} Team
index 0a964121faea957fdbdd9ae23187dcd569e7cd21..32d53896d146b8d0470d5f71c554d6c3ac1954f1 100644 (file)
@@ -6,13 +6,13 @@ Hier sind alle Daten:
 ------------------------------------------
 Ihre Mitglieder-Id: $content[userid]
 ------------------------------------------
-Ihr aktuelles Guthaben: $content[points] {?POINTS?}
+Ihr aktuelles Guthaben: {%pipe,translateComma=$content[points]%} {?POINTS?}
 ------------------------------------------
-Warnung wird versendet ab: $content[low] {?POINTS?} und niedriger
+Warnung wird versendet ab: {%config,translateComma=surfbar_warn_low_points%} {?POINTS?} und niedriger
 ------------------------------------------
-Zuletzt wegen niedrigem Kontostand gewarnt: $content[notified]
+Zuletzt wegen niedrigem Kontostand gewarnt: {%pipe,generateDateTime=$content[notified]%}
 ------------------------------------------
-Mindestversendeinterval dieser Mail: $content[interval]
+Mindestversendeinterval dieser Mail: {%config,createFancyTime=surfbar_low_interval%}
 ------------------------------------------
 
 Mit freundlichen Gr&uuml;&szlig;en,
index caf7210023d7f94c42a74048bcd14abd2e757d83..335fd0c153635ef3849b0d7dc5094b0ed6c77fda 100644 (file)
@@ -9,17 +9,19 @@ $content[text]
 ----------------
 Werber: $content[sender_userid]
 ----------------
+Verg&uuml;tung: {%pipe,translateComma=$content[points]%} {?POINTS?}
+----------------
 Verfallszeit: $content[expiration]
 ----------------
-Beworbene Kategorie: $content[category]
+Beworbene Kategorie: {%pipe,getCategory=$content[cat_id]%}
 ----------------
-Wartezeit: $content[time]
+Wartezeit: {%pipe,createFancyTime=$content[time]%}
 ----------------
 Beworbene URL: $content[url]
 ----------------
 Hinweis: Angesammelte {?POINTS?} k&ouml;nnen versteigert oder verkauft werden, jedoch mu&szlig; der K&auml;ufer bei {?MAIN_TITLE?} Mitglied sein oder werden.
 
-Um Ihre $content[points] {?POINTS?} gutgeschrieben zu bekommen, klicken Sie bitte auf folgenden Link:
+Um Ihre {%pipe,translateComma=$content[points]%} {?POINTS?} gutgeschrieben zu bekommen, klicken Sie bitte auf folgenden Link:
 {?URL?}/mailid.php?userid=$userid&mailid=$content[id]
 
 Wichtig! Achten Sie darauf das Ihr Mailserver immer empfangbereit ist. Sollte Ihr Mailserver nicht empfangbereit sein (z.B. voll usw.), werden wir Ihren Account sperren! Sie haben nun innerhalb von 10 Tagen die m&ouml;glichkeit sich bei uns zu melden zwecks Freischaltung, erfolgt dieses nicht, wird Ihr Account gel&ouml;scht! Bei dieser Sperrung erhalten Sie von uns keine Mitteilung, sollten Sie keine Mails von uns bekommen, pr&uuml;fen Sie Ihren Account!
index e0c462c901aafec5742387ca2d9c921a88b9aaa6..512e8a163451aba42de3e108e0cff6f71e7de77c 100644 (file)
@@ -1,5 +1,5 @@
 <tr>
        <td class="active_row1 switch_sw$content[sw] bottom right">$content[userid] ($content[nickname])</td>
-       <td class="active_row2 switch_sw$content[sw] bottom right">$content[points]</td>
+       <td class="active_row2 switch_sw$content[sw] bottom right">{%pipe,translateComma=$content[points]%}</td>
        <td class="active_row3 switch_sw$content[sw] bottom">$content[last_online]</td>
 </tr>
index 0b85214323d902875ff6a38f71d20e39f7c975df..e83f10857e970420e595afbaf37b2c79d8baad8e 100644 (file)
@@ -3,7 +3,7 @@
                $content[userid]
        </td>
        <td class="switch_sw$content[sw] bottom right" align="center" width="160">
-               $content[points]
+               {%pipe,translateComma=$content[points]%}
        </td>
        <td class="switch_sw$content[sw] bottom" align="center" width="160">
                $content[timemark]
index 537c8e32061e2a9933dd0320809ec531e9790075..09712bdbedc645db3a09274e32ffc07b067cb89d 100644 (file)
@@ -1,17 +1,17 @@
 <tr>
        <td align="center" colspan="2" class="guest_title bottom">
-               <strong>$content[name]:</strong>
+               <strong>$content[pay_name]:</strong>
        </td>
 </tr>
 <tr>
-       <td align="right" class="switch_sw$content[sw] right" width="225" height="24">{--SPONSOR_PAYTYPE_COUNT--}:&nbsp;</td>
+       <td align="right" class="switch_sw$content[sw] right" width="225" height="24">{--SPONSOR_PAYTYPE_COUNT--}:</td>
        <td class="guest_title bottom" style="padding-left: 2px; padding-right: 2px" width="225">
-               <div class="nobr"><strong>$content[rate] {?POINTS?}</strong></div>
+               <div class="nobr"><strong>{%pipe,translateComma=$content[pay_rate]%} {?POINTS?}</strong></div>
        </td>
 </tr>
 <tr>
-       <td align="right" class="switch_sw$content[sw] bottom right" width="225" height="24">{--SPONSOR_PAYTYPE_VALUE--}:&nbsp;</td>
+       <td align="right" class="switch_sw$content[sw] bottom right" width="225" height="24">{--SPONSOR_PAYTYPE_VALUE--}:</td>
        <td class="guest_title bottom" style="padding-left: 2px; padding-right: 2px" width="225">
-               <div class="nobr"><strong>$content[price] $content[curr]</strong></div>
+               <div class="nobr"><strong>{%pipe,translateComma=$content[pay_min_count]%} $content[pay_currency]</strong></div>
        </td>
 </tr>
index 53c4faa5011b46a9451cf9636eddb32c7262ddc6..701eef7b3b976ff3098a04c4bd7fed3e45716372 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td class="top10_row1 switch_sw$content[sw] bottom right" align="center">$content[cnt]</td>
        <td class="top10_row2 switch_sw$content[sw] bottom right">$content[userid]($content[nickname])</td>
-       <td class="top10_row3 switch_sw$content[sw] bottom right">$content[points]</td>
+       <td class="top10_row3 switch_sw$content[sw] bottom right">{%pipe,translateComma=$content[points]%}</td>
        <td class="top10_row5 switch_sw$content[sw] bottom">$content[last_online]</td>
 </tr>
index 9d74e1fa81eec5ca280248fc4b7fc111bc743d94..9900377452235817a5734d114042483450c56814 100644 (file)
@@ -1,7 +1,7 @@
 <tr>
        <td class="top10_row1 switch_sw$content[sw] bottom right" align="center">$content[cnt]</td>
        <td class="top10_row2 switch_sw$content[sw] bottom right">$content[userid]($content[nickname])</td>
-       <td class="top10_row3 switch_sw$content[sw] bottom right">$content[total_logins]</td>
-       <td class="top10_row4 switch_sw$content[sw] bottom right">$content[points]</td>
+       <td class="top10_row3 switch_sw$content[sw] bottom right">{%pipe,translateComma=$content[total_logins]%}</td>
+       <td class="top10_row4 switch_sw$content[sw] bottom right">{%pipe,translateComma=$content[points]%}</td>
        <td class="top10_row5 switch_sw$content[sw] bottom">$content[last_online]</td>
 </tr>
index f42ec91643b49ea8648cdba80be4e4915bd99168..4792750e789627455cce8a95d1950bc7b49b8ef3 100644 (file)
@@ -1,7 +1,7 @@
 <tr>
        <td class="top10_row1 switch_sw$content[sw] bottom right" align="center">$content[cnt]</td>
        <td class="top10_row2 switch_sw$content[sw] bottom right">$content[userid]($content[nickname])</td>
-       <td class="top10_row3 switch_sw$content[sw] bottom right">$content[refs]</td>
-       <td class="top10_row4 switch_sw$content[sw] bottom right">$content[points]</td>
+       <td class="top10_row3 switch_sw$content[sw] bottom right">{%pipe,translateComma=$content[refs]%}</td>
+       <td class="top10_row4 switch_sw$content[sw] bottom right">{%pipe,translateComma=$content[points]%}</td>
        <td class="top10_row5 switch_sw$content[sw] bottom">$content[last_online]</td>
 </tr>
index 793bf4fd04faaab2687736ac5b80725b60fe5c7e..759650f8a56516d401bd67974d28af647d660b21 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td align="center" class="switch_sw$content[sw] bottom">$content[cnt]</td>
        <td align="center" class="switch_sw$content[sw] bottom">$content[userid]</td>
-       <td align="center" class="switch_sw$content[sw] bottom">$content[points]</td>
+       <td align="center" class="switch_sw$content[sw] bottom">{%pipe,translateComma=$content[points]%}</td>
        <td align="center" class="switch_sw$content[sw] bottom">$content[last_online]</td>
 </tr>
index 992321779e12deb7691170b6f9584f423019746e..92af06aba312f0cf5dedc3aea1caed676fadda18 100644 (file)
@@ -6,7 +6,7 @@
                $content[rid]
        </td>
        <td class="switch_sw$content[sw] bottom right" align="center" width="160">
-               $content[points]
+               {%pipe,translateComma=$content[points]%}
        </td>
        <td class="switch_sw$content[sw] bottom" align="center" width="160">
                $content[timemark]
index 793bf4fd04faaab2687736ac5b80725b60fe5c7e..759650f8a56516d401bd67974d28af647d660b21 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
        <td align="center" class="switch_sw$content[sw] bottom">$content[cnt]</td>
        <td align="center" class="switch_sw$content[sw] bottom">$content[userid]</td>
-       <td align="center" class="switch_sw$content[sw] bottom">$content[points]</td>
+       <td align="center" class="switch_sw$content[sw] bottom">{%pipe,translateComma=$content[points]%}</td>
        <td align="center" class="switch_sw$content[sw] bottom">$content[last_online]</td>
 </tr>
index 5bfab6ed7044bb11f9ad972b7ad6ff03445c2dec..948aa1bc8e9c2f88a36d343b532435b35210330b 100644 (file)
@@ -1,5 +1,5 @@
 <tr>
-       <td align="center" class="switch_sw$content[sw] bottom right">$content[points]</td>
+       <td align="center" class="switch_sw$content[sw] bottom right">{%pipe,translateComma=$content[payout_total]%} $content[type]</td>
        <td align="center" class="switch_sw$content[sw] bottom right">$content[target_account]</td>
        <td align="center" class="switch_sw$content[sw] bottom right">$content[target_bank]</td>
        <td align="center" class="switch_sw$content[sw] bottom right">$content[payout_timestamp]</td>
index 40ffa1fd1fb120fc1f392b9a5303c9c08f6c02ef..cc56baf4da11bace3372201ff18986334ac0915a 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
-       <td align="center" class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right">$content[points] Primera</td>
+       <td align="center" class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right">{%pipe,translateComma=$content[primera_amount]%} Primera</td>
        <td align="center" class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right">$content[primera_account]</td>
        <td align="center" class="switch_sw$content[sw] primera_type_$content[raw_type] bottom right">$content[primera_timestamp]</td>
-       <td align="center" class="switch_sw$content[sw] primera_type_$content[raw_type] bottom">$content[status]</td>
+       <td align="center" class="switch_sw$content[sw] primera_type_$content[raw_type] bottom">{%pipe,PRIMERA_TRANSFER_STATUS=$content[primera_type]%}</td>
 </tr>
index b0b36f0986b44e6ddd9def541871aa602edc8df8..e370f26cefa2d8a838744481c48f198c12c3845b 100644 (file)
 <tr>
        <td colspan="2" align="center" class="switch_mem$content[sw] top right">
                {--EMAIL_PAYMENT--}:<br />
-               <strong>{%pipe,translateComma=$content[pay]%}</strong>
+               <strong>{%pipe,getPaymentTitlePrice,translateComma=$content[payment_id]%}</strong>
        </td>
        <td align="center" class="switch_mem$content[sw] top">
                {--EMAIL_CATEGORY--}:<br />
-               <strong>$content[cat]</strong>
+               <strong>{%pipe,getCategory=$content[cat_id]%}</strong>
        </td>
 </tr>
 <tr>
        <td colspan="2" align="center" class="switch_mem$content[sw] top right">
                {--EMAIL_URL--}:<br />
-               <strong><a href="$content[url]" target="_blank">{--MEMBER_TEST_URL--}</a></strong>
+               <strong><a href="{%pipe,generateDerefererUrl=$content[url]%}" target="_blank">{--MEMBER_TEST_URL--}</a></strong>
        </td>
        <td align="center" class="switch_mem$content[sw] top">
                {--EMAIL_END_SEND--}:<br />
-               <strong>$content[sent]</strong>
+               <strong>$content[timestamp_sent]</strong>
        </td>
 </tr>
 <tr>
        <td align="center" class="switch_mem$content[sw] top right" width="30%">
                {--EMAIL_RECEIVERS--}:<br />
-               <strong>$content[target_send]</strong>
+               <strong>{%pipe,translateComma=$content[max_rec]%}</strong>
        </td>
        <td align="center" class="switch_mem$content[sw] top right" width="16%">
                {--EMAIL_CONFIRMED--}:<br />
-               <strong>$content[clix]</strong>
+               <strong>{%pipe,translateComma=$content[clicks]%}</strong>
        </td>
        <td align="center" class="switch_mem$content[sw] top">
                {--EMAIL_PERCENT--}:<br />
-               <strong>$content[percents]</strong>
+               <strong>{%pipe,translateComma=$content[percents]%}%</strong>
        </td>
 </tr>
index 02303572aa4c57aea98f8cb256ddb93fce1db5e9..8e94c989101c96c79c03affa7f8f35510dd03cef 100644 (file)
        </div>
 
        <div class="member_input" style="padding-top:5px;padding-bottom:5px">
-               Jeder Seiten-Aufruf durch andere Mitglieder kostet Ihnen mindestens
-               <strong>$content[costs] {?POINTS?}</strong>. Surfen Sie mit der Surfbar
-               erhalten Sie mindestens <strong>$content[reward] {?POINTS?}</strong> auf
-               Ihr Konto gutgeschrieben.<br />
-               <br />
-               Sie haben bereits <strong>$content[curr_order]</strong> von maximal
-               <strong>$content[max_order]</strong> erlaubten URLs gebucht.
+               <div class="para">
+                       Jeder Seiten-Aufruf durch andere Mitglieder kostet Ihnen mindestens
+                       <strong>{%pipe,translateComma=$content[costs]%} {?POINTS?}</strong>.
+                       Surfen Sie mit der Surfbar erhalten Sie mindestens
+                       <strong>{%pipe,translateComma=$content[reward]%} {?POINTS?}</strong>
+                       auf Ihr Konto gutgeschrieben.
+               </div>
+               <div class="para">
+                       Sie haben bereits
+                       <strong>{%pipe,SURFBAR_GET_TOTAL_USER_URLS,translateComma%}</strong>
+                       von maximal
+                       <strong>{%config,translateComma=surfbar_max_order%}</strong>
+                       erlaubten URLs gebucht.
+               </div>
        </div>
 
        <div class="member_title top" style="padding-top:5px;padding-bottom:5px">
index 6d280ad67f868022a93b210295dc74a0e45f0d16..82522e8fc37717c33ea2b7bfd4a7b1b261a770c3 100644 (file)
@@ -5,30 +5,38 @@
 
        <div style="padding:5px">
                Bei der dynamischen Verg&uuml;tung werden Ihnen derzeit mindestens
-               <strong>$content[surfbar_min_reward]</strong> und maximal
-               <strong>$content[surfbar_max_reward] {?POINTS?}</strong> Aufschlag
-               zum Basispreis f&uuml;r jede besuchte Seite verg&uuml;tet. Diese
-               m&uuml;ssen Sie mindestens <strong>$content[surfbar_min_time]</strong>
-               und maximal <strong>$content[surfbar_max_time]</strong> zus&auml;tzlich
-               zur Basiszeit angesehen haben und k&ouml;nnen die selbe Seite erst nach
-               zus&auml;tzlichen <strong>$content[surfbar_dynamic_lock]</strong> wieder
-               aufrufen.
+               <strong>{%pipe,SURFBAR_CALCULATE_DYNAMIC_MIN_VALUE,translateComma%}</strong>
+               und maximal <strong>{%pipe,SURFBAR_CALCULATE_DYNAMIC_MAX_VALUE,translateComma%}
+               {?POINTS?}</strong> Aufschlag zum Basispreis f&uuml;r jede besuchte
+               Seite verg&uuml;tet. Diese m&uuml;ssen Sie mindestens
+               <strong>{%pipe,SURFBAR_CALCULATE_DYNAMIC_MIN_VALUE,createFancyTime%}</strong>
+               und maximal
+               <strong>{%pipe,SURFBAR_CALCULATE_DYNAMIC_MAX_VALUE,createFancyTime%}</strong>
+               zus&auml;tzlich zur Basiszeit angesehen haben und k&ouml;nnen die selbe
+               Seite erst nach zus&auml;tzlichen
+               <strong>{%pipe,SURFBAR_CALCULATE_DYNAMIC_LOCK,createFancyTime%}</strong>
+               wieder aufrufen.
        </div>
 
        <div style="padding:5px">
                Einige Hinweise zur Berechnung: Die derzeige Mitgliederanzahl von
-               <strong>$content[surfbar_total_users]</strong>, die derzeit die Surfbar
-               nutzenden <strong>$content[surfbar_total_online]</strong> Mitglieder,
-               die gesamt in der Surfbar gebuchten <strong>$content[surfbar_total_urls]</strong>
+               <strong>{%pipe,getTotalConfirmedUser,translateComma%}</strong>, die
+               derzeit die Surfbar nutzenden
+               <strong>{%pipe,SURFBAR_DETERMINE_TOTAL_ONLINE%}</strong> Mitglieder, die
+               gesamt in der Surfbar gebuchten
+               <strong>{%pipe,translateComma=$content[surfbar_total_urls]%}</strong>
                URLs (ohne von unseren Sponsoren), sowie Ihre gebuchten
-               <strong>$content[surfbar_user_urls]</strong> URLs werden als
+               <strong>{%pipe,SURFBAR_GET_TOTAL_USER_URLS%}</strong> URLs werden als
                Berechnungsgrundlage verwendet. Sie erhalten allerdings nur einen
-               reduzierten Anteil von <strong>$content[surfbar_dynamic_percent]%</strong>.
+               reduzierten Anteil von
+               <strong>{%config,translateComma=surfbar_dynamic_percent%}%</strong>.
        </div>
 
        <div style="padding:5px">
                Der Basispreis und die Basiszeit sind die Einstellungen aus dem
-               statischen Verg&uuml;tungsmodell: <strong>$content[surfbar_static_reward]
-               {?POINTS?}</strong> bzw. <strong>$content[surfbar_static_time]</strong>.
+               statischen Verg&uuml;tungsmodell:
+               <strong>{%config,translateComma=surfbar_static_reward%}
+               {?POINTS?}</strong> bzw.
+               <strong>{%config,createFancyTime=surfbar_static_time%}</strong>.
        </div>
 </div>
index dca3388c0e202e598940135bf895041df3abfe07..cb84124c58d6ee19f54c8bd0571b20a617d1b837 100644 (file)
@@ -4,12 +4,13 @@
        </div>
        <div style="padding:5px">
                Bei der statischen Verg&uuml;tung werden Ihnen derzeit
-               <strong>$content[surfbar_static_reward] {?POINTS?}</strong> f&uuml;r
-               jede besuchte Seite verg&uuml;tet. Diese m&uuml;ssen Sie
-               <strong>$content[surfbar_static_time]</strong> lang angesehen haben
-               und k&ouml;nnen die selbe Seite erst nach
-               <strong>$content[surfbar_static_lock]</strong> wieder aufrufen. Es sind
-               insgesamt <strong>$content[surfbar_total_urls]</strong> URLs in der
-               Surfbar.
+               <strong>{%config,translateComma=surfbar_static_reward%}
+               {?POINTS?}</strong> f&uuml;r jede besuchte Seite verg&uuml;tet. Diese
+               m&uuml;ssen Sie
+               <strong>{%config,createFancyTime=surfbar_static_time%}</strong> lang
+               angesehen haben und k&ouml;nnen die selbe Seite erst nach
+               <strong>{%config,createFancyTime=surfbar_static_lock%}</strong> wieder
+               aufrufen. Es sind insgesamt
+               <strong>$content[surfbar_total_urls]</strong> URLs in der Surfbar.
        </div>
 </div>
index 95048ed6fca38e10ef2efdfb6a4d28fbae58fee6..664ae18ffebcdea11d10f4cfeb621ea0bdec5225 100644 (file)
@@ -4,7 +4,7 @@
                <table border="0" cellspacing="0" cellpadding="0" width="100%">
                        <tr>
                                <td width="10%" align="center" valign="top"><strong>
-                                       <div class="medium">$content[guests]</div>
+                                       <div class="medium">{%pipe,translateComma=$content[guests]%}</div>
                                </strong></td>
                                <td width="90%">{--GUESTS_ONLINE--}</td>
                        </tr>
@@ -16,7 +16,7 @@
                <table border="0" cellspacing="0" cellpadding="0" width="100%">
                        <tr>
                                <td width="10%" align="center" valign="top"><strong>
-                                       <div class="medium">$content[members]</div>
+                                       <div class="medium">{%pipe,translateComma=$content[members]%}</div>
                                </strong></td>
                                <td width="90%">{--MEMBERS_ONLINE--}</td>
                        </tr>
                <table border="0" cellspacing="0" cellpadding="0" width="100%">
                        <tr>
                                <td width="10%" align="center" valign="top"><strong>
-                                       <div class="medium">$content[admins]</div>
+                                       <div class="medium">{%pipe,translateComma=$content[admins]%}</div>
                                </strong></td>
                                <td width="90%">{--ADMINS_ONLINE--}</td>
                        </tr>
                </table>
                </td>
        </tr>
-</table>
\ No newline at end of file
+       <tr>
+               <td class="guest_menu_bottom">
+               <table border="0" cellspacing="0" cellpadding="0" width="100%">
+                       <tr>
+                               <td width="10%" align="center" valign="top"><strong>
+                                       <div class="medium">{%pipe,translateComma=$content[total]%}</div>
+                               </strong></td>
+                               <td width="90%">{--TOTAL_ONLINE--}</td>
+                       </tr>
+               </table>
+               </td>
+       </tr>
+</table>
index c74fef8d6f5fdb6a8dd27c9b111da18a5305f1fb..336c9b0eba3c56da927faa8390524875e725e37a 100644 (file)
@@ -17,12 +17,12 @@ verpflichtet Sie zu nichts!
 
 <div class="para">
 Als Startguthaben erhalten Sie von uns f&uuml;r Ihre kostenlose Anmeldung derzeit
-<big class="nobr"><big>$content[register]</big> {?POINTS?}!</big>
+<big class="nobr"><big>{%config,translateComma=points_register%}</big> {?POINTS?}!</big>
 </div>
 
 <div class="para">
 F&uuml;r jeden User, den Sie geworben haben erhalten Sie
-<strong>$content[ref_points] {?POINTS?}</strong>
+<strong>{%config,translateComma=points_ref%} {?POINTS?}</strong>
 plus prozentualen Verdienst &uuml;ber <strong>$content[ref_levels]</strong>
 Referal-Ebenen hinweg!
 </div>