<%@ Page Inherits="WanerSoft.Provider.BasePage" AutoEventWireup="true" EnableViewState="false" %>
<%IF Session.Item("UserName") Is Nothing Then%>
document.write('<form action="<%=InfoSys.RootFolder%>User/LoginCheck.aspx" method="post" name="LoginFrom"><label>帐号</label><input name="username" id="username" size="10" type="text" tabindex="4" /><label>密码</label><input name="password" id="password" size="10" type="password" tabindex="5" />');
	   <%If InfoSys.ValidateCodeLogin Then%>
	   document.write('<label>验证码</label><input name="VolidaCode" id="VolidaCode" Style="ime-mode:disabled" size="4" maxlength="4" type="text"/>&nbsp;<img src="ValidatorCode.ashx" id="Vl" alt="刷新验证码" border="0" onclick="javascript:this.src=\'ValidatorCode.ashx\'" align="absmiddle" />');
	   <%End IF%>
	   document.write('&nbsp;&nbsp;<select name="CookieTime" hidefocus><option value="0" selected="true">不保存</option><option value="1">保存一天</option><option value="30">保存一月</option><option value="365">保存一年</option></select><input name="UserLogin" type="image" src="/skin/default/images/login2.gif" align="absmiddle" tabindex="6" style="margin-left:5px;"/>&nbsp;&nbsp;<a href="<%=InfoSys.RootFolder%>User/RegtersSave.aspx">还没注册?</a>&nbsp;&nbsp;<a href="<%=InfoSys.RootFolder%>User/ForgetPass.aspx">忘记密码!</a></form>');
	<%Else%>
	 document.write('欢迎 <%=Session.Item("UserNameB")%> ，登陆成功！ ┊ <a href="<%=InfoSys.RootFolder%>User/Index.aspx">个人书屋</a> ┊ <a href="<%=InfoSys.RootFolder%>User/User_BookList.aspx">藏书架</a> ┊ <a href="<%=InfoSys.RootFolder%>User/Messages.aspx">短消息</a><%IF Ctype(Session.Item("UserMegNum"),Integer)>0 Then%><bgsound loop=\'1\' autoplay=\'true\' src=\'/Images/meg.wav\' /><Font color=red>(<%=Session.Item("UserMegNum")%>条新消息)</font><%End IF%> ┊ <a href="<%=InfoSys.RootFolder%>User/Logout.aspx">退&nbsp;&nbsp;出</a>&nbsp;&nbsp;');
	<%End IF%>
