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/head/header-main.php
<?php

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

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

// @var $showInstallerMode bool
// @var $showSwitchView bool

//$showInstallerMode = !isset($showInstallerMode) ? true : $showInstallerMode;
$showInstallerMode = false;
$showSwitchView    = !isset($showSwitchView) ? false : $showSwitchView;
$showInstallerLog  = !isset($showInstallerLog) ? false : $showInstallerLog;
?>
<div id="header-main-wrapper" >
    <div class="hdr-main">
        <?php echo $htmlTitle; ?>
    </div>
    <div class="hdr-secodary">
        <?php if ($showInstallerMode) { ?>
            <div class="dupx-modes">
                <?php echo DUPX_InstallerState::getInstance()->getHtmlModeHeader(); ?>
            </div>
            <?php
        }
        if ($showInstallerLog) {
            ?>
            <div class="installer-log" >
                <?php DUPX_View_Funcs::installerLogLink(); ?>
            </div>
            <?php
        }
        if ($showSwitchView) {
            dupxTplRender('pages-parts/step1/actions/switch-template');
        }
        ?>
    </div>
</div>