<section class="ceo-width-1-1 ceo-overflow-hidden ceo-position-relative ceo-position-z-index">
	<div class="login-bg ceo-position-top">
		<img src="<?php echo _ceo('login_bg'); ?>">
	</div>
	<div class="login-warp ceo-width-1-1 ceo-flex ceo-flex-middle ceo-padding-large ceo-position-relative ceo-position-z-index">
		<div class="login-main ceo-animation-slide-bottom-small">
			<div class="login-box b-r-4 ceo-position-relative">
				<div class="login-bg-01 ceo-position-absolute">
					<div class="bg-box b-r-4"></div>
				</div>
				<div class="login-bg-02 ceo-position-absolute">
					<div class="bg-box b-r-4"></div>
				</div>
				<div class="login-contnet b-r-4 ceo-overflow-hidden ceo-grid-collapse ceo-position-relative" ceo-grid>
					<div class="ceo-width-1-1@s ceo-width-2-5@m ceo-width-2-5@l ceo-width-2-5@xl">
						<div class="login-l ceo-background-default">
							<div class="ceo-padding">
								<div class="b-b">
									<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>
									<div class="zongcai-tips"></div>
									<?php if(_ceo('ceo_login_txt') == true): ?>
									<form action="" method="POST" id="login-form" class="ceo-margin-medium-top ceo-margin-bottom">
										<div class="ceo-inline ceo-width-1-1 ceo-margin-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 ceo-flex-middle ceo-margin-top">
											<input type="hidden" name="action" value="zongcai_login">
											<button class="change-color ceo-button b-r-4 button mid dark ceo-width-1-1"  class="">立即登录</button>
										</div>
									</form>
									<?php endif; ?>
								</div>
								<?php 
								$login_notice = _ceo('login_notice');
								if( !$login_notice){}else{
								?>
								<div class="ceo-alert-primary ceo-margin-remove-bottom" 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="/user/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>
					<div class="ceo-width-1-1@s ceo-width-3-5@m ceo-width-3-5@l ceo-width-3-5@xl ceo-visible@s">
						<?php include TEMPLATEPATH.'/user/login/right.php'; ?>
					</div>
				</div>
			</div>
			<p class="ceo-light ceo-text-center ceo-margin-large-top"><a href="<?php echo home_url(); ?>" class="ceo-text-small">返回首页<i class="iconfont icon-resonserate-fill ceo-margin-small-left"></i></a></p>
		</div>
	</div>
</section>
<?php get_footer(); ?>