Server IP : 15.235.198.142 / Your IP : 216.73.216.17 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/yme/wp-content/plugins/duplicator/views/tools/ |
Upload File : |
<?php use Duplicator\Core\Views\TplMng; defined('ABSPATH') || defined('DUPXABSPATH') || exit; require_once(DUPLICATOR_PLUGIN_PATH . '/classes/ui/class.ui.dialog.php'); require_once(DUPLICATOR_PLUGIN_PATH . '/views/inc.header.php'); global $wpdb; global $wp_version; DUP_Handler::init_error_handler(); DUP_Util::hasCapability('manage_options'); $current_tab = isset($_REQUEST['tab']) ? esc_html($_REQUEST['tab']) : 'diagnostics'; if ('d' == $current_tab) { $current_tab = 'diagnostics'; } ?> <div class="wrap"> <?php duplicator_header(__("Tools", 'duplicator')) ?> <h2 class="nav-tab-wrapper"> <a href="?page=duplicator-tools&tab=diagnostics" class="nav-tab <?php echo ($current_tab == 'diagnostics') ? 'nav-tab-active' : '' ?>"> <?php esc_html_e('General', 'duplicator'); ?></a> <a href="?page=duplicator-tools&tab=templates" class="nav-tab <?php echo ($current_tab == 'templates') ? 'nav-tab-active' : '' ?>"> <?php esc_html_e('Templates', 'duplicator'); ?></a> <a href="?page=duplicator-tools&tab=recovery" class="nav-tab <?php echo ($current_tab == 'recovery') ? 'nav-tab-active' : '' ?>"> <?php esc_html_e('Recovery', 'duplicator'); ?></a> </h2> <?php switch ($current_tab) { case 'diagnostics': include(DUPLICATOR_PLUGIN_PATH . 'views/tools/diagnostics/main.php'); break; case 'templates': TplMng::getInstance()->render('mocks/templates/templates', array(), true); break; case 'recovery': TplMng::getInstance()->render('mocks/recovery/recovery', array(), true); break; } ?> </div>