<%@page contentType="text/html; charset=UTF-8"%> <%@page import="com.csc.library.entry.HelpEntry,com.csc.library.system.*,com.csc.library.utilities.*"%> <%@ page import="com.csc.library.entry.*,com.csc.library.database.*,com.csc.library.session.*,com.csc.library.report.ReportUDF" %> <jsp:useBean id="WEL043" class="com.csc.library.system.Task" scope="page"/> <% WEL043.setChannel(request ,response); ProcessEntry screen=(ProcessEntry)WEL043.process("ProcessEntry","Process"); screen.process(); ReportUDF rp=new ReportUDF(); %> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="../CSS/TISCO.css" rel="stylesheet" type="text/css"> <script type='text/javascript' src='../JS/SCREEN.js'></script> <script language="javascript" src='../JS/DATEINPUT.js'></script> <script language="javascript" src='../JS/VIEWCALENDAR.js'></script> <script language="javascript">setLang('<%=screen.getUProfile().get("lang")%>');</script> <script language="JavaScript" type="text/JavaScript"> <!-- function process(pValue) { with(document.cscform){ if (pValue=='ExcelExportFile') { __prclass.value="ExcelExportFile"; } bCon=confirm("Export Excel"); if (bCon==true) { __cmd .value = "save"; submit(); } } } function Clearlist(){ with(document.cscform){ for(var i=0;i<elements.length;i++){ //alert("type : "+elements[i].type+" name : "+elements[i].name); if(elements[i].type=="select-multiple"){ for(var n=elements[i].length-1;n>=0;n--){ if(elements[i].options[n] != null){ elements[i].options[n] = null; } }//for } //if }//for reset(); }//with }//func //--> </script> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" > <form name="cscform" method="post" action="EXPEXCEL.jsp"> <!----------BEGIN CSC INITIAL ZONE ------------------------> <%=screen.InitialVariable()%> <!----------END CSC INITIAL ZONE --------------------------> <input type="hidden" name="__screen" value="WEL043"> <input type="hidden" name="__fixCon" value=""> <input type="hidden" name="__cmd" value=""> <input type="hidden" name="__help" value=""> <input type="hidden" name="__user" value="<%=screen.getUProfile().getUserId()%>"> <input type="hidden" name="__companyid" value='<%=screen.getUProfile().get("companyid")%>'> <input type="hidden" name="__tname" value="นำข้อมูลออกเป็นรูปแบบ excel"> <input type="hidden" name="__ename" value="Export Excel"> <input type="hidden" name="__ptype" value=""> <input type="hidden" name="__prclass" value="ExcelExportFile"> <input type="hidden" name="__calendar" value=""> <input type="hidden" name="__condition$__xlsname" value="<%=request.getParameter("__xlsname")%>"> <script language="javascript">getInputFormatDate();</script> <input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>"> <div id="toolTipLayer" style="position:absolute; visibility: hidden"></div> <br> <div align="center"> <table cellpadding="0" cellspacing="0" class="largest"> <tr > <td width="570" class="header"> EXPEXCEL, <script language="javascript">swapLang("Export Excel");</script> </td> </tr> <tr> <td class="blankspace" ></td> </tr> <tr > <td colspan="3"> <table width="100%" border="0" class="inframe"><tr> <td width="100%" class="blankspace"></td> </tr> <tr> <td class="blankspace" > <div align="center"> <a href="javascript:process('ExcelExportFile');"><img src="../IMAGES/BUTTON/EXPORT.gif" width="73" height="23" border="0"></a> <a href="javascript:window.close();"><img src="../IMAGES/BUTTON/CLOSE.gif" border="0"></a> </div> </td> </tr> <tr> <td class="blankspace" ></td> </tr> </table> </td> </tr> <tr> <td class="bottom"></td> </tr> </table> </div> </form> </body> </html>