HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/flbestac/public_html/wp-content/plugins/wp-seopress/inc/admin/admin-pages/Sitemaps.php
<?php

defined('ABSPATH') or exit('Please don&rsquo;t call the plugin directly. Thanks :)');

$this->options = get_option('seopress_xml_sitemap_option_name');
if (function_exists('seopress_admin_header')) {
    echo seopress_admin_header();
} ?>
<form method="post" action="<?php echo esc_url(admin_url('options.php')); ?>" class="seopress-option" name="seopress-flush">
    <?php
        echo $this->feature_title('xml-sitemap');
settings_fields('seopress_xml_sitemap_option_group'); ?>

    <div id="seopress-tabs" class="wrap">
        <?php
            $current_tab = '';
$plugin_settings_tabs    = [
                'tab_seopress_xml_sitemap_general'    => __('General', 'wp-seopress'),
                'tab_seopress_xml_sitemap_post_types' => __('Post Types', 'wp-seopress'),
                'tab_seopress_xml_sitemap_taxonomies' => __('Taxonomies', 'wp-seopress'),
                'tab_seopress_html_sitemap'           => __('HTML Sitemap', 'wp-seopress'),
            ];

echo '<div class="nav-tab-wrapper">';
foreach ($plugin_settings_tabs as $tab_key => $tab_caption) {
    echo '<a id="' . esc_attr($tab_key) . '-tab" class="nav-tab" href="?page=seopress-xml-sitemap#tab=' . esc_attr($tab_key) . '">' . esc_html($tab_caption) . '</a>';
}
echo '</div>'; ?>
                <div class="seopress-tab <?php if ('tab_seopress_xml_sitemap_general' == $current_tab) {
    echo 'active';
} ?>" id="tab_seopress_xml_sitemap_general"><?php do_settings_sections('seopress-settings-admin-xml-sitemap-general'); ?></div>
                <div class="seopress-tab <?php if ('tab_seopress_xml_sitemap_post_types' == $current_tab) {
    echo 'active';
} ?>" id="tab_seopress_xml_sitemap_post_types"><?php do_settings_sections('seopress-settings-admin-xml-sitemap-post-types'); ?></div>
                <div class="seopress-tab <?php if ('tab_seopress_xml_sitemap_taxonomies' == $current_tab) {
    echo 'active';
} ?>" id="tab_seopress_xml_sitemap_taxonomies"><?php do_settings_sections('seopress-settings-admin-xml-sitemap-taxonomies'); ?></div>
                <div class="seopress-tab <?php if ('tab_seopress_html_sitemap' == $current_tab) {
    echo 'active';
} ?>" id="tab_seopress_html_sitemap"><?php do_settings_sections('seopress-settings-admin-html-sitemap'); ?></div>
        </div>

        <?php sp_submit_button(esc_html__('Save changes', 'wp-seopress')); ?>
    </form>
<?php