echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/statistic', 'Total messages (only operators)');
?>
</td>
		<td><?php 
echo $totalMessagesCount - $systemMessagesCount - $totalVisitorsMessagesCount;
?>
</td>
	</tr>
</table>
						
<h2><?php 
echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/statistic', 'Operators statistic, top 100 by chats number');
?>
</h2>
<?php 
$operators = erLhcoreClassChatStatistic::getTopTodaysOperators(100, 0, $filter24);
?>

<table class="table">
	<thead>
		<tr>
			<td><?php 
echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/statistic', 'User');
?>
</td>
			<td><?php 
echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/statistic', 'Total chats');
?>
</td>
			<td><?php 
echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/statistic', 'Total messages');
Esempio n. 2
0
</td>
						<td><?php 
echo $totalMessagesCount - $systemMessagesCount - $totalVisitorsMessagesCount;
?>
</td>
					</tr>
				</table>
			</div>
		</div>
		
		<h2><?php 
echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/statistic', 'Operators last 24h statistic, top 100 by chats number');
?>
</h2>
		<?php 
$operators = erLhcoreClassChatStatistic::getTopTodaysOperators(100);
?>
		
		<table class="table">
			<thead>
				<tr>
					<td><?php 
echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/statistic', 'User');
?>
</td>
					<td><?php 
echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/statistic', 'Total chats');
?>
</td>
					<td><?php 
echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/statistic', 'Total messages');