function weixin_robot_basic_page()
{
    if (isset($_POST['weixin_robot_options_nonce']) && wp_verify_nonce($_POST['weixin_robot_options_nonce'], 'weixin_robot')) {
        update_option('wpjam_net_domain_check_56', $_POST['wpjam_net_domain_check_56']);
    }
    if (wpjam_net_check_domain(56)) {
        settings_errors();
        $labels = weixin_robot_get_option_labels();
        wpjam_option_page($labels, $title = '设置', $type = 'tab');
    } else {
        global $plugin_page;
        ?>
		<div class="wrap">
			<h2>微信机器人</h2>
			<p>商城更换了授权模式,已经购买用户,请到这里 <a href="http://wpjam.net/wp-admin/admin.php?page=orders&domain_limit=1&product_id=56" class="button">获取授权码</a>。<br />未购买用户,请联系 QQ 11497107 购买。</p>
			<!--<p>你还没有授权域名,点击这里:<a href="http://wpjam.net/wp-admin/admin.php?page=orders&domain_limit=1&product_id=56" class="button">授权域名</a></p>-->
			<form method="post" action="<?php 
        echo admin_url('admin.php?page=' . $plugin_page);
        ?>
" enctype="multipart/form-data" id="form">
				<input type="text" id="wpjam_net_domain_check_56" name="wpjam_net_domain_check_56" value="" class="regular-text" />
				<?php 
        wp_nonce_field('weixin_robot', 'weixin_robot_options_nonce');
        ?>
				<p class="submit"><input class="button-primary" type="submit" value="提交" /></p>
			</form>
		</div>
		<?php 
    }
}
function weixin_robot_advanced_reply_page()
{
    settings_errors();
    $labels = weixin_robot_get_option_labels();
    wpjam_option_page($labels, $title = '', $type = 'default');
}