<%@ Page Language="C#" AutoEventWireup="true" %>

document.writeln("<form action=\"\/Login.aspx\" method=\"post\" class=\"ym_form\">");
document.writeln("    <span>高效、安全交易，从要俩源码开始，与百万人共同分享<\/span>");
<%if (!User.Identity.IsAuthenticated || Request.Cookies["12ymuser"] == null || Request.Cookies["12ymuser"]["key"] == null)
  { %>
document.writeln("    &nbsp;帐号：<input type=\"text\" name=\"txtUserName\" class=\"inp\" onBlur=\"fEvent(\'blur\',this)\" onmouseover=\"fEvent(\'mouseover\',this)\" onFocus=\"fEvent(\'focus\',this)\" onmouseout=\"fEvent(\'mouseout\',this)\"\/> ");
document.writeln("    密码：<input type=\"password\" name=\"txtPassword\" class=\"inp\" onBlur=\"fEvent(\'blur\',this)\" onmouseover=\"fEvent(\'mouseover\',this)\" onFocus=\"fEvent(\'focus\',this)\" onmouseout=\"fEvent(\'mouseout\',this)\"\/> ");
document.writeln("    <input type=\"submit\" value=\"\" class=\"Loginbg\" \/> ");
document.writeln("<button class=\"Registerbg\" onclick=\"window.open(\'\/Register.aspx\',\'\',\'\');\"><\/button>");
<%}
else
{ %>
document.writeln(' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;欢迎您 <a href="/user/index.aspx" class="ym_user"><%=Server.UrlDecode(Request.Cookies["12ymuser"]["key"])%></a> 的到来，<a href="/user/index.aspx">个人中心</a>');
document.writeln(' ，<a href="/login.aspx?out">退出</a>');
<%} %>
document.writeln("</form>");
