| Server IP : 119.59.104.26 / Your IP : 216.73.216.228 Web Server : Apache/2 System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64 User : com12370 ( 1517) PHP Version : 7.2.34 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/com12370/public_html/wp-content/themes/MIXThemes/templates/ |
Upload File : |
<?php
/**
* Popup
*
* This template can be overridden by copying it to your-child-theme/templates/popup.php.
*
* HOWEVER, on occasion TieLabs will need to update template files and you
* will need to copy the new files to your child theme to maintain compatibility.
*
* @author TieLabs
* @version 4.0.0
*/
defined( 'ABSPATH' ) || exit; // Exit if accessed directly
// Search popup module
if( tie_menu_has_search( 'top_nav', false, true ) || tie_menu_has_search( 'main_nav', false, true ) ){
$live_search_class = '';
if( tie_menu_has_search( 'top_nav', true ) || tie_menu_has_search( 'main_nav', true ) ){
$live_search_class = 'class="is-ajax-search" ';
}
?>
<div id="tie-popup-search-wrap" class="tie-popup">
<a href="#" class="tie-btn-close remove big-btn light-btn">
<span class="screen-reader-text"><?php esc_html_e( 'Close', TIELABS_TEXTDOMAIN ); ?></span>
</a>
<div class="container">
<div class="popup-search-wrap-inner">
<div class="tie-row">
<div id="pop-up-live-search" class="tie-col-md-12 live-search-parent" data-skin="live-search-popup" aria-label="<?php esc_html_e( 'Search', TIELABS_TEXTDOMAIN ); ?>">
<form method="get" id="tie-popup-search-form" action="<?php echo esc_url(home_url( '/' )); ?>/">
<input id="tie-popup-search-input" <?php echo ( $live_search_class ); ?>type="text" name="s" title="<?php esc_html_e( 'Search for', TIELABS_TEXTDOMAIN ) ?>" autocomplete="off" placeholder="<?php esc_html_e( 'Type and hit Enter', TIELABS_TEXTDOMAIN ) ?>" />
<button id="tie-popup-search-submit" type="submit">
<span class="fa fa-search" aria-hidden="true"></span>
<span class="screen-reader-text"><?php esc_html_e( 'Search for', TIELABS_TEXTDOMAIN ) ?></span>
</button>
</form>
</div><!-- .tie-col-md-12 /-->
</div><!-- .tie-row /-->
</div><!-- .popup-search-wrap-inner /-->
</div><!-- .container /-->
</div><!-- .tie-popup-search-wrap /-->
<?php
}
// Login popup module
if( ! is_user_logged_in() &&
( tie_get_option( 'top_nav' ) && tie_get_option( 'top-nav-components_login' ) ) ||
( tie_get_option( 'main_nav' ) && tie_get_option( 'main-nav-components_login' ) ) ||
( tie_get_option( 'mobile-components_login' ) )
){
?>
<div id="tie-popup-login" class="tie-popup">
<a href="#" class="tie-btn-close remove big-btn light-btn">
<span class="screen-reader-text"><?php esc_html_e( 'Close', TIELABS_TEXTDOMAIN ); ?></span>
</a>
<div class="tie-popup-container">
<div class="container-wrapper">
<div class="widget login-widget">
<div <?php tie_box_class( 'widget-title' ) ?>>
<div class="the-subtitle"><?php echo esc_html__( 'Log In', TIELABS_TEXTDOMAIN ) ?> <span class="widget-title-icon fa"></span></div>
</div>
<div class="widget-container">
<?php tie_login_form(); ?>
</div><!-- .widget-container /-->
</div><!-- .login-widget /-->
</div><!-- .container-wrapper /-->
</div><!-- .tie-popup-container /-->
</div><!-- .tie-popup /-->
<?php
}