<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/
?>

<?php include APPLICATION_PATH .  '/application/modules/Browserpush/views/scripts/dismiss_message.tpl';

?>

<h3><?php echo $this->translate("Report & Statistics"); ?></h3>
<p><?php echo $this->translate("This page displays a brief report of push notifications sent by you from the admin panel of this plugin. (This report does not cover in-built site notifications.)"); ?></p>
<div class='admin_search browsepush_admin_search' style="margin-bottom:20px;">
  <?php echo $this->formFilter->render($this) ?>
</div>
<div class="browsepush_reports">
  <div>
    <article>
      <span class="_count"><?php echo engine_count($this->sent); ?></span>
      <span class="_label"><?php echo $this->translate("Total Notifications Sent"); ?></span>
    </article>
  </div>
  <div>
    <article>
      <span class="_count"><?php echo engine_count($this->receivers); ?></span>
      <span class="_label"><?php echo $this->translate("Total Notifications Received"); ?></span>
    </article>
  </div>
  <div>
    <article>  
      <span class="_count"><?php echo engine_count($this->clicked); ?></span>
      <span class="_label"><?php echo $this->translate("Total Notifications Clicked"); ?></span>
    </article>
  </div>
</div>
