⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 left.aspx

📁 其主要的功能就是,进行后台管理模块整合. 1)其可以支持多个应用,多个模块的权限管理. 2)支持Access和MsSql200/2005. 3)采用角色来进行权限的授权,每个用户可以属于多个角色
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" Codebehind="left.aspx.cs" Inherits="FrameWork.web.left" %>

<html>
<head>
    <title>-后台管理</title>
    <style type="text/css">
                .ttl { CURSOR: pointer; COLOR: #ffffff; PADDING-TOP: 4px }
                A:active{COLOR: #000000;TEXT-DECORATION: none}
                A:hover{COLOR: #000000;TEXT-DECORATION: none}
                A:link{COLOR: #000000;TEXT-DECORATION: none}
                A:visited{COLOR: #000000;TEXT-DECORATION: none}
                TD {
	            FONT-SIZE: 12px; FONT-FAMILY: "Verdana", "Arial", "细明体", "sans-serif"
                }
			</style>

    <script language="javascript">
	        function showHide(obj){
		        var oStyle = document.getElementById(obj).style;
		        oStyle.display == "none" ? oStyle.display = "block" : oStyle.display = "none";
	        }
    </script>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body bgcolor="#9aadcd" leftmargin="0" topmargin="0">
    <br>
    <asp:Repeater ID="LeftMenu" runat="server" OnItemDataBound="LeftMenu_ItemDataBound">
        <ItemTemplate>
            <table cellspacing="0" cellpadding="0" width="159" align="center" border="0">
                <tr>
                    <td width="23">
                        <img height="25" src="images/Menu/box_topleft.gif" width="23"></td>
                    <td class="ttl" onclick="JavaScript:showHide('M_<%# Eval("ModuleID")%>');" width="129"
                        background="images/Menu/box_topbg.gif">
                        <%# Eval("M_CName")%>
                    </td>
                    <td width="7">
                        <img height="25" src="images/Menu/box_topright.gif" width="7"></td>
                </tr>
            </table>
            <table id="M_<%# Eval("ModuleID")%>" style="display: none" cellspacing="0" cellpadding="0"
                width="159" align="center" border="0">
                <tr>
                    <td background='images/Menu/box_bg.gif' height="0px" width='159' colspan='3'>
                        <table width='100%'>
                            <tbody>
                                <asp:Repeater ID="LeftMenu_Sub" runat="server">
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <img height='7' hspace='5' src='images/Menu/arrow.gif' width='5' align='absMiddle'>
                                                <asp:HyperLink ID="Hyperlink1" runat="server" Target="mainFrame" NavigateUrl='<%# Eval("M_Directory")%>'>
									        <%# Eval("M_CName")%>
                                                </asp:HyperLink>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </table>
            <table cellspacing="0" cellpadding="0" width="159" align="center" border="0">
                <tr>
                    <td colspan="3">
                        <img height='10' src='images/Menu/box_bottom.gif' width='159'></td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:Repeater>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -