<%@ page language="C#" autoeventwireup="true" enablesessionstate="False" inherits="ims.sidebar, ims.web" enableviewstatemac="false" enableEventValidation="false" %><!DOCTYPE html>
<html id="sidebar">
<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="body">
    <form id="form1" runat="server">
    <asp:ScriptManager runat="server" ID="sm" 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="uinfo" class="monly">
        <a href="login.aspx" runat="server" id="aLogin" class="f-login">登录</a>
        <a href="reg.aspx?mode=update" runat="server" id="aProfile" class="f-me" title="修改个人资料"><%= ims.Users.getDisplayName(ims.ui.My.UserInfo) %></a>
        <a href="#" onclick="return logout();" runat="server" id="aLogout" class="f-logout">退出</a>
    </div>
    <asp:UpdatePanel ID="main" runat="server" RenderMode="Block" OnPreRender="AddInitScript" UpdateMode="Conditional" ChildrenAsTriggers="false">
        <ContentTemplate>
        <div runat="server" id="b1" visible="false">预览区：</div>
        <div id="inMain" runat="server">
        <div runat="server" id="Starts" class="item">
         <div id="tabs" class="ui-tabs">
            <ul class="ui-tabs-nav ui-helper-clearfix ui-widget-header">
                <li class="ui-state-active"><a href="#start" title="首页" rev="home.aspx" id="t0"></a></li>
                <li class="ui-state-default" runat="server" id="liAdd"><a href="#add" rel="添加" rev="select.aspx" id="t1"></a></li>
                <li class="ui-state-default"><a href="#browse" rel="浏览" rev="select.aspx?action=View" id="t2"></a></li>
                <li class="ui-state-default"><a href="#serach" rel="搜索" rev="select.aspx?action=Search" id="t3"></a></li>
                <li class="ui-state-default" runat="server" id="liFav"><a href="#fav" rel="收藏" rev="dataHome.aspx?Area=favs" id="t4"></a></li>
                <li class="ui-state-default" runat="server" id="liSc"><a href="#shortcut" rel="快捷方式" rev="dataHome.aspx?Area=shortcuts" id="t5"></a></li>
            </ul>
            <div id="start" class="ui-tabs-panel">
                <ul>
                    <li id="dataAdmin"><a href="templets.aspx?mode=data"><%= ims.Sys.DataCenterText %></a><span class="more"><b class="gt">&gt;</b><span runat="server" id="spanAdd"><a href="select.aspx">添加</a><b>|</b></span><a href="select.aspx?action=View">浏览</a><b>|</b><a href="select.aspx?action=Search">搜索</a><b class="pconly">|</b><a class="pconly" href="search.aspx">快搜</a></span></li>
                    <li runat="server" id="templets"><a href="templets.aspx">设计中心</a></li>
                    <li runat="server" id="liInfo"><a href="infoList.aspx"><%= ims.Sys.InfoCenterText %></a><span runat="server" id="addInfo" class="more"><b class="gt">&gt;</b><a href="infoEdit.aspx">发布<%= ims.Sys.InfoType %></a></span></li>
                    <li runat="server" id="liSend"><a href="#" onclick="return user();">发送<span class="pconly">讯息</span></a><span runat="server" id="spanSend" class="more"><span runat="server" id="spanMsg"><b class="gt">&gt;</b><a href="msg.aspx" onclick="return toSend('msg');">消息</a></span><span runat="server" id="spanMail"><b>|</b><a href="mail.aspx" onclick="return toSend('mail');">邮件</a></span><span runat="server" id="spanSms"><b>|</b><a href="sms.aspx" onclick="return toSend('sms');">短信</a></span><span runat="server" id="spanWx"><b>|</b><a href="send.aspx" onclick="return toSend('weixin');">微信</a></span></span></li>
                    <li runat="server" id="lastData" class="lastData"><a class="views pointer" title="以不同视图查看最近浏览的数据">数据视图</a></li>
                    <li id="help"><a href="#" title="查看当前操作相关的帮助信息" onclick="return showHelp();">实时帮助</a></li>
                </ul>
            </div>
            <div runat="server" id="add">
                <asp:TreeView ID="d1" NodeWrap="true" ExpandDepth="0" LineImagesFolder="images" SkipLinkText="" ShowExpandCollapse="true" runat="server" ShowLines="false" CssClass="tree"></asp:TreeView>
                <div runat="server" id="msg1" class="msg">无</div>
            </div>
            <div id="browse">
                <asp:TreeView ID="d2" NodeWrap="true" ExpandDepth="0" LineImagesFolder="images" SkipLinkText="" ShowExpandCollapse="true" runat="server" ShowLines="false" CssClass="tree"></asp:TreeView>
                <div runat="server" id="msg2" class="msg">无</div>
            </div>
            <div id="serach">
                <asp:TreeView ID="d3" NodeWrap="true" ExpandDepth="0" LineImagesFolder="images" SkipLinkText="" ShowExpandCollapse="true" runat="server" ShowLines="false" CssClass="tree"></asp:TreeView>
                <div runat="server" id="msg3" class="msg">无</div>
            </div>
            <div runat="server" id="fav">
                <ul runat="server" id="divFavs"></ul>
                <div runat="server" id="msg4" class="msg">无</div>
            </div>
            <div runat="server" id="shortcut">
                <ul runat="server" id="divShortcuts"></ul>
                <div runat="server" id="msg5" class="msg">无</div>
            </div>
        </div>
        </div>
        <div runat="server" id="Views" class="item">
            <div class="title bgu"><span>视图</span><b class="what" onclick="CanelEvent(event);return showHelp('views')"></b><i></i></div>
            <div class="taskArea">
                <button type="button" onclick="toLoad('table.aspx')" class="f-table btn one">表格视图</button>
                <button type="button" onclick="toLoad('chart.aspx')" class="f-chart btn one">图表视图</button>
                <button type="button" onclick="toLoad('report.aspx')" class="f-report btn one">报表视图</button>
                <div>
                <button type="button" onclick="toLoad('detail.aspx')" class="f-detail btn">详情视图</button>
                <button type="button" onclick="toLoad('thumb.aspx')" class="f-b9 btn">缩略视图</button>
                <button type="button" onclick="toLoad('summary.aspx')" class="f-ov btn">概要视图</button>
                </div>
            </div>
        </div>
        <div runat="server" id="Online" class="item">
            <div class="title bgd"><span>在线用户</span><b class="count"></b><i></i></div>
            <div class="taskArea clear hide">
                <ul id="ulOnline"></ul>
                <div class="msg">无</div>
            </div>
        </div>
        <div runat="server" id="InfoTree" class="item">
            <div class="title bgu"><span><%= ims.Sys.InfoCenterText %></span><i></i></div>
            <div class="taskArea">
                <ul id="ulInfoTree" class="ztree" runat="server"></ul>
            </div>
        </div>
        <div runat="server" id="MsgCenter" class="item">
            <div class="title bgu"><span>消息</span><b class="count"></b><i></i></div>
            <div class="taskArea">
                <ul>
                    <li id="liMsgs"><i id="msgicon"></i><a href="msgs.aspx" onclick="toLoad('msgs.aspx');return false;">我的消息</a><span runat="server" id="sendMsg" class="more"><b class="gt">&gt;</b><a href="msg.aspx" onclick="return toSend('msg');">发送消息</a></span></li>
                    <li id="unread"><i id="togMsgs" class="f-list" onclick="showUnread();"></i><a href="msgs.aspx?tab=unread">未读消息</a></li>
                </ul>
                <ol id="olMsgList" class="list hide"></ol>
            </div>
        </div>
        <div runat="server" id="Worktable" class="item">
            <div class="title bgu"><span>事务</span><b class="count"></b><i></i></div>
            <div class="taskArea">
                <ul>
                    <li id="works"><i id="wficon"></i><a href="trans.aspx" onclick="toLoad('trans.aspx');return false;"><%= ims.Sys.TransCenterText %></a><span id="addWork" class="more"><b class="gt">&gt;</b><a href="select.aspx?action=AddFlow">发起流程</a></span></li>
                    <li id="todo"><i id="togTodo" class="f-list" onclick="showTodo();"></i><a href="trans.aspx?tab=pending&sort=default">待办事项</a></li>
                </ul>
                <ol id="olList" class="list hide"></ol>
            </div>
        </div>
        <div runat="server" id="Dirs" class="item">
            <div class="title bgu"><span>目录</span><i></i></div>
            <div class="taskArea">
                <asp:TreeView ID="d" NodeWrap="true" ExpandDepth="1" LineImagesFolder="images/tree" SkipLinkText="" NodeStyle-ImageUrl="images/off.gif" NodeStyle-HorizontalPadding="3" runat="server" ShowLines="true" CssClass="tree">
                    <Nodes>
                        <asp:TreeNode NavigateUrl="0" Text="目录" Value="0" ImageUrl="images/root.gif"></asp:TreeNode>
                    </Nodes>
                </asp:TreeView>
            </div>
        </div>
        <div runat="server" id="CurrentInfo" class="item">
        <div class="title bgu"><span>详细信息</span><i></i></div>
        <div class="taskArea">
            <ul id="fixedInfo"><li id="liTitle">当前内容：<span id="curTitle"></span></li></ul>
            <ul id="ulDetail"></ul>
        </div>
        </div>
        </div>
        <div id="muViews" runat="server">
            <ul>
                <li class="one"><a href="table.aspx" class="f-table" onmouseover="changeUrl(this);">表格视图</a></li>
                <li><a href="detail.aspx" class="f-detail">详情视图</a></li>
                <li><a href="thumb.aspx" class="f-b9">缩略视图</a></li>
                <li><a href="summary.aspx" class="f-ov">概要视图</a></li>
                <li class="one"><a href="chart.aspx" class="f-chart">图表视图</a></li>
                <li class="one"><a href="report.aspx" class="f-report">报表视图</a></li>
                <li class="sepline"></li>
                <li><a href="#" class="f-help" onclick="return showHelp('views')">什么是视图</a></li>
            </ul>
        </div>
        <asp:UpdatePanel ID="btns" runat="server" RenderMode="Block" UpdateMode="Conditional" Visible="false" class="btns center mbottom_l">
            <ContentTemplate>
            <input type="button" onclick="return preSave();" runat="server" id="btnSave" onserverclick="SaveLayout" value="保存" title="保存当前预览区的版式" class="btn hide" />
            <input type="button" runat="server" id="btnSaveas" onclick="return toPrompt('请输入名称：', toSaveas, '新建版式');" value="另存为…" title="将当前版式另存" class="btn" />
            <input type="button" runat="server" id="btnSelect" onserverclick="SelectLayout" value="选择版式" class="btn" />
            <input type="button" runat="server" id="btnManage" onserverclick="toManage" value="管理版式" class="btn" />
            <input type="button" onclick="return showHelp();" value="帮助" class="btn pconly" />
            </ContentTemplate>
        </asp:UpdatePanel>
        <input type="button" runat="server" id="btnExe" class="hide" onserverclick="ExecAction" />
        </ContentTemplate>
    </asp:UpdatePanel>

        <div id="other" runat="server" visible="false" class="hide">
            <div runat="server" id="b2">候选区：</div>
            <div id="inOther" runat="server"></div>
            <div class="center mtop_m">
                <input type="button" value="添加版块" onclick="ShowPop('ab_popup');" class="btn" />
            </div>
        </div>
        <ims:Pop runat="server" Visible="false" ID="ab" Title="添加版块" CustomButtonA_Text="添加搜索版块" CustomButtonA_OnClick="ShowPop('asb_popup');HideDialog('ab_popup');" CustomButtonB_Text="添加数据树" CustomButtonB_OnClick="addDataTree();" Width="24rem" OkButtonText="添加" HideOnOkClientClick="false" OnOkClick="AddBlock" OnOkClientClick="return PreAddBlock();">
            <ContentTemplate>
                <div id="inCustom" class="item">
                <div class="title bgu"><span></span><asp:TextBox runat="server" ID="tbTitle" ToolTip="输入新版块的标题" placeholder="标题" onclick="CanelEvent(event);"></asp:TextBox><i></i></div>
                <div class="taskArea">
                    <ul runat="server" id="ulEles" class="ulCustom"></ul>
                    <div id="cmds"><a href="#" onclick="return toAddEle();">添加元素</a>&nbsp;&nbsp;<a href="#" runat="server" id="aAddTree" onclick="return addTree();">添加树形结构</a>&nbsp;&nbsp;<asp:LinkButton runat="server" ID="lbClear" OnClick="ClearElements" Text="清空元素"></asp:LinkButton></div>
                </div>
                </div>
                <input type="button" runat="server" id="btnHelper" class="hide" onserverclick="OperaBlock" />
            </ContentTemplate>
        </ims:Pop>
        <ims:Pop runat="server" ID="addEle" Title="添加元素" OkButtonText="添加" HideOnOkClientClick="false" OnOkClick="AddElement" Width="490" Visible="false" OnOkClientClick="return PreAddEle();" OnClientUpdated="InitAddPop();">
            <ContentTemplate>
                <div class="mtop_m">
                <asp:DropDownList runat="server" ID="ddlTypes" AutoPostBack="true" OnSelectedIndexChanged="FillLayouts" ToolTip="选择要添加的元素类型">
                    <asp:ListItem Selected="True" Value="">-选择类型-</asp:ListItem>
                    <asp:ListItem Value="Browse">浏览</asp:ListItem>
                    <asp:ListItem Value="Add">添加</asp:ListItem>
                    <asp:ListItem Value="Start">发起</asp:ListItem>
                    <asp:ListItem Value="Search">搜索</asp:ListItem>
                    <asp:ListItem Value="Dir">目录</asp:ListItem>
                    <asp:ListItem Value="Page">页面</asp:ListItem>
                    <asp:ListItem Value="Table">表格视图</asp:ListItem>
                    <asp:ListItem Value="Thumb">缩略视图</asp:ListItem>
                    <asp:ListItem Value="Summary">概要视图</asp:ListItem>
                    <asp:ListItem Value="Detail">详情视图</asp:ListItem>
                    <asp:ListItem Value="Chart">图表视图</asp:ListItem>
                    <asp:ListItem Value="Report">报表视图</asp:ListItem>
                    <asp:ListItem Value="Favorite">我的收藏</asp:ListItem>
                    <asp:ListItem Value="Shortcut">快捷方式</asp:ListItem>
                    <asp:ListItem Value="Html">自由编辑内容</asp:ListItem>
                </asp:DropDownList><span> ：<div class="sepline2"></div></span>
                </div>
                <span class="hide" for="Browse Table Thumb Summary Detail Chart Report">
                    <asp:DropDownList runat="server" ID="ddlBrowse" OnDataBound="FillFilters" ToolTip="选择要浏览的数据" AutoPostBack="true" OnSelectedIndexChanged="FillFilters"></asp:DropDownList>&nbsp;<asp:DropDownList runat="server" ToolTip="可在此选择过滤器" ID="ddlFilters"></asp:DropDownList>
                </span>
                <asp:DropDownList runat="server" ID="ddlStart" for="Start" CssClass="hide" ToolTip="选择要发起的流程"></asp:DropDownList>
                <asp:DropDownList runat="server" ID="ddlSearch" for="Search" CssClass="hide" ToolTip="选择搜索对象"></asp:DropDownList>
                <asp:DropDownList runat="server" ID="ddlAdd" OnSelectedIndexChanged="FillLayouts" AutoPostBack="true" for="Add" CssClass="hide" ToolTip="选择模板"></asp:DropDownList>
                <asp:DropDownList runat="server" ID="ddlFav" for="Favorite" CssClass="hide" ToolTip="选择收藏的项目"></asp:DropDownList>
                <asp:DropDownList runat="server" ID="ddlShortcut" for="Shortcut" CssClass="hide" ToolTip="选择快捷方式"></asp:DropDownList>
                <asp:DropDownList runat="server" ID="ddlPage" for="Page" CssClass="hide" ToolTip="选择页面">
                    <asp:ListItem Value="home.aspx" Selected="True">首页</asp:ListItem>
                    <asp:ListItem Value="infolist.aspx">信息中心</asp:ListItem>
                    <asp:ListItem Value="infoEdit.aspx">发布信息</asp:ListItem>
                    <asp:ListItem Value="templets.aspx?mode=data">数据中心</asp:ListItem>
                    <asp:ListItem Value="templets.aspx">设计中心</asp:ListItem>
                    <asp:ListItem Value="trans.aspx">事务中心</asp:ListItem>
                    <asp:ListItem Value="msgs.aspx">消息</asp:ListItem>
                    <asp:ListItem Value="datahome.aspx">搜索</asp:ListItem>
                    <asp:ListItem Value="select.aspx?action=Search">高级搜索</asp:ListItem>
                    <asp:ListItem Value="adminhome.aspx">系统管理</asp:ListItem>
                </asp:DropDownList>
                <span for="Dir" class="hide">选择目录：<a runat="server" id="selectDir" title="点击选择目录" onclick="return showDirTree();" class="base" onserverclick="DirChanged"></a></span>
                <asp:DropDownList runat="server" ID="laysTable" for="Table" ToolTip="指定版式"></asp:DropDownList>
                <asp:DropDownList runat="server" ID="laysDetail" for="Detail" ToolTip="指定版式"></asp:DropDownList>
                <asp:DropDownList runat="server" ID="laysChart" for="Chart" ToolTip="指定图表"></asp:DropDownList>
                <asp:DropDownList runat="server" ID="laysReport" for="Report" ToolTip="指定报表"></asp:DropDownList>
                <asp:DropDownList runat="server" ID="laysEdit" for="Add" ToolTip="指定版式"></asp:DropDownList>
                <div for="Html" class="hide">
                <asp:TextBox runat="server" ID="tbHtml" TextMode="MultiLine" Width="98%"></asp:TextBox>
                </div>
            </ContentTemplate>
        </ims:Pop>
        <ims:Pop runat="server" ID="addNode" Title="编辑元素" OnOkClientClick="return nodeEdited();">
            <ContentTemplate>
                <div class="padbox">
                    文字：<input type="text" id="tbName" />
                    <div class="mtop_s">
                        链接：<input type="text" id="tbUrl" style="width:320px" />
                    </div>
                </div>
                <div class="right mtop_s"><a class="base" onclick="return toGetUrl();" href="#">获取内部页面链接</a>&nbsp;</div>
            </ContentTemplate>
        </ims:Pop>
        <ims:Pop runat="server" ID="manage" OkButtonText="我的版式" OnOkClick="SelectLayout" Title="管理版式" CanelButtonText="关闭" Width="420">
            <ContentTemplate>
                <table class="fine" id="layouts">
                    <tr><th>版式</th><th style="width:32px">默认</th><th style="width:32px">更名</th><th style="width:32px">编辑</th><th style="width:32px">删除</th></tr>
                    <asp:PlaceHolder runat="server" ID="phLayouts"></asp:PlaceHolder>
                </table>
                <fieldset class="mtop_n"><legend>默认版式规则</legend>
                    <div class="padbox">
                        <ol runat="server" id="olRules"></ol>
                        <div class="right"><a href="#" id="aAddRule" runat="server" class="base" onserverclick="ToAddRule">添加</a></div>
                    </div>
                </fieldset>
                <asp:CheckBox runat="server" ID="cbDisChange" Text="禁止普通用户自定义左侧栏" onclick="switchChange();" />
                <asp:Button runat="server" ID="btnOpera" OnClick="OperaLayout" CssClass="hide" />
            </ContentTemplate>
        </ims:Pop>
        <ims:Pop runat="server" ID="rule" OnClientUpdated="setTimeout(initRule,0);" OnOkClick="SaveRule" HideOnOkClientClick="false">
            <ContentTemplate>
                <fieldset><legend>以下情况使用：<asp:DropDownList runat="server" ID="ddlAll"></asp:DropDownList></legend>
                    <div id="rulediv" class="notfocus">
                        <asp:CheckBox runat="server" ID="cbRoles" Text="角色：" /><asp:TextBox runat="server" ID="tbRoles" acfid="RoleName" chars=";；、,，" ToolTip="输入角色名。多项之间以逗号、分号或顿号分隔"></asp:TextBox>
                        <asp:RadioButtonList runat="server" ID="rblOpera" CssClass="rblCond" RepeatLayout="Flow" RepeatDirection="Horizontal"><asp:ListItem Value="And">并且</asp:ListItem><asp:ListItem Value="Or" Selected="True">或者</asp:ListItem></asp:RadioButtonList>
                        <asp:CheckBox runat="server" ID="cbDevice" Text="设备：" /><asp:DropDownList runat="server" ID="ddlDevice"><asp:ListItem Value="PC">电脑</asp:ListItem><asp:ListItem Value="Mobile" Selected="True">移动设备</asp:ListItem></asp:DropDownList>
                    </div>
                </fieldset>
            </ContentTemplate>
        </ims:Pop>
        <ims:Pop runat="server" ID="src" Title="选择我的默认版式" OnOkClick="SetLayoutSource">
            <ContentTemplate>
                <div id="mylayouts">
                    <asp:RadioButton runat="server" ID="rbMy" GroupName="src" Text="我的自定义首页" /><br />
                    <asp:RadioButton runat="server" ID="rbDefault" GroupName="src" Text="我的默认首页版式" /><br />
                    <asp:RadioButton runat="server" ID="rbRole" GroupName="src" Text="使用版式：" /><asp:DropDownList runat="server" ID="ddlUsable" onclick="$('#src_rbRole').prop('checked',true);"></asp:DropDownList>
                </div>
            </ContentTemplate>
        </ims:Pop>
        <ims:Pop runat="server" ID="edit" Width="460" OnOkClientClick="preUpdate();" OnOkClick="SaveBlock">
            <ContentTemplate>
                <asp:TextBox runat="server" ID="tbNewTitle" CssClass="mbottom_s" placeholder="标题" ToolTip="版块标题" Width="180"></asp:TextBox>
                <asp:TextBox runat="server" ID="tbCon" CssClass="ck" TextMode="MultiLine" Width="98%" Height="160"></asp:TextBox>
                <ul runat="server" id="ulTree" title="点击元素显示操作按钮，拖动元素调整位置"></ul>
                <div id="newBlock" runat="server" class="hide"></div>
            </ContentTemplate>
        </ims:Pop>
        <ims:Pop runat="server" ID="asb" Visible="false" Title="添加搜索版块" Width="360" OkButtonText="添加" HideOnOkClientClick="false" OnOkClick="AddSearchBlock">
            <ContentTemplate>
                <div class="mtop_m">
                    搜索：<asp:DropDownList runat="server" ID="ddlts" AutoPostBack="true" OnDataBound="FillSearchLayouts" OnSelectedIndexChanged="FillSearchLayouts"></asp:DropDownList><br />
                    版式：<asp:DropDownList runat="server" ID="sls"></asp:DropDownList>
                </div>
            </ContentTemplate>
        </ims:Pop>
        <ims:Pop runat="server" ID="dnb" Visible="false" Title="添加数据树" Width="360" OkButtonText="添加" HideOnOkClientClick="false" OnOkClick="AddTreeBlock">
            <ContentTemplate>
                <div class="mtop_m ml_m sparse2">
                    版块标题：<asp:TextBox runat="server" ID="treeTitle" Width="200" placeholder="留空自动生成"></asp:TextBox><br />
                    数据：　　<asp:DropDownList runat="server" ID="ddlTreeSrc" AutoPostBack="true" OnDataBound="FillTreeFilter" OnSelectedIndexChanged="FillTreeFilter"></asp:DropDownList>
                    <asp:DropDownList runat="server" ID="ddlTreeFilter"></asp:DropDownList><br />
                    <div title="选择一个报表，按其分组设置生成树结构">分组方式：<asp:DropDownList runat="server" ID="ddlReport"></asp:DropDownList></div>
                    默认展开：<asp:DropDownList runat="server" ID="ddlDeep"><asp:ListItem Value="0">不展开</asp:ListItem><asp:ListItem Value="1" Selected="True">一级</asp:ListItem><asp:ListItem Value="2">二级</asp:ListItem></asp:DropDownList>
                    <div title="打开链接后显示数据的视图">链接视图：<asp:DropDownList runat="server" ID="ddlVs" AutoPostBack="true" OnDataBound="FillVsLayouts" OnSelectedIndexChanged="FillVsLayouts">
                        <asp:ListItem Value="" Selected="True">默认视图</asp:ListItem>
                        <asp:ListItem Value="Table">表格视图</asp:ListItem>
                        <asp:ListItem Value="Thumbnail">缩略视图</asp:ListItem>
                        <asp:ListItem Value="Overview">概要视图</asp:ListItem>
                        <asp:ListItem Value="Detail">详情视图</asp:ListItem>
                        <asp:ListItem Value="Chart">图表视图</asp:ListItem>
                        <asp:ListItem Value="Report">报表视图</asp:ListItem>
                    </asp:DropDownList> <asp:DropDownList runat="server" ID="ddlVsLayouts"></asp:DropDownList></div>
                </div>
            </ContentTemplate>
        </ims:Pop>
        <ims:Pop runat="server" ID="im" Visible="false" Width="380" HideOnOkClientClick="false" OnOkClick="ImportBlock">
            <ContentTemplate>
                <fieldset><legend>导入版块，从：<asp:DropDownList runat="server" id="ddlBlks" AutoPostBack="true" OnSelectedIndexChanged="FillBlks"></asp:DropDownList></legend>
                    <div class="padbox">
                        <asp:CheckBoxList runat="server" ID="cblBlks" RepeatLayout="Table" RepeatColumns="2"></asp:CheckBoxList>
                        <div runat="server" id="divMsg" class="padscenter gray">无</div>
                    </div>
                </fieldset>
                <div id="imported" runat="server" class="hide"></div>
            </ContentTemplate>
        </ims:Pop>
        <div id="diy" runat="server" title="自定义侧栏" onclick="toLoad('sidebar.aspx?layout=')"></div>
        <script src="js/comm.js"></script><script src="js/ztree.js"></script><script src="js/sidebar.js"></script>
    </form>
</body>
</html>