<?php /*a:1:{s:67:"D:\phpstudy\WWW\12xz\app\admin\view/default\site\extends\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="ajax-view" request-value="<?php echo MyUrl('admin/site/index', ['nav_type'=>'extends']); ?>" enctype="multipart/form-data">
            <?php echo ModuleInclude('public/nav_switch_btn', [
                'nav_data' => [
                    [
                        'name' => MyLang('site.base_item_crontab_config_title'),
                        'key'  => 'crontab-config',
                    ],
                    [
                        'name' => MyLang('site.base_item_regex_config_title'),
                        'key'  => 'regex-config',
                    ]
                ]
            ]); ?>
            <div class="nav-content">
                <!-- 定时脚本配置 -->
                <div class="item am-active" data-key="crontab-config">
                    <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.extends_crontab_tips'); ?></p>
                    </div>
                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_order_close_limit_time']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_order_close_limit_time']['describe']); ?></span></label>
                        <input type="number" min="0" name="<?php echo htmlentities((string) $data['common_order_close_limit_time']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['common_order_close_limit_time']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_order_close_limit_time']['error_tips']); ?>" class="am-radius am-form-field" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['common_order_close_limit_time']['value']); ?>"<?php endif; ?> />
                        <a href="<?php echo MyUrl('api/crontab/orderclose'); ?>" target="_blank" rel="noopener noreferrer"><?php echo MyUrl('api/crontab/orderclose'); ?></a>
                    </div>

                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_order_success_limit_time']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_order_success_limit_time']['describe']); ?></span></label>
                        <input type="number" min="0" name="<?php echo htmlentities((string) $data['common_order_success_limit_time']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['common_order_success_limit_time']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_order_success_limit_time']['error_tips']); ?>" class="am-radius am-form-field" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['common_order_success_limit_time']['value']); ?>"<?php endif; ?> />
                        <a href="<?php echo MyUrl('api/crontab/ordersuccess'); ?>" target="_blank" rel="noopener noreferrer"><?php echo MyUrl('api/crontab/ordersuccess'); ?></a>
                    </div>

                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_pay_log_order_close_limit_time']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_pay_log_order_close_limit_time']['describe']); ?></span></label>
                        <input type="number" min="0" name="<?php echo htmlentities((string) $data['common_pay_log_order_close_limit_time']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['common_pay_log_order_close_limit_time']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_pay_log_order_close_limit_time']['error_tips']); ?>" class="am-radius am-form-field" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['common_pay_log_order_close_limit_time']['value']); ?>"<?php endif; ?> />
                        <a href="<?php echo MyUrl('api/crontab/paylogorderclose'); ?>" target="_blank" rel="noopener noreferrer"><?php echo MyUrl('api/crontab/paylogorderclose'); ?></a>
                    </div>

                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_goods_give_integral_limit_time']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_goods_give_integral_limit_time']['describe']); ?></span></label>
                        <input type="number" min="0" name="<?php echo htmlentities((string) $data['common_goods_give_integral_limit_time']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['common_goods_give_integral_limit_time']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_goods_give_integral_limit_time']['error_tips']); ?>" class="am-radius am-form-field" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['common_goods_give_integral_limit_time']['value']); ?>"<?php endif; ?> />
                        <a href="<?php echo MyUrl('api/crontab/goodsgiveintegral'); ?>" target="_blank" rel="noopener noreferrer"><?php echo MyUrl('api/crontab/goodsgiveintegral'); ?></a>
                    </div>

                    <div class="am-form-group">
                        <label><?php echo htmlentities((string) $data['common_order_delivery_sync_weixin_limit_time']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_order_delivery_sync_weixin_limit_time']['describe']); ?></span></label>
                        <input type="number" min="0" name="<?php echo htmlentities((string) $data['common_order_delivery_sync_weixin_limit_time']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['common_order_delivery_sync_weixin_limit_time']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_order_delivery_sync_weixin_limit_time']['error_tips']); ?>" class="am-radius am-form-field" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['common_order_delivery_sync_weixin_limit_time']['value']); ?>"<?php endif; ?> />
                        <a href="<?php echo MyUrl('api/crontab/orderdeliverysyncweixin'); ?>" target="_blank" rel="noopener noreferrer"><?php echo MyUrl('api/crontab/orderdeliverysyncweixin'); ?></a>
                    </div>
                </div>

                <!-- 正则 -->
                <div class="item" data-key="regex-config">
                    <div class="am-form-group">
                        <label class="am-block"><?php echo htmlentities((string) $data['common_regex_mobile']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_regex_mobile']['describe']); ?></span></label>
                        <input type="text" name="<?php echo htmlentities((string) $data['common_regex_mobile']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['common_regex_mobile']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_regex_mobile']['error_tips']); ?>" class="am-radius am-form-field" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['common_regex_mobile']['value']); ?>"<?php endif; ?> />
                    </div>
                    <div class="am-form-group">
                        <label class="am-block"><?php echo htmlentities((string) $data['common_regex_tel']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_regex_tel']['describe']); ?></span></label>
                        <input type="text" name="<?php echo htmlentities((string) $data['common_regex_tel']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['common_regex_tel']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_regex_tel']['error_tips']); ?>" class="am-radius am-form-field" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['common_regex_tel']['value']); ?>"<?php endif; ?> />
                    </div>
                    <div class="am-form-group">
                        <label class="am-block"><?php echo htmlentities((string) $data['common_regex_id_card']['name']); ?><span class="am-form-group-label-tips"><?php echo htmlentities((string) $data['common_regex_id_card']['describe']); ?></span></label>
                        <input type="text" name="<?php echo htmlentities((string) $data['common_regex_id_card']['only_tag']); ?>" placeholder="<?php echo htmlentities((string) $data['common_regex_id_card']['name']); ?>" data-validation-message="<?php echo htmlentities((string) $data['common_regex_id_card']['error_tips']); ?>" class="am-radius am-form-field" <?php if(!empty($data)): ?>value="<?php echo htmlentities((string) $data['common_regex_id_card']['value']); ?>"<?php endif; ?> />
                    </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'); ?>