<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Theme.aspx.cs" Inherits="Oykx.admin.Theme" %>

<!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/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td class="td_title">
                    风格管理
                </td>
            </tr>
            <tr>
                <td class="tableTd">
                    <asp:GridView ID="GridView_Theme" runat="server" AutoGenerateColumns="False" 
                        Width="100%" onrowcommand="GridView_Theme_RowCommand" 
                        onrowdatabound="GridView_Theme_RowDataBound">
                        <Columns>
                            <asp:TemplateField HeaderText="风格名称">
                                <ItemTemplate>
                                    <asp:Label ID="lblThemeName" runat="server" Text='<%# Eval("db1") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="风格路径">
                                <ItemTemplate>
                                    <asp:Label ID="lblThemeUrl" runat="server" Text='<%# str(Eval("db1").ToString()) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="风格图片">
                                <ItemTemplate>
                                    <asp:Image ID="ThemeImage" runat="server" ImageUrl='<%# image(Eval("db1").ToString()) %>'
                                        Width="100px" Height="100px" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="是否开启">
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkTheme" runat="server" CommandName="kaiqi" CommandArgument='<%# Eval("db1") %>'>点击开启</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            </table>
    </div>
    <div style="height: 5px;">
        &nbsp;</div>
    <table width="100%">
        <tr>
            <td class="td_title">
                友情提示
            </td>
        </tr>
        <tr>
            <td class="tableTd">
                1.请到官方网站:bbs.oykx.net 下载最新风格包.
            </td>
        </tr>
        <tr>
            <td class="tableTd">
                2.下载风格包后解压 然后上传到Theme风格文件夹.
            </td>
        </tr>
        <tr>
            <td class="tableTd">
                3.风格制作,请参照官方的最新方法和版本.
            </td>
        </tr>
        <tr>
            <td class="tableTd">
                4.只要您会HTML您就可以自己制作属于自己的风格主题.
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
