mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r258
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@258 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
7508b31b82
commit
c40eb58b6a
1 changed files with 366 additions and 363 deletions
|
@ -143,7 +143,8 @@ else if( isset($_GET['pane']) && $_GET['pane'] == 'right' )
|
||||||
{
|
{
|
||||||
$dblist = array();
|
$dblist = array();
|
||||||
foreach($bb_cfg['db'] as $name => $row)
|
foreach($bb_cfg['db'] as $name => $row)
|
||||||
{
$sql = "SHOW TABLE STATUS
|
{
|
||||||
|
$sql = "SHOW TABLE STATUS
|
||||||
FROM {$row[1]}";
|
FROM {$row[1]}";
|
||||||
if($result = DB()->sql_query($sql))
|
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>';
|
$dblist[] = '<span title="'. $name .'">'. humn_size($dbsize) .'</span>';
|
||||||
}
}
|
}
|
||||||
|
}
|
||||||
$dbsize = implode(' | ', $dblist);
|
$dbsize = implode(' | ', $dblist);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -298,6 +300,7 @@ else if( isset($_GET['pane']) && $_GET['pane'] == 'right' )
|
||||||
{
|
{
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'USERS_ONLINE_HREF' => "index.php?pane=right&users_online=1&sid={$userdata['session_id']}",
|
'USERS_ONLINE_HREF' => "index.php?pane=right&users_online=1&sid={$userdata['session_id']}",
|
||||||
|
'L_SHOW_USERS_ONLINE' => $lang['SHOW_ONLINE_USERLIST'],
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue