<?php global $ainex; ?>
<ul class="tci_list">
    <?php if ($ainex['header_switch_live_chat']): ?>
        <li class="empty"><a href="<?php echo $ainex['header_live_chat']; ?>"><i class="fa fa-comment"></i> <?php echo __('live chat', 'themestudio'); ?></a></li>
    <?php endif ?>

    <?php if ($ainex['header_switch_email']): ?>
        <li class="empty"><a href="mailto:<?php echo $ainex['header_email']; ?>"><i class="fa fa-envelope"></i> <?php echo $ainex['header_email']; ?></a></li>
    <?php endif ?>

    <?php if ($ainex['header_switch_phone']): ?>
        <li class="empty"><i class="fa fa-headphones"></i> <?php echo $ainex['header_phone']; ?></li>
    <?php endif ?>

    <?php if ($ainex['header_switch_custom_link']): ?>
        <li class="empty two">
            <a class="login_form" href="#"><?php echo __('Login', 'themestudio'); ?></a>
            <div class="header_login_form" style="display:none;">
                <?php echo $ainex['header_custom_link_login']; ?>
            </div>
        |</li>
        <li class="empty two"><a href="<?php echo $ainex['header_custom_link_signup']; ?>"><?php echo __('Signup', 'themestudio'); ?></a> |</li>
        <li class="empty two"><a href="<?php echo $ainex['header_custom_link_contact']; ?>"><?php echo __('Contact', 'themestudio'); ?></a></li>
        <li class="space"></li>
    <?php endif ?>

    <?php if ($ainex['header_switch_social']==1): ?>
        <?php foreach ($ainex['footer_social_list'] as $value): ?>
            <li><a href="<?php echo $value['url']; ?>"><i class="fa fa-<?php echo $value['title']; ?>"></i></a></li>
        <?php endforeach ?>
    <?php endif ?>

    <li></li>
    <?php if ($ainex['header_switch_language']): ?>
        <?php if ($ainex['header_language_shortcode']): ?>
            <li class="empty two"><a href="#"><?php echo __('Country:', 'themestudio'); ?></a></li>
            <?php do_action($ainex['header_language_shortcode']); ?>
        <?php endif ?>
    <?php endif ?>

</ul>