<?php if ($cbUsers) { foreach ($cbUsers as $cbUser) { ?> <li class="cbOnlineUser"> <?php echo $cbUser->getField('formatname', null, 'html', 'none', 'list', 0, true); ?> </li> <?php } } ?> <?php echo modCBOnlineHelper::getPlugins($params, 'afterUsers'); ?> </ul> <?php echo modCBOnlineHelper::getPlugins($params, 'almostEnd'); if ($postText) { ?> <div class="posttext"> <p><?php echo $postText; ?> </p> </div> <?php } echo modCBOnlineHelper::getPlugins($params, 'end');
?> <?php if ($cbUsers) { foreach ($cbUsers as $cbUser) { ?> <span class="cbOnlineUser"> <?php echo $cbUser->getField('avatar', null, 'html', 'none', 'list', 0, true); ?> </span> <?php } } ?> <?php echo modCBOnlineHelper::getPlugins($params, 'afterUsers', 'span', 1, null, ' '); ?> </span> <?php echo modCBOnlineHelper::getPlugins($params, 'almostEnd', 'span', 1); if ($postText) { ?> <div class="posttext"><?php echo $postText; ?> </div> <?php } echo modCBOnlineHelper::getPlugins($params, 'end', 'span', 1);