<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="CY.WebForm.Pages.front.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 href="../../Styles/ParticularWH.css" rel="stylesheet" type="text/css" />
|
<link href="../../Styles/base.css" rel="stylesheet" type="text/css" />
|
<script src="../../js/front/jquery.js" type="text/javascript"></script>
|
<script src="../../js/common/util.js" type="text/javascript"></script>
|
<script src="../../js/utils/sM.js" type="text/javascript"></script>
|
<link href="../../css/sM.css" rel="stylesheet" type="text/css" />
|
<script src="../../js/front/jquery.KinSlideshow-1.2.min.js" type="text/javascript"></script>
|
<link href="../../Styles/login.css" rel="stylesheet" type="text/css" />
|
<script type="text/javascript">
|
function alertMsg(msg) {
|
$("body").showMessage(msg);
|
}
|
$(function () {
|
$("#ad0").KinSlideshow({
|
intervalTime: 4,
|
moveStyle: "left",
|
mouseEvent: "mouseover",
|
isHasTitleBar: false,
|
isHasTitleFont: false,
|
isHasBtnFont: false,
|
titleBar: { titleBar_height: 15, titleBar_bgColor: "#000000", titleBar_alpha: 0.5 },
|
titleFont: { TitleFont_size: 2, TitleFont_family: "微软雅黑", TitleFont_color: "#FFFFFF", TitleFont_weight: "normal" },
|
btn: { btn_height: 10, btn_bgColor: "#FFFFFF", btn_bgHoverColor: "#FFF", btn_fontColor: "#FFF", btn_fontHoverColor: "#FFFFFF", btn_borderColor: "#cccccc", btn_borderHoverColor: "#FFF", btn_borderWidth: 1
|
}
|
});
|
$(".KinSlideshow_titleBar").css("height", "11px");
|
$(".KinSlideshow_btnBox").css("bottom", "2px");
|
$("#btnlistID > li").css("width", "16px").css("height", "5px").css("margin-left", "5px").text("");
|
document.onkeydown = function () {
|
var EventUtil = {};
|
EventUtil.getEvent = function () {
|
if (window.event) { return window.event; }
|
else { return EventUtil.getEvent.caller.arguments[0]; }
|
}
|
if (EventUtil.getEvent().keyCode == 13) {
|
$("#btn_Register").click();
|
event.returnValue = false;
|
}
|
}
|
});
|
</script>
|
<script type="text/javascript">
|
$(function () {
|
var Xmember = '<%=Session["nowMemberLogin"] %>';
|
if (Xmember != null && Xmember != '') {
|
var backurl = '<%=Request["backurlCS"] %>';
|
if (backurl == "") {
|
window.location = "/";
|
} else {
|
window.location = backurl;
|
}
|
}
|
$("#LoginId").click(function (event) {
|
var o = $("#ShowCustormDIV");
|
o.fadeIn();
|
$(document).one("click", function () {//对document绑定一个影藏Div方法
|
$("#ShowCustormDIV").fadeOut();
|
});
|
event.stopPropagation(); //阻止事件向上冒泡
|
});
|
$("#ShowCustormDIV").click(function (event) {
|
event.stopPropagation(); //阻止事件向上冒泡
|
});
|
$("#ShowCustormList li").click(function () {
|
var backurl = '<%=Request["backurlCS"] %>';
|
var value_name = $(this).attr("value_name");
|
$.ajax({
|
url: "/Pages/front/Login.aspx",
|
type: "POST",
|
dataType: "html",
|
data: { dateType: "getPwd", name: value_name },
|
global: false,
|
cache: false,
|
async: false,
|
success: function (data) {
|
switch (data) {
|
case "1":
|
window.location = "/cms";
|
break;
|
case "2":
|
window.location = backurl;
|
break;
|
default:
|
alertMsg(data);
|
break;
|
}
|
}
|
});
|
$(".ShowCustormDIV").hide();
|
});
|
$(".DelCookie").click(function (event) {
|
var value_name = $(this).attr("value_name");
|
$.ajax({
|
url: "/Pages/front/Login.aspx",
|
type: "POST",
|
dataType: "html",
|
data: { dateType: "delcookie", name: value_name },
|
global: false,
|
cache: false,
|
async: false,
|
success: function (data) {
|
$("li[value_name='" + value_name + "']").remove();
|
}
|
});
|
event.stopPropagation(); //阻止事件向上冒泡
|
});
|
});
|
</script>
|
<style type="text/css">
|
.DelCookie { font-size: 16px; float: right; font-family: @幼圆; }
|
</style>
|
</head>
|
<body>
|
<form id="form" runat="server">
|
<uc:fronthead id="FrontHead1" runat="server" />
|
<div class="wal">
|
<div class="loginContent">
|
<div id="ad0" runat="server" class="loginLeft">
|
<a href="#">
|
<img alt="xxxx" width="615" height="330" src="../../images/Common/longad.jpg" /></a>
|
</div>
|
<div class="login" style="overflow: visible; position:relative; z-index:1;">
|
<div style="color: White; font-family: 微软雅黑; font-size: 12px; padding-bottom: 69px; padding-left: 283px;">
|
<%=CY.Config.WebInfo.Instance.VersionNumber %></div>
|
<input name="ToReUrl" value="" type="hidden" />
|
<input name="ToUrl" value="" type="hidden" />
|
<%--<div class="t_1">
|
<h2 class="fl">
|
用户登录</h2>
|
<div class="more">
|
<span class="gray">还不是四川印刷网用户?</span><a href="/Pages/front/RegisterType.aspx" class="red">立即注册</a></div>
|
</div>--%>
|
<div class="form_div1" style="overflow: visible; position:relative; z-index:2;">
|
<div class="span1" style="float: left;">
|
账号:</div>
|
<div style="float: left; width: 204px; height: 31px; overflow: visible; position:relative; z-index:3;">
|
<div style="width: 204px; float:left; overflow:hidden;">
|
<input type="text" name="LoginId" id="LoginId" runat="server" autocomplete="off" class="req notips fl" maxlength="18" style="width: 200px; font-family: 微软雅黑; font-size: 19px; border: 1px solid #CCCCCC; color: #454745;" value="<%=MemberLoginNum %>" />
|
</div>
|
<div id="ShowCustormDIV" class="ShowCustormDIV" style="display: none; width: 202px; float:left; z-index:10;top:30px; left:0px;">
|
<ul id="ShowCustormList">
|
<%=LoginAndPwdCookieString %>
|
</ul>
|
</div>
|
</div>
|
</div>
|
<div class="form_div1">
|
<div class="span1" style="float: left;">
|
密码:</div>
|
<div style="float: left; width: 204px; height: 31px; overflow: hidden;">
|
<asp:TextBox TextMode="Password" CssClass="req notips " ID="Password" runat="server" MaxLength="20" Style="width: 200px; font-family: 微软雅黑; font-size: 19px; border: 1px solid #CCCCCC; color: #454745;">
|
</asp:TextBox>
|
</div>
|
</div>
|
<div class="form_div1" style="line-height: 20px;">
|
<div class="span1" style="float: left;">
|
</div>
|
<div style="float: left; height:31px; line-height:31px;">
|
<input type="checkbox" name="SetUserCookie" id="SetUserCookie" value="123" runat="server" style="margin: 9px 4px 3px 0px;" />
|
</div>
|
<div style="float: left; width: 204px;height:31px; line-height:31px;">
|
<label for="SetUserCookie">记住密码</label>
|
<label style="padding-left: 30px;"><a href="/register.html">立即注册</a></label>
|
</div>
|
</div>
|
<div class="form_div1">
|
<div class="span1" style="float: left;"> </div>
|
<div style="float: left; width: 204px; height: 31px; ">
|
<asp:Button ID="btn_Register" Text=" " runat="server" OnClick="btn_Login_Member" class="btn1" Style="cursor: pointer;" Height="35px" BorderWidth="0" /></div>
|
<%-- <span class="span4"><a href="/User/QQLogin.htm">快捷登录</a></span>--%>
|
</div>
|
</div>
|
<div class="CB">
|
</div>
|
</div>
|
</div>
|
<uc:frontfoot id="FrontFoot1" runat="server" />
|
</form>
|
</body>
|
</html>
|