HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/takarzan.ir/dup-installer/templates/default/pages-parts/step1/info-tabs/archive.php
<?php

/**
 *
 * @package templates/default
 */

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

use Duplicator\Installer\Core\Params\PrmMng;

$archiveConfig = DUPX_ArchiveConfig::getInstance();
?>
<div id="tabs-2">
    <table class="s1-archive-local">
        <tr>
            <td colspan="2"><div class="hdr-sub3">Archive File</div></td>
        </tr>
        <tr>
            <td>Created:</td>
            <td><?php echo $archiveConfig->created; ?> </td>
        </tr>
        <tr>
            <td>Size:</td>
            <td><?php echo DUPX_U::readableByteSize(DUPX_Conf_Utils::archiveSize()); ?> </td>
        </tr>
        <tr>
            <td>Archive:</td>
            <td><?php echo DUPX_ArchiveConfig::getInstance()->package_name; ?> </td>
        </tr>
    </table>


    <table class="s1-archive-local">
        <tr>
            <td colspan="2"><div class="hdr-sub3">Site Details</div></td>
        </tr>
        <tr>
            <td>Site:</td>
            <td><?php echo DUPX_U::esc_html($archiveConfig->blogname); ?> </td>
        </tr>
        <tr>
            <td>URL:</td>
            <td><?php echo DUPX_U::esc_html(rtrim($archiveConfig->getRealValue('siteUrl'), '/')); ?> </td>
        </tr>
        <tr>
            <td>Notes:</td>
            <td><?php echo strlen($archiveConfig->package_notes) ? "{$archiveConfig->package_notes}" : " - no notes - "; ?></td>
        </tr>
        <?php if ($archiveConfig->exportOnlyDB) : ?>
            <tr>
                <td>Mode:</td>
                <td>Archive only database was enabled during package package creation.</td>
            </tr>
        <?php endif; ?>
    </table>

</div>