<%@ page language="C#" autoeventwireup="true" inherits="Admins_AboutList, App_Web_gnqjln3d" enableviewstatemac="false" %>

<!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 id="Head1" runat="server">
    <title>相关信息管理</title>
    <link href="images/main.css" rel="stylesheet" type="text/css" />
        <link href="images/msg.css" rel="stylesheet" type="text/css" />

    <link href="../css/pagestyle.css" rel="stylesheet" type="text/css" />

    <script src="js/jsPublic.js" type="text/javascript"></script>

    <script type="text/javascript">
        function goUrl() {
            window.location.href = "About.aspx?act=add"; //"Product.aspx";
            //return false;
        }
    </script>

</head>
<body>
    <form id="myform" runat="server">
    <table align="center" border="0" cellpadding="3" cellspacing="1" width="100%">
        <tbody>
            <tr>
                <td class="td_title" colspan="6" height="25">
                    相关信息管理
                </td>
            </tr>
            <tr>
                <td class="td_search" colspan="6" height="25">
                    标题：<asp:TextBox ID="txtAboutNameCH" runat="server" Width="200px" CssClass="input"></asp:TextBox>&nbsp;<asp:Button 
                        ID="btnSearch" runat="server" Text="查 询" CssClass="submit" 
                        onclick="btn_Search_Click"/>
                </td>
            </tr>
            <tr>
                <td align="center" width="5%">
                    选择
                </td>
                <td align="center">
                    <a>标题</a>
                </td>
                <td align="center">
                    <a>标识</a>
                </td>
                <td align="center">
                    <a>内容</a>
                </td>
                <td align="center">
                    <a>日期</a>
                </td>
<%--                 <td align="center">
                    <a>点击量</a>
                </td>
                <td align="center">
                    <a>排序</a>
                </td>--%>
                <td align="center" width="12%">
                    操作
                </td>
            </tr>
            <asp:Repeater ID="RepList" runat="server">
                <ItemTemplate>
                    <tr class="tr1" onmouseover="this.className='tr2'" onmouseout="this.className='tr1'">
                        <td align="center">
                            <input runat="server" type="checkbox" id="fId" value='<%#Eval("Id") %>' onclick="unselectall(this.form)" />
                        </td>
                        <td>
                            <%#Eval("AboutNameCN")%>
                        </td>
                        <td>
                            <%#Eval("AboutIndex")%>
                        </td>
                        <td>
                                <%#DJG.Common.PublicClass.cutTitle(Eval("AboutContentCN").ToString(), 100)%>
                            </td>
                        <td>
                            <%#Eval("UpdateTime")%>
                        </td>
<%--                        <td>
                            <input runat="server" id="txtClickNumber" type="text" value='<%#Eval("ClickNumber")%>' maxlength="4" size="6" />
                        </td>
                        <td>
                            <input runat="server" id="txtOrderSort" type="text" value='<%#Eval("OrderSort")%>' maxlength="4" size="6" />
                        </td>--%>
                        <td align="center">
                            <a href="About.aspx?act=edit&id=<%#Eval("Id") %>">修改</a>&nbsp;|&nbsp;<a onclick="return confirm('确定要执行该删除操作吗？删除后将不可以恢复！');"
                                href="AboutList.aspx?act=del&Id=<%#Eval("Id") %>">删除</a>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
            <tr>
                <td colspan="6" height="23">
                    &nbsp; &nbsp;
                    <label>
                        <input name="chkAll" type="checkbox" id="chkAll" onclick="CheckAll(this.form)" value="checkbox" /><label
                            for="chkAll">全选/取消</label>
                        <asp:Button ID="btn_Del" runat="server" Text="删 除" CssClass="submit" OnClientClick="return confirm('确定要执行该删除操作吗？删除后将不可以恢复！');"
                            OnClick="btn_Del_Click" />&nbsp;<input id="Button1" type="button" value="新 增" class="submit"
                                onclick="goUrl();" />&nbsp;<span style="color:Red;">操作前需先选择数据！</span>
                    </label>
                </td>
            </tr>
            <tr>
                <td colspan="6">
                    <asp:Label ID="MyPage" runat="server"></asp:Label>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>

