<!--#include file="../conn/conn2.asp" -->
<!--#include file="../conn/function.asp" -->

<!DOCTYPE HTML>

<html>

<head>
<title>会员登陆</title>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=yes" name="format-detection" />
<meta content="email=no" name="format-detection" />
<meta name="keywords" content=""  />
<meta name="description" content="" />
<link href="css/public.css" rel="stylesheet">
<link href="css/login.css" rel="stylesheet">
<script src="js/jquery.js" type="text/javascript" ></script>
<script src="js/common.js" type="text/javascript" ></script>
</head>
<body id="body">
<%
action=Request.QueryString("action")

from=session("from")
if from="" then
from="index.asp"
end if

if action="login" then
M_login=Replace_Text(Request.Form("M_login"))
M_pwd=Replace_Text(Request.Form("M_pwd"))
sql="Select * from SL_member Where M_login='"&M_login&"' and M_pwd='"&M_pwd&"'"
		set rs=Server.CreateObject("ADODB.RecordSet")
		rs.open sql,conn,1,1
		if not rs.eof then
session("M_login")=M_login
session("M_pwd")=M_pwd
session("M_id")=rs("M_id")
session.timeout=5000
call box("登录成功!",URLDecode(from),"success")
else
call box("账号或密码错误!","member_login.asp","error")
end if
end if

if action="unlogin" then
session("M_login")=""
session("M_pwd")=""
session("from")=""
call box("退出成功!","index.asp","success")
end if
%>


<div class="fullscreen per_login">



<div class="alert"></div>

	

<header class="header">

	<div class="header_bar">

		 <a href="../"><h1 class="logo"><img src="<%=C_dir%>media/<%=W_logo%>" height="50"></h1></a>

         

         <div class="per_login" id="per_login">

		     <div class="account">

                 <div class="per_name">

                     <span id="per_name">其他登录方式</span>

                     <i class="arrowIcon"></i>                 </div>
             </div>

			 <div class="quick_links hide">

			     <ul>

                     <li><a href="<%=C_dir%>qq/qqlogin.asp">QQ登录</a></li>

                 </ul>
             </div>
         </div>
    </div>

</header>



<div class="operate_Bar1 clearfix">

	<div class="text">网站会员登录</div>

</div>



<section class="inner_content">

    <form id="loginform" name="loginform" method="post" action="member_login.asp?action=login">

    <li class="username"><input type="text" name="M_login" placeholder="用户名" id="login_name" value="" /></li>

	<li class="pwd"><input type="password" name="M_pwd" placeholder="密码" id="login_pwd" value="" /></li>

	<li class="login_free">
        <div><input type="checkbox" value="ok" name="m.zidong" id="login_auto" checked="checked" /></div>
    </li>

	<li class="submit_btn"><button type="submit" id="login_btn">登 录</button></li>
	<%if ubound(split(LCase(Request.ServerVariables("HTTP_USER_AGENT")),"micromessenger"))>0 Then%>
	<li class="submit_btn" style="margin-top:10px;"><table width="100%"><tr><td width="50%" style="padding-right:5px;"><button type="button" onClick="document.location.href='../wxpay/login.asp'">微信登录</button></td><td width="50%" style="padding-left:5px;"><button type="button" onClick="document.location.href='../qq/qqlogin.asp'">QQ登录</button></td></tr></table></li>
	<%end if%>

	<li class="reg_findPwd">

		<a href="member_reg.asp">免费注册</a>

		<a href="member_found.asp">忘记密码</a>

	</li>

    </form>

</section>



	

<div id="tFooter" class="footer">

	<footer >




	</footer>

</div>



</div>

</body>
</html>