<?php if(session()->has('subscribed')): ?> <div class="alert text-center alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <span class="glyphicon glyphicon glyphicon-ok" aria-hidden="true"></span> <strong>&nbsp;<?php echo app('translator')->getFromJson('Success!'); ?></strong> <?php echo e(session('subscribed')); ?> </div> <?php endif; ?> <?php if(session()->has('already_subscribed')): ?> <div class="alert text-center alert-info alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <span class="glyphicon glyphicon glyphicon-ok" aria-hidden="true"></span> &nbsp; <?php echo e(session('already_subscribed')); ?> </div> <?php endif; ?> <?php if(session()->has('subscribe_failed')): ?> <div class="alert text-center alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <span class="glyphicon glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> &nbsp; <?php echo e(session('subscribe_failed')); ?> </div> <?php endif; ?> <?php if(session()->has('success')): ?> <div class="text-center alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <span class="glyphicon glyphicon glyphicon-ok" aria-hidden="true"></span> &nbsp;<?php echo e(session('success')); ?> </div> <?php endif; ?> <?php if(session()->has('email_activation')): ?> <div class="text-center alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <?php echo e(session('email_activation')); ?> </div> <?php endif; ?> <?php if(session()->has('payment_success')): ?> <div class="text-center alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <span class="glyphicon glyphicon glyphicon-ok" aria-hidden="true"></span> <strong>&nbsp;<?php echo app('translator')->getFromJson('Success!'); ?></strong> <?php echo e(session('payment_success')); ?> </div> <?php endif; ?> <?php if(session()->has('payment_fail')): ?> <div class="text-center alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <span class="glyphicon glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> <strong>&nbsp;<?php echo app('translator')->getFromJson('Error:'); ?></strong> <?php echo e(session('payment_fail')); ?> </div> <?php endif; ?> <?php echo $__env->make('includes.form_errors', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php if(session()->has('product_not_added')): ?> <hr> <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <span class="glyphicon glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> <strong>&nbsp;<?php echo app('translator')->getFromJson('Error:'); ?></strong> <?php echo e(session('product_not_added')); ?> </div> <?php endif; ?> <?php if(session()->has('product_added')): ?> <br> <div class="alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <?php echo e(session('product_added')); ?> </div> <a href="<?php echo e(route('front.cart.index')); ?>"> <div class="alert alert-info alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <?php echo app('translator')->getFromJson('Click here to view your Shopping Cart'); ?> </div> </a> <hr> <?php endif; ?> <?php if(isset($cart_count)): ?> <div class="cart-count"> <?php echo e($cart_count); ?> </div> <?php endif; ?> <?php if(isset($product_added)): ?> <div class="product-added"> <?php echo e($product_added); ?> </div> <?php endif; ?>