<%@ page autoeventwireup="true" enablesessionstate="False" inherits="ims.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" /><meta name="viewport" content="width=device-width,initial-scale=1">
    <base target="mainFrame" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="sm" runat="server" EnablePageMethods="true" OnAsyncPostBackError="AsyncError">
            <CompositeScript Path="js/msajax.js" ScriptMode="Release">
                <Scripts>
                    <asp:ScriptReference Name="WebForms.js" Assembly="System.Web" /><asp:ScriptReference Name="MicrosoftAjax.js" /><asp:ScriptReference Name="MicrosoftAjaxWebForms.js" />
                </Scripts>
            </CompositeScript>
        </asp:ScriptManager>
        <div runat="server" id="navbar">
            <div id="logo" onclick="toLoad('home.aspx')" title="首页">
                <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>
            <a id="switcher" runat="server" onclick="leftright();" class="f-menu" title="显示/隐藏侧栏"></a>
            <a id="home" href="home.aspx"><b>首页</b></a>
            <div class="sep"></div>
            <a id="info" runat="server" href="infoList.aspx"><b><%= ims.Sys.InfoCenterText %></b></a>
            <div class="sep"></div>
            <a id="data" runat="server" href="templets.aspx?mode=data"><b><%= ims.Sys.DataCenterText %></b></a>
            <div class="sep"></div>
            <a id="tran" runat="server" href="trans.aspx" class="count"><b><%= ims.Sys.TransCenterText %></b><i id="taskCount"></i></a>
            <div class="sep"></div>
            <a id="msg" runat="server" href="msgs.aspx" class="count"><b>消息</b><i id="msgCount"></i></a>
            <div class="sep"></div>
            <a id="sousuo" runat="server" href="dataHome.aspx"><b>搜索</b></a>
            <div class="sep"></div>
            <a id="admin" runat="server" href="adminHome.aspx"><b>系统管理</b></a>
            <a id="userManage" runat="server" href="users.aspx"><b>用户管理</b></a>
            <a id="logon" runat="server" visible="false" href="login.aspx"><b>登录</b></a>
            <asp:PlaceHolder runat="server" ID="phIcons"></asp:PlaceHolder>
            <div id="find" runat="server" onkeydown="return enterTo(event,'btnDo');">
                <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></ContentTemplate>
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="ddlts" EventName="SelectedIndexChanged" />
                </Triggers>
                </asp:UpdatePanel><asp:TextBox ID="kw" ToolTip="输入搜索关键字" autocomplete="off" runat="server"></asp:TextBox><button type="button" runat="server" id="btnDo" onserverclick="doSearch" title="点击搜索；右键高级搜索"></button>
            </div>
        </div>
        <div id="links">
            <a href="#" onclick="return showHelp('index')" runat="server" id="aHelp" class="f-ask">帮助</a>
            <span runat="server" id="seper">|</span>
            <span runat="server" id="lv">
                <a href="reg.aspx?mode=update" class="f-me" title="修改个人资料"><%= ims.Util.TrimStr(ims.Users.getDisplayName(ims.ui.My.UserInfo), 6) %></a>
                <a href="#" onclick="return logout()" class="f-logout">退出</a>
                <a runat="server" id="reset" class="f-refresh1" onserverclick="ResetDemo" href="#" title="将该演示版重置为初始状态" onclick="return resetConfirm();">重置系统</a>
            </span>
            <a href="login.aspx" runat="server" id="aLogin" class="f-login">登录</a>
        </div>
        <audio id="bgs" autoplay="autoplay"></audio>
        <script src="js/comm.js"></script><script src="js/topbar.js"></script>
    </form>
</body>
</html>