📄 view.asp
字号:
<!--#include file="inc/conn.asp"-->
<%
username=request("username")
sql="select * from [user] where username='"&username&"'"
rs.open sql,conn,1,1
groups=rs("groups")
seldomain=rs("seldomain")
set rshost=server.createobject("ADODB.Recordset")
sqlhost="select * from [host] where id="&cint(groups)
rshost.open sqlhost,conn,1,1
if rshost("domain")=True then
userurl="http://"&username&"."&seldomain
else
userurl=rshost("userurl")&"/"&username
end if
%>
<html><head><title></title>
<meta content="text/html; charset=gb2312" http-equiv=Content-Type>
<link href="css/style.css" rel="stylesheet" type="text/css">
<meta http-equiv="refresh" content="1;URL=<%=userurl%>">
<object id=maximize type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="MAXIMIZE">
</object>
<script>
if(self.screenLeft>10)maximize.Click()
</SCRIPT>
<script language="javascript">
//设置上传图片时的LOADING效果
str="......";
timeout=130;
setTimeout("loading(2)",timeout);
function loading(poitcount){
Pcount=poitcount;
Pcount=Pcount%8;
if(Pcount==0) Pcount++
window.maindiv.innerHTML="Loading"+str.substring(0,Pcount);
Pcount++;
setTimeout("loading("+Pcount+")",timeout);
}
</script>
</head>
<body bgcolor="#FFFFFF">
<table width="100" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="font-family:Arial, Helvetica, sans-serif;font-weight: bold"><div id=maindiv> Loading.</div><%=userurl%></td>
</tr>
</table>
</body>
<%
rs.close
rshost.close
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -