<%@ page language="C#" autoeventwireup="true" inherits="admin_adminsite, shazhiqiu_taoke_free" %>
<!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>
    <title></title>
<link href="images/skin.css" rel="stylesheet" type="text/css" />

      <script src="fenye.js" type="text/javascript"></script> 
<script language="javascript" type="text/javascript">
    function Cbg(obj, objColor) {
        obj.style.backgroundColor = objColor
    }
    function CheckAll(form) {
        for (var i = 0; i < form.elements.length; i++) {
            var e = form.elements[i];
            if (e.name != 'chkAll')
                e.checked = form.chkAll.checked;
        }
    }
</script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="divtext">
    <div class="righttitle"><img src="images/biaoti.png" /> 管理网站</div>
         <table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" style="margin-top:10px;" border="0">
<tr><td align="left" class="tablexianbg">
    搜索：<asp:TextBox ID="keywords" runat="server"></asp:TextBox>
&nbsp;<asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text=" 搜 索 " CssClass="button" />
    </td></tr>
</table>
  <asp:Repeater ID="Repeater1" runat="server"  OnItemCreated="Repeater1_ItemCreated" 
            onitemcommand="Repeater1_ItemCommand">
<HeaderTemplate>
<table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" border="0">
<tr>

<td align="center" style="width:22%;"  class="tablexianbg">网站名</td>
    <td align="center" class="tablexianbg">商品数</td>
<td align="center" class="tablexianbg">网站域名</td>
<td align="center" class="tablexianbg">网站IP</td>
<td align="center" class="tablexianbg">模板</td>
<td align="center"  class="tablexianbg" style="width:15%;">时间</td>
<td align="center"  class="tablexianbg">修改</td>
<td align="center" class="tablexianbg">删除</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>

<td align="center"><a href="http://<%# Eval("siteurl")%>" target="_blank"><%# Eval("sitename")%></a><input id="sitelogo" type="hidden" runat="server" value='<%# Eval("sitelogo") %>' /></td>
    <td align="center"><%#sitecount%></td>
<td align="center"><%# Eval("siteurl")%></td>
<td align="center"><%# Eval("siteip")%></td>
<td align="center"><%# Eval("skin")%></td>
<td align="center" ><%# Eval("sitetime") %></td>
<td align="center"><asp:Button ID="edit" runat="server" CommandArgument='<%# Eval("siteid")%>' CssClass="button" CommandName="editcmd" Text="修改" /></td>
<td align="center"><asp:Button ID="del" runat="server" CommandArgument='<%# Eval("siteurl")%>' CssClass="button" CommandName="delcmd" Text="删除" /></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>  
</FooterTemplate>
</asp:Repeater>   
        <table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" style="margin-top:10px;" border="0">
<tr><td align="left">
    <asp:Label ID="fenye" runat="server"></asp:Label></td></tr>
</table>

    </div>

    </form>
</body>
</html>