<%@ 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 runat="server" id="bd">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="sm" runat="server" EnablePageMethods="true" OnAsyncPostBackError="AsyncError" />
        <div id="main">
            <div id="logo">
                <img src="images/logo.png" id="icon" onclick="toLoad('home.aspx')" />
                <div id="logoText" onclick="toLoad('home.aspx')" title="首页">
                    <div id="orgName"><%= ims.Sys.OrgName %></div>
                    <div id="sysName"><%= ims.Sys.SysName %></div>
                </div>
            </div>
            <div id="home" class="nav hide1" 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" runat="server" id="sepData"></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="tran" runat="server" class="nav" onclick="toLoadWithVer('trans.aspx')"><div></div>事务中心</div>
            <div class="sep" runat="server" id="sepMsg"></div>
            <div id="msg" runat="server" class="nav" onclick="toLoadWithVer('msgs.aspx')"><div></div>消 息</div>
            <div class="sep" runat="server" id="sepSearch"></div>
            <div id="search" runat="server" 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" runat="server" id="sepUser"></div>
            <div id="userManage" runat="server" class="nav" onclick="toLoad('users.aspx')"><div></div>用户管理</div>
            <div class="sep hide1"></div>
            <div id="help" class="nav hide1" onclick="showHelp('index')"><div></div>帮 助</div>
        </div>
        <div id="tools" runat="server">
            <img src="images/dlsc.gif" class="hide1" title="下载桌面快捷方式" onclick="down('shortcut.url')" />
            <img src="images/addtofav.gif" class="hide1" title="添加到收藏夹" onclick="addtofav()" />
            <img src="images/qrcode.png" runat="server" class="hide1" id="qr" title="显示二维码" onclick="showQrcode()" /><img src="images/mobile.png" id="tomob" title="切换到移动版" onclick="toMobile()" />
        </div>
        <div id="other" runat="server">
            <select>
                <option value="">导航</option>
                <option value="select.aspx" runat="server" id="optAdd">添加</option>
                <option value="select.aspx?action=View">浏览</option>
                <option value="select.aspx?action=Search">搜索</option>
                <option value="dataHome.aspx?Area=favs" runat="server" id="oppFav">收藏</option>
                <option value="dataHome.aspx?Area=shortcuts" runat="server" id="optSc">快捷方式</option>
                <option value="dir.aspx" runat="server" id="optDir">目录</option>
                <option value="templets.aspx" runat="server" id="optDesign">设计中心</option>
            </select>
            <select>
                <option value="">视图</option>
                <option value="table.aspx">表格视图</option>
                <option value="detail.aspx">详情视图</option>
                <option value="thumb.aspx">缩略视图</option>
                <option value="summary.aspx">概要视图</option>
                <option value="chart.aspx">图表视图</option>
                <option value="report.aspx">报表视图</option>
            </select>
        </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">
            <i title="隐藏侧栏" runat="server" id="lr" onclick="leftright();">◄</i>
            <asp:UpdatePanel ID="upLogout" runat="server" RenderMode="Inline" UpdateMode="Conditional">
            <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.ui.My.UserInfo) %></a> - <a href="#" title="退出登录" onclick="return logout();">注销</a>
                </LoggedInTemplate>
            </asp:LoginView>
            <a runat="server" id="reset" onserverclick="ResetDemo" href="#" title="将该演示版重置为初始状态" onclick="return resetConfirm();" target="_self"> - 重置演示数据</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>
            <i title="隐藏顶栏" runat="server" id="tb" onclick="updown();">▲</i>
            <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" />
        <script src="js/comm.js"></script><script src="js/topbar.js"></script>
    </form>
</body>
</html>