<%@ Page language="c#" Codebehind="PageRevisionPreviewByDateDlg.aspx.cs" AutoEventWireup="false" Inherits="Microsoft.ContentManagement.WebAuthor.PageRevisionPreviewByDateDlg" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>PageRevisionPreviewByDateDlg</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">
		<%= EmbedHeadSection() %>
	</HEAD>
	<body class="WBC_styclsTextColor0" bgColor="<%=IDS_BODYSETTING_BGCOLOR %>" 
                  leftMargin="<%=IDS_BODYSETTING_LEFTMARGIN%>" 
                  topMargin="<%= IDS_BODYSETTING_TOPMARGIN %>">
		<form name="WBC_formViewRevisionByDate" method="post" enctype="multipart/form-data" runat="server">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<!-- Show the Main Header -->
				<tr class="WBC_styclsBackground1">
					<td><img border=0 src="<%=IDS_PATH_IMAGE_LOGO %>"></td>
					<td width="100%" valign="center" class="WBC_styclsHeaderText">
						<%= IDS_UI_LABEL_VIEW_REVISIONS_BY_DATE %>
					</td>
					<td><img src="<%= IDS_TRANSPARENT_GIF %>"
							width="<%= C_INT_MAIN_MARGIN %>" height="<%= C_INT_HEADER_HEIGHT %>" border="0"></td>
				</tr>
				<!-- Show the Sub Header -->
				<tr class="WBC_styclsBackground2">
					<td><img src="<%= IDS_TRANSPARENT_GIF %>"
					width="<%= C_INT_MAIN_MARGIN %>" height="<%= C_INT_SUBHEAD_HEIGHT %>" border="0"></td>
					<td class="WBC_styclsSubheadText">
						<%= IDS_UI_LABEL_SELECT_DATE %>
					</td>
					<td><img src="<%= IDS_TRANSPARENT_GIF %>"
					width="<%= C_INT_MAIN_MARGIN %>" height="<%= C_INT_SUBHEAD_HEIGHT %>" border="0"></td>
				</tr>
			</table>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<!-- Set the margin width for the rest of the page -->
				<tr>
					<td rowspan="999"><img src="<%= IDS_TRANSPARENT_GIF %>"
							width="<%= C_INT_MINOR_SPACING %>" height="1" border="0"></td>
					<td><img src="<%=IDS_TRANSPARENT_GIF%>"
							width="100%" height="1" border="0"></td>
					<td rowspan="999"><img src="<%= IDS_TRANSPARENT_GIF %>"
							width="<%= C_INT_MINOR_SPACING %>" height="1" border="0"></td>
				</tr>
				<!-- Show the Page Information -->
				<tr>
					<td colspan="3"><img src="<%= IDS_TRANSPARENT_GIF %>"
					width="15" height="<%= C_INT_MAIN_SPACING %>" border="0"></td>
				</tr>
				<tr>
					<td>
						<table class="WBC_styclsBackground1" width="100%" border="0" cellspacing="0" cellpadding="2">
							<TR>
								<td>
									<table class="WBC_styclsBackground2" width="100%" border="0" cellspacing="0" cellpadding="7">
										<!-- Show Display Name -->
										<tr class="WBC_styclsBackground2">
											<td class="WBC_styclsHeavyTextColor1" width="30%">
												<%= IDS_UI_LABEL_PAGE %>
												:
											</td>
											<td class="WBC_styclsTextColor1">
												<%= DisplayName %>
											</td>
										</tr>
										<tr class="WBC_styclsBackground2">
											<td class="WBC_styclsHeavyTextColor1" width="30%">
												<%= IDS_UI_LABEL_START_PUBLISHING %>
											</td>
											<td class="WBC_styclsTextColor1">
												<%= StartDate %>
											</td>
										</tr>
										<!-- Show UI description -->
										<tr>
											<td colspan="2" valign="top"><hr>
											</td>
										</tr>
										<TR>
											<td class="WBC_styclsHeavyTextColor1" colspan="2">
												<%= IDS_UI_LABEL_SELECT_DATE_DESCRIPTION %>
											</td>
										</TR>
										<!-- Show Date dropdown list -->
										<tr>
											<td colspan="2">
												<table width="100%" border="0" cellspacing="0" cellpadding="10">
													<tr valign="top">
														<td class="WBC_styclsHeavyTextColor1" align="right" width="50">
													        <%= IDS_UI_LABEL_DATE %>
												        </td>									
														<td class="WBC_styclsHeavyTextColor1" align="right" width="50">
															<asp:TextBox id="tbxStartDate" runat="server" Width="120px"></asp:TextBox>
														</td>
														<td class="WBC_styclsTextColor1">
														    <asp:ImageButton id="ibnStartDate" OnClick="PopupCalendar" ImageUrl=<%# IDS_PATH_IMAGES_COMMON_ICONS + IDS_IMG_ICON_CALENDAR %> runat="server"></asp:ImageButton>
															<span style="LEFT: 0px; POSITION: relative; TOP: 0px">
																<asp:Calendar id="calStartDate" runat="server" style="Z-INDEX: 200; LEFT: 0px; POSITION: absolute; TOP: 0px" BackColor="ButtonFace" Visible="False" Height="147px" Width="148px" Font-Names="Tahoma" Font-Size="9pt" OnSelectionChanged="OnSelectDate"></asp:Calendar>
															</span>
														</td>
													</tr>
													<tr valign="top">
														<td class="WBC_styclsHeavyTextColor1" align="right" width="50">
													        <%= IDS_UI_LABEL_TIME %>
												        </td>									
														<td class="WBC_styclsHeavyTextColor1" align="right" width="50">
															<asp:TextBox id="tbxStartTime" runat="server" Width="120px"></asp:TextBox>
														</td>
													</tr>
												</table>

												<asp:PlaceHolder ID="ErrorPlaceHolder" Visible="False" Runat="server">
												    <table width="100%" border="0" cellspacing="0" cellpadding="10">
														<TR>
															<TD width="15">
															    <IMG src="<%= IDS_PATH_IMAGES_COMMON_ICONS %><%= IDS_IMG_ICON_ALERT_GIF %>" border=0>
															</td>
															<td class="WBC_styclsTextColor1">
																<asp:Label id="ErrorLabel" Runat="server"></asp:Label>
															</TD>
														</TR>
													</table>
												</asp:PlaceHolder>
												
											</td>
										</tr>
									</table>
								</td>
							</TR>
						</table>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td><img src="<%=IDS_TRANSPARENT_GIF%>"
								width="1" height="<%= C_INT_MINOR_SPACING %>" border="0"></td>
							</tr>
							<tr valign="top">
								<td align="right" valign="bottom" colspan="2">
									<a runat="server" href="#" onserverclick="OnViewButtonClicked"><img name="WBC_imgView" src="<%= IDS_PATH_IMAGES_COMMON_BUTTONS%><%= IDS_IMG_BTN_VIEW_GIF %>" border="0" alt=""></a>
									&nbsp; <a href="#" onclick="window.close(); return false;"><img name="WBC_imgCancel" src="<%= IDS_PATH_IMAGES_COMMON_BUTTONS %><%= IDS_IMG_BTN_CANCEL_GIF %>" border="0" alt=""></a>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
		<asp:PlaceHolder ID="RevisionPreviewPlaceHolder" Visible="False" runat="server">
			<SCRIPT language="JavaScript" type="text/javascript">
			<!--
				WBC_openWindowOnFocus("<%= PreviewURL %>", IDS_WIN_PREVIEW, WBC_getPoppedUpWindowFeatures(IDS_WIN_PREVIEW_FEATURES, window.opener.top));
			// -->
			</SCRIPT>
		</asp:PlaceHolder>
	</body>
</HTML>
