<ul id="favorites-menu" class="nav navbar-nav"> <?php echo $templates->addTooltip('<li class="favorites-menu-icon"><span class="fa fa-star-half-empty"></span></li>', 'Favorites', ['position' => \PBPanel\Util\ComponentTemplates::TOOLTIP_POS_LEFT, 'offsetX' => 10, 'offsetY' => 21, 'appendToBody' => true]); ?> </ul> </div> </nav> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title"> Hi <span id="current-user"></span> <?php echo str_repeat('<span class="pull-right info-banner-space-left"> </span>', 3); ?> <?php echo $templates->streamInfoBanner($NOSubscribers, 'dollar', 'warning', 'Subscriber Count', '', $NOSubscribers > -1); ?> <?php echo ''; ?> <?php echo $templates->streamInfoBanner('NA', 'heartbeat', 'danger', 'Follower Count', 'stream-followers'); ?> <?php echo $templates->streamInfoBanner('NA', 'users', 'success', 'Viewer Count', 'stream-viewer-count'); ?> <?php echo $templates->streamInfoBanner('Offline', 'rss', 'info', 'Stream Status', 'stream-status'); ?> <?php echo !$isBotOnline ? $templates->streamInfoBanner('Could not find PhantomBot', 'exclamation-circle', 'danger', 'Make sure PhantomBot is running and your webserver is able to find it!') : '';
</nav> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title"> <?php echo $dataStore->getVar('connector', 'botName'); ?> on channel <?php echo $dataStore->getVar('connector', 'channelOwner'); ?> <?php echo str_repeat('<span class="pull-right info-banner-space-left"> </span>', 3); ?> <?php echo $templates->streamInfoBanner($NOSubscribers, 'dollar', 'warning', 'Subscriber Count', '', $NOSubscribers > -1); ?> <?php echo ''; ?> <?php echo $templates->streamInfoBanner('NA', 'heartbeat', 'danger', 'Follower Count', 'stream-followers'); ?> <?php echo $templates->streamInfoBanner('NA', 'users', 'success', 'Viewer Count', 'stream-viewer-count'); ?> <?php echo $templates->streamInfoBanner('Offline', 'rss', 'info', 'Stream Status', 'stream-status'); ?> <?php echo !$isBotOnline ? $templates->streamInfoBanner('Bot Offline', 'exclamation-circle', 'danger', '<span class="text-danger">Could not contact the bot.</span><br />Make sure it\'s running and the HTTP server is active.') : '';