| 1 |
<?php |
| 2 |
|
| 3 |
if (!defined('ABSPATH')) { exit; } |
| 4 |
|
| 5 |
include(GDSIH_PATH.'forms/shared/top.php'); |
| 6 |
include(GDSIH_PATH.'core/objects/core.statistics.php'); |
| 7 |
|
| 8 |
?> |
| 9 |
|
| 10 |
<div class="d4p-plugin-dashboard"> |
| 11 |
<div class="d4p-content-left"> |
| 12 |
<div class="d4p-dashboard-badge" style="background-color: #69426A"> |
| 13 |
<div aria-hidden="true" class="d4p-plugin-logo"><i class="d4p-icon d4p-plugin-icon-gd-security-headers"></i></div> |
| 14 |
<h3>GD Security Headers Pro</h3> |
| 15 |
|
| 16 |
<h5> |
| 17 |
<?php |
| 18 |
|
| 19 |
_e("Version", "gd-security-headers"); |
| 20 |
echo': '.gdsih_settings()->info->version; |
| 21 |
|
| 22 |
if (gdsih_settings()->info->status != 'stable') { |
| 23 |
echo ' - <span class="d4p-plugin-unstable" style="color: #fff; font-weight: 900;">'.strtoupper(gdsih_settings()->info->status).'</span>'; |
| 24 |
} |
| 25 |
|
| 26 |
?> |
| 27 |
|
| 28 |
</h5> |
| 29 |
</div> |
| 30 |
|
| 31 |
<div class="d4p-buttons-group"> |
| 32 |
<a class="button-secondary" href="admin.php?page=gd-security-headers-settings"><i aria-hidden="true" class="fa fa-cogs fa-fw"></i> <?php _e("Settings", "gd-security-headers"); ?></a> |
| 33 |
<a class="button-secondary" href="admin.php?page=gd-security-headers-tools"><i aria-hidden="true" class="fa fa-wrench fa-fw"></i> <?php _e("Tools", "gd-security-headers"); ?></a> |
| 34 |
</div> |
| 35 |
|
| 36 |
<div class="d4p-buttons-group"> |
| 37 |
<a class="button-secondary" href="admin.php?page=gd-security-headers-about"><i aria-hidden="true" class="fa fa-info-circle fa-fw"></i> <?php _e("About", "gd-security-headers"); ?></a> |
| 38 |
</div> |
| 39 |
</div> |
| 40 |
<div class="d4p-content-right"> |
| 41 |
<?php |
| 42 |
|
| 43 |
include(GDSIH_PATH.'forms/dashboard/headers.php'); |
| 44 |
include(GDSIH_PATH.'forms/dashboard/reports.php'); |
| 45 |
|
| 46 |
?> |
| 47 |
</div> |
| 48 |
</div> |
| 49 |
|
| 50 |
<?php |
| 51 |
|
| 52 |
include(GDSIH_PATH.'forms/shared/bottom.php'); |
| 53 |
|