<%@ page autoeventwireup="true" inherits="ims.web.topbar, ims.web" language="C#" enableviewstatemac="false" enableEventValidation="false" %><!DOCTYPE html>
<html id="topbar">
<head runat="server">
    <title></title><meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <base target="mainFrame" />
</head>
<body runat="server" id="bd">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="sm" runat="server" EnablePageMethods="true" OnAsyncPostBackError="AsyncError" />
        <div id="main">
            <img src="images/logo.png" id="icon" />
            <div id="logoText">
                <div id="orgName"><%= ims.Sys.OrgName %></div>
                <div id="sysName"><%= ims.Sys.SysName %></div>
            </div>
            <div id="home" class="nav" onclick="toLoad('home.aspx');"><div></div>首 页</div>
            <div class="sep" runat="server" id="sepInfo"></div>
            <div id="info" runat="server" class="nav" onclick="toLoad('infoList.aspx');"><div></div>信息中心</div>
            <div class="sep"></div>
            <div id="data" runat="server" class="nav" onclick="toLoad('templets.aspx?mode=data');"><div></div>数据中心</div>
            <div class="sep" runat="server" id="sepTrans"></div>
            <div id="trans" runat="server" class="nav" onclick="toLoad('trans.aspx');"><div></div>事务中心</div>
            <div class="sep"></div>
            <div id="msg" runat="server" class="nav" onclick="toLoad('msgs.aspx');"><div></div>消 息</div>
            <div class="sep" runat="server" id="sepMsg"></div>
            <div id="search" class="nav" onclick="toLoad('dataHome.aspx');"><div></div>搜 索</div>
            <div class="sep" runat="server" id="sepAdmin"></div>
            <div id="admin" runat="server" class="nav" onclick="toLoad('adminHome.aspx');"><div></div>系统管理</div>
            <div class="sep"></div>
            <div id="help" class="nav" onclick="showHelp('index');"><div></div>帮 助</div>
        </div>
        <div id="tools" runat="server">
            <img src="images/dlsc.gif" title="下载桌面快捷方式" onclick="down('shortcut.url');" />
            <img src="images/addtofav.gif" title="添加到收藏夹" onclick="addtofav();" />
            <img src="images/home.gif" title="设为首页" onclick="sethome();" />
            <img src="images/qrcode.png" runat="server" id="qr" title="显示二维码" onclick="showQrcode();" />
        </div>
        <img id="qrcode" runat="server" title="扫描该二维码访问本系统" />
        <div id="links" runat="server"></div>
        <div id="sepLine"></div>
        <div id="bar">
            <div id="leftArea">
            <div id="loginview" class="inlineBlock">
            <img src="images/l.gif" title="隐藏侧栏" runat="server" id="lr" onclick="leftright();" />
            <asp:UpdatePanel ID="upLogout" runat="server" RenderMode="Inline" ChildrenAsTriggers="true">
            <ContentTemplate>
            <asp:LoginView ID="lv" runat="server">
                <AnonymousTemplate>
                    <a href="Login.aspx">登录</a><span runat="server" id="spanReg"> - <a href="reg.aspx">注册</a></span>
                </AnonymousTemplate>
                <LoggedInTemplate>
                    <a href="reg.aspx?mode=update"><%= ims.Users.getDisplayName(ims.web.ui.UserContext.UserInfo) %></a> - <asp:LinkButton ID="lbExit" Text="注销" ToolTip="退出登录状态" OnClick="logout" target="_self" runat="server" />
                </LoggedInTemplate>
            </asp:LoginView>
            <a runat="server" id="reset" onserverclick="ResetDemo" href="#" title="将该演示版重置为初始状态" onclick="return resetConfirm();" target="_self">&nbsp;- 重置演示数据</a>
            </ContentTemplate>
            </asp:UpdatePanel>
            </div>
            </div>
            <div id="notify" runat="server"><span id="msgIcon" title="消息" onclick="toLoad('msgs.aspx');"></span><a href="#" id="aMsg"></a><span id="msgSender" class="gray"></span></div>
            <img src="images/u.gif" title="隐藏顶栏" runat="server" id="tb" onclick="updown();" />
            <div id="find" runat="server" onkeydown="return enterTo('btnDo');">
                <input type="button" id="btnFind" value="" title="点击打开高级搜索" onclick="showFinder();" /><asp:DropDownList runat="server" ID="ddlts" AutoPostBack="true"
                OnSelectedIndexChanged="TempletsChanged"></asp:DropDownList><asp:UpdatePanel ID="upRange" runat="server" OnPreRender="AddScript" RenderMode="inline" UpdateMode="conditional"><ContentTemplate><asp:DropDownList runat="server"
                ID="ddlfs"></asp:DropDownList><asp:DropDownList runat="server" ID="modes"></asp:DropDownList></ContentTemplate>
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="ddlts" EventName="SelectedIndexChanged" />
                </Triggers>
                </asp:UpdatePanel><asp:TextBox ID="kw" ToolTip="输入搜索关键字" autocomplete="off" runat="server"></asp:TextBox><asp:Button ID="btnDo" runat="server" Text="搜" ToolTip="搜索" OnClick="doSearch" />
            </div>
            <table id="findTools">
                <tr><td onclick="clearKey();" title="清空输入框"><img src="images/clear.gif" /></td><td id="tdPaste" title="粘贴剪贴板文字"><img src="images/paste.gif" /></td><td onclick="toShowHelp();" title="搜索技巧"><img src="images/help.gif" /></td></tr>
            </table>
        </div><bgsound id="bgs" loop="0" src="" />
        <script src="js/comm.js"></script><script src="js/topbar.js"></script>
    </form>
</body>
</html>