<%@ Page Language="C#" MasterPageFile="Admin.master" AutoEventWireup="true" CodeBehind="SySkinManage.aspx.cs" Inherits="Ruiao.WebSite.Blog.Admin.SySkinManage" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMain" Runat="Server">
    <fieldset class="ContentBox">
    <div class="Head"><div class="Title"><%=MyTitle %></div></div>
    <div class="Body" id="mc_MainBody">
    
    <asp:Repeater ID="rpSkins" runat="server">
    <ItemTemplate>
    <table id="SkinList" class="MainContentTable" cellpadding="3" cellspacing="1">
      <tr class="MainContentList_ItemTR">
        <td rowspan="2" style="width:200px"><a href="<%=AppUrl %>/SySkins/<%# DataBinder.Eval(Container, "DataItem.SkinPath")%>/FullPreview.png" target="_blank"><img src="<%=AppUrl %>/SySkins/<%# DataBinder.Eval(Container, "DataItem.SkinPath")%>/SmallPreview.png" width="200px" height="142px" style="border:0px"/></a></td>
        <td style="width:auto; height:20px; background-color:#EAEAEA">名称：<%# DataBinder.Eval(Container, "DataItem.SkinName")%></td>
        <td style="width:auto; height:20px; background-color:#EAEAEA">作者：<%# DataBinder.Eval(Container, "DataItem.AuthorName")%></td>
        <td style="width:auto; height:20px; background-color:#EAEAEA">发布日期：<%# DataBinder.Eval(Container, "DataItem.IssueDate")%></td>
      </tr>
      <tr class="MainContentList_ItemTR">
        <td colspan="3" style="width:auto; height:120px; vertical-align:top;">描述：<%# DataBinder.Eval(Container, "DataItem.Description")%></td>
      </tr>
      <tr class="MainContentList_ItemTR">
        <td colspan="4" style="width:auto; height:20px; background-color:#EAEAEA; text-align:right;"><input type="button" class="LinkButton" value="使用该皮肤" onclick="location='SySkinManage<%=ExtensionName %>?Action=UseSkin&SkinPath=<%# DataBinder.Eval(Container, "DataItem.SkinPath")%>'" /></td>
      </tr>
    </table>
    </ItemTemplate>
    <SeparatorTemplate><br /></SeparatorTemplate>
    </asp:Repeater>
    <br />
    <cc1:aspnetpager id="Pager" runat="server" AlwaysShow='true' OnPageChanged="Pager_PageChanged"></cc1:aspnetpager>
    
    </div>
    <div class="Bottom"></div>
	</fieldset>

</asp:Content>