<%@ Page Language="C#" AutoEventWireup="true"  EnableEventValidation="false" CodeBehind="YC_URL.aspx.cs" Inherits="YCHR.Web.YC2011.Sys.YC_URL" %>

<!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="/System/js/jquery.js"></script>
 <script type="text/javascript" src="../js/function.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"><a href="YC_Link.aspx">增加链接</a></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="javascript:location.reload()">刷新页面</a>]</b></td>
  </tr>
<tr><td height=25 class="pl20">&nbsp;</td></tr>
</table>  <div class="spClear"></div>
    <asp:Repeater ID="rptList" runat="server" onitemcommand="rptList_ItemCommand" >
    <HeaderTemplate>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
      <tr>
           
        <th >地址名称</th>
        <th >标签名称(请不要重复，如果重复后果自负)</th>
        <th width="30%">源地址</th>
        <th width="36%">虚地址</th>     
        <th width="8%">操作</th>
      </tr>
      </HeaderTemplate>
      <ItemTemplate>
      <tr>      
        <td align="center"><asp:Label ID="lbname" runat="server" Text='<%#Eval("name") %>'></asp:Label></td>
        <td align="center"> 
          <asp:Label ID="lbid" runat="server" Text='<%#Eval("id") %>'></asp:Label>  </td>
       
        <td align="center"> <asp:TextBox ID="txtlookfor" Width="100%" runat="server" Text='<%#Eval("lookfor") %>'></asp:TextBox> </td>
        <td align="center"> <asp:TextBox ID="txtsendto" Width="100%" runat="server" Text='<%#Eval("sendto") %>'></asp:TextBox> </td>
        
      
       
        <td align="center">
          <asp:ImageButton ID="imgedit"  CommandName="imgedit" ImageUrl="../images/white_edit.png"  runat="server" />                        

        </td>
      </tr>
      </ItemTemplate>
      <FooterTemplate>
      </table>
      </FooterTemplate>
      </asp:Repeater>
    <div class="spClear"></div>
        <div style="line-height:30px;height:30px;">
            <div id="Pagination" class="right flickr"></div>
	</div>
    </form>
</body>
</html>
