<%@ Page Language="vb" AutoEventWireup="false" Codebehind="MainPages.aspx.vb" Inherits="AllSaints.MainPages"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Welcome to Admin Area</title>
		<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
		<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<P>
				<asp:DataGrid id="dgMainPages" runat="server" BorderColor="#DEBA84" BorderStyle="None" CellSpacing="2" BorderWidth="1px" BackColor="#DEBA84" CellPadding="3" Width="100%" DataSource="<%# DsParentPages1 %>" DataKeyField="ID" DataMember="as_Pages" AllowSorting="True" AllowPaging="True" Font-Names="Verdana" Font-Size="11px" GridLines="None" AutoGenerateColumns="False">
					<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#738A9C"></SelectedItemStyle>
					<AlternatingItemStyle BackColor="AntiqueWhite"></AlternatingItemStyle>
					<ItemStyle ForeColor="#8C4510" BackColor="#FFF7E7"></ItemStyle>
					<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#A55129"></HeaderStyle>
					<FooterStyle ForeColor="#8C4510" BackColor="#F7DFB5"></FooterStyle>
					<Columns>
						<asp:HyperLinkColumn DataNavigateUrlField="ID" DataNavigateUrlFormatString="ViewPage.aspx?ID={0}" DataTextField="PageName" SortExpression="PageName" HeaderText="Page Title"></asp:HyperLinkColumn>
						<asp:BoundColumn DataField="Body" SortExpression="Body" HeaderText="Body"></asp:BoundColumn>
						<asp:BoundColumn DataField="BodyHeading" SortExpression="BodyHeading" HeaderText="Body Heading"></asp:BoundColumn>
						<asp:HyperLinkColumn Target="_blank" DataNavigateUrlField="TopPicture" DataNavigateUrlFormatString="ViewPicture.aspx?ID={0}" DataTextField="TopPicture" SortExpression="TopPicture" HeaderText="Top Picture"></asp:HyperLinkColumn>
						<asp:HyperLinkColumn Target="_blank" DataNavigateUrlField="RightPicture" DataNavigateUrlFormatString="ViewPicture.aspx?ID={0}" DataTextField="RightPicture" SortExpression="RightPicture" HeaderText="Right Picture"></asp:HyperLinkColumn>
					</Columns>
					<PagerStyle HorizontalAlign="Center" ForeColor="#8C4510" Mode="NumericPages"></PagerStyle>
				</asp:DataGrid></P>
			<P>&nbsp;</P>
			<P>
				<asp:LinkButton id="lnkLogOut" runat="server">LogOut</asp:LinkButton></P>
		</form>
	</body>
</HTML>
