<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <%@page contentType="text/html; charset=UTF-8"%> <%@ page import="com.csc.library.entry.*" %> <%@ page import="com.csc.library.utilities.*,com.csc.library.session.*,com.csc.library.database.SystemCode" %> <jsp:useBean id="ASP802" scope="page" class="com.csc.library.system.Task" /> <html> <% ASP802.setChannel(request ,response); ProcessEntry screen=(ProcessEntry)ASP802.process("ProcessEntry","GenAssessorData"); screen.process(); CheckNull chkNull = new CheckNull(); %> <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"> <link href="../CSS/bootstrap.css" rel="stylesheet" type="text/css"> <link href="../CSS/bootstrap_csc_backend.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="../JS/jquery-2.1.3.min.js"></script> <script type='text/javascript' src="../JS/bootstrap.js"></script> <script language="javascript" src='../JS/VIEWCALENDAR.js'></script> <script type='text/javascript' src='../JS/SCREEN.js'></script> <script language='javascript'>setLang('<%=screen.getUProfile().get("lang")%>');</script> <script type='text/javascript' src='../JS/ICONSMENU.js'></script> <script language="JavaScript" type="text/JavaScript"> function process(){ confirmProcess(); } function chkEmp(){ with(document.cscform){ if(__condition$star_empid.value==""){ __condition$star_empid.value = __condition$to_empid.value; }else if(__condition$to_empid.value==""){ __condition$to_empid.value=__condition$star_empid.value; } var tmp_start="",tmp_tmp_to=""; if(__condition$to_empid.value>__condition$star_empid.value){ tmp_start = __condition$star_empid.value; __condition$star_empid.value = __condition$to_empid.value; __condition$to_empid.value = tmp_start; } } } function goHelp(inputName){ with( document.cscform ){ var helpReturn; var helpName="MEMPLOYEEHELP"; var temp; if( inputName=="star_empid" ){ helpReturn="__condition$star_empid:employeeid"; var fixcondition=""; if(__condition$star_empid.value!=""){ fixcondition="employeeid='"+__condition$star_empid.value+"'"; } linkHelp_Return(helpName,helpReturn,fixcondition); }else if( inputName=="to_empid" ){ helpReturn="__condition$to_empid:employeeid"; var fixcondition=""; if(__condition$to_empid.value!=""){ fixcondition="employeeid='"+__condition$to_empid.value+"'"; } linkHelp_Return(helpName,helpReturn,fixcondition); } } } function confirmProcess(){ with(document.cscform){ if(__condition$star_empid.value == ""){ alert(MyCode[0]); __condition$star_empid.select(); }else if(__condition$star_empid.value == ""){ alert(MyCode[0]); __condition$star_empid.select(); }else if(__condition$to_empid.value == ""){ alert(MyCode[0]); __condition$to_empid.select(); }else{ aCon=confirm(MyCode[168]); if (aCon==true) { __cmd .value = "save"; submit(); } } } } </script> </head> <body leftmargin="0" topmargin="0"> <div class="centered"> <form name="cscform" method="post" action="#"> <!----------BEGIN CSC INITIAL ZONE ------------------------> <%=screen.InitialVariable()%> <!----------END CSC INITIAL ZONE --------------------------> <div align="center"> <input type="hidden" name="__calendar" value=""> <input type="hidden" name="__screen" value="ASP802"> <input type="hidden" name="__fixCon" value="companyid='<%=screen.getUProfile().get("companyid")%>'"> <input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>"> <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="__name" value="Gen AssessorData By Emp"> <input type="hidden" name="__ptype" value=""> <input type="hidden" name="__prclass" value="GenAssessorDataByEmp"> <input type="hidden" name="__condition$astid" value=""> <SCRIPT LANGUAGE="JavaScript">getInputFormatDate();</SCRIPT> <table border="0" cellpadding="0" cellspacing="0" class="inner"> <tr > <td class="header"> ASP802 , <script language="javascript">swapLang('Define Assessor Process By Employeeid');</script> </td> </tr> <tr> <td class="blankspace" > </td> </tr> <tr> <td> <table> <tr> <td align="right" width="30%"><script language="javascript">swapLang('Employeeid');</script> </td> <td align="left" width="70%"><input type="text" name="__condition$star_empid" id="__condition$star_empid " size="10" value="<%=chkNull.chkNullString(request.getParameter("__condition$star_empid"))%>"> <a href="javascript:goHelp('star_empid');" onmouseout="MM_swapImgRestore()" onblur="setValueid();" onmouseover="MM_swapImage('__employeeid$1_image','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="SEARCH" name="__MEMPL_COLUMNLIST$COLUMNID$1_image" width="20" height="20" border="0" align="absmiddle"></a> <script language="javascript">swapLang('To ');</script> <input type="text" name="__condition$to_empid" id="__condition$to_empid" size="10" value="<%=chkNull.chkNullString(request.getParameter("__condition$to_empid"))%>"> <a href="javascript:goHelp('to_empid');" onmouseout="MM_swapImgRestore()" onblur="setValueid();" onmouseover="MM_swapImage('__employeeid$2_image','','../IMAGES/BUTTON/SWAP/SEARCH_SWAP20.gif',1)"><img src="../IMAGES/BUTTON/MAIN/SEARCH20.gif" alt="SEARCH" name="__MEMPL_COLUMNLIST$COLUMNID$1_image" width="20" height="20" border="0" align="absmiddle"></a></td> </tr> <tr> <td align="right" width="30%"><script language="javascript">swapLang('Apprisal atDate');</script> </td> <td align="left" width="70%"> <input name="__condition$startdate" type="text" size="10" onkeypress="chkIntegerOfDate(this.value,event);" onkeyup="sysIsEdit();formatDate(this);" onblur="chkInputDate2(this,__condition$startdate);" onfocus="this.select();" value="<%=chkNull.chkNullString(request.getParameter("__condition$startdate"))%>"> <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','../IMAGES/BUTTON/SWAP/CALENDAR_SWAP20.gif',1)"> <img src="../IMAGES/BUTTON/MAIN/CALENDAR20.gif" alt="calendar" name="Image1" border="0" align="absmiddle" id="Image1" onClick="viewCal('__condition$startdate')"></a></td> </tr> </table> </td> </tr> <tr> <td class="blankspace"> </td> </tr> <tr> <td class="buttonline" colspan="7"><div align="center"> <button type="button" class="btn btn-primary width100" swlang code="SW000872" onClick="process();">PROCESS</button> </div> </td> </tr> <tr> <td class="blankspace"> </td> </tr> <tr> <td class="bottom"></td> </tr> </table> <!----------BEGIN CSC ENDING ZONE ------------------------> <%=screen.endJSP()%> <!----------END CSC ENDING ZONE --------------------------> </form> </body> </html>