]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_beg.php
Login form for guests in surfbar added, some trigger_error() added, misc rewrites
[mailer.git] / inc / modules / admin / what-list_beg.php
index 3bb5aba71f942586923c3e552d17eecd63b77fee..0ffdfb9a074ded4aa4ccc7796d0850aec9f7e608 100644 (file)
@@ -67,7 +67,7 @@ if (getConfig('beg_rallye') == 'Y') {
 FROM `{!_MYSQL_PREFIX!}_user_data`
 WHERE `status`='CONFIRMED' AND beg_points > 0".$lastOnline."
 ORDER BY beg_points DESC, last_online DESC, userid",
-        array($ONLINE), __FILE__, __LINE__);
+       array($ONLINE), __FILE__, __LINE__);
 
        if (SQL_NUMROWS($result) > 0) {
                // List users
@@ -86,12 +86,12 @@ ORDER BY beg_points DESC, last_online DESC, userid",
                        // @TODO to shorten this block. Please also do so with uid->userid
                        $content = array(
                                'uid'    => $content['userid'],
-                               'email'  => generateMemberEmailLink($content['email'], "user_data"),
+                               'email'  => generateEmailLink($content['email'], 'user_data'),
                                'gender' => translateGender($content['gender']),
                                'sname'  => $content['surname'],
                                'fname'  => $content['family'],
                                'turbo'  => translateComma($content['beg_points']),
-                               'last'   => generateDateTime($content['last_online'], "2"),
+                               'last'   => generateDateTime($content['last_online'], '2'),
                                'sw'     => $SW,
                                'win1'   => $WIN1,
                                'win2'   => $WIN2,
@@ -116,7 +116,7 @@ ORDER BY beg_points DESC, last_online DESC, userid",
 
                // Prepare constant for timemark
                if (EXT_IS_ACTIVE('autopurge')) {
-                       define('__AUTOPURGE_TIMEOUT', generateDateTime(time() - getConfig('ap_inactive_since'), "2"));
+                       define('__AUTOPURGE_TIMEOUT', generateDateTime(time() - getConfig('ap_inactive_since'), '2'));
                } else {
                        define('__AUTOPURGE_TIMEOUT', sprintf(getMessage('EXTENSION_PROBLEM_NOT_INSTALLED'), 'autopurge'));
                }