mivita/resources/views/web/user/layouts/application.blade.php
2025-04-01 10:36:47 +02:00

212 lines
No EOL
8.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@if($user_shop->title) {{ $user_shop->title }}@endif | mivita care</title>
<meta name="description" content="" />
<meta name="Author" content="" />
<!-- mobile settings -->
<meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, user-scalable=0" />
<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
<link href="{{ asset('/fonts/opensans-raleway-pacifico.css?v=1') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('../vendor/fonts/fontawesome.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('/assets/plugins/slider.revolution/css/extralayers.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('/assets/plugins/slider.revolution/css/settings.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('/assets/css/mystyle.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('/assets/css/custom-style.css?v1') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('assets/css/custom-forms-v2.css') }}" rel="stylesheet" type="text/css" />
@if(Util::isMivitaShop())
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="6aec027f-246a-42c9-9055-c64c82fc09fe" data-blockingmode="auto" type="text/javascript"></script>
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '454469462537092');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=454469462537092&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TKWXCX6');</script>
<!-- End Google Tag Manager -->
@else
<link rel="stylesheet" type="text/css" href="{{ asset('/css/cookieconsent.min.css') }}" />
<script src="{{ asset('/js/cookieconsent.min.js') }}"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#b5c49b",
"text": "#ffffff"
},
"button": {
"background": "#d7d700",
"text": "#ffffff"
}
},
"content": {
"message": "{{__('This website uses cookies') }}",
"dismiss": "{{__('OK')}}",
"link": "{{__('register.data_protection')}}",
"href": "{{ url('datenschutz') }}",
"target": "_blank",
}
})});
</script>
@endif
<style type="text/css">
.text-primary {
color:#a5d0a5 !important;
}
div.side-nav ul.list-group-bordered > li.list-group-item.active > a:hover{
color: #fff !important;
}
#sidepanel {
width: 340px;
}
select.form-control {
color: #535252 !important;
border-color: #989a9c;
}
</style>
</head>
<body class="smoothscroll enable-animation">
@if(Util::isMivitaShop())
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TKWXCX6"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
@endif
@if(isset($mylangs))
<div id="sidepanel" class="sidepanel-light" data-init="{{ \Session::get('user_init_country_options') }}">
<a id="sidepanel_close" href="#"><!-- close -->
<i class="glyphicon glyphicon-remove"></i>
</a>
<div class="sidepanel-content">
@if (isset($mylangs[\App\Services\Shop::getUserShopLang()]))
@php($country = $mylangs[\App\Services\Shop::getUserShopLang()])
<h2 class="sidepanel-title">{{ __('website.you_are_now_in_shop') }} {{ $country->getLocated() }}</h2>
@endif
<p>{{ __('website.you_are_now_in_shop_notice') }} </p>
{!! Form::open(['url' => '/change_website_lang']) !!}
<label>{{ __('Delivery country') }}*</label>
<select id="change_country_id" name="change_country_id" class="form-control pointer margin-bottom-20">
@foreach ($mylangs as $mycid => $mycountry)
<option value="{{ $mycid }}" @if($country->id === $mycountry->id || \Session::get('_options') ===$mycid ) selected @endif>{{ $mycountry->getLocated() }}</option>
@endforeach
</select>
<label>{{ __('website.language') }}*</label>
<select id="change_locale_id" name="change_locale_id" class="form-control pointer margin-bottom-20">
@foreach (\App\Services\UserService::getTransChange() as $code => $name)
<option value="{{ strtolower($code) }}" @if(\App::getLocale() === strtolower($code) || \Session::get('user_init_country_options') === strtolower($code) ) selected @endif>{{ $name }}</option>
@endforeach
</select>
<button class="btn btn-primary btn-block" type="submit">{{ __('website.change_country') }} </button>
{!! Form::close() !!}
</div>
</div>
@endif
@yield('layout-content')
<!-- SCROLL TO TOP -->
<a href="#" id="toTop"></a>
<!-- JAVASCRIPT FILES -->
<script type="text/javascript">var plugin_path = "{{ url('/assets/plugins/').'/' }}"</script>
<script type="text/javascript" src="{{ asset('/assets/plugins/jquery/jquery-2.2.3.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('/assets/js/scripts.js') }}"></script>
{{-- <script type="text/javascript" src="{{ asset('/assets/js/jquery.contact-form.js') }}"></script> --}}
<!-- REVOLUTION SLIDER -->
<script type="text/javascript" src="{{ asset('/assets/plugins/slider.revolution/js/jquery.themepunch.tools.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('/assets/plugins/slider.revolution/js/jquery.themepunch.revolution.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('/assets/js/view/demo.revolution_slider.js') }}"></script>
@yield('scripts')
{{--
<script type="text/javascript" src="https://secure.pay1.de/client-api/js/v1/payone_hosted_min.js"></script>
<script>
$(document).ready(function() {
$('#cc_cardtype')
$('#cc_cardholder_first')
$('#cc_cardholder_last')
$('#cc_cardpan')
var data = {
request : 'creditcardcheck',
responsetype : 'REDIRECT', // JSON or REDIRECT available
mode : 'live',
mid : '10000',
aid : '10001',
portalid : '2000000',
encoding : 'UTF-8',
storecarddata : 'yes',
hash : '19062005567ca72601cc9d031f9a94b1',
cardholder : document.Testform.cardholder.value,
cardpan : document.Testform.cardpan.value,
cardtype : document.Testform.cardtype.value,
cardexpiremonth : document.Testform.cardexpiremonth.value,
cardexpireyear : document.Testform.cardexpireyear.value,
cardcvc2 : document.Testform.cardcvc2.value,
language : 'en'
};
var options = {
return_type : 'object',
callbackFunctionName: 'processPayoneResponse'
};
function processPayoneResponse(response) {
if (response.get('status') == 'VALID') {
document.Testform.cardpan.value=;
document.Testform.cardcvc2.value=;
document.Testform.pseudocardpan.value=response.get('pseudocardpan')
document.Testform.submit();
}
else {
alert(response.get('customermessage'));
}
}
var request = new PayoneRequest(data, options);
request.checkAndStore();
});
}
/* JSON response example
{
"status" : "ERROR",
"errorcode" : "1078",
"errormessage" : "Parameter {cardpan} incorrect or missing",
"customermessage" : "Invalid cardpan. Please check the information on the card.",
}
*/
</script>
--}}
</body>
</html>