<%@ page language="C#" autoeventwireup="true" inherits="ims.thumb, ims.web" enableviewstatemac="false" enableEventValidation="false" %>
<!DOCTYPE html>
<html id="thumb">
<head runat="server"><title></title><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="browsermode" content="application"><meta name="format-detection" content="telephone=no"></head>
<body class="waiting">
    <div class="hide"><div class="loadbar"><div></div><div></div><div></div><div></div><div></div></div></div>
    <form id="form1" runat="server">
    <asp:HiddenField ID="curObjItem" runat="server" /><asp:HiddenField ID="pasteSource" runat="server" />
    <asp:ScriptManager ID="s1" 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 class="menu" id="objMenu" runat="server">
        <a href="#" onclick="return openObj()"><b>打开</b></a>
        <a href="#" onclick="return openObj(true)" class="pconly" title="按住Ctrl键单击缩略图可就地打开">就地打开</a>
        <a href="#" onclick="return setSource('cut')" id="cut">剪切</a>
        <a href="#" onclick="return setSource('clone')" id="copy">复制</a>
        <a href="#" onclick="return confirm('确定删除吗？')" runat="server" id="delObjItem" onserverclick="DelObjItem">删除</a>
        <a href="#" runat="server" onserverclick="toEdit" id="edit">编辑</a>
        <a href="#" onclick="return renameObj()" id="rename">重命名</a>
        <a href="#" onclick="return toFav()" runat="server" id="addFavorite">收藏</a>
        <a href="#" onclick="return toCart()" runat="server" id="cart">加入购物车</a>
        <div class="pconly"></div>
        <a href="#" onclick="return openTemplet();" class="pconly">打开所属模板</a>
        <a href="#" runat="server" onserverclick="ShowObjAttributes" class="pconly" id="objAttr">属性</a>
    </div>
    <div class="menu" id="bodyMenu">
        <a href="#" class="hasSubMenus" runat="server" id="types" onclick="return false;" visible="false" onserverclick="ShowOnly" onmouseover="showSubMenu(event,'classify')" onmouseout="hideSubMenu(event,'classify')">只看</a>
        <a href="#" onclick="return false;" onmouseover="showSubMenu(event,'sub_sort')" onmouseout="hideSubMenu(event,'sub_sort')" class="hasSubMenus">排序</a>
        <a runat="server" id="appendData">新建</a>
        <a href="#" onserverclick="Paste" runat="server" id="paste">粘贴</a>
        <a runat="server" id="searchLink">搜索</a>
        <div></div>
        <a href="#" runat="server" onclick="return back();">返回</a>
    </div>
    <div class="menu" id="classify" runat="server" visible="false" onmouseout="hideSubMenu(event,this)"></div>
    <asp:UpdatePanel ID="upSortMenus" runat="server" RenderMode="inline" UpdateMode="conditional">
    <ContentTemplate>
        <div class="menu" id="sub_sort" runat="server" onmouseout="hideSubMenu(event,this)"></div>
    </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdatePanel ID="objsDiv" runat="server" ChildrenAsTriggers="false" OnPreRender="AttMouseEvent" UpdateMode="conditional" />
    <asp:UpdatePanel ID="upPager" runat="server" UpdateMode="conditional" RenderMode="Block" class="btmPager">
    <ContentTemplate>
        <table runat="server" id="PagerBar" class="PagerBar" oncontextmenu="return CanelEvent(event);"><tr><td class="nowrap">
            <asp:LinkButton ID="btnFirst" Text="首页" runat="server" ToolTip="快捷键：Home" AccessKey="F" OnClick="ToPage" />
            <asp:LinkButton ID="btnPrevious" Text="上页" runat="server" ToolTip="快捷键：←或PageUp" AccessKey="P" OnClick="ToPage" />
            <asp:Label ID="lblCount" CssClass="count" runat="server"></asp:Label>
            <asp:LinkButton ID="btnNext" Text="下页" runat="server" ToolTip="快捷键：→或PageDown" AccessKey="N" OnClick="ToPage" />
            <asp:LinkButton ID="btnLast" Text="末页" runat="server" ToolTip="快捷键：End" AccessKey="L" OnClick="ToPage" />
        </td><td class="right">
            <asp:DropDownList runat="server" id="ddlPagesize" AutoPostBack="True" OnSelectedIndexChanged="PageSizeChanged">
                <asp:ListItem Value="5">5项/页</asp:ListItem>
                <asp:ListItem Value="10">10项/页</asp:ListItem>
                <asp:ListItem Value="15">15项/页</asp:ListItem>
                <asp:ListItem Value="20">20项/页</asp:ListItem>
                <asp:ListItem Value="30">30项/页</asp:ListItem>
                <asp:ListItem Value="50" Selected="true">50项/页</asp:ListItem>
                <asp:ListItem Value="100">100项/页</asp:ListItem>
                <asp:ListItem Value="300">300项/页</asp:ListItem>
                <asp:ListItem Value="500">500项/页</asp:ListItem>
            </asp:DropDownList>
            <asp:DropDownList ID="ddlPager" AutoPostBack="true" OnSelectedIndexChanged="ToPage" runat="server"></asp:DropDownList>
        </td></tr></table>
        <ul id="curInfo"><li>共<asp:Literal ID="recordCount" runat="server"></asp:Literal>项</li></ul>
    </ContentTemplate>
    </asp:UpdatePanel>
   
   <ims:Pop ID="attr" ShowOkButton="false" CanelButtonText="确定" runat="server">
    <ContentTemplate>
        <ul>
            <li>名称： <asp:Literal runat="server" ID="lIden"></asp:Literal></li>
            <li>类型： <asp:HyperLink ID="hlTemplet" runat="server"></asp:HyperLink></li>
            <li runat="server" id="liDir">目录： <asp:HyperLink ID="hlDir" runat="server"></asp:HyperLink></li>
            <li><div class="sepline"></div></li>
            <li>保密级别： <asp:Image ID="imgSeclevel" runat="server" ImageAlign="AbsMiddle" /></li>
            <li>创建人： 　<asp:Literal runat="server" ID="lBuilder"></asp:Literal></li>
            <li>最后更新： <asp:Literal runat="server" ID="lModified"></asp:Literal></li>
        </ul>
    </ContentTemplate>
    </ims:Pop>
    <script src="js/comm.js"></script><script src="js/thumb.js"></script>
    </form>
</body></html>