<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>登入 - {aspbbs:guestConfig.SiteName}</title>
{aspbbs:template src=common/link}
</head>
<body>

{aspbbs:template src=common/header_user}

<div class="layui-container fly-marginTop" id="LAY_brain">
  <div class="fly-panel fly-panel-user" pad20>
    <div class="layui-tab layui-tab-brief" lay-filter="user">
      <ul class="layui-tab-title">
        <li class="layui-this">登入</li>
        <li><a href="{aspbbs:func:getRegLink}">注册</a></li>
      </ul>
      <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding: 20px 0;">
        <div class="layui-tab-item layui-show">
          <div class="layui-form layui-form-pane">
            <form method="post" action="{aspbbs:indexprefix}login_doLogin">
              <div class="layui-form-item">
                <label for="L_email" class="layui-form-label">帐户</label>
                <div class="layui-input-inline">
                  <input type="text" id="L_email" name="LoginName" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label for="L_pass" class="layui-form-label">密码</label>
                <div class="layui-input-inline">
                  <input type="password" id="L_pass" name="Password" required lay-verify="required" autocomplete="off" class="layui-input">
                </div>
              </div>
			  {if: "{aspbbs:guestConfig.LoginVerify}"="1" and "{aspbbs:guestConfig.VerifyType}"="0" and not CheckWap()}
				<div class="layui-form-item">
					<label class="layui-form-label" class="layui-form-label">滑动验证</label>
					<div class="layui-input-inline">
						<div id="slider"></div>
					</div>
					<input type="hidden" name="sliderVerify" id="sliderVerify" value="0">
				</div>
			  {elseif: "{aspbbs:guestConfig.LoginVerify}"="1" and "{aspbbs:guestConfig.VerifyType}"="1"}
              <div class="layui-form-item layui-hide-xs">
                <label for="L_vercode" class="layui-form-label">图形码</label>
                <div class="layui-input-inline">
                  <input type="text" id="L_vercode" name="verify" required lay-verify="required" placeholder="请回答后面的验证码" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid">
                  <span style="color: #c00;">{aspbbs:checkimg}</span>
                </div>
              </div>
			  {end if}
              <div class="layui-form-item">
                <button class="layui-btn" lay-filter="*" alert="1" lay-submit>立即登录</button>
                <span style="padding-left:20px;">
                  <a href="{aspbbs:indexprefix}Reg_forget{aspbbs:guestConfig.PageSuffix}">忘记密码？</a>
                </span>
              </div>
              <div class="layui-form-item fly-form-app">
                <span>或者使用社交账号登入</span>
				{if: "{aspbbs:guestConfig.LoginQQ}" <> "0" AND POP_MVC.File.IsExists("./API/qq") }
                <a href="{aspbbs:sitepath}/API/qq/" onclick="layer.msg('正在通过QQ登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-qq" title="QQ登入"></a>
				{end if}
				{if: "{aspbbs:guestConfig.LoginWeibo}" <> "0" AND POP_MVC.File.IsExists("./API/sina") }
                <a href="{aspbbs:sitepath}/API/sina/" onclick="layer.msg('正在通过微博登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-weibo" title="微博登入"></a>
				{end if}
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

{aspbbs:template src=self/footer}
{if: "{aspbbs:guestConfig.LoginVerify}"="1" and "{aspbbs:guestConfig.VerifyType}"="0" and not CheckWap()}
{aspbbs:template src=common/slideuplock-js}
{end if}
</body>
</html>