PluginProbe
Independent Analytics – WordPress Analytics Plugin / 1.17.4
Independent Analytics – WordPress Analytics Plugin v1.17.4
2.15.5 2.15.4 2.15.3 2.15.2 2.15.1 2.15.0 2.14.10 trunk 1.1 1.10 1.10.1 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.17.1 1.17.2 1.17.3 1.17.4 1.18 1.18.1 1.19.0 All 120 releases
independent-analytics / templates / pdf / site-overview.php
site-overview.php
42 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <html>
2 <head>
3 <link rel="stylesheet" href="<?php echo esc_url($style_url); ?>">
4 </head>
5 <body>
6 <div id="header">
7 <div class="content">
8 <div class="date"><?php esc_html_e($date); ?></div>
9 <div class="title"><?php esc_html_e($title); ?></div>
10 <div class="subtitle"><?php esc_html_e('Site Performance Report', 'iawp'); ?></div>
11 </div>
12 </div>
13 <div id="main">
14 <?php echo $stats; ?>
15 <?php $chart = $this->fetch('pdf/chart', ['chart_data' => $chart_data]); ?>
16 <div id="chart">
17 <div class="labels">
18 <span class="label-date"><?php esc_html_e($date); ?></span>
19 <span class="label-visitors"><?php esc_html_e('Visitors', 'iawp'); ?></span>
20 <span class="label-views"><?php esc_html_e('Views', 'iawp'); ?></span>
21 </div>
22 <img src="data:image/svg+xml;base64,<?php echo base64_encode($chart); ?>">
23 </div>
24 <div id="top-results">
25 <?php
26 foreach ($top_ten as $title => $list) {
27 $this->insert(
28 'pdf/top-ten',
29 [
30 'title' => ucfirst($title),
31 'items' => $list,
32 ]
33 );
34 }
35 ?>
36 </div>
37 </div>
38 <div id="footer">
39 <p><?php echo esc_html__('Performance report generated by Independent Analytics.', 'iawp') . ' <a href="' . esc_url($analytics_url) . '">' . esc_html('Explore more data', 'iawp') . '</a>.'; ?><p>
40 <div>
41 </body>
42 </html>