<!-- Start EnvyChimp Subscribe Area -->
<?php if( ! $bg_image_hide_new ) : ?>
    <?php if( ! get_option('background_picture') == '' ) : ?>
    <div class="envychimp-subscribe-area envychimp-subscribe-area-four" style="background-image: url(<?php echo get_option('background_picture'); ?>);background-position: center center;background-repeat: no-repeat;background-size: cover">
    <?php else : ?>
        <div class="envychimp-subscribe-area envychimp-subscribe-area-four" style="background-image: url(<?php echo plugins_url( '../../img/subscribe-bg-1.jpg', __FILE__ ); ?>);background-position: center center;background-repeat: no-repeat;background-size: cover">
    <?php endif; ?>
<?php else: ?>
    <div class="envychimp-subscribe-area envychimp-subscribe-area-four">
<?php endif; ?>
    <?php if( $option_subscribe_area_new == 'default' ) : ?>
    <div class="envychimps-col envychimps-col-lg-5" style="width:100% !important;">
    <?php elseif( $option_subscribe_area_new == 'full-width' ) : ?>
    <div class="envychimps-col envychimps-col-lg-12" style="width:100% !important;">
    <?php endif; ?>
        <div class="envychimp-subscribe-form">
            <div class="envychimp-subscribe-content">
                <h3><?php if( ! $envy_chimp_title_new == '' ) : echo esc_attr( $envy_chimp_title_new ); else : echo esc_html__('Never Miss Updates', 'envy-chimp'); endif; ?></h3>
                <p><?php if( ! $envy_chimp_desc_new == '' ) : echo esc_attr( $envy_chimp_desc_new ); else : echo esc_html__('We will keep secure your email.', 'envy-chimp'); endif; ?></p>

                <form class="newsletter-form mailchimp" method="post">
                     <div class="envychimp-form-group">
                        <input class="envychimp-form-control envychimp-form-control-4" type="email" name="EMAIL" placeholder="<?php if( ! $envy_chimp_email_address_field_new == '' ) : echo esc_attr( $envy_chimp_email_address_field_new ); else : echo esc_html__('Email address', 'envy-chimp'); endif; ?>">
                        <i class="fa fa-envelope"></i>
                    </div>
                    <div class="envychimp-form-group margin-0">
                        <button type="submit" class="envychimp-default-btn"><?php if( ! $envy_chimp_subscribe_btn_text_new == '' ) :
                                echo esc_html__( $envy_chimp_subscribe_btn_text_new );
                            else:
                                echo esc_html__('Subscribe', 'envy-chimp');
                            endif; ?>
                        </button>
                    </div>
                    <p class="mchimp-errmessage" style="display: none;"></p>
                    <p class="mchimp-sucmessage" style="display: none;"></p>
                </form>

                <?php if( $option_social_enable_new ) : ?>
                <ul>
                    <li>
                        <span><?php echo esc_html__( $envy_chimp_social_title_new ); ?></span>
                    </li>
                    <?php if( ! $envy_chimp_social_fb_new == '' ) : ?>
                    <li>
                        <a href="<?php echo esc_url( $envy_chimp_social_fb_new ); ?>">
                            <i class="fa fa-facebook"></i>
                        </a>
                    </li>
                    <?php endif; ?>
                   <?php if( ! $envy_chimp_social_tw_new == '' ) : ?>
                    <li>
                        <a href="<?php echo esc_url( $envy_chimp_social_tw_new ); ?>">
                            <i class="fa fa-twitter"></i>
                        </a>
                    </li>
                    <?php endif; ?>
                    <?php if( ! $envy_chimp_social_li_new == '' ) : ?>
                    <li>
                        <a href="<?php echo esc_url( $envy_chimp_social_li_new ); ?>">
                            <i class="fa fa-linkedin"></i>
                        </a>
                    </li>
                    <?php endif; ?>
                    <?php if( ! $envy_chimp_social_pi_new == '' ) : ?>
                    <li>
                        <a href="<?php echo esc_url( $envy_chimp_social_pi_new ); ?>">
                            <i class="fa fa-pinterest"></i>
                        </a>
                    </li>
                    <?php endif; ?>
                    <?php if( ! $envy_chimp_social_yt_new == '' ) : ?>
                    <li>
                        <a href="<?php echo esc_url( $envy_chimp_social_yt_new ); ?>">
                            <i class="fa fa-youtube-play"></i>
                        </a>
                    </li>
                    <?php endif; ?>                        
                </ul>
                <?php endif; ?>	
            </div>
        </div>
    </div>
</div>
<!-- End EnvyChimp Subscribe Area -->
