<%@ Language=VBScript %>
<!--#include virtual="/inc/FreeHost-AG-Function.asp"-->
<%
If session("username")="" Then
	ef=True
	ec="授权非法，有可能是超时造成的。"
ElseIf Request.QueryString ("id")="" Then
	ef=True
	ec="请输入产品ID！"
ElseIf not IsNumeric(Request.QueryString ("id"))  Then
	ef=True
	ec="ID应该是数字！"
end if

if not ef then
%>
<form name="form1" method="post" action="http://<%=Application("CPSite")%>/sqladm/login.asp" ID="Form1">
<input type=hidden name=referer value="/">
<input name="username" type="hidden" value="<%=session("username")%>">
<input name="password" type="hidden" value="<%=session("password")%>">
<input name="id" type="hidden" value="<%=Request.QueryString ("id")%>">
<input name="go" type="hidden" value="<%=Request.QueryString ("go")%>">
<input name="returl" type="hidden" value="<%="http://"&Request.ServerVariables("SERVER_NAME")%>">
<input type="submit" name="Submit" value="正在自动登陆中...........">
</form>
<script language="JavaScript">
document.Form1.submit();
</script>
<%
end if
if ef then
Response.Redirect "e.asp?e="&ec
end if%>