<%@ page language="C#" autoeventwireup="true" inherits="Admin_SystemSet_Template, Huibo.Net" enableviewstatemac="false" enableEventValidation="false" %>

<!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 id="Head1" runat="server">
    <title>查看修改商品</title>
    <link href="../style/StyleSheet.css" type="text/css" rel="stylesheet" />
    <link href="../style/workplace-merge.css" rel="stylesheet" />
    <link href="../style/index-new-merge.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <div style="width: 99%; text-align: center;">
            <div class="mod-wp-win">
                <div class="win-head-wrap">
                    <div class="win-head" id="mod-info-center-head">
                        <p>
                            切换模板</p>
                    </div>
                </div>
                <div class="mod-info-center clr">
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td bgcolor="#FFFFFF" align="center">
                                <div class="DLBoder">
                                    <asp:DataList ID="ImageFile" runat="server" Width="100%" OnUpdateCommand="ImageFile_UpdateCommand"
                                        OnItemDataBound="ImageFile_ItemDataBound">
                                        <HeaderTemplate>
                                            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                <tr style="height: 25px;">
                                                    <td class="DLBodertd" style="width: 10%; text-align: center;">
                                                        <strong>ID</strong></td>
                                                    <td class="DLBodertd" style="width: 20%; text-align: center;">
                                                        <strong>名称</strong></td>
                                                    <td class="DLBodertd" style="width: 20%; text-align: center;">
                                                        <strong>图片</strong></td>
                                                    <td class="DLBodertd" style="width: 10%; text-align: center;">
                                                        <strong>大小</strong></td>
                                                </tr>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td class="DLBodertd">
                                                    <asp:Label ID="ID" runat="server" Text='<%#Eval("ID") %>'></asp:Label>
                                                </td>
                                                <td class="DLBodertd">
                                                    <asp:Label ID="FullName" runat="server" Text='<%#Eval("FullName")%>'></asp:Label>
                                                </td>
                                                <td class="DLBodertd">
                                                    <div style="height: 100px; overflow: hidden;">
                                                        <a href="<%#Eval("FullFile")%>" target="_blank">
                                                            <img src="<%#Eval("FullFile")%>" width="250px" border="0"></a></div>
                                                </td>
                                                <td class="DLBodertd">
                                                    <asp:Button ID="Update" runat="server" CommandName="update" Text="设为默认模版" Height="20px"
                                                        Width="100px" />
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </table>
                                        </FooterTemplate>
                                    </asp:DataList>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
