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-style-six.php
<?php
$omexo_option          = get_option('omexo_opt');
$header_logo           = omexo_array_get($omexo_option, 'header-logo') ? $omexo_option['header-logo'] : '';
$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'] : '';
$social_icons_switcher = omexo_array_get($omexo_option, 'social-icons-switcher') ? $omexo_option['social-icons-switcher'] : '';
$transparent_header    = omexo_array_get($omexo_option, 'transparent-header') ? $omexo_option['transparent-header'] : '';
$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'] : '';
$dashboard_text        = omexo_array_get($omexo_option, 'dashboard-title') ? $omexo_option['dashboard-title'] : '';
$dashboard_url         = omexo_array_get($omexo_option, 'dashboard-url') ? $omexo_option['dashboard-url'] : '';
$header_search_icon    = omexo_array_get($omexo_option, 'header-search-icon') ? $omexo_option['header-search-icon'] : '';
?>

<?php if ($header_top == true) : ?>
    <!-- start header top area -->
    <div class="header-top-area style-six">
        <div class="container">
            <div class="header-top-wrap">
                <!-- start contact info -->
                <?php if (!empty($header_email) || !empty($header_phone)) : ?>
                    <div class="header-contact-info">
                        <ul>
                            <?php if (!empty($header_email)) : ?>
                                <li><a href="mailto:<?php echo esc_html($header_email); ?>"><span><i class="fa-solid fa-<?php echo esc_attr($header_email_icon); ?>"></i></span>
                                        <?php echo esc_html($header_email); ?></a></li>
                            <?php endif; ?>
                            <?php if (!empty($header_phone)) : ?>
                                <li><a href="tel:<?php echo esc_html($header_phone); ?>"><span><i class="fa-solid fa-<?php echo esc_attr($header_phone_icon); ?>"></i></span>
                                        <?php echo esc_html($header_phone); ?></a></li>
                            <?php endif; ?>
                        </ul>
                    </div>
                <?php endif; ?>
                <div class="promotion-text">
                    <span>Limited time offer. Get 90% discount. <a href="#">Purchase Now</a></span>
                </div>
                <?php if ($social_icons_switcher == true) : ?>
                    <div class="header-top-social">
                        <ul class="no-list-style">
                            <?php
                            foreach ($header_social_icons as $header_social_icon => $icon_name) {
                                if ($icon_name) { ?>
                                    <li>
                                        <a href="<?php echo esc_url($icon_name) ?>">
                                            <i class="fa-brands
                                                <?php switch ($header_social_icon) {
                                                    case "facebook":
                                                        echo esc_attr('fa-' . $header_social_icon . '-f');
                                                        break;
                                                    case "linkedin":
                                                        echo esc_attr('fa-' . $header_social_icon . '-in');
                                                        break;
                                                    case "twitter":
                                                        echo esc_attr('fa-x-' . $header_social_icon);
                                                        break;
                                                    default:
                                                        echo esc_attr('fa-' . $header_social_icon);
                                                } ?>">
                                            </i>
                                        </a>
                                    </li>
                            <?php }
                            } ?>
                        </ul>
                    </div>
                <?php endif; ?>
                <!-- end contact info -->
                <div class="login-register-btn">
                    <a href="#">Login/Register</a>
                </div>
            </div>
        </div>
    </div>
<?php endif; ?>
<!-- end header top area-->

<!-- start header bottom area -->
<div class="header-btm-area style-six">
    <div class="header-sticky-menu">
        <div class="container">
            <div class="main-menu-area">
                <div class="site-branding">
                    <div class="main-logo">
                        <?php
                        if (has_custom_logo()) {
                            the_custom_logo();
                        } else {
                            if (!empty($header_logo['url'])) { ?>
                                <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>
                    <div class="sticky-logo">
                        <?php
                        $header_transparent_logo = omexo_array_get($omexo_option, 'transparent-header-logo') ? $omexo_option['transparent-header-logo'] : '';
                        if (!empty($header_transparent_logo['url'])) { ?>
                            <a href="<?php echo esc_url(home_url('/')); ?>">
                                <img src="<?php echo esc_url($header_transparent_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>
                </div>
                <!-- start header search -->
                <?php if ($header_search == true) : ?>
                    <div class="header-course-search">
                        <form method="get" action="<?php echo esc_url(get_post_type_archive_link('courses')); ?>">
                            <input type="hidden" name="ref" value="course">
                            <input type="text" value="<?php echo esc_attr(get_search_query()); ?>" name="s" placeholder="<?php echo esc_attr__('Search Courses', 'omexo') ?>" class="form-control" />
                            <button type="submit"><i class="fa-solid fa-magnifying-glass"></i></button>
                        </form>
                    </div>
                <?php endif; ?>
                <!-- end header search -->
                <!-- Start Main Menu -->
                <div class="main-menu text-right">
                    <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>
                <!-- End Categoty Menu -->
                <?php if ($header_search_icon == true) : ?>
                    <div class="header-search expand text-right">
                        <span class="search-icon"><i class="fa-solid fa-magnifying-glass"></i></span>
                    </div>
                <?php endif; ?>
                <?php if (class_exists('woocommerce') && $header_cart == true) : ?>
                    <div class="header-cart style-three text-right">
                        <span class="cart-btn"><?php omexo_wc_mini_cart(); ?></sapn>
                    </div>
                <?php endif; ?>

                <!-- start mobile menu wrap -->
                <div class="mobile-menu-wrap">
                    <button class="header-menu-bar"><i class="fa-solid fa-bars"></i></button>
                </div>
                <!-- end mobile menu wrap -->
            </div>
        </div>
    </div>
</div>
<!-- end header bottom area -->
<div class="search-wrapper text-center">
    <h3>Search What You Are Looking For?</h3>
    <!-- start header search -->
    <?php if ($header_search == true) : ?>
        <div class="search-form">
            <form method="get" action="<?php echo esc_url(get_post_type_archive_link('courses')); ?>">
                <input type="hidden" name="ref" value="course">
                <input type="text" value="<?php echo esc_attr(get_search_query()); ?>" name="s" placeholder="<?php echo esc_attr__('Search Courses', 'omexo') ?>" class="form-control" />
                <button type="submit"><i class="fa-solid fa-magnifying-glass"></i></button>
            </form>
        </div>
    <?php endif; ?>
    <!-- end header search -->
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit