| 1 |
<?php |
| 2 |
if (!defined('ABSPATH')) { |
| 3 |
exit; |
| 4 |
} |
| 5 |
include dirname(__FILE__) . '/includes/config.inc.php'; |
| 6 |
include dirname(__FILE__) . '/includes/breadcrumbs.inc.php'; |
| 7 |
?> |
| 8 |
|
| 9 |
<section class="hh-panel"> |
| 10 |
<form method="post" action="options.php"> |
| 11 |
<table class="form-table hh-table"> |
| 12 |
<tbody> |
| 13 |
<?php |
| 14 |
if (isset($_GET['header'])) |
| 15 |
{ |
| 16 |
$http_headers_header_file = sprintf('%s/%s.php', dirname(__FILE__), basename(sanitize_text_field(wp_unslash($_GET['header'])))); |
| 17 |
if (is_file($http_headers_header_file)) |
| 18 |
{ |
| 19 |
include $http_headers_header_file; |
| 20 |
} |
| 21 |
} |
| 22 |
?> |
| 23 |
</tbody> |
| 24 |
</table> |
| 25 |
<?php submit_button(); ?> |
| 26 |
</form> |
| 27 |
</section> |