<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="ManageCach.aspx.cs" Inherits="web.admin.ManageCach" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>CacheViewer</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<LINK href="images/adminstyle.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body leftmargin="0" rightmargin="0" topmargin="0">
		<form id="Form1" method="post" runat="server">
<table width="100%" height="550" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="top">
          <table width="100%" align="center" cellpadding="0" cellspacing="0" bgcolor="#EDF6FF">
            <tr>
		      <td width="7%" height="37" class="tl"></td>
		<td width="88%" class="tm"><span class="tt">系统管理 &gt;&gt; 数据缓存管理</span></td>
		      <td width="0%" class="tm2"><span class="tt"></span></td>
		<td width="5%" class="tr"></td>
	</tr>
</table>
</div>
        <div class="mframe"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td class="ml"></td>
    <td  class="mm" align="left" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
                    <td bgcolor="#FFFFFF" valign="top" ><br>
                      <table width="90%" align="center" cellpadding="0"  cellspacing="0">
                        <tr>
		<td class="ml1"></td>
		<td class="mm1">
<table cellSpacing="0" cellPadding="0" width="727" align="center" border="0">
                              <tr>
					<td><asp:LinkButton id="lbRemoveAll" runat="server">全部清除</asp:LinkButton>&nbsp;&nbsp;<asp:HyperLink id="hlRefresh" Text="刷新缓存" Runat="server"></asp:HyperLink></td>
					<td align="right">数据缓存数量：<asp:Literal id="litCount" runat="server"></asp:Literal></td>
				</tr>
				<tr>
					<td height="23" class="forumRowHighlight" colspan="2">
						<asp:DataGrid id="dgCachedItems" runat="server" AutoGenerateColumns="False" Width="100%" HorizontalAlign="Center"
							HeaderStyle-CssClass="summary-title" BorderColor="#CCCCCC" BorderWidth="1px">
							<HeaderStyle Font-Bold="False" BackColor="#EDF6FF" CssClass="summary-title" Height="30px"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="序号">
									<ItemTemplate>
										<asp:Literal id="Counter" runat="server" />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="名称(Key)">
									<ItemTemplate>
										<asp:Literal id="CacheItemName" runat="server" text='<%# ((CachedItem)(Container.DataItem)).CacheKey %>' />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="数据类型">
									<ItemTemplate>
										<asp:Literal id="CacheItemDataType" runat="server" text='<%# ((CachedItem)(Container.DataItem)).CacheType %>' />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="删除">
									<ItemTemplate>
										<asp:LinkButton ID="RemoveButton" Text="删除" CommandName="RemoveFromCache" runat="server" />
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
                            <ItemStyle Height="26px" />
						</asp:DataGrid>
					</td>
				</tr>
			</table>
<table cellSpacing="0" cellPadding="0" width="640" align="center" border="0">
				<tr>
					<td height="25" align="left">
						&nbsp;&nbsp;<b> 页面缓存管理</b></td>
					
				<tr>
				</tr>
			</table>
                            <table border="1" align="center" cellpadding="5" cellspacing="0" rules="all" style="WIDTH:100%;BORDER-COLLAPSE:collapse">
                              <tr bgcolor="#EDF6FF" class="summary-title" style="FONT-WEIGHT:bold"> 
                                <td>序号</td>
								<td>页面名称</td>
								<td>页面描述</td>
								<td>操作</td>
							</tr>
							<tr>
								<td>
									1
								</td>
								<td>
									Default.html
								</td>
								<td>
									商城首页
								</td>
								<td>
									<asp:LinkButton id="lbtUpdate" runat="server">更新</asp:LinkButton>
								</td>
							</tr>
							<tr>
								<td>
									2
								</td>
								<td>
									List.aspx
								</td>
								<td>
									商品列表页面
								</td>
								<td>
									<asp:LinkButton id="lbtUpdateList" runat="server">更新</asp:LinkButton>
								</td>
							</tr>
							<tr>
								<td>
									3
								</td>
								<td>
									News.aspx(NewsIndex.aspx)
								</td>
								<td>
									新闻系统首页
								</td>
								<td>
									<asp:LinkButton id="lbtUpdateNews" runat="server">更新</asp:LinkButton>
								</td>
							</tr>
							<tr>
								<td height="18">
									4&nbsp;
								</td>
								<td height="18">
									PriceInfo.aspx
								</td>
								<td height="18">
									报价中心页面
								</td>
								<td height="18">
									<asp:LinkButton id="lbtUpdatePrice" runat="server">更新</asp:LinkButton>
								</td>
							</tr>
							<tr>
								<td>
									5&nbsp;
								</td>
								<td>
									Search.aspx
								</td>
								<td>
									搜索中心页面
								</td>
								<td>
									<asp:LinkButton id="lbtUpdateSearch" runat="server">更新</asp:LinkButton>
								</td>
							</tr>
						</table>
						
						
									
		</td>
		<td class="mr1"></td>
	</tr>
</table>
                    </td>
  </tr>
</table>


<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></td>
    <td  class="mr"></td>
  </tr>
</table>
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>

</div>
    </td>
  </tr>
</table>
		</form>
	</body>
</HTML>
