function widget($args, $instance) { extract($args); $title = apply_filters('widget_title', $instance['title']); $tran_bg = $instance['tran_bg']; if (!empty($instance['newtap'])) { $newtap = $instance['newtap']; } else { $newtap = ''; } if (!empty($instance['gray'])) { $colored = false; } else { $colored = true; } if (!$tran_bg) { echo $before_widget; echo $before_title; echo $title; echo $after_title; tie_get_social($newtap, $colored, 'ttip-none'); echo $after_widget; } else { ?> <div class="widget social-icons-widget"> <?php tie_get_social($newtap, $colored, 'ttip-none'); ?> </div> <?php } }
function widget($args, $instance) { extract($args); $title = apply_filters('widget_title', $instance['title']); $tran_bg = $instance['tran_bg']; if (!empty($instance['newtap'])) { $newtap = $instance['newtap']; } else { $newtap = ''; } if (!empty($instance['icons_size'])) { $icons_size = $instance['icons_size']; } else { $icons_size = ''; } if (!$tran_bg) { echo $before_widget; echo $before_title; echo $title; echo $after_title; tie_get_social($newtab = $newtap, $icon_size = $icons_size); echo $after_widget; } else { ?> <div class="widget social-icons-widget"> <?php tie_get_social($newtab = $newtap, $icon_size = $icons_size); ?> </div> <?php } }
<div class="footer-bottom"> <div class="container"> <div class="alignright footer-right"> <?php $footer_vars = array('%year%', '%site%', '%url%'); $footer_val = array(date('Y'), get_bloginfo('name'), home_url()); $footer_two = str_replace($footer_vars, $footer_val, tie_get_option('footer_two')); echo htmlspecialchars_decode($footer_two); ?> </div> <div class="alignleft"> <?php if (tie_get_option('footer_social')) { tie_get_social(true, false, 'ttip-none'); } ?> <div class="copyright"> <?php $footer_one = str_replace($footer_vars, $footer_val, tie_get_option('footer_one')); echo htmlspecialchars_decode($footer_one); ?> </div> </div> <div class="clear"></div> </div><!-- .Container --> </div><!-- .Footer bottom --> </div><!-- .inner-Wrapper --> </div><!-- #Wrapper -->
"></button> <input type="text" id="s" name="s" value="<?php _e('Search...', 'tie'); ?> " onfocus="if (this.value == '<?php _e('Search...', 'tie'); ?> ') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Search...', 'tie'); ?> ';}" /> </form> </div><!-- .search-block /--> <?php } elseif (tie_get_option('top_right') == 'social') { tie_get_social('yes', 16, 'tooldown'); ?> <?php } ?> <?php tie_language_selector_flags(); ?> </div><!-- .top-menu /--> <?php } ?> <div class="header-content">
?> <div class="clear"></div> <div class="footer-bottom"> <div class="container"> <div class="alignright"> <?php $footer_vars = array('%year%', '%site%', '%url%'); $footer_val = array(date('Y'), get_bloginfo('name'), home_url()); $footer_two = str_replace($footer_vars, $footer_val, tie_get_option('footer_two')); echo htmlspecialchars_decode($footer_two); ?> </div> <?php if (tie_get_option('footer_social')) { tie_get_social('yes', 16); } ?> <div class="alignleft"> <?php $footer_one = str_replace($footer_vars, $footer_val, tie_get_option('footer_one')); echo htmlspecialchars_decode($footer_one); ?> </div> <div class="clear"></div> </div><!-- .Container --> </div><!-- .Footer bottom --> <?php if (tie_get_option('footer_top')) { ?>
<?php tie_banner('banner_bottom', '<div class="ads-bottom">', '</div>'); ?> </div><!-- .container --> <?php get_sidebar('footer'); ?> <div class="clear"></div> <div class="footer-bottom fade-in animated4"> <div class="container"> <?php if (tie_get_option('footer_social')) { tie_get_social('yes', 'flat', 'ttip', true); } ?> <div class="alignleft"> <?php $footer_vars = array('%year%', '%site%', '%url%'); $footer_val = array(date('Y'), get_bloginfo('name'), home_url()); $footer_one = str_replace($footer_vars, $footer_val, tie_get_option('footer_one')); echo htmlspecialchars_decode($footer_one); ?> </div> </div><!-- .Container --> </div><!-- .Footer bottom --> </div><!-- .Wrapper --> <?php
<div class="clear"></div> </div><!-- .container /--> <?php tie_banner('banner_bottom' , '<div class="e3lan e3lan-bottom">' , '</div>' ); ?> <?php get_sidebar( 'footer' ); ?> <div class="clear"></div> <div class="footer-bottom"> <div class="container"> <div class="alignright"> <?php $footer_vars = array('%year%' , '%site%' , '%url%'); $footer_val = array( date('Y') , get_bloginfo('name') , home_url() ); $footer_two = str_replace( $footer_vars , $footer_val , tie_get_option( 'footer_two' )); echo htmlspecialchars_decode( $footer_two );?> </div> <?php if( tie_get_option('footer_social') ) tie_get_social( true , false, 'ttip-none' ); ?> <div class="alignleft"> <?php $footer_one = str_replace( $footer_vars , $footer_val , tie_get_option( 'footer_one' )); echo htmlspecialchars_decode( $footer_one );?> </div> <div class="clear"></div> </div><!-- .Container --> </div><!-- .Footer bottom --> </div><!-- .inner-Wrapper --> </div><!-- #Wrapper --> </div><!-- .Wrapper-outer --> <?php if( tie_get_option('footer_top') ): ?> <div id="topcontrol" class="fa fa-angle-up" title="<?php _eti( 'Scroll To Top' ); ?>"></div>
<?php get_sidebar('footer'); ?> <div class="clear"></div> <div class="footer-bottom"> <div class="container"> <div class="alignright"> <?php echo htmlspecialchars_decode(tie_get_option('footer_two')); ?> </div> <?php if (tie_get_option('footer_social')) { tie_get_social('yes', 24); } ?> <div class="alignleft"> <?php echo htmlspecialchars_decode(tie_get_option('footer_one')); ?> </div> </div><!-- .Container --> </div><!-- .Footer bottom --> <?php if (tie_get_option('footer_top')) { ?> <div class="scrollToTop"><?php _e('Scroll To Top', 'tie');
?> "></button> <input type="text" id="s" name="s" value="<?php _e('Search...', 'tie'); ?> " onfocus="if (this.value == '<?php _e('Search...', 'tie'); ?> ') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Search...', 'tie'); ?> ';}" /> </form> </div><!-- .search-block /--> <?php tie_get_social('yes', 'flat', 'tooldown', true); ?> <?php if (tie_get_option('top_left') == 'head_menu') { wp_nav_menu(array('container_class' => 'top-menu', 'theme_location' => 'top-menu', 'fallback_cb' => 'tie_nav_fallback')); } elseif (tie_get_option('top_left') == 'head_brnews') { get_template_part('includes/breaking-news'); } ?> <?php tie_language_selector_flags(); ?> </div> </div><!-- .top-menu /-->
" /><strong><?php bloginfo('name'); ?> <?php bloginfo('description'); ?> </strong> </a> <?php } ?> </div><!-- .logo /--> <?php if (!tie_get_option('haeder_social_icons')) { tie_get_social('yes', 24, 'tooldown'); } ?> <?php if (!tie_get_option('haeder_search')) { ?> <div class="search-block"> <form method="get" id="searchform" action="<?php echo home_url(); ?> /"> <input class="search-button" type="submit" value="<?php __('Search', 'tie'); ?> " /> <input type="text" id="s" name="s" value="<?php