<%@ page language="C#" autoeventwireup="true" inherits="Admin_WebSetting_SelectTemplate, ShopWe" %>
<!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>ShopWe网店模板</title>
<link href="../css/my.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
  <div class="all">
    <div class="come_title">
      <h2> 正在使用的模板</h2>
      <div class="title_help"> <a href="http://www.shopwe.cn/bbs/" target="_blank"> <img src="../Themes/Default/Images/help_1.jpg" alt="shopwe论坛" width="50" height="20" /></a> <a href="http://help.shopwe.cn/help/Show.asp?id=29" target="_blank"> <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
    </div>
    <div class="k_all6">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><asp:Repeater ID="RepeaterSelect" runat="server" OnItemCommand="RepeaterTable_ItemCommand">
              <ItemTemplate>
                <div class="stencila">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><div class="stencil_imga"> <img src='<%#DataBinder.Eval(Container.DataItem, "img")%>' alt="预览图" /> </div>
                        <div class="stencil_bodya">
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td><p class="stencil_line"> <%#DataBinder.Eval(Container.DataItem, "name")%> </p></td>
                            </tr>
                            <tr>
                              <td><span style="color: #303A43">立即对当前模板进行操作： </span></td>
                            </tr>
                            <tr>
                              <td height="30"><a href="EditTemplateList.aspx" class="blue_ys1"><img src="../Themes/Default/Images/bj.png" alt="编辑当前模板" /> 编辑当前模板</a></td>
                            </tr>
                            <tr>
                              <td height="30"><a href="EditCSSFile.aspx" class="blue_ys1"><img src="../Themes/Default/Images/shop_xl3.png"  alt="CSS文件编辑"/> CSS文件编辑</a></td>
                            </tr>
                            <tr>
                              <td height="30"><a href="EditJsFile.aspx" class="blue_ys1"><img src="../Themes/Default/Images/38.png" alt="JS文件编辑" /> JS文件编辑</a></td>
                            </tr>
                            <tr>
                              <td height="30"><a href="EditImages.aspx" class="blue_ys1"><img src="../Themes/Default/Images/20.png" alt="模板图片替换" width="10" height="10" /> 模板图片替换</a></td>
                            </tr>
                          </table>
                        </div></td>
                      <td><div class="stencil_temp"> <img src="../css/images/template.jpg" alt="模板" width="420" height="160" /></div></td>
                    </tr>
                  </table>
                </div>
              </ItemTemplate>
            </asp:Repeater>
          </td>
        </tr>
      </table>
    </div>
    <div class="come_title_bai">
      <h2> 其它模板</h2>
    </div>
    <div class="k_all2">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><asp:Repeater ID="RepeaterTable" runat="server" OnItemCommand="RepeaterTable_ItemCommand">
              <ItemTemplate>
                <div class="stencil">
                  <div class="stencil_img"> <img src='<%#DataBinder.Eval(Container.DataItem, "img")%>' 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="grey"><%#DataBinder.Eval(Container.DataItem, "info")%></a></p>
                    <p>
                      <asp:ImageButton ID="UseIt" ImageUrl="~/Admin/css/images/save_button.jpg" CommandName="UseIt"
                                                    CommandArgument='<%#DataBinder.Eval(Container.DataItem, "TemplatePath")%>' runat="server" />
                      <asp:ImageButton ID="DeleteIt" OnClientClick="return confirm('确定删除所选项？');" ImageUrl="~/Admin/css/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>
