<%@ page language="C#" autoeventwireup="true" inherits="Manage_I_Content_CollSite, App_Web_gqexlk3x" masterpagefile="~/Manage/I/Default.master" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<asp:Content runat="server" ContentPlaceHolderID="head"><title>统一检索</title></asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="Content">
<ZL:ExGridView runat="server" ID="EGV" AutoGenerateColumns="false" AllowPaging="true" PageSize="10" EnableTheming="False" IsHoldState="false"
	class="table table-striped table-bordered table-hover" EmptyDataText="当前没有信息!!"
	OnPageIndexChanging="EGV_PageIndexChanging" OnRowCommand="EGV_RowCommand">
	<Columns>
		<asp:TemplateField>                            
			<ItemTemplate>
				<input type="checkbox" name="idchk" title="" value='<%#Eval("ID") %>' />
			</ItemTemplate>
			<ItemStyle  CssClass="tdbg" HorizontalAlign="Center" />
		</asp:TemplateField>
		<asp:TemplateField  HeaderText="ID">
			<ItemTemplate>
				<%#Eval("ID") %>
			</ItemTemplate>
		</asp:TemplateField>
		<asp:TemplateField  HeaderText="站点名">
			<ItemTemplate>
				<a href="AddSites.aspx?ID=<%#Eval("ID")%>&guang=all"><%#Eval("SiteName") %></a>
			</ItemTemplate>
		</asp:TemplateField>
		<asp:TemplateField  HeaderText="Http地址">
			<ItemTemplate>
				<a href="<%#Eval("SiteUrl") %>" target="_blank"><%#Eval("SiteUrl") %></a>
			</ItemTemplate>
		</asp:TemplateField>
		<asp:TemplateField  HeaderText="密钥">
			<ItemTemplate>
			   <%#Eval("SiteKey") %>
			</ItemTemplate>
		</asp:TemplateField>
		 <asp:TemplateField  HeaderText="更新时间">
			<ItemTemplate>
				<%#Eval("LastTime") %>
			</ItemTemplate>
		</asp:TemplateField>
		<asp:TemplateField HeaderText="操作">
			<ItemTemplate>
				<asp:LinkButton ID="LinkButton1" runat="server" CommandName="Del2" CommandArgument='<%#Eval("ID") %>' OnClientClick="return confirm('你确定要删除吗!');" ToolTip="删除"><img src="/App_Themes/AdminDefaultTheme/images/del.png" /></asp:LinkButton>
				<a href="AddSites.aspx?ID=<%#Eval("ID") %>"><span class="glyphicon glyphicon-pencil"  style="color:#7D98A1;"></span></a>

			</ItemTemplate>
		</asp:TemplateField>
	</Columns>
	<PagerStyle HorizontalAlign="Center" />
	<RowStyle Height="24px" HorizontalAlign="Center" />
</ZL:ExGridView>
<asp:Button runat="server" Text="批量删除" OnClientClick="return confirm('你确定要删除选中项吗!');" ToolTip="批量删除" CssClass="btn btn-primary" OnClick="Unnamed_Click"/>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="ScriptContent">
<script type="text/javascript" src="/JS/SelectCheckBox.js"></script>
<script type="text/javascript">
	$().ready(function () {
	   
	});
</script>
</asp:Content>
