]> git.mxchange.org Git - mailer.git/commitdiff
Template fixed
authorRoland Häder <roland@mxchange.org>
Tue, 9 Dec 2008 18:09:21 +0000 (18:09 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 9 Dec 2008 18:09:21 +0000 (18:09 +0000)
inc/databases.php
inc/modules/admin/what-list_bonus.php
templates/de/html/admin/admin_list_bonus_rows.tpl

index 0a11142c3332e8ff9644f1deaf24fb0e51dc005c..5522e6f6f01deab9a0439869360ddedd8813f9f9 100644 (file)
@@ -114,7 +114,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // Current SVN revision
-define('CURR_SVN_REVISION', "612");
+define('CURR_SVN_REVISION', "613");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 7030cade333af41ef57b4274fea1706ff931cee4..88fe74fd797b93c05dd78db67282aa1566a716a6 100644 (file)
@@ -74,7 +74,7 @@ if ($_CONFIG['bonus_active'] == "Y") {
        }
 
        // Check if at least one is in the active rallye
-       $result = SQL_QUERY_ESC("SELECT userid, email, gender, surname, family, ".$USE." AS points, last_online AS last
+       $result = SQL_QUERY_ESC("SELECT userid AS uid, email, gender, surname, family, ".$USE." AS points, last_online AS last
 FROM "._MYSQL_PREFIX."_user_data
 WHERE status='CONFIRMED' AND ".$USE." > 0".$LAST."
 ORDER BY points DESC, last_online DESC, userid",
@@ -96,6 +96,7 @@ ORDER BY points DESC, last_online DESC, userid",
                        }
 
                        // Prepare content
+                       $content['uid']    = ADMIN_USER_PROFILE_LINK($content['uid']);
                        $content['email']  = CREATE_EMAIL_LINK($content['email'], "user_data");
                        $content['gender'] = TRANSLATE_GENDER($content['gender']);
                        $content['points'] = TRANSLATE_COMMA($content['points']);
index 17e1fc6867da0c8265a62ea29762e0de09de6731..68cdd461b7a3fe464f4c3da112574b41a281b2a7 100644 (file)
@@ -1,11 +1,7 @@
 <TR>
        <TD class="switch_sw$content[sw] bottom2 right2" align="center">$content[win1]$content[cnt]$content[win2]</TD>
-       <TD class="switch_sw$content[sw] bottom2 right2" align="center">$content[win1]<A
-               href="{!URL!}/modules.php?module=admin&amp;what=list_user&amp;u_id=$content[uid]">$content[uid]</A>$content[win2]</TD>
-       <TD class="switch_sw$content[sw] bottom2 right2">&nbsp;$content[win1]<A
-               href="$content[email]">$content[gender] $content[sname]
-       $content[fname]</A>$content[win2]</TD>
-       <TD class="switch_sw$content[sw] bottom2 right2">&nbsp;$content[turbo]
-       {!POINTS!}</TD>
+       <TD class="switch_sw$content[sw] bottom2 right2" align="center">$content[win1]$content[uid]$content[win2]</TD>
+       <TD class="switch_sw$content[sw] bottom2 right2">&nbsp;$content[win1]<A href="$content[email]">$content[gender] $content[sname] $content[fname]</A>$content[win2]</TD>
+       <TD class="switch_sw$content[sw] bottom2 right2">&nbsp;$content[turbo] {!POINTS!}</TD>
        <TD class="switch_sw$content[sw] bottom2">&nbsp;$content[last]</TD>
-</TR>
\ No newline at end of file
+</TR>