<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Template_SelectTemplate, ECMe_Deploy" %>

<!-- Put IE into quirks mode -->
<!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>
    <link href="../CSS/Admin/CSS/ECMe.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/body0.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/AdminIndex.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="header">
        <h2>
            模板管理 &gt; <a href="#" class="admin_blue">网站模板设置</a>
        </h2>
    </div>
    <div class="container">
        <div class="all_1">
            <div class="dialog_template">
                <table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <asp:Repeater ID="RepeaterItem" runat="server">
                            <ItemTemplate>
                                <td valign="top" style="width: 145px">
                                    <div class="dialog_templateimg">
                                        <img src='<%#DataBinder.Eval(Container.DataItem, "img")%>' alt="预览图" width="118"
                                            height="165" /></div>
                                </td>
                                <td valign="top">
                                    <div class="dialog_templatetitle">
                                        <a href="TemplateFileList.aspx" class="blue_ys1">
                                            <img src="../CSS/Admin/images/Edit.png" alt="编辑当前模板" />
                                            编辑当前模板</a> <a href="TemplateFileList.aspx?type=css" class="blue_ys1">
                                                <img src="../CSS/Admin/images/Copy.png" alt="CSS文件编辑" />
                                                CSS文件编辑</a> <a href="TemplateFileList.aspx?type=js" class="blue_ys1">
                                                    <img src="../CSS/Admin/images/JS.png" alt="JS文件编辑" width="10" height="10" />
                                                    JS文件编辑</a> <a href="ReplaceImage.aspx" class="blue_ys1">
                                                        <img src="../CSS/Admin/images/ReplaceImage.png" alt="模板图片替换" />
                                                        模板图片替换</a> <a href="TemplateCategory.aspx" class="blue_ys1">
                                                            <img src="../CSS/Admin/images/TemplateCategory.png" alt="导入专题模板" />
                                                            导入专题模板</a></div>
                                    <div class="dialog_templatetitlename">
                                        <span style="font-size: 14px; font-weight: bold; color: #025baa">当前正在使用的模板：<%#DataBinder.Eval(Container.DataItem, "name")%></span></div>
                                    <div class="dialog_templatetitle">
                                        当前模板制作的作著：<%#DataBinder.Eval(Container.DataItem, "author")%></div>
                                    <div class="dialog_templatetitle">
                                        当前模板制作的版本：<%#DataBinder.Eval(Container.DataItem, "version")%></div>
                                    <div class="dialog_templatetitle">
                                        模板制作的详细介绍：<%#DataBinder.Eval(Container.DataItem, "info")%></div>
                                </td>
                            </ItemTemplate>
                        </asp:Repeater>
                    </tr>
                </table>
            </div>
        </div>
        <div class="title">
            其它模板</div>
        <div class="all_1">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td class="all">
                        <asp:Repeater ID="RepeaterTable" runat="server" OnItemCommand="RepeaterTable_ItemCommand">
                            <ItemTemplate>
                                <div class="stencil">
                                    <div class="stencil_img">
                                        <img src='<%#DataBinder.Eval(Container.DataItem, "img")%>' width="118" height="165"
                                            alt="预览图" /></div>
                                    <div class="stencil_body">
                                        <p class="stencil_line">
                                            <%#DataBinder.Eval(Container.DataItem, "name")%>
                                        </p>
                                        <p>
                                            <span style="color: #303A43">作者：</span><span style="color: #FF6600"><%#DataBinder.Eval(Container.DataItem, "author")%></span></p>
                                        <p>
                                            <span style="color: #303A43">版权：</span><%#DataBinder.Eval(Container.DataItem, "copyright")%></p>
                                        <p>
                                            <span style="color: #303A43">版本：</span><%#DataBinder.Eval(Container.DataItem, "version")%></p>
                                        <p>
                                            <span style="color: #303A43">主页：</span><%#DataBinder.Eval(Container.DataItem, "site")%></p>
                                        <p>
                                            <span style="color: #303A43">简介：</span><a href="#" class="blue"><%#DataBinder.Eval(Container.DataItem, "info")%></a></p>
                                        <p>
                                            <asp:ImageButton ID="UseIt" ImageUrl="../CSS/Admin/images/save_button.jpg" CommandName="UseIt"
                                                CommandArgument='<%#DataBinder.Eval(Container.DataItem, "TemplatePath")%>' runat="server" />
                                            <asp:ImageButton ID="DeleteIt" OnClientClick="return confirm('确定删除所选项？');" ImageUrl="../CSS/Admin/images/del.jpg"
                                                CommandName="DeleteIt" CommandArgument='<%#DataBinder.Eval(Container.DataItem, "TemplatePath")%>'
                                                runat="server" />
                                        </p>
                                    </div>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
