{{:ModuleInclude('public/header')}}

<!-- header nav start -->
{{if isset($is_header) and $is_header eq 1}}
    <!-- header top nav -->
    {{:ModuleInclude('public/header_top_nav')}}

    <!-- search -->
    {{:ModuleInclude('public/nav_search')}}

    <!-- header nav -->
    {{:ModuleInclude('public/header_nav')}}

    <!-- goods category -->
    {{:ModuleInclude('public/goods_category')}}
{{/if}}
<!-- header nav end -->

<!-- conntent start  -->
<div class="am-g my-content tips-success">
    <div class="am-u-md-6 am-u-sm-centered am-text-center">
        <i class="am-icon-check-circle am-icon-lg"></i>
        <span class="msg">{{$msg}}</span>
        {{if !isset($is_home) or $is_home eq 1}}
            <div class="tips-nav">
                <a href="{{$home_url}}" class="am-btn am-btn-secondary am-radius">{{:MyLang('common.back_to_the_home_title')}}</a>
            </div>
        {{/if}}
    </div>
</div>
<!-- conntent end  -->

{{:ModuleInclude('public/footer')}}

{{if !empty($data['body_html'])}}
    {{$data.body_html|raw}}
{{/if}}

<script type="text/javascript">
    {{if isset($is_parent) and $is_parent eq 1}}
        setTimeout(function()
        {
            if(self.frameElement && self.frameElement.tagName == "IFRAME")
            {
                parent.location.reload();
            }else{
                window.location.href='{{$home_url}}';
            }
        }, 1500);
    {{else /}}
        setTimeout(function()
        {
            window.location.href='{{$home_url}}';
        }, 1500);
    {{/if}}
</script>