Exemplo n.º 1
0
        <td class="td_stat"><?php 
echo $cur_records;
?>
</td>
    </tr>
</table>
</td>

<td class="other" width="160" valign="top" style="background-color: whiteSmoke">
    <table width="100%"  border="0" align="left" cellpadding="0" cellspacing="0">
        <tr>
            <td class="td_stat" height="" colspan="2"></td>
        </tr>
        <tr>
            <?php 
$stream_servers = StreamServer::getAllActive(true);
$streamer_sessions = array_reduce($stream_servers, function ($sessions, $streamer) {
    return $sessions + $streamer['sessions'];
}, 0);
?>
            <td class="td_stat"><?php 
echo mb_strtolower(_('Stream servers'), 'UTF-8');
?>
:</td>
            <td class="td_stat"><?php 
echo $streamer_sessions;
?>
</td>
        </tr>

        <tr>