<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_SEO.aspx.cs" Inherits="YCHR.Web.admin.Sys.YC_SEO" %>

<!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 rel="stylesheet" type="text/css" href="../images/style.css" />
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script type="text/javascript">

        $(function () {
            $(".msgtable tr:nth-child(odd)").addClass("tr_bg"); //隔行变色
            $(".msgtable tr").hover(
			    function () {
			        $(this).addClass("tr_hover_col");
			    },
			    function () {
			        $(this).removeClass("tr_hover_col");
			    }
		    );
        });
    </script>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <span class="add"></span><b>您当前的位置：首页 &gt; 新闻内链关键字设置 &gt; 关键字列表</b></div>
    <div class="spClear">
    </div>
    <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
        <tr>
            <td height="25" class="pl20">
                <b>管理选项： <a href="YC_SeoAdd.aspx">添加关键字</a> | <a href="YC_Seo.aspx">关键字列表</a> |[<a
                    href="javascript:location.reload()">刷新页面</a>]</b>
            </td>
        </tr>
    </table>
    <asp:Literal ID="litpagestr0" runat="server"></asp:Literal>
    <div class="spClear">
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th width="" align="center">
                编号
            </th>
            <th width="" align="center">
                关键字
            </th>
            <th width="" align="center">
                链接地址
            </th>
            <th width="" align="center">
                操作
            </th>
        </tr>
        <asp:Repeater ID="repSeoList" runat="server" OnItemCommand="repSeoList_ItemCommand">
            <ItemTemplate>
                <tr>
                    <td align="center">
                        <%#Eval("id")%><asp:HiddenField ID="txtid" Value='<%#Eval("id") %>' runat="server" />
                    </td>
                    <td align="center">
                        <%#Eval("keywords")%>
                    </td>
                    <td align="center">
                        <%#Eval("link")%>
                    </td>
                    <td align="center">
                        <span>
                            <asp:ImageButton ID="imgedit" CommandName="imgedit" ImageUrl="../images/white_edit.png"
                                runat="server" />
                            <asp:ImageButton ID="imgdel" OnClientClick="return confirm( '确定要删除吗？ ');" CommandName="imgdel"
                                ImageUrl="../images/white_delete.png" runat="server" /></span>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
    <asp:Literal ID="litpagestr" runat="server"></asp:Literal>
    </form>
</body>
</html>
