git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@258 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
GTDarkNightmare@gmail.com 2011-08-27 17:25:55 +00:00
commit c40eb58b6a

View file

@ -143,7 +143,8 @@ else if( isset($_GET['pane']) && $_GET['pane'] == 'right' )
{
$dblist = array();
foreach($bb_cfg['db'] as $name => $row)
{ $sql = "SHOW TABLE STATUS
{
$sql = "SHOW TABLE STATUS
FROM {$row[1]}";
if($result = DB()->sql_query($sql))
{
@ -158,7 +159,8 @@ else if( isset($_GET['pane']) && $_GET['pane'] == 'right' )
}
}
$dblist[] = '<span title="'. $name .'">'. humn_size($dbsize) .'</span>';
} }
}
}
$dbsize = implode('&nbsp;|&nbsp;', $dblist);
}
else
@ -298,6 +300,7 @@ else if( isset($_GET['pane']) && $_GET['pane'] == 'right' )
{
$template->assign_vars(array(
'USERS_ONLINE_HREF' => "index.php?pane=right&users_online=1&sid={$userdata['session_id']}",
'L_SHOW_USERS_ONLINE' => $lang['SHOW_ONLINE_USERLIST'],
));
}