<?php /*a:1:{s:58:"D:\phpstudy\WWW\12xz\app\admin\view/default\seo\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/seo/save'); ?>" method="POST" request-type="ajax-view" request-value="<?php echo MyUrl('admin/seo/index'); ?>">
            <div class="nav-content">
                <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 class="am-text-xs"><?php echo MyLang('seo.top_tips'); if(!empty($site_store_links) and !empty($site_store_links['htaccess_set_course'])): ?><a href="<?php echo htmlentities((string) $site_store_links['htaccess_set_course']); ?>" class="am-margin-left-sm" target="_blank" rel="noopener noreferrer"><?php echo MyLang('view_config_course_name'); ?> <i class="am-icon-external-link"></i></a><?php endif; ?></p>
                </div>
                <div class="am-form-group">
                    <label><?php echo htmlentities((string) $data['home_seo_url_model']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_seo_url_model']['describe']); ?></span></label>
                    <select name="<?php echo htmlentities((string) $data['home_seo_url_model']['only_tag']); ?>" class="am-radius chosen-select" data-validation-message="<?php echo htmlentities((string) $data['home_seo_url_model']['error_tips']); ?>" required>
                        <?php foreach($common_seo_url_model_list as $v): ?>
                            <option value="<?php echo htmlentities((string) $v['value']); ?>" <?php if(isset($data['home_seo_url_model']['value']) and $data['home_seo_url_model']['value'] == $v['value']): ?>selected<?php endif; ?>><?php echo htmlentities((string) $v['name']); ?></option>
                        <?php endforeach; ?>
                    </select>
                </div>
                <div class="am-form-group">
                    <label><?php echo htmlentities((string) $data['home_seo_url_html_suffix']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_seo_url_html_suffix']['describe']); ?></span></label>
                    <input type="text" name="<?php echo htmlentities((string) $data['home_seo_url_html_suffix']['only_tag']); ?>" pattern="<?php echo MyConst('common_regex_url_html_suffix'); ?>" maxlength="8" placeholder="<?php echo htmlentities((string) $data['home_seo_url_html_suffix']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_seo_url_html_suffix']['error_tips']); ?>" class="am-radius" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['home_seo_url_html_suffix']['value']); ?>"<?php endif; ?> />
                </div>
                <div class="am-form-group">
                    <label><?php echo htmlentities((string) $data['home_seo_site_title']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_seo_site_title']['describe']); ?></span></label>
                    <input type="text" name="<?php echo htmlentities((string) $data['home_seo_site_title']['only_tag']); ?>" minlength="1" placeholder="<?php echo htmlentities((string) $data['home_seo_site_title']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_seo_site_title']['error_tips']); ?>" class="am-radius" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['home_seo_site_title']['value']); ?>"<?php endif; ?> required />
                </div>
                <div class="am-form-group">
                    <label><?php echo htmlentities((string) $data['home_seo_site_keywords']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_seo_site_keywords']['describe']); ?></span></label>
                    <input type="text" name="<?php echo htmlentities((string) $data['home_seo_site_keywords']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['home_seo_site_keywords']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_seo_site_keywords']['error_tips']); ?>" class="am-radius" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['home_seo_site_keywords']['value']); ?>"<?php endif; ?> />
                </div>
                <div class="am-form-group">
                    <label><?php echo htmlentities((string) $data['home_seo_site_description']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['home_seo_site_description']['describe']); ?></span></label>
                    <textarea rows="6" name="<?php echo htmlentities((string) $data['home_seo_site_description']['only_tag']); ?>" class="am-radius" placeholder="<?php echo htmlentities((string) $data['home_seo_site_description']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['home_seo_site_description']['error_tips']); ?>"><?php if(!empty($data)): ?><?php echo htmlentities((string) $data['home_seo_site_description']['value']); ?><?php endif; ?></textarea>
                </div>
            </div>

            <div class="am-form-popup-submit">
                <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'); ?>