<%@ Page language="c#" Codebehind="FileInfoView.aspx.cs" AutoEventWireup="false" Inherits="Mediachase.UI.Web.FileStorage.FileInfoView" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 

<html>
  <head>
    <title>
			<%= LocRM.GetString("DocInfo")%>
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name=vs_defaultClientScript content="JavaScript">
    <meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
    <script src="../Scripts/browser.js"></script>
		<script src="../Scripts/buttons.js"></script>		
		<LINK href="../layouts/styles/windows.css" type="text/css" rel="stylesheet">
		<link href="../Themes/<%=Mediachase.UI.Web.Util.CommonHelper.GetTheme()%>/theme.css" rel="stylesheet">
		<link href="../Themes/<%=Mediachase.UI.Web.Util.CommonHelper.GetTheme()%>/color1.css" rel="stylesheet">
		<LINK href='<%=Mediachase.UI.Web.Util.CommonHelper.GetAbsolutePath("/layouts/styles/mcCalendClient.css")%>' rel="stylesheet">
  </head>
  <body class="UserBackground" id="pT_body" leftMargin="0" topMargin="0" marginwidth="0" marginheight="0">
	
    <form id="frmMain" method="post" runat="server" enctype="multipart/form-data">
			<table cellpadding="0" cellspacing="0" border="0" width="100%">
				<tr>
					<td valign=top>
						<table cellspacing="0" cellpadding="5" border="0" class="text" width="100%">
							<tr>
								<td width="100px"><b><%= LocRM.GetString("tName")%>:</b></td>
								<td><asp:Label ID="lblName" Runat=server CssClass="ibn-vb2"></asp:Label></td>
							</tr>
							<tr>
								<td><b><%= LocRM.GetString("tLocation")%>:</b></td>
								<td><asp:Label ID="lblPath" Runat=server CssClass="text"></asp:Label></td>
							</tr>
							<tr>
								<td><b><%= LocRM.GetString("tCreatedBy")%>:</b></td>
								<td><asp:Label ID="lblCreator" Runat=server CssClass="text"></asp:Label></td>
								<td width="120px"><b><%= LocRM.GetString("tCreated")%>:</b></td>
								<td><asp:Label ID="lblCreated" Runat=server CssClass="text"></asp:Label></td>
							</tr>
							<tr>
								<td><b><%= LocRM.GetString("tUpdatedBy")%>:</b></td>
								<td><asp:Label ID="lblModifier" Runat=server CssClass="text"></asp:Label></td>
								<td><b><%= LocRM.GetString("tLastUpdate")%>:</b></td>
								<td><asp:Label ID="lblModified" Runat=server CssClass="text"></asp:Label></td>
							</tr>
							<tr>
								<td></td>
								<td><asp:Label ID="lblKeepHistory" CssClass="text" Runat=server></asp:Label></td>
								<td><b><%= LocRM.GetString("tDownCount")%>:</b></td>
								<td><asp:Label ID="lblViewCount" Runat=server CssClass="text"></asp:Label></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr height="20px" id="trManage" runat=server>
					<td bgcolor="#eaeaea" style="BORDER-TOP: #bababa 1px solid;BORDER-BOTTOM: #bababa 1px solid;padding-left:5">
						<table cellspacing="0" cellpadding="0" border="0" width="100%" class="text"><tr><td>
							<b><%= LocRM.GetString("tVerHistory")%></b>
						</td>
						<td align=right style="padding-right:5px" class="ibn-vb2">
							<asp:Label ID="lblAddVersion" Runat=server CssClass="text"></asp:Label>
						</td>
						</tr></table>
					</td>
				</tr>
				<tr>
					<td valign="top" style="padding:1,5,5,5">
						<asp:Label ForeColor="Red" ID="lblNoHistory" Runat=server CssClass="text"></asp:Label>
						<div style="OVERFLOW:auto;HEIGHT:155px">
						<asp:DataGrid Runat="server" ID="dgFiles" AutoGenerateColumns="False" AllowPaging="False" AllowSorting="False" cellpadding="3" gridlines="None" CellSpacing="0" borderwidth="0px" Width="100%">
							<Columns>
								<asp:BoundColumn DataField="Id" Visible=False></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="Name">
									<ItemStyle CssClass="ibn-vb2"></ItemStyle>	
									<HeaderStyle CssClass="ibn-vh2"></HeaderStyle>	
									<ItemTemplate>
										<%# DataBinder.Eval(Container.DataItem, "Name")%>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Modified">
									<ItemStyle CssClass="ibn-vb2"></ItemStyle>
									<HeaderStyle CssClass="ibn-vh2"></HeaderStyle>	
									<ItemTemplate>
											<%# ((DateTime)DataBinder.Eval(Container.DataItem, "Modified")).ToString("dd.MM.yy HH:mm:ss")%>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Size">
									<ItemStyle CssClass="ibn-vb2" Width="70" HorizontalAlign=Right></ItemStyle>
									<HeaderStyle CssClass="ibn-vh-right"></HeaderStyle>	
									<ItemTemplate>
											<%# DataBinder.Eval(Container.DataItem, "Size")%>
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
						</asp:DataGrid>
						</div>
					</td>
				</tr>
			</table>
    </form>
	
  </body>
</html>
