base.blade.php 9.7 KB
<!DOCTYPE html>
<html dir="ltr" lang="{{ str_replace('_', '-', $the_lang) }}">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>@yield('web_title',$seo['title'])</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <link rel="apple-touch-icon-precomposed" href="">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="facebook-domain-verification" content="nzjrc3iklw88h0npf9sx583ri5tc30">
    <link href="/style/global/style.css" rel="stylesheet">
    <link href="/style/public/public.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
    <link rel="stylesheet" type="text/css" href="/style/template/style.css">
    <link rel="stylesheet" type="text/css" href="/style/template/public.css">
    <script type="text/javascript" src="/style/global/js/jquery.min.js"></script>
    <script type="text/javascript" src="/style/global/js/common.js"></script>
    <script type="text/javascript" src="/style/public/public.js"></script>

    <link rel="shortcut icon" href="/uploads/favico.png"/>

    <script type="text/javascript" src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <style>
        @media screen and (max-width: 640px) {
            iframe.form_shopk_m1234 {
                height: 42px !important;
            }
        }

        @media screen and (max-width: 950px) {
            .mobile-head-items .web_search_wrap .web_search.show {
                right: -250px !important;
            }
        }

    </style>

    <meta property="og:url" content="{{request()->url()}}"/>
    <meta property="og:title" content="{{$seo['title']}}"/>
    <meta property="og:description" content="{{$seo['description']}}"/>
    <meta property="og:type" content="{{$seo['type']}}"/>
    <meta property="og:site_name" content="{{$seo['app_name']}}"/>

    <meta name="description" itemprop="description" content="{{$seo['description']}}"/>

    <meta name="keywords" itemprop="keywords" content="{{$seo['keywords']}}"/>

    @yield('head')
</head>
<body>
<div class="container">
    <!-- web_head start -->
    <header class="web_head index_web_head">
        <div class="head_layer">
            <div class="head_top">
                <div class="layout flex_row">
                    <div class="change-language ensemble">
                        <div class="change-language-title medium-title">
                            <div class="language-flag language-flag-{{$the_lang}}">
                                <a title="{{\App\Fun::lang()[$the_lang]}}" href="javascript:;">
                                    <b class="country-flag"></b>
                                    <span>{{\App\Fun::lang()[$the_lang]}}</span>
                                </a>
                            </div>
                        </div>
                        <div class="change-language-cont sub-content"></div>
                    </div>
                    <div class="logo">
                        <div class="logo_img">
                            <a href="/{{$the_lang}}/">
                                <img src="/uploads/logo1.png" alt="logo">
                            </a>
                        </div>
                    </div>
                    <div class="web_search_wrap">
                        <a class="head_link" href="https://king.shopk.com/register">Sign Up</a>
                        <a class="head_link" href="https://king.shopk.com/login">Login</a>
                        <a class="get_btn" href="/{{$the_lang}}/shop">SHOP</a>
                    </div>

                </div>
            </div>

            <div class="head_bottom">
                <div class="layout flex_row">
                    <nav class="nav_wrap">
                        <ul class=" head_nav">
{{--                            nav-current--}}
                            <li class="@yield('nav-active-home')"><a href="/{{$the_lang}}/">Home</a></li>
                            <li class="@yield('nav-active-about')"><a href="/{{$the_lang}}/about-us/">About Us</a></li>
                            <li class="@yield('nav-active-blog')"><a href="/{{$the_lang}}/blog/">Blog</a></li>
                            <li class="@yield('nav-active-ks')"><a href="/{{$the_lang}}/kol-solution/">Kol Solution</a></li>
                            <li class="@yield('nav-active-faq')"><a href="/{{$the_lang}}/faq/">FAQs</a></li>
                            <li class="@yield('nav-active-shop')"><a href="/{{$the_lang}}/shop/">Shop</a></li>
                        </ul>
                    </nav>
                </div>
            </div>
        </div>
    </header>
    <!-- web_main start -->

    @yield('content')


    <!-- web_footer start -->
    <footer class="web_footer">
        © Copyright 2022 ShopK, The Leading Dropshipping APP
        <!--     <br />
             Chuangmao Technology (Shenzhen) Group Co., Ltd-->
    </footer>
    <!--// web_footer end -->
</div>
<!--// container end -->


<!--[if lt IE 9]>
<script src="/style/global/js/html5.js"></script>
<![endif]-->
<ul class="prisna-wp-translate-seo" id="prisna-translator-seo">
    @foreach($_langs as $k=>$v)
    <li class="language-flag language-flag-{{$k}}" style="width: 49%;">
        <a href="/{{$k}}/{{ltrim(request()->route()->uri(),'/'.$the_lang.'/')}}" title="{{$v}}"><b class="country-flag"></b><span>{{$v}}</span></a>
    </li>
    @endforeach
</ul>
<script>
    function getCookie(name) {
        var arg = name + "=";
        var alen = arg.length;
        var clen = document.cookie.length;
        var i = 0;
        while (i < clen) {
            var j = i + alen;
            if (document.cookie.substring(i, j) == arg) return getCookieVal(j);
            i = document.cookie.indexOf(" ", i) + 1;
            if (i == 0) break;
        }
        return null;
    }

    function setCookie(name, value) {
        var expDate = new Date();
        var argv = setCookie.arguments;
        var argc = setCookie.arguments.length;
        var expires = (argc > 2) ? argv[2] : null;
        var path = (argc > 3) ? argv[3] : null;
        var domain = (argc > 4) ? argv[4] : null;
        var secure = (argc > 5) ? argv[5] : false;
        if (expires != null) {
            expDate.setTime(expDate.getTime() + expires);
        }
        document.cookie = name + "=" + escape(value) + ((expires == null) ? "" : ("; expires=" + expDate.toUTCString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : "");
    }

    function getCookieVal(offset) {
        var endstr = document.cookie.indexOf(";", offset);
        if (endstr == -1) endstr = document.cookie.length;
        return unescape(document.cookie.substring(offset, endstr));
    }

    var firstshow = 0;
    var cfstatshowcookie = getCookie('easyiit_stats');
    if (cfstatshowcookie != 1) {
        a = new Date();
        h = a.getHours();
        m = a.getMinutes();
        s = a.getSeconds();
        sparetime = 1000 * 60 * 60 * 24 * 1 - (h * 3600 + m * 60 + s) * 1000 - 1;
        setCookie('easyiit_stats', 1, sparetime, '/');
        firstshow = 1;
    }
    if (!navigator.cookieEnabled) {
        firstshow = 0;
    }
    var referrer = escape(document.referrer);
    var currweb = escape(location.href);
    var screenwidth = screen.width;
    var screenheight = screen.height;
    var screencolordepth = screen.colorDepth;
    // $(function($){
    //     var src="/wp-admin/admin-ajax.php?action=stats_init&assort=0&referrer="+referrer+"&currweb="+currweb+"&firstshow="+firstshow+"&screenwidth="+screenwidth+"&screenheight="+screenheight+"&screencolordepth="+screencolordepth+"&ranstr="+Math.random()
    //     $('body').append('<iframe style="display:none" src='+src+'></iframe>')
    // });
</script>
<script>
    var MauticSDKLoaded = true;
</script>
<script>
    var head = document.getElementsByTagName('head')[0];
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = 'https://formcs.globalso.com/media/js/mautic-form.js';
    script.onload = function () {
        MauticSDK.onLoad();
    };
    head.appendChild(script);
    var MauticDomain = 'https://formcs.globalso.com';
    var MauticLang = {
        'submittingMessage': "Pleas wait..."
    };
</script>
<script type="text/javascript" src="https://js.users.51.la/21434579.js"></script>
{{--<script type="text/javascript" src="/21434579.js"></script>--}}

<!--<script>-->
<!--    $(function(){-->
<!--        window.phone_code = false;-->
<!--        $('.get_btn').click(function(){-->
<!--            if (false == window.phone_code) {-->
<!--                initPhoneCode();-->
<!--            }-->
<!--        });-->

<!--        function initPhoneCode()-->
<!--        {-->
<!--            $.post('https://king.shopk.com/api/king/index/phone_code', {}, function(msg) {-->
<!--                var select_html = '';-->
<!--                $.each(msg.data, function(key, val) {-->
<!--                    select_html += '<option type="select" value="' + key + '" name="code" class="selectb7dd380efbe911093c7beeddd1783651 input-b7dd380efbe911093c7beeddd1783651 input3026-b7dd380efbe911093c7beeddd1783651"> ' + val + ' </option>';-->
<!--                });-->

<!--                $('.from_iframe').contents().find('#dataFormLivechat select').eq('0').html(select_html);-->
<!--                $('iframe').html();-->
<!--                window.phone_code = false;-->
<!--            });-->
<!--        }-->

<!--    });-->
<!--</script>-->
@yield('footer')
</body>
</html>