<?php /*a:1:{s:68:"D:\phpstudy\WWW\12xz\app\admin\view/default\site\siteset\search.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">
            <div class="nav-content">
                <div class="am-form-group">
                    <label><?php echo htmlentities((string) $data['home_search_history_record']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_history_record']['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_search_history_record']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_history_record']['error_tips']); ?>" required <?php if(isset($data['home_search_history_record']['value']) and $data['home_search_history_record']['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_search_keywords_type']['name']); ?></label>
                    <div class="am-radio-group">
                        <?php foreach($common_search_keywords_type_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_search_keywords_type']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_keywords_type']['error_tips']); ?>" <?php if(isset($data['home_search_keywords_type']['value']) and $data['home_search_keywords_type']['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_search_keywords']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_keywords']['describe']); ?></span></label>
                    <input type="text" name="<?php echo htmlentities((string) $data['home_search_keywords']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['home_search_keywords']['describe']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_keywords']['error_tips']); ?>" class="am-radius" data-am-tagsinput <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['home_search_keywords']['value']); ?>"<?php endif; ?> />
                </div>

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

                <div class="am-form-group">
                    <label class="am-block"><?php echo htmlentities((string) $data['home_search_prohibit_keywords']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_prohibit_keywords']['describe']); ?></span></label>
                    <textarea rows="4" name="<?php echo htmlentities((string) $data['home_search_prohibit_keywords']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['home_search_prohibit_keywords']['name']); ?>" class="am-radius"><?php if(!empty($data['home_search_prohibit_keywords']['value'])): ?><?php echo implode("\n", $data['home_search_prohibit_keywords']['value']); ?><?php endif; ?></textarea>
                </div>

                <div class="am-form-group">
                    <label><?php echo htmlentities((string) $data['home_search_limit_number']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_limit_number']['describe']); ?></span></label>
                    <input type="number" min="0" name="<?php echo htmlentities((string) $data['home_search_limit_number']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['home_search_limit_number']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_limit_number']['error_tips']); ?>" class="am-radius" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['home_search_limit_number']['value']); ?>"<?php endif; ?> />
                </div>
                <div class="am-form-group">
                    <label><?php echo htmlentities((string) $data['home_search_is_login_required']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_is_login_required']['describe']); ?></span></label>
                    <div class="am-checkbox-group">
                        <?php if(!empty($common_platform_type) and is_array($common_platform_type)): foreach($common_platform_type as $v): ?>
                                <label class="am-checkbox-inline">
                                    <input type="checkbox" name="<?php echo htmlentities((string) $data['home_search_is_login_required']['only_tag']); ?>" value="<?php echo htmlentities((string) $v['value']); ?>" <?php if(!empty($data['home_search_is_login_required']['value']) and is_array($data['home_search_is_login_required']['value']) and in_array($v['value'], $data['home_search_is_login_required']['value'])): ?>checked<?php endif; ?> data-validation-message="<?php echo htmlentities((string) $data['home_search_is_login_required']['error_tips']); ?>" data-am-ucheck /> <?php echo htmlentities((string) $v['name']); ?>
                                </label>
                            <?php endforeach; ?>
                        <?php endif; ?>
                    </div>
                </div>
                <div class="am-form-group">
                    <label><?php echo htmlentities((string) $data['home_search_is_keywords_where_and']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_is_keywords_where_and']['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_search_is_keywords_where_and']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_is_keywords_where_and']['error_tips']); ?>" required <?php if(isset($data['home_search_is_keywords_where_and']['value']) and $data['home_search_is_keywords_where_and']['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_search_is_keywords_seo_fields']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_is_keywords_seo_fields']['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_search_is_keywords_seo_fields']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_is_keywords_seo_fields']['error_tips']); ?>" required <?php if(isset($data['home_search_is_keywords_seo_fields']['value']) and $data['home_search_is_keywords_seo_fields']['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_search_is_brand']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_is_brand']['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['home_search_is_brand']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_is_brand']['error_tips']); ?>" required <?php if(isset($data['home_search_is_brand']['value']) and $data['home_search_is_brand']['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_search_is_category']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_is_category']['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['home_search_is_category']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_is_category']['error_tips']); ?>" required <?php if(isset($data['home_search_is_category']['value']) and $data['home_search_is_category']['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_search_is_price']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_is_price']['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['home_search_is_price']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_is_price']['error_tips']); ?>" required <?php if(isset($data['home_search_is_price']['value']) and $data['home_search_is_price']['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_search_is_produce_region']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_is_produce_region']['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['home_search_is_produce_region']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_is_produce_region']['error_tips']); ?>" required <?php if(isset($data['home_search_is_produce_region']['value']) and $data['home_search_is_produce_region']['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_search_is_params']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_is_params']['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['home_search_is_params']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_is_params']['error_tips']); ?>" required <?php if(isset($data['home_search_is_params']['value']) and $data['home_search_is_params']['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_search_params_type']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_params_type']['describe']); ?></span></label>
                    <div class="am-checkbox-group">
                        <?php foreach($common_goods_parameters_scope_list as $v): ?>
                            <label class="am-checkbox-inline">
                                <input type="checkbox" value="<?php echo htmlentities((string) $v['value']); ?>" name="<?php echo htmlentities((string) $data['home_search_params_type']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_params_type']['error_tips']); ?>" <?php if(isset($data['home_search_params_type']['value']) and in_array($v['value'], $data['home_search_params_type']['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_search_is_spec']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_is_spec']['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['home_search_is_spec']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_is_spec']['error_tips']); ?>" required <?php if(isset($data['home_search_is_spec']['value']) and $data['home_search_is_spec']['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_search_goods_show_type']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_search_goods_show_type']['describe']); ?></span></label>
                    <div class="am-radio-group">
                        <?php foreach($common_search_goods_show_type_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_search_goods_show_type']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_search_goods_show_type']['error_tips']); ?>" required <?php if(isset($data['home_search_goods_show_type']['value']) and $data['home_search_goods_show_type']['value'] == $v['value']): ?>checked<?php endif; ?> data-am-ucheck><?php echo htmlentities((string) $v['name']); ?>
                            </label>
                        <?php endforeach; ?>
                    </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'); ?>