<!DOCTYPE HTML>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$title}</title>
    <meta name="keywords" content="{$keywords}" />
    <meta name="description" content="{$description}" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="format-detection" content="telephone=no, email=no">
    <meta name="apple-mobile-web-app-title" content="{$site_name}" />
    <meta name="generator" content="openwbs {$version}" />
    <meta name="author" content="openwbs team" />
    <meta name="copyright" content="2019-2039 OpenWBS Inc." />
    <!--#include file="include.css.html"-->
    <link rel="stylesheet" href="../css/om.login.css?v={$version_sn}" />
</head>
<body>
<!--#include file="include.header.html"-->
<section class="om-logreg">
    <div class="om-logreg-header">会员登录</div>
    <div class="form-section">
        <%=OS.loginHtml%>
        <div class="login-apps" id="login_apps">
            <div class="header"><span>快捷登录</span></div>
            <div class="section">
                <a class="app-login app-weixin" href="javascript:;" onClick="OW.member.wxLogin()" name="wxlogin">微信安全登录</a>
                <a class="app-login app-qq" href="javascript:;" onClick="OW.member.qqLogin({appid:'{$config(qq_pc_appid)}'})" name="qqlogin">使用QQ账号登录</a>
            </div>
        </div>
        <div class="logreg-aux-section">
            <dl>
                <dt>还没有账号？立即注册一个吧！</dt>
                <dd><a class="btn btn-large" href="{$reg_url}">注册会员</a></dd>
            </dl>
        </div>
    </div>
</section>

<!--底部-->
<!--#include file="include.footer.html"-->
<script type="text/javascript">
$(document).ready(function(){
	//navFixing();
	if(!(OW.isWeixinAgent() && OW.int("{$config(is_weixin_mobile_open)}")==1)){
		$("a[name='wxlogin']").remove();
	};
	if(OW.int("{$config(is_qq_pc_open)}")==0){
		$("a[name='qqlogin']").remove();
	};
	if(OW.int($("#login_apps").find(".app-login").length)==0){
		$("#login_apps").remove();
	};
});
</script>
<% if OS.isWeixinShare then %>
<%=OS.getWXShareTicket%>
<script type="text/javascript">
wx.config({
    debug:false,appId:'<%=OS.wxShareAppid%>',timestamp:'<%=OS.wxShareTimestamp%>',nonceStr:'<%=OS.wxShareNonceStr%>',signature:'<%=OS.wxShareSignature%>',jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareQZone']
});
wx.ready(function(){
	var wxTitle = '{$title}',
	wxDesc      = '{$description}'
	wxLink      = OW.currentURL(),
	wxImgUrl    = '<%=OW.validImageUrl("{$config(share_default_img)}")%>';
	wx.onMenuShareTimeline({title:wxTitle,link:wxLink,imgUrl:wxImgUrl});
	wx.onMenuShareAppMessage({title:wxTitle,desc:wxDesc,link:wxLink,imgUrl:wxImgUrl});
	wx.onMenuShareQQ({title:wxTitle,desc:wxDesc,link:wxLink,imgUrl:wxImgUrl});
	wx.onMenuShareQZone({title:wxTitle,desc:wxDesc,link:wxLink,imgUrl:wxImgUrl});
});
</script>
<% end if %>
</body>
</html>
