Heavy rewrite:
[mailer.git] / inc / modules / guest / what-top10.php
index b784135a098b63a4bbda012909148c1269319e5b..569721e6d7875938a7dbfadcb3d407fab3bef054 100644 (file)
@@ -78,7 +78,7 @@ while ($content = SQL_FETCHARRAY($result)) {
                'uid'    => $content['userid'],
                'nick'   => $content['nickname'],
                'logins' => $content['total_logins'],
-               'points' => translateComma(GET_TOTAL_DATA($content['userid'], "user_points", "points")),
+               'points' => translateComma(GET_TOTAL_DATA($content['userid'], 'user_points', 'points')),
                'last'   => generateDateTime($content['last_online'], '3'),
        );
 
@@ -99,7 +99,7 @@ if ($cnt < getConfig('top10_max')) {
                );
 
                // Load row template
-               $OUT .= LOAD_TEMPLATE("guest_top10_empty5", true, $content);
+               $OUT .= LOAD_TEMPLATE('guest_top10_empty5', true, $content);
                $SW = 3 - $SW;
        } // END - for
 } // END - if
@@ -153,7 +153,7 @@ while ($content = SQL_FETCHARRAY($result)) {
        );
 
        // Load row template
-       $OUT .= LOAD_TEMPLATE("guest_top10_row_earner", true, $content);
+       $OUT .= LOAD_TEMPLATE('guest_top10_row_earner', true, $content);
 
        // Switch colors and count one up
        $SW = 3 - $SW; $cnt++;
@@ -169,7 +169,7 @@ if ($cnt < getConfig('top10_max')) {
                );
 
                // Load row template
-               $OUT .= LOAD_TEMPLATE("guest_top10_empty4", true, $content);
+               $OUT .= LOAD_TEMPLATE('guest_top10_empty4', true, $content);
                $SW = 3 - $SW;
        } // END - for
 } // END - if
@@ -219,7 +219,7 @@ while ($content = SQL_FETCHARRAY($result)) {
                'uid'    => $content['userid'],
                'refs'   => $content['refs'],
                'nick'   => $content['nickname'],
-               'points' => translateComma(GET_TOTAL_DATA($content['userid'], "user_points", "points")),
+               'points' => translateComma(GET_TOTAL_DATA($content['userid'], 'user_points', 'points')),
                'last'   => generateDateTime($content['last_online'], '3')
        );