]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-top10.php
New naming convention applied to many functions, see #118 for details
[mailer.git] / inc / modules / guest / what-top10.php
index 9c7464c94e60269f95dc8951a84005581b6bd8bd..60a4bd24d058d0388fdc3877d2d17b80323b6bbf 100644 (file)
@@ -78,8 +78,8 @@ while ($content = SQL_FETCHARRAY($result)) {
                'uid'    => $content['userid'],
                'nick'   => $content['nickname'],
                'logins' => $content['total_logins'],
-               'points' => TRANSLATE_COMMA(GET_TOTAL_DATA($content['userid'], "user_points", "points")),
-               'last'   => MAKE_DATETIME($content['last_online'], "3"),
+               'points' => translateComma(GET_TOTAL_DATA($content['userid'], "user_points", "points")),
+               'last'   => generateDateTime($content['last_online'], "3"),
        );
 
        // Load row template
@@ -148,8 +148,8 @@ while ($content = SQL_FETCHARRAY($result)) {
                'cnt'    => $cnt,
                'uid'    => $content['userid'],
                'nick'   => $content['nickname'],
-               'points' => TRANSLATE_COMMA($content['points']),
-               'last'   => MAKE_DATETIME($content['last_online'], "3")
+               'points' => translateComma($content['points']),
+               'last'   => generateDateTime($content['last_online'], "3")
        );
 
        // Load row template
@@ -219,8 +219,8 @@ while ($content = SQL_FETCHARRAY($result)) {
                'uid'    => $content['userid'],
                'refs'   => $content['refs'],
                'nick'   => $content['nickname'],
-               'points' => TRANSLATE_COMMA(GET_TOTAL_DATA($content['userid'], "user_points", "points")),
-               'last'   => MAKE_DATETIME($content['last_online'], "3")
+               'points' => translateComma(GET_TOTAL_DATA($content['userid'], "user_points", "points")),
+               'last'   => generateDateTime($content['last_online'], "3")
        );
 
        // Load row template