<%@ page language="C#" autoeventwireup="true" inherits="Admins_FlashList, 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>首页Flash设置管理</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 = "Flash.aspx?act=add"; //"Flash.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="5" height="25">
                    首页Flash设置管理
                </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" 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 align="center">
                            <img src="../<%#Eval("MaxPic")%>" style="width: 150px; height: 120px;" /><br />
                        </td>
                        <td>
                            <%#Eval("LinkUrl")%>
                        </td>
                        <td>
                            <%#Eval("DescriptionCN")%>
                        </td>
                        <td align="center">
                            <a href="Flash.aspx?act=edit&id=<%#Eval("Id") %>">修改</a>&nbsp;|&nbsp;<a onclick="return confirm('确定要执行该删除操作吗？删除后将不可以恢复！');"
                                href="FlashList.aspx?act=del&Id=<%#Eval("Id") %>">删除</a>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
            <tr>
                <td colspan="5" 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="5" align="right">
                    <asp:Label ID="MyPage" runat="server"></asp:Label>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
