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

<!-- right content start  -->
<div class="content-right">
    <div class="content">
        <!-- form start -->
        <form class="am-form form-validation am-form-popup-sticky" action="<?php echo MyUrl('admin/site/save'); ?>" method="POST" request-type="<?php if(!isset($is_theme_data_admin) or $is_theme_data_admin == 0): ?>ajax-view<?php else: ?>ajax-reload<?php endif; ?>" request-value="<?php if(isset($is_theme_data_admin) and $is_theme_data_admin == 1): ?>parent<?php endif; ?>">
            <div class="nav-content">
                <div class="item am-active">
                    <!-- 提示 -->
                    <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" title="<?php echo MyLang('operate_list_tips_retract_text'); ?>"></i> 
                        </div>
                        <p><?php echo MyLang('site.background_color_tips'); ?></p>
                    </div>
                    <div class="am-form-group">
                        <label class="am-block"><?php echo htmlentities((string) $data['home_user_reg_type']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_user_reg_type']['describe']); ?></span></label>
                        <div class="am-checkbox-group">
                            <?php foreach($common_user_reg_type_list as $v): ?>
                                <label class="am-checkbox-inline">
                                    <input type="checkbox" name="<?php echo htmlentities((string) $data['home_user_reg_type']['only_tag']); ?>" value="<?php echo htmlentities((string) $v['value']); ?>" <?php if(isset($data['home_user_reg_type']['value']) and in_array($v['value'], $data['home_user_reg_type']['value'])): ?>checked<?php endif; ?> data-validation-message="<?php echo htmlentities((string) $data['home_user_reg_type']['error_tips']); ?>" 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['home_user_register_img_verify_state']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_user_register_img_verify_state']['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_user_register_img_verify_state']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_user_register_img_verify_state']['error_tips']); ?>" required <?php if(isset($data['home_user_register_img_verify_state']['value']) and $data['home_user_register_img_verify_state']['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 class="am-block"><?php echo htmlentities((string) $data['common_register_is_enable_audit']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_register_is_enable_audit']['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_register_is_enable_audit']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_register_is_enable_audit']['error_tips']); ?>" required <?php if(isset($data['common_register_is_enable_audit']['value']) and $data['common_register_is_enable_audit']['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 class="am-block"><?php echo htmlentities((string) $data['home_is_enable_userregister_agreement']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_is_enable_userregister_agreement']['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_is_enable_userregister_agreement']['only_tag']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_is_enable_userregister_agreement']['error_tips']); ?>" required <?php if(isset($data['home_is_enable_userregister_agreement']['value']) and $data['home_is_enable_userregister_agreement']['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 class="am-block"><?php echo htmlentities((string) $data['home_site_user_register_bg_images']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_site_user_register_bg_images']['describe']); ?></span></label>
                        <div class="am-form-file-upload-container plug-file-upload-view-width-auto">
                            <ul class="plug-file-upload-view home_site_user_register_bg_images-images-view" data-form-name="home_site_user_register_bg_images" data-max-number="1" data-dialog-type="images" data-is-eye="1">
                                <li class="plug-file-upload-submit" data-view-tag="ul.home_site_user_register_bg_images-images-view">
                                    <?php if(empty($data['home_site_user_register_bg_images']['value'])): ?>
                                        <i class="iconfont icon-add"></i>
                                    <?php else: ?>
                                        <input type="text" name="home_site_user_register_bg_images" value="<?php echo htmlentities((string) $data['home_site_user_register_bg_images']['value']); ?>" />
                                        <img src="<?php echo AttachmentPathViewHandle($data['home_site_user_register_bg_images']['value']); ?>" />
                                        <i class="iconfont icon-close"></i>
                                        <i class="iconfont icon-eye"></i>
                                    <?php endif; ?>
                                </li>
                            </ul>
                        </div>
                    </div>

                    <div class="am-form-group">
                        <label class="am-block"><?php echo htmlentities((string) $data['home_site_user_register_bg_color']['name']); ?></label>
                        <div class="colorpicker-container">
                            <input type="hidden" name="<?php echo htmlentities((string) $data['home_site_user_register_bg_color']['only_tag']); ?>" value="<?php echo htmlentities((string) $data['home_site_user_register_bg_color']['value']); ?>" />
                            <div class="colorpicker-submit" data-color="<?php echo htmlentities((string) $data['home_site_user_register_bg_color']['value']); ?>" data-color-style="background-color" data-color-tag="input[name='<?php echo htmlentities((string) $data['home_site_user_register_bg_color']['only_tag']); ?>']"></div>
                            <img class="imitate-colorpicker-submit" src="<?php echo StaticAttachmentUrl('colorpicker.png'); ?>" width="30" height="30" />
                        </div>
                    </div>

                    <div class="am-form-group">
                        <label class="am-block"><?php echo htmlentities((string) $data['home_userregister_unique_forbid_value']['name']); ?></label>
                        <input type="text" name="<?php echo htmlentities((string) $data['home_userregister_unique_forbid_value']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['home_userregister_unique_forbid_value']['describe']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_userregister_unique_forbid_value']['error_tips']); ?>" class="am-radius" value="<?php echo htmlentities((string) $data['home_userregister_unique_forbid_value']['value']); ?>" data-am-tagsinput />
                    </div>
                </div>
            </div>

            <div class="am-form-popup-submit">
                <input type="hidden" name="nav_type" value="<?php echo htmlentities((string) $nav_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'); ?>