

<?php
$modal = false;
if(Session::get('ip') == NULL){
Session::put('ip',request()->ip());
$modal = true;
}
if($popupContent->status == 0){
    $modal = false;
}
?>

<?php if($modal): ?>
<div class="d-none" id="subscriptionDiv">
    <div class="newsletter_form_wrapper newsletter_active" id="subscriptionModal">
        <div class="newsletter_form_inner">
            <div class="close_modal">
                <i class="ti-close"></i>
            </div>
            <div class="newsletter_form_thumb">
            </div>
            <div class="newsletter_form text-center">
                <h3><?php echo e($popupContent->title); ?></h3>
                <p><?php echo e($popupContent->subtitle); ?></p>

                <form action="" id="modalSubscriptionForm">
                    <div class="row">
                        <div class="col-lg-12">
                            <input type="text" name="email" class="primary_input3 mb_10" id="modalSubscription_email_id"
                                placeholder="<?php echo e(__('defaultTheme.enter_email_address')); ?>" />
                        </div>
                        <div class="col-lg-12 mt-10">
                            <button id="modalSubscribeBtn"
                                class="theme_btn w-100 text-center"><?php echo e(__('defaultTheme.subscribe')); ?></button>
                        </div>
                        <div class="col-lg-12 message_div_modal d-none">
                
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<?php endif; ?>
<?php /**PATH /home/penastud/public_html/mart/resources/views/frontend/default/partials/_subscription_modal.blade.php ENDPATH**/ ?>