<%@ Page validateRequest="false" language="c#" Codebehind="announcements.aspx.cs" AutoEventWireup="false" Inherits="Orciid.announcements" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title id="PageTitle" runat="server">Announcements</title>
		<meta name="GENERATOR" content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body>
		<form method="post" runat="server">
			<h1 id="Heading" runat="server">Announcements</h1>
			<p><asp:HyperLink id="ContinueHyperLink" runat="server">Continue to your start page</asp:HyperLink></p>
			<asp:Repeater id="AnnouncementRepeater" runat="server">
				<ItemTemplate>
					<H3>
						<asp:Label id="TitleLabel" runat="server"></asp:Label></H3>
					<P>
						<asp:Label id="AuthorLabel" runat="server"></asp:Label>&nbsp;
						<asp:LinkButton id="DeleteLinkButton" CausesValidation="False" CommandName="delete" runat="server">Delete</asp:LinkButton></P>
					<P>
						<asp:Label id="TextLabel" runat="server"></asp:Label></P>
					<P>
						<asp:HyperLink id="LinkHyperLink" runat="server"></asp:HyperLink></P>
				</ItemTemplate>
				<SeparatorTemplate>
					<HR width="100%" SIZE="1">
				</SeparatorTemplate>
			</asp:Repeater>
			<asp:Panel id="AddAnnouncementPanel" runat="server">
				<H2 id="AddAnnouncementHeading" runat="server">Add Announcement</H2>
				<P>
					<TABLE id="Table1" cellSpacing="3" cellPadding="3" border="0">
						<TR>
							<TD vAlign="top"><SPAN id="TitleSpan" runat="server">Title:</SPAN></TD>
							<TD vAlign="top">
<asp:TextBox id="TitleTextBox" runat="server" Columns="40"></asp:TextBox>&nbsp; 
<asp:RequiredFieldValidator id="TitleRequiredFieldValidator" runat="server" ControlToValidate="TitleTextBox" ErrorMessage="Please enter a title"></asp:RequiredFieldValidator></TD></TR>
						<TR>
							<TD vAlign="top"><SPAN id="TextSpan" runat="server">Text:</SPAN></TD>
							<TD vAlign="top">
<asp:TextBox id="TextTextBox" runat="server" Columns="40" Rows="5" TextMode="MultiLine"></asp:TextBox>
<asp:RequiredFieldValidator id="TextRequiredFieldValidator" runat="server" ControlToValidate="TextTextBox" ErrorMessage="Please enter text"></asp:RequiredFieldValidator></TD></TR>
						<TR>
							<TD vAlign="top"><SPAN id="LinkTitleSpan" runat="server">Link Title:</SPAN></TD>
							<TD vAlign="top">
<asp:TextBox id="LinkTitleTextBox" runat="server" Columns="40"></asp:TextBox>&nbsp;<SPAN 
      id="LinkTitleOptionalSpan" runat="server">(optional)</SPAN></TD></TR>
						<TR>
							<TD vAlign="top"><SPAN id="LinkUrlSpan" runat="server">Link URL:</SPAN></TD>
							<TD vAlign="top">
<asp:TextBox id="LinkUrlTextBox" runat="server" Columns="40"></asp:TextBox>&nbsp;<SPAN 
      id="LinkUrlOptionalSpan" runat="server">(optional)</SPAN></TD></TR>
						<TR>
							<TD vAlign="top"></TD>
							<TD vAlign="top">
<asp:Button id="AddAnnouncementButton" runat="server" Text="Add Announcement"></asp:Button></TD></TR></TABLE></P>
			</asp:Panel>
		</form>
	</body>
</HTML>
