123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <!--#include file="common.asp"-->
- <!--#include file="CheckComeUrl.asp"-->
- <%
- Dim uid, rsRole, isAdmin
- uid = trim(request("uid"))
- if trim(Lcase(AdminName)) = "admin" then
- isAdmin = true
- else
- isAdmin = false
- end if
- %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title><%=systemPageTitle%></title>
- <link href="bs2010.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="js/share.js"></script>
- <script type="text/javascript" src="js/prototype.js"></script>
- </head>
- <body>
- <div id="sysversion" name="sysversion" style=" width:100%; height:20px; z-index:20; position:absolute; top:5px; right:10px; text-align:right; color:#FFF; font-size:10px;">Version: <%=sysVersion%></div>
- <div>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr class="header">
- <td width="29%"><img src="images/2010_logo.gif" /></td>
- <td width="71%" align="right"><img src="images/2010_topright.gif" width="340" height="83" /></td>
- </tr>
- <tr>
- <td height="22" colspan="2" class="topMenubar"><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="20" height="22"><img src="images/spacer.gif" width="20" height="22" /></td>
- <td width="100" align="center" class="topMenu"><a href="index_main.asp" target="main">设备监控</a></td>
- <td width="100" align="center" class="topMenu"><a href="report.asp" target="main"><%if allowHistoryDataSearch = false then response.write "报警查询" else response.write "日志报表"%></a></td>
- <%if isAdmin = true and showAdmin = true then%>
- <td width="100" align="center" class="topMenu"><a href="admin_area.asp" target="main">菜单管理</a></td>
- <td width="100" align="center" class="topMenu"><a href="admin_equipment.asp" target="main">设备管理</a></td>
- <%end if%>
- <%
- if isAdmin = true then
- if showUserAdmin = true then
- %>
- <td width="100" align="center" class="topMenu"><a href="admin_user.asp" target="main">用户管理</a></td>
- <%
- end if
- if useUserLog = true then
- %>
- <td width="100" align="center" class="topMenu"><a href="admin_userLog.asp" target="main">用户日志</a></td>
- <%
- end if
- end if
- %>
- <td align="right">操作员:<%=AdminName%> <a href="login.asp?Action=Logout" target="_top">>>退出</a></td>
- <td width="20"><img src="images/spacer.gif" width="20" height="22" /></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
- <%
- Call CloseConn
- %>
|