<%@ Page Inherits="WanerSoft.Provider.BasePage" AutoEventWireup="true" EnableViewState="false" %>
<%IF Session.Item("UserName") Is Nothing Then%>
document.write('<link href="/skin/default/css/login.css" rel="stylesheet" type="text/css" /><div class="container"><form action="<%=InfoSys.RootFolder%>User/LoginCheck.aspx" method="post" name="LoginFrom"><div class="box_login"><ul id="loginy"><li><label>帐  号：</label><input name="username" id="username" type="text" size="15" tabindex="1" /></li><li><label>密　码：</label><input name="password" id="password" type="password" size="15" tabindex="2" /></li></ul><ol><input src="/skin/default/images/login_button.gif" type="image" name="UserLogin" value="确定" tabindex="3" /></ol></div><div class="sdo"><input name="CookieTime" type="radio" value="1" class="checked" checked="checked" /><label>保存1天</label><input name="CookieTime" type="radio" value="30" class="checked" /><label>保存1月</label><input name="CookieTime" type="radio" value="365" class="checked" /><label>保存1年</label></div><div class="box_reg"><a href="/User/RegtersSave.aspx" target="_blank" class="ico_reg">新会员注册</a> ┆ <a href="/User/ForgetPass.aspx" target="_blank">忘记密码</a></div></form></div>');
<%Else%>
document.write('<div class="container"><div class="user_top">欢迎您，<span class="user_name"><%=Session.Item("UserNameB")%></span> <span class="user_out"><a href="/User/Logout.aspx">退出</a></span></div><ul class="user_menu"><li class="sns"><a href="/User/Index.aspx">个人书屋</a></li><li class="msg"><a href="/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%></li><li class="bookcase"><a href="/User/User_BookList.aspx">藏书架</a></li><li class="vip"><a href="/vip/pay.aspx" target="_blank">充值升级</a></li></ul></div>');
<%End IF%>
