<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Template.aspx.cs" Inherits="TopWinCMS.WebUI.Admin.Template_Lable.Template" %>

<%@ Register Assembly="TopWinCMS.WebControls" Namespace="TopWinCMS.WebControls" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>模板管理</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <meta content="no-cache" http-equiv="Pragma" />

    <script language="javascript" src="../TopWin.js" type="text/javascript"></script>

    <link href="../Style.css" rel="stylesheet" type="text/css" />

    <script language="javascript" src="../../Images/skysoft.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <table id="NavigationPath" border="0" cellpadding="4" cellspacing="0" width="100%">
        <tr>
            <td width="50%">
                &nbsp;<img alt="" src='../../Images/arrow.gif' />
                您现在的位置：<asp:Label ID="LB_Path" runat="server"></asp:Label>
            </td>
            <td align="right" width="50%">
            </td>
        </tr>
    </table>
    <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:TemplateField HeaderText="名称">
                <ItemTemplate>
                    <img src="../Images/FileICO/<%# Eval("ICO") %>" onerror="this.src='../Images/FileICO/err.gif'" />
                    <%# Eval("Name")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="Size" HeaderText="大小">
                <HeaderStyle Width="100px" />
                <ItemStyle HorizontalAlign="Right" />
            </asp:BoundField>
            <asp:BoundField DataField="LastWriteTime" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}"
                HeaderText="修改时间" HtmlEncode="False">
                <HeaderStyle Width="120px" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField HeaderText="文本编辑" DataField="Edit" HtmlEncode="False">
                <HeaderStyle Width="100px" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField HeaderText="模板查看" DataField="See" HtmlEncode="False">
                <HeaderStyle Width="100px" />
                <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
        </Columns>
        <HeaderStyle CssClass="HeaderStyle" />
    </asp:GridView>
    <div class="WorkArea">
        <table>
            <tr>
                <td align="left">
                    目录名称：
                </td>
                <td align="left" width="25%">
                    <input id="txtForderName" style="width: 200px" name="txtForderName" />
                </td>
                <td align="left" width="15%">
                    <input class="btn" id="btnCreateFolder" type="submit" value="创建目录" name="btnCreateFolder" />
                </td>
                <td width="30%">
                    <asp:FileUpload ID="FileUpload1" runat="server" />
                </td>
                <td width="10%">
                    <input class="btn" id="btnTemplateUpLoad" type="submit" value="上传模板" name="btnTemplateUpLoad" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
