﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>中国幕墙网-会员登录</title>
    <%--<link rel="Stylesheet" type="text/css" href="Skin/Style.css" />--%>
    <style type="text/css">
	body{margin:0;padding:0;background-color:#173dc6;background-image:url(images/loginbodyBG.jpg);background-repeat:no-repeat;text-align:center;background-position:center; background-attachment:scroll;}
	#container{margin:auto;text-align:center;width:840px;}
	#main{ text-align:center; position:relative; float:left; width:500px; height:300px;margin-top:180px;margin-right:auto;}
    #main_right {margin:140px 0 0 50px;float:left;width:290px;height:400px;background:url(images/loginbg.gif);}
    .loginbtn { margin:295px 0 0 20px;float:left;width:167px;height:50px;}
    #return { margin-top:10px;width:460px; height:20px; float:left; text-align:right;}
    #return a { COLOR: #4076d4; TEXT-DECORATION: none;}
    #return a:hover { BACKGROUND:none;TEXT-DECORATION:underline; COLOR: #4076d4;}
    #exp { margin-top:0px;width:260px; height:12px; float:left; text-align:right;}
    #exp a { COLOR: #4076d4; TEXT-DECORATION: none;}
    #exp a:hover { BACKGROUND:none;TEXT-DECORATION:underline; COLOR: #4076d4;}
	#input{ margin-top:75px; width:350px; height:100px; float:left; text-align:right;}
	#sumitBT{margin-top:105px; width:124px; height:60px; float:left; text-align:left; padding-top:40px; padding-left:25px;}
	.text{margin-top:18px;margin-right:2px; border:1px #B2A261 solid; height:20px;}
	form{margin:0; padding:0;}
	.loginBT{margin-top:37px; margin-left:25px;}
	#adIcon{ text-align:left; padding-top:10px; clear:both; margin-left:10px;}
	.help {position:absolute;width:120px;height:63px;text-align:left;left:370px;top:240px;z-index:2;}
	
	.qqlogin {
		position:absolute; left:10px; top:120px; z-index:91;
		font-size:12px;
	}
	.qqlogin a {
		position:relative; top:20px; left:-115px;
		float:left;
		padding:1px 1px 1px 27px;
		width:78px; height:21px; line-height:23px;
		background:url(http://alwindoor.com/applogin/imgs/more-login01.png) no-repeat;
		color:#585858;
		text-align:center; text-decoration:none;
	}
	.qqlogin b {
		position:absolute; top:1px; left:4px;
		width:25px; height:21px;
		background:url(http://alwindoor.com/applogin/imgs/more-login01.png) -1px -23px no-repeat;
	}
</style>
<script type="text/javascript" language="javascript">
    function check()
    {
        var userText=document.getElementById("username")
        var pwdText=document.getElementById("password")
        if(userText.value=="")
        {
            alert("用户名不能为空！");
            return false;
        }
        if(pwdText.value=="")
        {
            alert("密码不能为空！");
            return false;
        }
    }
</script>

</head>
<body>
    <form id="form1" runat="server" style="margin:auto; padding:auto" onsubmit="return check();">
      <div id="container">
              <div id="main" style="left: 0px; top: 0px">
                    <div id="return">
                        <a href="../">去首页</a>&nbsp;&nbsp;&nbsp;<a href="../hyzx">去会员中心</a>
                    </div>
		            <div id="input" style="position:relative;">
						<div class="qqlogin">
							<span style="float:left;">使用合作网站账号登录</span>
							<a href="https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=100500944&redirect_uri=http%3A%2F%2Fwww.alwindoor.com%2Fapplogin%2Fqq.asp&state=test" style=""><b class="qq"></b>QQ登录</a>
						</div>
			            <p><asp:TextBox ID="username" runat="server" CssClass="text" Width="150px"></asp:TextBox></p>
			            <p><asp:TextBox ID="password" runat="server" CssClass="text" TextMode="Password" Width="150px"></asp:TextBox></p>
		            </div>
		            <div id="sumitBT">
                        <asp:ImageButton ID="LoginBT" runat="server" ImageUrl="images/submitBT_03.jpg"  AlternateText="点击登录" OnClick="Login_Click"/> 
		            </div>
					<div id="adIcon">
						<div align="center"><a href="../gg_count.asp?ad_id=4" target="_blank"></a>
						    <a href="../zchy.asp" target="_blank"><img src="images/reg.jpg" border="0" alt="注册" style="margin-bottom:8px;"/></a>　　
						    <a href="ForgetPwd.aspx" target="_blank"><img src="images/forget.jpg" border="0" alt="密码找回" style="margin-bottom:8px;"/></a> </div>
					</div>
					
					    <div id="exp" style="font-size:12px;">免费体验：<a href="http://www.alwindoor.com/hezuo_denglu.asp" target="_blank">我要供应</a>　<a href="http://www.alwindoor.com/need_denglu.asp" target="_blank">我要求购</a></div><div class="help"><a href="help.htm" target="_blank"><img src="images/h1.gif" border="0" alt="帮助说明" style="margin-bottom:8px;"/></a>
					</div>
        </div>
	            <div id="main_right">
	                <div class="loginbtn"><a href="../zchy.asp" target="_blank"><img src="images/longbtn.jpg" width="167" height="50" border="0"/></a></div>
	            </div>
            </div>
    </form>
    <script language="javascript" type="text/javascript">
	            var url=location.hostname;
	            if(url=="www.windoor168.com" || url=="windoor168.com" )
	            { 
	                document.getElementById("main").style.backgroundImage="url(images/loginWindoorBG.png)";
	                document.title="中国门窗配套材料网-会员登录"
	            }
	            else
	            {
	                document.getElementById("main").style.backgroundImage="url(images/loginBG.png)";
	            }
</script>
</body>
</html>