<%@ Page language="c#" Codebehind="viewslideshows.aspx.cs" AutoEventWireup="false" Inherits="Orciid.viewslideshows" %>
<%@ Import namespace="Orciid.Core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title runat="server" id="PageTitle">View Slideshow Presentations</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">Slideshows</h1>
			<p>
				<table cellSpacing="0" cellPadding="3" border="0">
					<tr>
						<td style="HEIGHT: 24px"><span runat="server" id="AuthorLabelSpan">Slideshow 
								Author:</span></td>
						<td style="HEIGHT: 24px"><asp:dropdownlist id="OwnerDropDownList" runat="server" autopostback="True"></asp:dropdownlist></td>
					</tr>
					<tr>
						<td><span runat="server" id="FolderLabelSpan">Folder:</span></td>
						<td><asp:dropdownlist id="FolderDropDownList" runat="server" autopostback="True"></asp:dropdownlist></td>
					</tr>
				</table>
			</p>
			<asp:datagrid id="SlideshowDataGrid" runat="server" gridlines="Vertical" cellpadding="4" borderwidth="1px"
				autogeneratecolumns="False" bordercolor="#DCE4EC">
				<AlternatingItemStyle CssClass="DataGridItemAlt"></AlternatingItemStyle>
				<ItemStyle CssClass="DataGridItem"></ItemStyle>
				<HeaderStyle Wrap="False" HorizontalAlign="Left" CssClass="DataGridHeader"></HeaderStyle>
				<Columns>
					<asp:TemplateColumn>
						<HeaderTemplate>
							<span runat="server" id="SlideshowHeaderSpan">Slideshow</span>
						</HeaderTemplate>
						<ItemTemplate>
							<asp:HyperLink runat="server" OnDataBinding="ViewSlideshowHyperLink_OnDataBinding" NavigateUrl='<%# BuildUrl(Container.ItemIndex, DataBinder.Eval(Container, "DataItem.ID", "slideshowviewer.aspx?ssid={0}&url=viewslideshows.aspx&label=SLIDESHOW+LIST")) %>'>
							</asp:HyperLink>
							<asp:Image Width="15" Height="12" Runat="server" ID="lock"></asp:Image>
							<asp:Literal Runat="server" ID="AltTitle"></asp:Literal>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn>
						<ItemTemplate>
							<asp:HyperLink runat="server" ID="PrintViewHyperLink" OnDataBinding="PrintViewHyperLink_OnDataBinding" Text="Print View" NavigateUrl='<%# BuildUrl(Container.ItemIndex, DataBinder.Eval(Container, "DataItem.ID", "printshow.aspx?ssid={0}&url=viewslideshows.aspx")) %>'>
							</asp:HyperLink>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn>
						<ItemTemplate>
							<asp:HyperLink runat="server" id="FlashCardsHyperLink" OnDataBinding="FlashCardsHyperLink_OnDataBinding" Text="Flash Cards" NavigateUrl='<%# BuildUrl(Container.ItemIndex, DataBinder.Eval(Container, "DataItem.ID", "notecards.aspx?ssid={0}")) %>'>
							</asp:HyperLink>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn>
						<ItemTemplate>
							<asp:LinkButton id="PropertiesLinkButton" onclick="PropertiesLinkButton_OnClick" runat="server"
								CausesValidation="false" Text="Properties" OnDataBinding="PropertiesLinkButton_OnDataBinding">Properties</asp:LinkButton>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn>
						<ItemTemplate>
							<asp:LinkButton id="CopyShowLinkButton" onclick="CopyShowLinkButton_OnClick" runat="server" CausesValidation="false"
								Text="Properties" OnDataBinding="CopyShowLinkButton_OnDataBinding">Copy Slideshow</asp:LinkButton>
						</ItemTemplate>
					</asp:TemplateColumn>
				</Columns>
			</asp:datagrid><asp:label id="NoSlideshowsLabel" runat="server" Visible="False">There are no accessible slideshows in this folder.</asp:label>
			<p><a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank"><img src="images/getacro.gif" border="0" width="88" height="31"></a>
				<span id="AcrobatNoteSpan" runat="server">Adobe Reader is required to use the 
					Print View and Flash Cards.</span>
			</p>
		</form>
	</body>
</HTML>
