<?php defined('ABSPATH') or die('No script kiddies please!!'); ?>
<h2 class="nav-tab-wrapper wp-clearfix">
    <?php
    $ciws_tabs = array(

        'account' => array('label' => __('Account Settings', 'chat-in-website'), 'icon' => 'dashicons dashicons-admin-users'),
        
        'shortcode' => array('label' => __('Shortcode Button', 'chat-in-website'), 'icon' => 'dashicons dashicons-shortcode'),
        
        

    );


    $ciws_tab_counter = 0;
    foreach ($ciws_tabs as $ciws_tab => $ciws_tab_detail) {
        $ciws_tab_counter++;
    ?>
        <a href="javascript:void(0);" class="nav-tab <?php echo ($ciws_tab_counter == 1) ? 'nav-tab-active' : ''; ?> ciws-tab-trigger" data-settings-ref="<?php echo esc_attr($ciws_tab); ?>"><span class="<?php echo esc_attr($ciws_tab_detail['icon']); ?>"></span>
            <?php echo esc_attr($ciws_tab_detail['label']); ?>
        </a>

    <?php
    }
    ?>

</h2>