esc_html__( 'Start of attachments import - reading appropriate XML file', 'atiframe-builder' ), 'import_start_failed' => esc_html__( 'XML file reading error occurred - check its existence', 'atiframe-builder' ), 'emptyInput' => esc_html__( 'Please select a file.', 'atiframe-builder' ), 'noAttachments' => esc_html__( 'There were no attachment files found in the import file.', 'atiframe-builder' ), 'parsing' => esc_html__( 'Parsing the file.', 'atiframe-builder' ), 'importing' => esc_html__( 'Importing file ', 'atiframe-builder' ), 'progress' => esc_html__( 'Overall progress: ', 'atiframe-builder' ), 'retrying' => esc_html__( 'An error occurred. In 5 seconds, retrying file ', 'atiframe-builder' ), 'done' => esc_html__( 'All done!', 'atiframe-builder' ), 'ajaxFail' => esc_html__( 'There was an error connecting to the server.', 'atiframe-builder' ), 'pbAjaxFail' => esc_html__( 'The program could not run. Check the error log below or your JavaScript console for more information', 'atiframe-builder' ), 'fatalUpload' => esc_html__( 'There was a fatal error. Check the last entry in the error log below.', 'atiframe-builder' ), ) ); $plugins_to_activate = array( 'contact-form-7/wp-contact-form-7.php', 'kc_pro/kc_pro.php', 'kingcomposer/kingcomposer.php', 'LayerSlider/layerslider.php', 'redux-framework/redux-framework.php', 'revslider/revslider.php', 'secretlab_shortcodes/index.php', 'secretlab_stack/index.php', 'woocommerce/woocommerce.php', 'wordpress-seo/wp-seo.php', 'yikes-inc-easy-mailchimp-extender/yikes-inc-easy-mailchimp-extender.php' ); // Allowed HTML tags for escaping of texts $allowed_html = array( 'a' => array( 'href' => array(), 'title' => array(), 'target' => array(), ), 'div' => array( 'id' => array(), 'class' => array(), ), 'br' => array(), 'em' => array(), 'strong' => array(), 'h1' => array(), 'h2' => array(), 'h3' => array(), 'h4' => array(), 'h5' => array(), 'h6' => array(), 'p' => array( 'style' => array(), ), 'b' => array(), 'i' => array(), 'u' => array(), 'ol' => array(), 'ul' => array(), 'li' => array(), 'code' => array(), 'del' => array(), ); $current = get_option( 'active_plugins' ); $opts = get_transient( 'seo_on_click_setup' ); if ( !is_array( $opts ) ) { $opts = array( 'theme_type' => 'main', 'install_plugins' => 1, 'activate_plugins' => 1, 'import_widgets' => 1, 'set_theme_options' => 1, 'set_sliders' => 1, 'technical_refresh' => 1, 'import_sample_data' => 1, 'i_id' => 1, 'install_theme' => 1, 'import_data' => 1, 'import_attachments' => 1, ); } if ( isset( $_COOKIE['seo_theme_type'] ) ) { $opts['theme_type'] = $_COOKIE['seo_theme_type']; } $theme_type = $opts['theme_type']; $theme_names = array( 'demo1' => esc_html__( 'Demo 1 SEO Agency', 'atiframe-builder' ), 'demo7' => esc_html__( 'Demo 7 Security/CCTV Services', 'atiframe-builder' ), 'demo8' => esc_html__( 'Demo 8 Lawyer/Corporate', 'atiframe-builder' ), 'demo9' => esc_html__( 'Demo 9 Guard/Yellow', 'atiframe-builder' ), 'full' => esc_html__( 'Full Demo, 100+ pages', 'atiframe-builder' ), ); $checked = array(); foreach ( $opts as $name => $val ) { if ( $val == 1 ) { $checked[$name] = ' checked="checked"'; } else { $checked[$name] = ''; } } $active_tab = ( isset( $_GET['tab'] ) ? $_GET['tab'] : 'atiframe' ); if ( $active_tab == 'atiframe' ) { $active_class = 'nav-tab-active'; } else { $active_class = ''; } echo '
' ; if ( $active_tab == 'atiframe' ) { echo '
' ; echo '
' ; if ( function_exists( 'atiframebuilder_welcome_notice' ) ) { atiframebuilder_welcome_notice(); global $wn ; echo wp_kses( $wn['real_capabilities'], $allowed_html ) ; $install_log_class = "install_log_active"; } else { $install_log_class = "install_log_passive"; } function atiframebuilder_inst_error_mess() { if ( !function_exists( 'atiframebuilder_welcome_notice' ) ) { echo '
' . esc_html__( 'Install SecretLab Installer plugin to install the theme', 'atiframe-builder' ) . '
' ; } } function atiframebuilder_hide() { if ( !function_exists( 'atiframebuilder_welcome_notice' ) ) { $add_class = ' class="hide"'; } else { $add_class = ''; } return $add_class; } if ( is_admin() && isset( $_POST['sl_theme_reg'] ) && is_array( $_POST['sl_theme_reg'] ) ) { if ( isset( $_POST['sl_theme_reg']['username'] ) && isset( $_POST['sl_theme_reg']['key'] ) ) { $reg_data = array(); $reg_data['username'] = sanitize_text_field( $_POST['sl_theme_reg']['username'] ); $reg_data['key'] = sanitize_text_field( $_POST['sl_theme_reg']['key'] ); update_option( 'sl_theme_reg_data', $reg_data ); } } //
  • '.esc_html__('Update', 'atiframe-builder').'
  • echo '

    ' . esc_html__( 'Welcome to Atiframe Theme', 'atiframe-builder' ) . '

    ' . esc_html__( 'Fully Customizable and Easy-to-use', 'atiframe-builder' ) . '

    ' ; atiframebuilder_inst_error_mess(); echo '

    1. ' . esc_html__( 'Automatic installation can take 2-8 min', 'atiframe-builder' ) . '

    ' . esc_html__( 'Select Theme version', 'atiframe-builder' ) . '

    ' . esc_html__( 'Install Plugins', 'atiframe-builder' ) . '

    ' . esc_html__( 'Install plugins', 'atiframe-builder' ) . '

    ' . esc_html__( 'Activate plugins', 'atiframe-builder' ) . '

    ' . esc_html__( 'Import Widgets', 'atiframe-builder' ) . '

    ' . esc_html__( 'Import Theme Options', 'atiframe-builder' ) . '

    ' . esc_html__( 'Import Demo Revolution Sliders', 'atiframe-builder' ) . '

    ' . esc_html__( 'Do Page Technical Refresh', 'atiframe-builder' ) . '

    ' . esc_html__( 'Import Data', 'atiframe-builder' ) . '

    ' . esc_html__( 'Import Demo Data', 'atiframe-builder' ) . '

    ' . esc_html__( 'Import attachments', 'atiframe-builder' ) . '

    ' . esc_attr__( 'Attribute uploaded images to:', 'atiframe-builder' ) . '
     ' . esc_attr__( 'Current User', 'atiframe-builder' ) . '
     ' . esc_attr__( 'User in the import file', 'atiframe-builder' ) . '
     ' . esc_attr__( 'Select User:', 'atiframe-builder' ) . wp_dropdown_users( array( 'echo' => false, ) ) . '

     ' . esc_attr__( 'Delay file requests by at least five seconds.', 'atiframe-builder' ) . ' 

    ' . esc_html__( 'Log of installation', 'atiframe-builder' ) . '

    ' . esc_html__( '2. Setup your theme', 'atiframe-builder' ) . '

    1. ' . esc_html__( 'Edit Sliders', 'atiframe-builder' ) . '
    2. ' . esc_html__( 'Theme Options', 'atiframe-builder' ) . ' ' . esc_html__( '(choose colors, design, pageloader, type of footer and header)', 'atiframe-builder' ) . '
    3. ' . esc_html__( 'Typography', 'atiframe-builder' ) . '
    4. ' . esc_html__( 'Menu', 'atiframe-builder' ) . ' ' . esc_html__( '(configure your menu items)', 'atiframe-builder' ) . '
    5. ' . esc_html__( 'Edit Header', 'atiframe-builder' ) . ' ' . esc_html__( '(change design of header)', 'atiframe-builder' ) . '
    6. ' . esc_html__( 'Edit Footer', 'atiframe-builder' ) . ' ' . esc_html__( '(if you choose it at Theme Options -> Design -> Footer)', 'atiframe-builder' ) . '
    7. ' . esc_html__( 'Widgets', 'atiframe-builder' ) . ' ' . esc_html__( '(choose custom footer to display)', 'atiframe-builder' ) . '
    8. ' . esc_html__( 'Icon Fonts', 'atiframe-builder' ) . '
    9. ' . esc_html__( 'Contact Forms', 'atiframe-builder' ) . ' ' . esc_html__( '(setup your email data to receive requests)', 'atiframe-builder' ) . '
    ' ; if ( function_exists( 'atiframebuilder_welcome_notice' ) ) { global $wn ; echo wp_kses( $wn['recommended_capabilities'], $allowed_html ) ; echo wp_kses( $wn['fail_install'], $allowed_html ) ; } echo '

    ' . esc_html__( 'Support', 'atiframe-builder' ) . '

    ' . esc_attr__( 'Online documentation', 'atiframe-builder' ) . '
    ' . esc_attr__( 'Send a Ticket', 'atiframe-builder' ) . '

    ' . esc_attr__( 'Response time is 24 hours', 'atiframe-builder' ) . '

    ' . esc_attr__( 'Send your site, admin login and password please. It is increase time of solving your problem', 'atiframe-builder' ) . '

    ' . esc_attr__( 'Manager of Customer Care', 'atiframe-builder' ) . '

    ' . esc_attr__( 'Rate the theme', 'atiframe-builder' ) . '

    ' . esc_attr__( 'Oleg Malkov', 'atiframe-builder' ) . '

    ' . esc_attr__( 'Send us feedback and criticism. Your feedback and experience is valuable for us! It will help to improve the theme.', 'atiframe-builder' ) . '

    m@secretlab.pw

    ' . esc_attr__( 'You can use it if you got any error and dont want to wait a solution from your hosting company.', 'atiframe-builder' ) . '

    ' . esc_attr__( 'Details about manual installations process: ', 'atiframe-builder' ) . 'http://secretlab.pw/doc/atiframe/#line4

    ' ; echo '
    ' . esc_attr__( 'Select Theme version', 'atiframe-builder' ) . '
    ' ; echo '
      ' ; echo '
    1. 1 ' . esc_attr__( 'Begin installing plugins', 'atiframe-builder' ) . ' ' . esc_attr__( 'Do It', 'atiframe-builder' ) . '
    2. ' ; echo '
    3. 2 ' . esc_attr__( 'Begin activating plugins', 'atiframe-builder' ) . ' ' . esc_attr__( 'Do It', 'atiframe-builder' ) . '
    4. ' ; echo '
    5. 3 ' . esc_attr__( 'Refresh the page', 'atiframe-builder' ) . '
    6. ' ; echo '
    7. 4 ' . esc_attr__( 'Import Sliders', 'atiframe-builder' ) . ' ' . esc_attr__( 'Do It', 'atiframe-builder' ) . '
    8. ' ; echo '
    9. 5 ' . esc_attr__( 'Import Dummy Data (Skip it, if you dont need demo-data)', 'atiframe-builder' ) . ' ' . esc_attr__( ' If it got error, you can run it again 2-6 times (at slow webhosting) until you get a success message', 'atiframe-builder' ) . ' ' . esc_attr__( 'Do It', 'atiframe-builder' ) . '
    10. ' ; echo '

      ' ; echo '
    11. 6 ' . esc_attr__( 'Import Dummy Data Attachments, It can take 5-15 min', 'atiframe-builder' ) . '
    12. ' ; echo '

      ' . esc_attr__( 'Do It', 'atiframe-builder' ) . '

      ' ; echo '
    13. 7 ' . esc_attr__( 'Import Widgets', 'atiframe-builder' ) . ' ' . esc_attr__( 'Do It', 'atiframe-builder' ) . '
    14. ' ; echo '
    15. 8 ' . esc_attr__( 'Import Theme Option Set', 'atiframe-builder' ) . ' ' . esc_attr__( 'Do It', 'atiframe-builder' ) . '
    16. ' ; echo '
    17. 9 ' . esc_attr__( 'Go to Theme Options page to finish', 'atiframe-builder' ) . '
    18. ' ; echo '
    ' ; echo '
    ' ; echo '

    ' . esc_attr__( 'Log of installation', 'atiframe-builder' ) . '

    ' ; echo '
    ' ; echo '
    ' ; echo '
    ' ; } // end if tab active echo '
    ' ; echo '
    ' . esc_attr__( 'It seems you have started Atiframe Theme Install already, now you are trying to change Theme Type to another one. Are you sure?', 'atiframe-builder' ) . '
    ' . esc_attr__( 'Continue', 'atiframe-builder' ) . ' ' . esc_attr__( 'Stop', 'atiframe-builder' ) . '
    ' ;