<%@ page language="C#" autoeventwireup="true" inherits="admin_special_specialList, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Import Namespace="D.Common" %>
<!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 id="CssName" rel="stylesheet" type="text/css" runat="server" />

    <script src="../../js/Common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../info.aspx">后台管理</a> >> <a href="specialList.aspx">专题列表</a><asp:Literal
                    ID="LitList" runat="server"></asp:Literal>
            </td>
        </tr>
    </table>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table align="center" cellpadding="2" cellspacing="1" width="99%" class="border">
                <tr class="title">
                    <td width="10%" class="t1">
                        ID
                    </td>
                    <td width="20%">
                        专题名称
                    </td>
                    <td width="20%">
                        英文名称
                    </td>
                    <td>是否生成</td>
                    <td width="15%">
                        创建日期
                    </td>
                    <td width="15%">
                        操作
                    </td>
                </tr>
                <asp:Repeater ID="RepSpecial" runat="server" OnItemCommand="RepSpecial_ItemCommand">
                    <ItemTemplate>
                        <tr class="tdMoveTr" onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className='tdMoveTr'">
                            <td class="t1">
                                <%#Eval("Id") %>
                            </td>
                            <td>
                                <a href='specialList.aspx?ParentId=<%#Eval("Id") %>'>
                                    <%#Eval("CnName") %></a>
                            </td>
                            <td>
                                <%#Eval("EnName") %>
                            </td>
                            <td><%#Function.GetStyleTrue(Eval("CreatePage","{0}"))%></td>
                            <td>
                                <%#Eval("AddTime","{0:yyyy-MM-dd}") %>
                            </td>
                            <td>
                                <a href='Setspecial.aspx?Id=<%#Eval("Id") %>'>修改</a>
                                ┊
                                <asp:LinkButton ID="lnkDelete" runat="server" Text="删除" CommandName="delete" CommandArgument='<%#Eval("Id") %>'
                                    OnClientClick="return confirm('您确定要删除该专题及其下级子专题吗?')"></asp:LinkButton>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
