<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="HTCOMNET.Main" %>
<%@ Page CodeBehind="multifileprop.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="HTCOMNET.multifileprop" %>
<html>
<head>
<title>Information</title>
<meta http-equiv="Content-Type" content="text/html; charset=<%=Session(SK_CHARSET)%>">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<link rel="stylesheet" href="Scripts<%=JS_CSS_VERSION%>/Style.css" type="text/css">
<SCRIPT language="JavaScript" src="Scripts<%=JS_CSS_VERSION%>/Main.js"></SCRIPT>
</head>
<body bgcolor="#FFFFFF" text="#000000" topmargin="5"  leftmargin="5">
<script language="JavaScript">
drawupwin('<font color="#FFFF66">&nbsp;&nbsp;<%=Session(SK_LANGUAGE).GetText("PROPERTIES")%></font>', Innerwidth()-15 , Innerheight()-15,'#F8F6E6');
</script>
&nbsp;&nbsp;<asp:Literal Runat=server Text="" ID="lblerror"/>  
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="10">&nbsp;</td>
    <td width="240" align="left">
    	<fieldset style="padding:5px;width:230;height:200px;">
		<legend><%=Session(SK_LANGUAGE).GetText("MULIPLE_ITEMS")%></legend>
        <table border="0" cellspacing="0" cellpadding="0" width="100%">
          <tr> 
            <td width="10"></td>
            <td width="60"><font class="subactionsfont"><%=Session(SK_LANGUAGE).GetText("LOCATION")%></font></td>
            <td><font color="#0066CC">-&nbsp;Root\<%=Session(SK_DIR)%></font></td>
          </tr>
          <tr> 
            <td width="10"></td>
            <td width="60"><font class="subactionsfont"><%=Session(SK_LANGUAGE).GetText("SIZE")%></font></td>
            <td><font color="#0066CC">-&nbsp;<%=FormatSize(totalsize)%></font></td>
          </tr>
          <tr> 
            <td width="10"></td>
            <td width="60"><font class="subactionsfont"><%=Session(SK_LANGUAGE).GetText("TYPE")%></font></td>
            <td><font color="#0066CC">-&nbsp;<%=totaltype%></font></td>
          </tr>
          <tr> 
            <td width="10"></td>
            <td width="60"><font class="subactionsfont"><%=Session(SK_LANGUAGE).GetText("FILES")%></font></td>
            <td><font color="#0066CC">-&nbsp;<%IF totalfiles=0 THEN 
				response.write( "0" ) 
			ELSE 
				response.write( totalfiles ) 
            END IF%></font></td>
          </tr>
          <tr> 
            <td width="10"></td>
            <td width="60"><font class="subactionsfont"><%=Session(SK_LANGUAGE).GetText("FOLDERS")%></font></td>
            <td><font color="#0066CC">-&nbsp;<%IF totalfolders=0 THEN 
				response.write( "0" ) 
			ELSE 
				response.write( totalfolders ) 
			END IF%>
              </font></td>
          </tr>
        </table>
       </fieldset>
      </td>
	<td width="10">&nbsp;</td>
    <td width="200" align="left">    
        <fieldset style="padding:5px;width:200;height:200px;">
		<legend><%=Session(SK_LANGUAGE).GetText("ATTRIBUTES")%></legend>   
		  <form name="form1" action="multifileprop.aspx"  method="post">
          <input name="fileorfolder" type="hidden" value="<%=name%>">
          <input name="already" type="hidden" value="1">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td align="left"><font class="subactionsfont"><%=Session(SK_LANGUAGE).GetText("COMMON", "READ_ONLY")%></font></td>
              <td align="center">&nbsp;<input type="radio" name="readonly" value="1" <%if totalreadonly=1 then%>checked<%end if%> >&nbsp;<font class="subactionsfont"><%=Session(SK_LANGUAGE).GetText("ALL")%></font></td>
              <td align="center">&nbsp;<input type="radio" name="readonly" value="2" <%if totalreadonly=2 then%>checked<%end if%> >&nbsp;<font class="subactionsfont"><%=Session(SK_LANGUAGE).GetText("NONE")%></font></td>
            </tr>
            <tr> 
              <td align="left"><font class="subactionsfont"><%=Session(SK_LANGUAGE).GetText("COMMON", "HIDDEN")%></font></td>
              <td align="center">&nbsp;<input type="radio" name="hidden" value="1" <%if totalhidden=1 then%>checked<%end if%> >&nbsp;<font class="subactionsfont"><%=Session(SK_LANGUAGE).GetText("ALL")%></font></td>
              <td align="center">&nbsp;<input type="radio" name="hidden" value="2" <%if totalhidden=2 then%>checked<%end if%> >&nbsp;<font class="subactionsfont"><%=Session(SK_LANGUAGE).GetText("NONE")%></font></td>
            </tr>
          </table>
          <%If  Session(SK_CURRENT_FOLDER).CanSetAttrib And Session(SK_CURRENT_FOLDER).CanModify Then %>
			<%if isFolder then%>
				<br><font class="subactionsfont">&nbsp; 
                <input type="checkbox" name="Sub" id="Sub" value="1">
                <%=Session(SK_LANGUAGE).GetText("COMMON","APPLY_CHANGES_TO_THE_SUBFOLDERS")%></font>
            <%end if%>
			<p align="center"><input type="Submit" class="button" value="<%=Session(SK_LANGUAGE).GetText("SET_ATTRIBUTES")%>"></p>
          <%end if%>   
          </form>
		</fieldset>		
      </td>	
  </tr>
</table>
<script language="JavaScript">
drawdownwin("");
</script>
</body>
</html>