statistics total role, total guild problem

mason X

New Member
May 8, 2019
26
2
3
28
$srvInfoCache = LoadCacheData('server_info.cache');
if(is_array($srvInfoCache)) {
// $srvInfo = explode("|", $srvInfoCache[1][0]); // this problem ,change use $srvInfoCache[1][0]

echo '<div class="panel panel-sidebar">';
echo '<div class="panel-heading">';
echo '<h3 class="panel-title">'.lang('sidebar_srvinfo_txt_1',true).'</h3>';
echo '</div>';
echo '<div class="panel-body">';
echo '<table class="table table-striped" style="text-align:center">';
echo '<tr><td style="width:50%;">'.lang('sidebar_srvinfo_txt_2',true).'</td><td style="width:50%; font-weight:bold;">'.number_format($srvInfoCache[1][0]).'</td></tr>';
echo '<tr><td style="width:50%;">'.lang('sidebar_srvinfo_txt_3',true).'</td><td style="width:50%; font-weight:bold;">'.number_format($srvInfoCache[1][1]).'</td></tr>';
echo '<tr><td style="width:50%;">'.lang('sidebar_srvinfo_txt_4',true).'</td><td style="width:50%; font-weight:bold;">'.number_format($srvInfoCache[1][2]).'</td></tr>';
echo '<tr><td style="width:50%;">'.lang('sidebar_srvinfo_txt_5',true).'</td><td style="width:50%; color:#00aa00;font-weight:bold;">'.number_format($srvInfoCache[1][3]).'</td></tr>';