HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //proc/self/cwd/wp-content/plugins/sendgrid-email-delivery-simplified/view/sendgrid_stats.php
<div class="wrap clearfix" id="sendgrid-statistics-page">
  <div class="pull-left sendgrid-statistics-header">
    <div>
      <a href="http://sendgrid.com" target="_blank">
        <img src="<?php echo plugins_url( '/images/logo.png', __FILE__ ) ?>" width="100" alt="" />
      </a>
    </div>
    <h2 id="sendgrid-wordpress-statistics-header" class="sendgrid-statistics-header-toggle">SendGrid Wordpress Statistics</h2>
    <h2 id="sendgrid-general-statistics-header" class="sendgrid-statistics-header-toggle" style="display: none;">SendGrid General Statistics</h2>
    <h2 id="sendgrid-category-statistics-header" class="sendgrid-statistics-header-toggle" style="display: none;">SendGrid Categories Statistics</h2>
    <?php if ( isset( $status ) and ( 'error' == $status ) ): ?>
      <div id="message" class="<?php echo $status ?>">
        <p>
          <strong><?php echo $message ?></strong>
        </p>
      </div>
    <?php endif; ?>
    <a href="https://app.sendgrid.com/statistics" target="_blank" class="more-statistics">SendGrid Portal</a>
  </div>
  <div class="pull-right sendgrid-statistics-change-type">
    <select id="sendgrid-statistics-change-type">
      <option value="general">General statistics</option>
      <option value="wordpress" selected="selected">Wordpress statistics</option>
      <?php $categories = Sendgrid_Tools::get_categories_array(); ?>
      <?php if ( is_array( $categories ) and count( $categories ) > 0 ): ?>
      <optgroup label="Categories:">
        <?php foreach ( $categories as $cateogry ): ?>
        <option value="<?php echo $cateogry; ?>"><?php echo $cateogry; ?></option>
        <?php endforeach; ?>
      </optgroup>
      <?php endif; ?>
    </select>
  </div>

  <div id="dashboard-widgets-wrap" class="full-width">
    <div id="dashboard-widgets" class="metabox-holder columns-1">
      <div class="postbox-container">
        <div id="sendgrid_statistics_widget" class="postbox ">
          <h3 class="hndle"><span>SendGrid Statistics</span></h3>
          <div class="inside">
            <?php require plugin_dir_path( __FILE__ ) . '../view/partials/sendgrid_stats_widget.php'; ?>
          </div>
        </div>

        <?php
          require plugin_dir_path( __FILE__ ) . '../view/partials/sendgrid_stats_deliveries.php';
          require plugin_dir_path( __FILE__ ) . '../view/partials/sendgrid_stats_compliance.php';
          require plugin_dir_path( __FILE__ ) . '../view/partials/sendgrid_stats_engagement.php';
        ?>
      </div>
    </div>
  </div>
</div>