<div id="modal-login" ceo-modal>
        <div class="ceo-modal-dialog ceo-modal-body ceo-login-h b-r-12">
            <div class="ceo-login-title">
                <h3 class="ceo-modal-title ceo-text-align">登录</h3>
                <p class="title-minor">
                    <em></em>
                    <span>Hi~欢迎来到<?php bloginfo('name'); ?></span>
                    <em></em>
                </p>
            </div>
    	    <div class="ceo-login-qq">
                <?php if(_ceo('qq_login') == true): ?>
    		    <a href="javascript:;" class="btn change-color social-login ceo-margin-top button mid qq half qq_login_button"><i class="iconfont icon-QQ"></i></a>
    		    <?php endif; ?>
        		<?php if(_ceo('weixin_login') == true): ?>
                    <a href="<?php echo esc_url(home_url('/oauth/'.'weixin'.'?rurl='.home_url(add_query_arg(array())))); ?>" class="btn change-color social-login ceo-margin-top button mid weixin half weixin_login_button"><i class="iconfont icon-weixin"></i></a>
                <?php endif; ?>
    		</div>

    		<?php if(_ceo('ceo_login_txt') == true): ?>
    		<div class="b-b">
    			<div class="zongcai-tips"></div>
    			<form action="" method="POST" id="login-form" class="ceo-margin-top-20">
    				<div class="ceo-inline ceo-width-1-1 ceo-margin-small-bottom">
    					<span class="ceo-form-icon"><i class="iconfont icon-bussiness-man"></i></span>
    					<input type="text" name="username" id="username" class="b-r-4 ceo-input ceo-text-small" placeholder="输入用户名/邮箱" required="required">
    				</div>
    				<div class="ceo-inline ceo-width-1-1 ceo-margin-small-bottom">
    					<span class="ceo-form-icon"><i class="iconfont icon-password"></i></span>
    					<input type="password" name="password" id="password" placeholder="请输入密码" class="b-r-4 ceo-input ceo-text-small" value="">
    				</div>
    				<div class="ceo-flex-middle ceo-margin-top">
						<input type="hidden" name="action" value="zongcai_login">
						<button class="submit change-color b-r-4 button mid dark ceo-button ceo-width-1-1">立即登录</button>
    				</div>
    			</form>
    	    </div>
    	    <?php endif; ?>
    		<?php
    		$login_notice = _ceo('login_notice');
    		if( !$login_notice){}else{
    		?>
    		<div class="ceo-alert-primary ceo-margin-remove-bottom b-r-4" ceo-alert>
    			<p class="ceo-text-small">
    				<?php echo _ceo('login_notice'); ?>
    			</p>
    		</div>
    		<?php } ?>
			<div class="ceo-flex ceo-margin-top-20">
			    <a href="#modal-register" class="ceo-text-muted ceo-text-small ceo-flex-1" ceo-toggle>没有账号？立即注册</a>
			    <a href="/wp-login.php?action=lostpassword" class="ceo-text-muted ceo-text-small" ceo-toggle>忘记密码？</a>
			</div>
    	</div>
</div>

<div id="modal-register" ceo-modal>
    <div class="ceo-modal-dialog ceo-modal-body ceo-login-h b-r-12">
        <div class="ceo-login-title">
            <h3 class="ceo-modal-title ceo-text-align">注册</h3>
            <p class="title-minor">
                <em></em>
                <span>Hi~欢迎加入<?php bloginfo('name'); ?></span>
                <em></em>
            </p>
        </div>
        <div class="ceo-login-qq">
            <?php if(_ceo('qq_login') == true): ?>
		    <a href="javascript:;" class="btn change-color social-login ceo-margin-top button mid qq half qq_login_button"><i class="iconfont icon-QQ"></i></a>
		    <?php endif; ?>
    		<?php if(_ceo('weixin_login') == true): ?>
                <a href="<?php echo esc_url(home_url('/oauth/'.'weixin'.'?rurl='.home_url(add_query_arg(array())))); ?>" class="btn change-color social-login ceo-margin-top button mid weixin half weixin_login_button"><i class="iconfont icon-weixin"></i></a>
            <?php endif; ?>
		</div>
		<?php if(_ceo('ceo_login_txt') == true): ?>
    	<div class="b-b">
			<div class="zongcai-tips"></div>
			<form class="ceo-margin-top-20" action="" method="POST" id="register-form">

				<div class="ceo-inline ceo-width-1-1 ceo-margin-bottom-10">
					<span class="ceo-form-icon"><i class="iconfont icon-email"></i></span>
					<input type="email" name="email_address2" id="email_address2" placeholder="输入邮箱" class="b-r-4 ceo-input ceo-text-small" required="required">
				</div>
                <?php if(_ceo('email_verify_code')): ?>
                <div class="ceo-inline ceo-width-1-1 ceo-margin-bottom-10">
                    <span class="ceo-form-icon"><i class="iconfont icon-feeds"></i></span>
                    <input type="text" name="verify_code" id="verify_code" placeholder="验证码" class="b-r-4 ceo-input ceo-text-small" required="required">
                    <button  class="send-verify-code">获取验证码</button>
                </div>
                <?php endif;?>

				<div class="ceo-inline ceo-width-1-1 ceo-margin-bottom-10">
					<span class="ceo-form-icon"><i class="iconfont icon-bussiness-man"></i></span>
					<input type="text" name="username2" id="username2" placeholder="输入用户名" class="b-r-4 ceo-input ceo-text-small" required="required">
				</div>
				<div class="ceo-inline ceo-width-1-1 ceo-margin-bottom-10">
					<span class="ceo-form-icon"><i class="iconfont icon-password"></i></span>
					<input type="password" name="password2" id="password2" placeholder="输入6位数以上密码" class="b-r-4 ceo-input ceo-text-small" required="required">
				</div>
				<div class="ceo-inline ceo-width-1-1 ceo-margin-bottom-10">
					<span class="ceo-form-icon"><i class="iconfont icon-password"></i></span>
					<input type="password" name="repeat_password2" id="repeat_password2" placeholder="请再次输入密码" class="b-r-4 ceo-input ceo-text-small" required="required">
				</div>
                <div class="agreen">
                    <input id="agreement" name="agreen" type="checkbox" class="agreen_btn" required>
                    <label for="agreen"></label>
                    我已阅读并同意<a href="<?php echo _ceo('ceo_login_zcxy_link'); ?>" target="_blank"><?php echo _ceo('ceo_login_zcxy'); ?></a>
                </div>
				<div class="ceo-flex ceo-flex-middle">
					<input type="hidden" name="action" value="zongcai_register">
					<button class="submit change-color b-r-4 button mid dark ceo-button ceo-width-1-1">立即注册</button>
				</div>

			</form>
		</div>
		<?php endif; ?>
		<?php
		$login_notice = _ceo('login_notice');
		if( !$login_notice){}else{
		?>
		<div class="ceo-alert-primary ceo-margin-remove-bottom b-r-4" ceo-alert>
			<p class="ceo-text-small">
				<?php echo _ceo('login_notice'); ?>
			</p>
		</div>
		<?php } ?>
		<div class="ceo-margin-top-20">
		    <a href="#modal-login" class="ceo-text-muted ceo-text-small" ceo-toggle>已有账号？立即登录</a>
	    </div>	
	</div>
</div>

<div id="modal-buy-vip" ceo-modal>
    <div class="ceo-modal-dialog ceo-modal-body ceo-margin-auto-vertical b-r-12">
        <div class="home-modal-bg ceo-overflow-hidden ceo-vip-zx">
		    <img src="/wp-content/themes/ceomax/static/images/ceo-vip-zx.png">
		</div>
        <div class="ceo-login-title ceo-vip-zx-title">
            <h3 class="ceo-modal-title ceo-text-align"><?php if(_ceo('ceo_vip_zx'))echo _ceo('ceo_vip_zx')['ceo_vip_zx_title']; ?></h3>
        </div>
        <p class="ceo-vip-zx-minor" style="text-align: center">
            <em></em>
            <span><?php if(_ceo('ceo_vip_zx'))echo _ceo('ceo_vip_zx')['ceo_vip_zx_default']; ?></span>
            <em></em>
        </p>
        <div class="ceo-flex ceo-flex-middle ceo-margin-top" style="text-align: center;">
            <div class="ceo-flex-1 bannerMid ">
                <a class="ceo-vip-zx-an" href="<?php if(_ceo('ceo_vip_zx'))echo _ceo('ceo_vip_zx')['ceo_vip_zx_an_url']; ?>" target="_blank" onclick="javascript:UIkit.modal('#modal-buy-vip').hide();"><?php if(_ceo('ceo_vip_zx'))echo _ceo('ceo_vip_zx')['ceo_vip_zx_an_title']; ?></a>
            </div>
        </div>
        </div>
</div>
