<?php



defined('ABSPATH') || defined('DUPXABSPATH') || exit;

use Duplicator\Installer\Core\Params\PrmMng;

$recoveryLink = PrmMng::getInstance()->getValue(PrmMng::PARAM_RECOVERY_LINK);
?>
<div id="ajaxerr-area" class="no-display">
    <p>
        <b>ERROR:</b> <div class="message"></div>
    <i>Please try again an issue has occurred.</i>
</p>
<div>Please see the <?php DUPX_View_Funcs::installerLogLink(); ?> file for more details.</div>
<div id="ajaxerr-data" class="margin-top-1">
    <div class="html-content" ></div>
    <pre class="pre-content"></pre>
    <iframe class="iframe-content"></iframe>
</div>
<p>
    <b>Additional Resources:</b><br/>
    &raquo; <a target='_blank' href="<?php echo DUPX_Constants::FAQ_URL; ?>how-to-read-fix-various-http-status-codes" >
        Check the documentation</a> for general information about each status code<br>
    &raquo; <a target='_blank' href='<?php echo DUPX_Constants::FAQ_URL; ?>'>Help Resources</a><br/>
    &raquo; <a target='_blank' href='https://duplicator.com/knowledge-base-article-categories/troubleshooting'>Technical FAQ</a>
</p>
<p class="text-center">
    <input id="ajax-error-try-again" type="button" class="default-btn" value="&laquo; Try Again" />
    <?php if (!empty($recoveryLink)) { ?>
        <a href="<?php echo DUPX_U::esc_url($recoveryLink); ?>" class="default-btn" target="_parent">
            <i class="fas fa-house-fire"></i> Restore Backup
        </a> 
    <?php } ?>
</p>
<p class="text-center">
    <i style='font-size:11px'>See online help for more details at <a href='https://duplicator.com/my-account/support/' target='_blank'>
        duplicator.com
    </a></i>
</p>
</div>
