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 0a11142..5522e6f 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 7030cad..88fe74f 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 17e1fc6..68cdd46 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>