<%@ Page language="c#" Codebehind="slideshows.aspx.cs" AutoEventWireup="false" Inherits="Orciid.slideshows" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title runat="server" id="PageTitle">My Slideshows</title>
		<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body>
		<form method="post" runat="server">
			<h1 runat="server" id="Heading">My Slideshows</h1>
			<h2 id="FolderHeading" runat="server"></h2>
			<p>
				<table cellspacing="0" cellpadding="0" border="0">
					<tr style="BACKGROUND-COLOR: #c8d3dd">
						<td nowrap style="PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px"><asp:linkbutton id="NewSlideshowButton" runat="server">Create New Slideshow</asp:linkbutton>&nbsp;<img height="10" src="images/separator.gif" width="10">&nbsp;
							<asp:linkbutton id="ManageFoldersButton" runat="server">Manage Folders</asp:linkbutton></td>
						<td nowrap style="PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px">
							<p align="right"><span id="ShowLabelSpan" runat="server">Show</span>
								<asp:DropDownList id="FilterDropDownList" runat="server" AutoPostBack="True"></asp:DropDownList>&nbsp;<IMG height="10" src="images/separator.gif" width="10">
								<span id="JumpToFolderLabelSpan" runat="server">Jump to Folder</span>
								<asp:dropdownlist id="FolderList" runat="server" autopostback="True"></asp:dropdownlist></p>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<p>&nbsp;</p>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<p><asp:datagrid id="SlideshowGrid" runat="server" showfooter="True" bordercolor="#DCE4EC" gridlines="Vertical"
									borderwidth="1px" cellpadding="4" autogeneratecolumns="False">
									<FooterStyle Wrap="False" HorizontalAlign="Left" CssClass="DataGridFooter"></FooterStyle>
									<SelectedItemStyle CssClass="DataGridItemSelected"></SelectedItemStyle>
									<AlternatingItemStyle CssClass="DataGridItemAlt"></AlternatingItemStyle>
									<ItemStyle CssClass="DataGridItem"></ItemStyle>
									<HeaderStyle Wrap="False" HorizontalAlign="Left" CssClass="DataGridHeader"></HeaderStyle>
									<Columns>
										<asp:TemplateColumn>
											<HeaderTemplate>
												<input class="SelectBox" type="checkbox" name="changeall" onclick="var e=this.form.elements;for(var i=0;i<e.length;i++){var n=e[i].name;if(n.length>15&&n.substring(n.length-15,n.length)==':SelectCheckBox')e[i].checked=this.checked;}" />
											</HeaderTemplate>
											<ItemTemplate>
												<asp:checkbox id="SelectCheckBox" runat="server" cssclass="SelectBox"></asp:checkbox>
											</ItemTemplate>
										</asp:TemplateColumn>
										<asp:TemplateColumn>
											<HeaderTemplate>
												<span id="TitleHeaderSpan" runat="server">Title</span>
											</HeaderTemplate>
											<ItemTemplate>
												<%# DataBinder.Eval(Container, "DataItem.Title") %>
												<asp:Literal OnDataBinding="DataBindMissingImagesLiteral" Runat="server" />
											</ItemTemplate>
										</asp:TemplateColumn>
										<asp:TemplateColumn>
											<ItemStyle HorizontalAlign="Center"></ItemStyle>
											<HeaderTemplate>
												<span id="ArchivedHeaderSpan" runat="server">Archived</span>
											</HeaderTemplate>
											<ItemTemplate>
												<asp:literal id="ArchivedLabel" runat="server" ondatabinding="DataBindArchivedLiteral"></asp:literal>
											</ItemTemplate>
										</asp:TemplateColumn>
										<asp:TemplateColumn>
											<HeaderTemplate>
												<span id="CreatedHeaderSpan" runat="server">Created</span>
											</HeaderTemplate>
											<ItemTemplate>
												<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.CreationDate") %>'>
												</asp:Label>
											</ItemTemplate>
										</asp:TemplateColumn>
										<asp:TemplateColumn>
											<HeaderTemplate>
												<span id="ModifiedHeaderSpan" runat="server">Modified</span>
											</HeaderTemplate>
											<ItemTemplate>
												<asp:Label runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ModificationDate") %>'>
												</asp:Label>
											</ItemTemplate>
										</asp:TemplateColumn>
										<asp:TemplateColumn>
											<ItemTemplate>
												<asp:linkbutton id="ViewSlideshowLinkButton" runat="server" causesvalidation="false" commandname="ViewSlideshow">Slideshow&nbsp;Viewer</asp:linkbutton>
											</ItemTemplate>
										</asp:TemplateColumn>
										<asp:TemplateColumn>
											<ItemTemplate>
												<asp:linkbutton ID="ModifySlidesLinkButton" runat="server" text="Light&nbsp;Table" commandname="ModifySlides"
													causesvalidation="false">Light&nbsp;Table</asp:linkbutton>
											</ItemTemplate>
										</asp:TemplateColumn>
										<asp:TemplateColumn>
											<ItemTemplate>
												<asp:linkbutton ID="AddImagesLinkButton" runat="server" text="Add&nbsp;Images" commandname="AddImages"
													causesvalidation="false">Add&nbsp;Images</asp:linkbutton>
											</ItemTemplate>
										</asp:TemplateColumn>
										<asp:TemplateColumn>
											<ItemTemplate>
												<asp:linkbutton ID="PackageLinkButton" runat="server" text="Package" commandname="Package" causesvalidation="false">Package</asp:linkbutton>
											</ItemTemplate>
										</asp:TemplateColumn>
										<asp:TemplateColumn>
											<ItemTemplate>
												<asp:linkbutton ID="PropertiesLinkButton" runat="server" Text='Properties' CommandName="Properties"
													CausesValidation="false"></asp:linkbutton>
											</ItemTemplate>
										</asp:TemplateColumn>
									</Columns>
								</asp:datagrid></p>
						</td>
					</tr>
					<tr>
						<td colspan="2">&nbsp;</td>
					</tr>
					<tr id="ActionBar" style="BACKGROUND-COLOR: #c8d3dd" runat="server">
						<td nowrap style="PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px">
							<span runat="server" id="SelectedSlideshowsLabelSpan">Selected Slideshows:</span>
							<asp:button id="ArchiveSlideshowsButton" runat="server" text="Archive"></asp:button>&nbsp;&nbsp;
							<asp:button id="ActivateSlideshowsButton" runat="server" text="Un-Archive"></asp:button>&nbsp;&nbsp;
							<asp:button id="DeleteSlideshowsButton" runat="server" text="Delete"></asp:button></td>
						<td nowrap style="PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px">
							<p align="right"><span id="MoveToFolderLabelSpan" runat="server">Move to Folder</span>
								<asp:dropdownlist id="MoveToFolderList" runat="server"></asp:dropdownlist><asp:button id="MoveToFolderButton" runat="server" text="Move"></asp:button></p>
						</td>
					</tr>
				</table>
			</p>
			<asp:label id="NoSlideshowsLabel" runat="server">There are no slideshows in this folder.</asp:label>
			<asp:label ID="MissingImagesLabel" Runat="server">* Slideshow uses one or more missing images</asp:label></form>
	</body>
</HTML>
