<div class="cld-dislike-wrap  cld-common-wrap">
    <a href="<?php echo $href; ?>" class="cld-dislike-trigger cld-like-dislike-trigger <?php echo ($user_ip_check == 1 || isset($_COOKIE['cld_' . $comment_id])) ? 'cld-prevent' : ''; ?>" title="<?php echo $dislike_title; ?>" data-comment-id="<?php echo $comment_id; ?>" data-trigger-type="dislike" data-ip-check="<?php echo $user_ip_check; ?>" data-restriction="<?php echo esc_attr($cld_settings['basic_settings']['like_dislike_resistriction']); ?>" data-user-check="<?php echo $user_check; ?>">
        <?php
        $template = esc_attr($cld_settings['design_settings']['template']);
        switch ($template) {
            case 'template-1':
                ?>
                <i class="fas fa-thumbs-down"></i>
                <?php
                break;
            case 'template-2':
                ?>
                <i class="fa fa-heartbeat"></i>
                <?php
                break;
            case 'template-3':
                ?>
                <i class="fas fa-times"></i>
                <?php
                break;
            case 'template-4':
                ?>
                <i class="far fa-frown"></i>
                <?php
                break;
            case 'custom':
                if ($cld_settings['design_settings']['dislike_icon'] != '') {
                    ?>
                    <img src="<?php echo esc_url($cld_settings['design_settings']['dislike_icon']); ?>" alt="<?php echo esc_attr($dislike_title); ?>"/>
                    <?php
                }
                break;
        }
        /**
         * Fires when template is being loaded
         *
         * @param array $cld_settings
         *
         * @since 1.0.0
         */
        do_action('cld_dislike_template', $cld_settings);
        ?>
    </a>
    <span class="cld-dislike-count-wrap cld-count-wrap"><?php echo $dislike_count; ?></span>
</div>