<%@ Page CodeBehind="admin_template.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Typhoto.admin_template" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<link href="img/main.css" rel="stylesheet" type="text/css">
			<style type="text/css">.style1 { FONT-WEIGHT: bold; COLOR: #ffffff }
	</style>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<div align="center">
				<table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" id="brb"
					height="27">
					<tr>
						<td colSpan="3" class="td_title">模板管理
						</td>
					</tr>
				</table>
				<asp:datagrid id="DataGrid" runat="server" CssClass="GridBody" AutoGenerateColumns="False" Width="100%"
					PageSize="20" AllowSorting="True">
					<AlternatingItemStyle CssClass="GridLine"></AlternatingItemStyle>
					<ItemStyle CssClass="GridItem"></ItemStyle>
					<HeaderStyle CssClass="GridHead"></HeaderStyle>
					<Columns>
						<asp:BoundColumn DataField="name" ReadOnly="True" HeaderText="文件名">
							<HeaderStyle HorizontalAlign="Center" Width="20%"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center"></ItemStyle>
						</asp:BoundColumn>
						<asp:BoundColumn DataField="size" HeaderText="页面大小">
							<HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center"></ItemStyle>
						</asp:BoundColumn>
						<asp:BoundColumn DataField="update" HeaderText="更新时间">
							<HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center"></ItemStyle>
						</asp:BoundColumn>
						<asp:HyperLinkColumn Text="编辑" DataNavigateUrlField="name" DataNavigateUrlFormatString="admin_template_edit.aspx?path={0}"
							HeaderText="编辑">
							<HeaderStyle HorizontalAlign="Center" Width="5%"></HeaderStyle>
							<ItemStyle HorizontalAlign="Center"></ItemStyle>
						</asp:HyperLinkColumn>
					</Columns>
					<PagerStyle PageButtonCount="20" Mode="NumericPages"></PagerStyle>
				</asp:datagrid>
				<p align="left"><FONT face="宋体"></FONT>
				</p>
			</div>
		</form>
	</body>
</HTML>
