<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="com.csc.library.utilities.*,java.util.*"%>
<jsp:useBean id="PRT084" class="com.csc.library.utilities.CscBrowseFile" scope="page" />
<%      
		UProfile up = (UProfile)session.getAttribute("userprofile");
		 
		PRT084.setChannel(pageContext,request,response);
		PRT084.process();
%>
<html>
<head>
<title>Browsing File</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../CSS/TISCO.css" rel="stylesheet" type="text/css">
<script src="../JS/SCREEN.js"></script>
<script language='javascript'>setLang('<%=up.get("lang")%>');</script>
<script language="javascript">getTitleName();</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
function back(unit){
	with(window.opener.document.cscform){
	        locateId.value =unit;
	}
	window.close();
}
function go(page){
	with(document.cscform){
	     __go_page.value = page;
	     submit();
	}
}

//-->
</script>
</head>
<body leftmargin="0" topmargin="0">
<script language="javascript">window.onblur="window.focus();"</script>
<form name="cscform" method="post">


<!----------BEGIN CSC INITIAL ZONE ------------------------>

<!--%=screen.InitialVariable()%>

<!----------END CSC INITIAL ZONE -------------------------->

<input type="hidden" name="__cmd" value="">
<input type="hidden" name="__help" value="">
<input type="hidden" name="__referPage" value="">
<input type="hidden" name="__helpReturn" value="<%=request.getParameter("__helpReturn")%>">
<input type="hidden" name="__go_page" value="<%=request.getParameter("__go_page")%>">
<input type="hidden" name="__limit_page" value="<%=request.getParameter("__limit_page")%>">
<input type="hidden" name="__path" value="<%=request.getParameter("__path")%>">
<input type="hidden" name="__pageCall" value="<%=request.getParameter("__screen")%>">
<input type="hidden" name="__orderBy" value="1">
<div align="center">
  <table width="640"height="20" cellpadding="0" cellspacing="0" align="center">
    <tr bgcolor="#3366CC">
      <td  height="20" class="header"><%=""%>&nbsp;</td>
  </tr>
   <tr bgcolor="#3366CC">
      <td  height="20" class="row1">
	  <table cellpadding="0" cellspacing="0">
          <tr> 
            <td colspan="4"  class="blankspace" ></td>
          </tr>
          <tr> 
            <td colspan="4"><script language="javascript">swapLang('Order By');</script> &nbsp; <%=PRT084.getOrderTag()%></td>
		  </tr>
			<!--td width="92"> <div align="right"><script language="javascript">swapLang('Search By');</script> &nbsp;</div></td>
            <td width="294"><%//=PRT084.getSearchByTag()%></td>
          </tr>
          <tr>
            <td><div align="right"><script language="javascript">swapLang('Condition');</script>  &nbsp;  </div></td>
            <td><%//=PRT084.getTagConSearch()%></td>
            <td> <div align="right"><script language="javascript">swapLang('Key Value');</script> &nbsp;</div></td>
            <td><%//=PRT084.getTagValueSearch()%>
              <a href="javascript:search();"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" border="0" align="middle"></a></td>
          </tr-->
          <tr> 
            <td colspan="4"  class="blankspace" ></td>
          </tr>
          <tr>
            <td colspan="4"><%=PRT084.getPageTag()%></td>
          </tr>
          <tr> 
            <td colspan="4"><TABLE WIDTH="0%" BORDER="0%" CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER" ID="MyTable" NAME="MyTable" COLS="6">
              <TR>
                <TD class="HELPHEAD" WIDTH="263" HEIGHT="0%" ><a href="javascript:sortTable(0,MyTable);"><FONT FACE="MS Sans Serif, DB ThaiText" SIZE="2" ><B>File Name</B></FONT></a></TD>
                <TD class="HELPHEAD" WIDTH="102" HEIGHT="0%" ><a href="javascript:sortTable(1,MyTable);"><FONT FACE="MS Sans Serif, DB ThaiText" SIZE="2" ><B>Size</B></FONT></a></TD>
                <TD class="HELPHEAD" WIDTH="109" HEIGHT="0%" ><a href="javascript:sortTable(2,MyTable);"><FONT FACE="MS Sans Serif, DB ThaiText" SIZE="2" ><B>Date</B></FONT></a></TD>
                <TD class="HELPHEAD" WIDTH="166" HEIGHT="0%" ><a href="javascript:sortTable(3,MyTable);"><FONT FACE="MS Sans Serif, DB ThaiText" SIZE="2" ><B>Type</B></FONT></a></TD>
              </TR>
              <%	
   		String goPage = request.getParameter("__go_page");
   		if(goPage != null){
	   		out.print(PRT084.getBrowseFiletag(goPage));
   		}  			
   %>
            </TABLE>           	
            </td>
          </tr>
        </table>
	  </td>
  </tr>
</table>  
  </div>
</form>
</body>
</html>