<!--#include file="conn.asp"-->
<%
If IsUser<>1 then
%>
document.writeln("		<form action=\"<%=SitePath%>User\/Userlogin.asp?action=login\" method=\"post\" name=loginForm>");
document.writeln("		用户名：<input name=\"Username\" class=\"borderall\" type=\"text\" size=\"15\" style=\"width:100px;height:15px;\">");
document.writeln("		密　码：<input name=\"PassWord\" class=\"borderall\" type=\"password\" size=\"15\" style=\"width:100px;height:15px;\">");
document.writeln("		<input type=\"checkbox\" name=\"CookieDate\" id=\"CookieDate\" style=\"border:0;\"\/>保存");
document.writeln("		<input type=\"submit\" name=\"Submit\" value=\"登录\" class=\"borderall\" style=\"height:19px;\"\/>");
document.writeln("		<input type=\"button\" name=\"button\" value=\"注册新用户\" class=\"borderall\" style=\"height:19px;\" onClick=\"window.location.href=\'<%=SitePath%>User\/userreg.asp\'\" \/>");
document.writeln("		<\/form>");
<%else%>
document.writeln("<div>欢迎你：<%=username%>，<%=moneyname%>：<b><%=mymoney%><\/b>　等级：<%=dengji%>　<a href=\"<%=SitePath%>User\/UserAdd.asp?action=useredit\">修改资料<\/a>　<a href=\"<%=SitePath%>User\/UserAdd.asp?action=add\">发表文章<\/a>　<a href=\"<%=SitePath%>User\/UserLogin.asp?action=logout\">退出<\/a><\/div>");
<%end if%>