📄 function_g_desktopdisplay.asp
字号:
<!--#include file="../Include/TimeOut.asp"-->
<!--#include file="../Include/AdoConn.asp"-->
<!--#include file="../Include/online.asp"-->
<%
usercode=session("usercode")
username=session("username")
%>
<%
dim modulecode(7)
dim modulename(7)
dim modulepath(7)
for i=0 to 7
modulecode(i)=""
modulename(i)=""
modulepath(i)=""
next
dim objres 'recordset对象
dim strsql 'sql语句
strsql="select xt_vd_usermodule.模块编码,xt_vc_module.模块名称,xt_vc_module.模块路径 from xt_VD_UserModule,xt_vc_module where xt_vd_usermodule.用户编码='"+usercode+"' and xt_vc_module.模块编码=xt_vd_usermodule.模块编码"
set objres=server.CreateObject ("adodb.recordset")
objres.CursorType =3
objres.CursorLocation =3
objres.LockType =2
objres.Open strsql,strconn
if not objres.eof then
objres.MoveFirst
for i=0 to objres.RecordCount-1
modulecode(i)=objres("模块编码")
modulename(i)=objres("模块名称")
modulepath(i)=objres("模块路径")
objres.MoveNext
next
end if
%>
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
td{font-size:9pt}
a.menu:link{
font-family: 宋体;
FONT-SIZE: 9pt;
COLOR: #000000;
TEXT-DECORATION: none
}
a.menu:visited{
font-family: 宋体;
FONT-SIZE: 9pt;
COLOR: #000000;
TEXT-DECORATION: none
}
a.menu:active{
font-family: 宋体;
FONT-SIZE: 9pt;
COLOR: #000000;
TEXT-DECORATION: none
}
a.menu:hover{
FONT-SIZE: 9pt;
font-family: 宋体;
COLOR: red;
}
</style>
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
<style type="text/css">
<!--
-->
</style>
</head>
<body bgcolor="#E7F6FD" text="#000000" leftmargin="0" topmargin="0">
<table sryle="font-size:9pt" width=600 border=0 cellpadding=0 cellspacing=0>
<tr>
<td> <img src="images/Spacer.gif" width=90 height=1></td>
<td> <img src="images/Spacer.gif" width=76 height=1></td>
<td> <img src="images/Spacer.gif" width=3 height=1></td>
<td> <img src="images/Spacer.gif" width=76 height=1></td>
<td> <img src="images/Spacer.gif" width=7 height=1></td>
<td> <img src="images/Spacer.gif" width=6 height=1></td>
<td> <img src="images/Spacer.gif" width=71 height=1></td>
<td> <img src="images/Spacer.gif" width=6 height=1></td>
<td> <img src="images/Spacer.gif" width=7 height=1></td>
<td> <img src="images/Spacer.gif" width=76 height=1></td>
<td> <img src="images/Spacer.gif" width=5 height=1></td>
<td> <img src="images/Spacer.gif" width=71 height=1></td>
<td> <img src="images/Spacer.gif" width=5 height=1></td>
<td> <img src="images/Spacer.gif" width=101 height=1></td>
<td></td>
</tr>
<tr>
<td colspan=14> <img src="images/mydesk_01.gif" width=600 height=151></td>
<td> <img src="images/Spacer.gif" width=1 height=151></td>
</tr>
<tr>
<td rowspan=6> <img src="images/mydesk_02.gif" width=90 height=246></td>
<td align="center"><a href="<%=modulepath(0)%>" class="menu"><%=modulename(0)%></a>
</td>
<td colspan=4 rowspan=2> <img src="images/mydesk_04.gif" width=92 height=71></td>
<td colspan=2 align="center"> <a href="<%=modulepath(1)%>" class="menu"><%=modulename(1)%></a></td>
<td colspan=2 rowspan=2> <img src="images/mydesk_06.gif" width=83 height=71></td>
<td colspan=2 align="center"><a href="<%=modulepath(2)%>" class="menu"><%=modulename(2)%></a>
</td>
<td colspan=2 rowspan=4> <img src="images/mydesk_08.gif" width=106 height=138></td>
<td> <img src="images/Spacer.gif" width=1 height=21></td>
</tr>
<tr>
<td rowspan=3> <img src="images/mydesk_09.gif" width=76 height=117></td>
<td colspan=2 rowspan=3> <img src="images/mydesk_10.gif" width=77 height=117></td>
<td colspan=2 rowspan=3> <img src="images/mydesk_11.gif" width=76 height=117></td>
<td> <img src="images/Spacer.gif" width=1 height=50></td>
</tr>
<tr>
<td rowspan=4> <img src="images/mydesk_12.gif" width=3 height=175></td>
<td align="center"> <a href="<%=modulepath(3)%>" class="menu"><%=modulename(3)%></a></td>
<td colspan=2 rowspan=2> <img src="images/mydesk_14.gif" width=13 height=67></td>
<td rowspan=4> <img src="images/mydesk_15.gif" width=7 height=175></td>
<td align="center"> <a href="<%=modulepath(4)%>" class="menu"><%=modulename(4)%></a></td>
<td> <img src="images/Spacer.gif" width=1 height=21></td>
</tr>
<tr>
<td rowspan=3> <img src="images/mydesk_17.gif" width=76 height=154></td>
<td rowspan=3> <img src="images/mydesk_18.gif" width=76 height=154></td>
<td> <img src="images/Spacer.gif" width=1 height=46></td>
</tr>
<tr>
<td align="center"> <a href="<%=modulepath(5)%>" class="menu"><%=modulename(5)%></a></td>
<td rowspan=2> <img src="images/mydesk_20.gif" width=7 height=108></td>
<td colspan=2 align="center"> <a href="<%=modulepath(6)%>" class="menu"><%=modulename(6)%></a></td>
<td rowspan=2> <img src="images/mydesk_22.gif" width=6 height=108></td>
<td rowspan=2> <img src="images/mydesk_23.gif" width=5 height=108></td>
<td colspan=2 align="center"> <a href="<%=modulepath(7)%>" class="menu"><%=modulename(7)%></a></td>
<td rowspan=2> <img src="images/mydesk_25.gif" width=101 height=108></td>
<td> <img src="images/Spacer.gif" width=1 height=21></td>
</tr>
<tr>
<td> <img src="images/mydesk_26.gif" width=76 height=87></td>
<td colspan=2> <img src="images/mydesk_27.gif" width=77 height=87></td>
<td colspan=2> <img src="images/mydesk_28.gif" width=76 height=87></td>
<td> <img src="images/Spacer.gif" width=1 height=87></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -