<?php /*a:1:{s:67:"D:\phpstudy\WWW\12xz\app\admin\view/default\site\siteset\order.html";i:1782629701;}*/ ?>
<?php echo ModuleInclude('public/header'); ?>

<!-- right content start  -->
<div class="content-right">
    <div class="content">
        <!-- nav start -->
        <?php if(!empty($siteset_nav_list) and is_array($siteset_nav_list)): ?>
            <?php echo ModuleInclude('public/nav_switch_tabs', [
                'nav_data'  => $siteset_nav_list,
                'view_type' => $view_type,
                'nav_type'  => $nav_type,
                'url'       => 'admin/site/index'
            ]); ?>
        <?php endif; ?>
        <!-- nav end -->

        <!-- form start -->
        <form class="am-form form-validation am-form-popup-sticky" action="<?php echo MyUrl('admin/site/save'); ?>" method="POST" request-type="ajax-view" request-value="<?php echo MyUrl('admin/site/index', ['nav_type'=>$nav_type, 'view_type'=>$view_type]); ?>" enctype="multipart/form-data">
            <?php echo ModuleInclude('public/nav_switch_btn', [
                'nav_data' => [
                    [
                        'name' => MyLang('base_title'),
                        'key'  => 'base-title',
                    ],
                    [
                        'name' => MyLang('site.base_item_default_payment_title'),
                        'key'  => 'site-defalut-payment',
                    ],
                    [
                        'name' => MyLang('site.base_item_trace_source_title'),
                        'key'  => 'site-trace-source',
                    ],
                ]
            ]); ?>
            <div class="nav-content">
                <!-- 基础 -->
                <div class="item am-active" data-key="base-title">
                    <!-- 是否预约模式 -->
                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_order_is_booking']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_order_is_booking']['describe']); ?></span></label>
                        <div class="am-radio-group">
                            <?php foreach($common_is_text_list as $v): ?>
                                <label class="am-radio-inline">
                                    <input type="radio" value="<?php echo htmlentities((string) $v['id']); ?>" name="<?php echo htmlentities((string) $data['common_order_is_booking']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_order_is_booking']['error_tips']); ?>" required <?php if(isset($data['common_order_is_booking']['value']) and $data['common_order_is_booking']['value'] == $v['id']): ?>checked<?php endif; ?> data-am-ucheck><?php echo htmlentities((string) $v['name']); ?>
                                </label>
                            <?php endforeach; ?>
                        </div>
                    </div>

                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['home_extraction_address_position']['name']); ?></label>
                        <div class="am-radio-group">
                            <?php foreach($common_close_open_list as $v): ?>
                                <label class="am-radio-inline">
                                    <input type="radio" value="<?php echo htmlentities((string) $v['value']); ?>" name="<?php echo htmlentities((string) $data['home_extraction_address_position']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_extraction_address_position']['error_tips']); ?>" required <?php if(isset($data['home_extraction_address_position']['value']) and $data['home_extraction_address_position']['value'] == $v['value']): ?>checked<?php endif; ?> data-am-ucheck><?php echo htmlentities((string) $v['name']); ?>
                                </label>
                            <?php endforeach; ?>
                        </div>
                        <div class="am-tips-card">
                            <p><?php echo htmlentities((string) $data['home_extraction_address_position']['describe']); ?></p>
                        </div>
                    </div>

                    <!-- 下单指定时间 -->
                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_buy_datetime_info']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_buy_datetime_info']['describe']); ?></span></label>
                        <div class="am-checkbox-group">
                            <?php foreach($common_buy_datetime_config_list as $v): ?>
                                <label class="am-checkbox-inline">
                                    <input type="checkbox" name="<?php echo htmlentities((string) $data['common_buy_datetime_info']['only_tag']); ?>" value="<?php echo htmlentities((string) $v['value']); ?>" <?php if(isset($data['common_buy_datetime_info']['value']) and in_array($v['value'], $data['common_buy_datetime_info']['value'])): ?>checked<?php endif; ?> data-validation-message="<?php echo htmlentities((string) $data['common_buy_datetime_info']['error_tips']); ?>" data-am-ucheck> <?php echo htmlentities((string) $v['name']); ?>
                                </label>
                            <?php endforeach; ?>
                        </div>
                    </div>

                    <!-- 下单联系信息 -->
                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_buy_extraction_contact_info']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_buy_extraction_contact_info']['describe']); ?></span></label>
                        <div class="am-checkbox-group">
                            <?php foreach($common_buy_extraction_contact_config_list as $v): ?>
                                <label class="am-checkbox-inline">
                                    <input type="checkbox" name="<?php echo htmlentities((string) $data['common_buy_extraction_contact_info']['only_tag']); ?>" value="<?php echo htmlentities((string) $v['value']); ?>" <?php if(isset($data['common_buy_extraction_contact_info']['value']) and in_array($v['value'], $data['common_buy_extraction_contact_info']['value'])): ?>checked<?php endif; ?> data-validation-message="<?php echo htmlentities((string) $data['common_buy_extraction_contact_info']['error_tips']); ?>" data-am-ucheck> <?php echo htmlentities((string) $v['name']); ?>
                                </label>
                            <?php endforeach; ?>
                        </div>
                    </div>

                    <!-- 库存 -->
                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_is_deduction_inventory']['name']); ?></label>
                        <div class="am-radio-group">
                            <?php foreach($common_is_text_list as $v): ?>
                                <label class="am-radio-inline">
                                    <input type="radio" value="<?php echo htmlentities((string) $v['id']); ?>" name="<?php echo htmlentities((string) $data['common_is_deduction_inventory']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_is_deduction_inventory']['error_tips']); ?>" required <?php if(isset($data['common_is_deduction_inventory']['value']) and $data['common_is_deduction_inventory']['value'] == $v['id']): ?>checked<?php endif; ?> data-am-ucheck><?php echo htmlentities((string) $v['name']); ?>
                                </label>
                            <?php endforeach; ?>
                        </div>
                        <div class="am-tips-card">
                            <p><?php echo htmlentities((string) $data['common_is_deduction_inventory']['describe']); ?></p>
                        </div>
                    </div>
                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_deduction_inventory_rules']['name']); ?></label>
                        <select name="<?php echo htmlentities((string) $data['common_deduction_inventory_rules']['only_tag']); ?>" class="am-radius chosen-select" data-validation-message="<?php echo htmlentities((string) $data['common_deduction_inventory_rules']['error_tips']); ?>" required>
                            <?php foreach($common_deduction_inventory_rules_list as $v): ?>
                                <option value="<?php echo htmlentities((string) $v['id']); ?>" <?php if(isset($data['common_deduction_inventory_rules']['value']) and $data['common_deduction_inventory_rules']['value'] == $v['id']): ?>selected<?php endif; ?>><?php echo htmlentities((string) $v['name']); ?></option>
                            <?php endforeach; ?>
                        </select>
                        <div class="am-tips-card">
                            <p><?php echo htmlentities((string) $data['common_deduction_inventory_rules']['describe']); ?></p>
                        </div>
                    </div>

                    <!-- 订单商品销量 -->
                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_goods_sales_count_inc_rules']['name']); ?></label>
                        <select name="<?php echo htmlentities((string) $data['common_goods_sales_count_inc_rules']['only_tag']); ?>" class="am-radius chosen-select" data-validation-message="<?php echo htmlentities((string) $data['common_goods_sales_count_inc_rules']['error_tips']); ?>" required>
                            <?php foreach($common_sales_count_inc_rules_list as $v): ?>
                                <option value="<?php echo htmlentities((string) $v['id']); ?>" <?php if(isset($data['common_goods_sales_count_inc_rules']['value']) and $data['common_goods_sales_count_inc_rules']['value'] == $v['id']): ?>selected<?php endif; ?>><?php echo htmlentities((string) $v['name']); ?></option>
                            <?php endforeach; ?>
                        </select>
                        <div class="am-tips-card">
                            <p><?php echo htmlentities((string) $data['common_goods_sales_count_inc_rules']['describe']); ?></p>
                        </div>
                    </div>

                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_is_under_line_order_normal']['name']); ?></label>
                        <div class="am-radio-group">
                            <?php foreach($common_is_text_list as $v): ?>
                                <label class="am-radio-inline">
                                    <input type="radio" value="<?php echo htmlentities((string) $v['id']); ?>" name="<?php echo htmlentities((string) $data['common_is_under_line_order_normal']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_is_under_line_order_normal']['error_tips']); ?>" required <?php if(isset($data['common_is_under_line_order_normal']['value']) and $data['common_is_under_line_order_normal']['value'] == $v['id']): ?>checked<?php endif; ?> data-am-ucheck><?php echo htmlentities((string) $v['name']); ?>
                                </label>
                            <?php endforeach; ?>
                        </div>
                        <div class="am-tips-card">
                            <p><?php echo htmlentities((string) $data['common_is_under_line_order_normal']['describe']); ?></p>
                        </div>
                    </div>

                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_fictitious_order_direct_pay']['name']); ?></label>
                        <div class="am-radio-group">
                            <?php foreach($common_is_text_list as $v): ?>
                                <label class="am-radio-inline">
                                    <input type="radio" value="<?php echo htmlentities((string) $v['id']); ?>" name="<?php echo htmlentities((string) $data['common_fictitious_order_direct_pay']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_fictitious_order_direct_pay']['error_tips']); ?>" required <?php if(isset($data['common_fictitious_order_direct_pay']['value']) and $data['common_fictitious_order_direct_pay']['value'] == $v['id']): ?>checked<?php endif; ?> data-am-ucheck><?php echo htmlentities((string) $v['name']); ?>
                                </label>
                            <?php endforeach; ?>
                        </div>
                        <div class="am-tips-card">
                            <p><?php echo htmlentities((string) $data['common_fictitious_order_direct_pay']['describe']); ?></p>
                        </div>
                    </div>

                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_is_pay_price_must_max_equal']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_is_pay_price_must_max_equal']['describe']); ?></span></label>
                        <div class="am-radio-group">
                            <?php foreach($common_close_open_list as $v): ?>
                                <label class="am-radio-inline">
                                    <input type="radio" value="<?php echo htmlentities((string) $v['value']); ?>" name="<?php echo htmlentities((string) $data['common_is_pay_price_must_max_equal']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_is_pay_price_must_max_equal']['error_tips']); ?>" required <?php if(isset($data['common_is_pay_price_must_max_equal']['value']) and $data['common_is_pay_price_must_max_equal']['value'] == $v['value']): ?>checked<?php endif; ?> data-am-ucheck><?php echo htmlentities((string) $v['name']); ?>
                                </label>
                            <?php endforeach; ?>
                        </div>
                    </div>

                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['home_is_enable_order_bulk_pay']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_is_enable_order_bulk_pay']['describe']); ?></span></label>
                        <div class="am-radio-group">
                            <?php foreach($common_is_text_list as $v): ?>
                                <label class="am-radio-inline">
                                    <input type="radio" value="<?php echo htmlentities((string) $v['id']); ?>" name="<?php echo htmlentities((string) $data['home_is_enable_order_bulk_pay']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_is_enable_order_bulk_pay']['error_tips']); ?>" required <?php if(isset($data['home_is_enable_order_bulk_pay']['value']) and $data['home_is_enable_order_bulk_pay']['value'] == $v['id']): ?>checked<?php endif; ?> data-am-ucheck><?php echo htmlentities((string) $v['name']); ?>
                                </label>
                            <?php endforeach; ?>
                        </div>
                    </div>

                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_is_order_show_goods_snapshot']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_is_order_show_goods_snapshot']['describe']); ?></span></label>
                        <div class="am-radio-group">
                            <?php foreach($common_is_text_list as $v): ?>
                                <label class="am-radio-inline">
                                    <input type="radio" value="<?php echo htmlentities((string) $v['id']); ?>" name="<?php echo htmlentities((string) $data['common_is_order_show_goods_snapshot']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_is_order_show_goods_snapshot']['error_tips']); ?>" required <?php if(isset($data['common_is_order_show_goods_snapshot']['value']) and $data['common_is_order_show_goods_snapshot']['value'] == $v['id']): ?>checked<?php endif; ?> data-am-ucheck><?php echo htmlentities((string) $v['name']); ?>
                                </label>
                            <?php endforeach; ?>
                        </div>
                    </div>

                    <div class="am-form-group">
                        <label class="am-block"><?php echo htmlentities((string) $data['common_order_detail_goods_use_guide_title']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_order_detail_goods_use_guide_title']['describe']); ?></span></label>
                        <input type="text" name="<?php echo htmlentities((string) $data['common_order_detail_goods_use_guide_title']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['common_order_detail_goods_use_guide_title']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_order_detail_goods_use_guide_title']['error_tips']); ?>" class="am-radius" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['common_order_detail_goods_use_guide_title']['value']); ?>"<?php endif; ?> />
                    </div>
                    <div class="am-form-group">
                        <label class="am-block"><?php echo htmlentities((string) $data['common_order_detail_goods_use_guide_describe']['name']); ?></label>
                        <input type="text" name="<?php echo htmlentities((string) $data['common_order_detail_goods_use_guide_describe']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['common_order_detail_goods_use_guide_describe']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_order_detail_goods_use_guide_describe']['error_tips']); ?>" class="am-radius" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['common_order_detail_goods_use_guide_describe']['value']); ?>"<?php endif; ?> />
                    </div>
                </div>

                <!-- 默认支付方式 -->
                <div class="item" data-key="site-defalut-payment">
                    <div class="am-operate-stretch-tips">
                        <div class="title">
                            <i class="iconfont icon-tips"></i>
                            <strong title="<?php echo MyLang('operate_list_tips_msg'); ?>"><?php echo MyLang('operate_list_tips_button_text'); ?></strong>
                            <i class="iconfont icon-retract-diagonal contract"></i> 
                        </div>
                        <p><?php echo MyLang('site.site_setup_order_default_payment_tips'); ?></p>
                    </div>
                    <div class="default-payment-list am-margin-bottom-lg">
                        <?php foreach($common_platform_type as $v): ?>
                            <div class="am-flex am-flex-row am-flex-items-center am-gap-1 am-margin-top-sm">
                                <span class="am-text-right"><?php echo htmlentities((string) $v['name']); ?></span>
                                <select name="common_default_payment[<?php echo htmlentities((string) $v['value']); ?>]" class="am-radius chosen-select" data-placeholder="<?php echo MyLang('optional_tips'); ?>" data-validation-message="<?php echo MyLang('site.site_setup_choice_payment_message', ['name'=>$v['name']]); ?>">
                                    <option value=""><?php echo MyLang('optional_tips'); ?></option>
                                    <?php if(!empty($payment_list)): foreach($payment_list as $pay): if(!empty($pay['apply_terminal']) and is_array($pay['apply_terminal']) and in_array($v['value'], $pay['apply_terminal'])): ?>
                                                <option value="<?php echo htmlentities((string) $pay['payment']); ?>" <?php if(!empty($data['common_default_payment']) and !empty($data['common_default_payment']['value']) and !empty($data['common_default_payment']['value'][$v['value']]) and $data['common_default_payment']['value'][$v['value']] == $pay['payment']): ?>selected<?php endif; ?>><?php echo htmlentities((string) $pay['name']); ?></option>
                                            <?php endif; ?>
                                        <?php endforeach; ?>
                                    <?php endif; ?>
                                </select>
                            </div>
                        <?php endforeach; ?>
                    </div>
                </div>

                <!-- 订单追溯 -->
                <div class="item" data-key="site-trace-source">
                    <p class="am-margin-bottom-sm"><?php echo htmlentities((string) $data['common_order_trace_source_config']['describe']); ?></p>
                    <table class="am-table am-table-bordered am-table-radius am-text-left trace-source-list">
                        <thead>
                            <tr>
                                <th><?php echo MyLang('goods_category_title'); ?></th>
                                <th><?php echo MyLang('form_is_required_title'); ?></th>
                                <th><?php echo MyLang('operate_title'); ?></th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php if(!empty($data['common_order_trace_source_config']) and !empty($data['common_order_trace_source_config']['value']) and is_array($data['common_order_trace_source_config']['value'])): foreach($data['common_order_trace_source_config']['value'] as $dk=>$dv): ?>
                                    <tr>
                                        <td>
                                            <select name="<?php echo htmlentities((string) $data['common_order_trace_source_config']['only_tag']); ?>[<?php echo htmlentities((string) $dk); ?>][category_ids]" class="am-radius chosen-select" data-placeholder="<?php echo MyLang('optional_tips'); ?>" multiple>
                                            <?php if(!empty($goods_category_list)): foreach($goods_category_list as $v): ?>
                                                    <option value="<?php echo htmlentities((string) $v['id']); ?>" <?php if(!empty($dv['category_ids']) and is_array($dv['category_ids']) and in_array($v['id'], $dv['category_ids'])): ?>selected<?php endif; ?>><?php echo htmlentities((string) $v['name']); ?></option>
                                                    <?php if(!empty($v['items'])): foreach($v['items'] as $vs): ?>
                                                            <option style="padding-left: 20px;" value="<?php echo htmlentities((string) $vs['id']); ?>" <?php if(!empty($dv['category_ids']) and is_array($dv['category_ids']) and in_array($vs['id'], $dv['category_ids'])): ?>selected<?php endif; ?>><?php if(empty($vs['items'])): ?>├<?php else: ?>└<?php endif; ?>² <?php echo htmlentities((string) $vs['name']); ?></option>
                                                            <?php if(!empty($vs['items'])): foreach($vs['items'] as $kss=>$vss): ?>
                                                                    <option style="padding-left: 40px;" value="<?php echo htmlentities((string) $vss['id']); ?>" <?php if(!empty($dv['category_ids']) and is_array($dv['category_ids']) and in_array($vss['id'], $dv['category_ids'])): ?>selected<?php endif; ?>><?php if($kss == count($vs['items'])-1): ?>└<?php else: ?>├<?php endif; ?>³ <?php echo htmlentities((string) $vss['name']); ?></option>
                                                                <?php endforeach; ?>
                                                            <?php endif; ?>
                                                        <?php endforeach; ?>
                                                    <?php endif; ?>
                                                <?php endforeach; ?>
                                            <?php endif; ?>
                                        </select>
                                        </td>
                                        <td>
                                            <?php if(!empty($siteset_trace_source_required_list) and is_array($siteset_trace_source_required_list)): ?>
                                                <div class="am-checkbox-group am-margin-top-xs">
                                                    <?php foreach($siteset_trace_source_required_list as $k=>$v): ?>
                                                        <label class="am-checkbox-inline">
                                                            <input type="checkbox" name="<?php echo htmlentities((string) $data['common_order_trace_source_config']['only_tag']); ?>[<?php echo htmlentities((string) $dk); ?>][required]" value="<?php echo htmlentities((string) $k); ?>" <?php if(!empty($dv['required']) and is_array($dv['required']) and in_array($k, $dv['required'])): ?>checked<?php endif; ?> data-am-ucheck /> <?php echo htmlentities((string) $v); ?>
                                                        </label>
                                                    <?php endforeach; ?>
                                                </div>
                                            <?php endif; ?>
                                        </td>
                                        <td>
                                            <div class="am-margin-top-xs">
                                                <a href="javascript:;" class="delete-submit">
                                                    <i class="iconfont icon-btn-del am-text-xs"></i>
                                                    <span><?php echo MyLang('remove_title'); ?></span>
                                                </a>
                                            </div>
                                        </td>
                                    </tr>
                                <?php endforeach; ?>
                            <?php endif; ?>
                        </tbody>
                    </table>
                    <div class="am-margin-top am-margin-bottom-lg">
                        <button type="button" class="am-btn am-btn-primary-light-plain am-radius am-btn-xs trace-source-submit-add"> 
                            <i class="iconfont icon-add am-text-xs"></i>
                            <span><?php echo MyLang('created_title'); ?><?php echo MyLang('config_title'); ?></span>
                        </button>
                        <select name="<?php echo htmlentities((string) $data['common_order_trace_source_config']['only_tag']); ?>[{index}][category_ids]" class="am-radius chosen-select am-hide trace-source-goods-category-select-html" multiple="multiple" data-placeholder="<?php echo MyLang('please_select_tips'); ?>">
                            <?php if(!empty($goods_category_list)): foreach($goods_category_list as $v): ?>
                                    <option value="<?php echo htmlentities((string) $v['id']); ?>"><?php echo htmlentities((string) $v['name']); ?></option>
                                    <?php if(!empty($v['items'])): foreach($v['items'] as $vs): ?>
                                            <option style="padding-left: 20px;" value="<?php echo htmlentities((string) $vs['id']); ?>"><?php if(empty($vs['items'])): ?>├<?php else: ?>└<?php endif; ?>² <?php echo htmlentities((string) $vs['name']); ?></option>
                                            <?php if(!empty($vs['items'])): foreach($vs['items'] as $kss=>$vss): ?>
                                                    <option style="padding-left: 40px;" value="<?php echo htmlentities((string) $vss['id']); ?>"><?php if($kss == count($vs['items'])-1): ?>└<?php else: ?>├<?php endif; ?>³ <?php echo htmlentities((string) $vss['name']); ?></option>
                                                <?php endforeach; ?>
                                            <?php endif; ?>
                                        <?php endforeach; ?>
                                    <?php endif; ?>
                                <?php endforeach; ?>
                            <?php endif; ?>
                        </select>
                        <div class="am-checkbox-group am-margin-top-xs am-hide trace-source-required-html">
                            <?php if(!empty($siteset_trace_source_required_list) and is_array($siteset_trace_source_required_list)): foreach($siteset_trace_source_required_list as $k=>$v): ?>
                                    <label class="am-checkbox-inline">
                                        <input type="checkbox" name="<?php echo htmlentities((string) $data['common_order_trace_source_config']['only_tag']); ?>[{index}][required]" value="<?php echo htmlentities((string) $k); ?>" data-am-ucheck /> <?php echo htmlentities((string) $v); ?>
                                    </label>
                                <?php endforeach; ?>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
            </div>

            <div class="am-form-popup-submit">
                <input type="hidden" name="nav_type" value="<?php echo htmlentities((string) $nav_type); ?>" />
                <input type="hidden" name="view_type" value="<?php echo htmlentities((string) $view_type); ?>" />
                <button type="submit" class="am-btn am-btn-primary am-radius am-btn-xs btn-loading-example" data-am-loading="{spinner: 'circle-o-notch', loadingText:'<?php echo MyLang('save_title'); ?>'}">
                    <i class="am-icon-save"></i>
                    <span><?php echo MyLang('save_title'); ?></span>
                </button>
            </div>
        </form>
        <!-- form end -->
    </div>
</div>
<!-- right content end  -->

<!-- footer start -->
<?php echo ModuleInclude('public/footer'); ?>