SHOWSHIFTLIST_ADMIN.jsp 23 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="com.csc.library.entry.*,com.csc.library.utilities.*"%>
<%@page import="com.csc.library.session.*"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.Random" %>
<%@page import="java.text.DecimalFormat" %>
<%@page import="com.csc.library.dwr.ManageOTIDS_dwr"%>
<%@page import="com.csc.library.database.StaticConfig" %>
<%@page import="com.csc.library.database.*"%>
<%response.setHeader("X-XSS-Protection","0");%>
<jsp:useBean id="CREATEGROUPHELP" class="com.csc.library.system.Task" scope="page"/>


<%
	String helpReturn="";
	if( request.getParameter("__helpReturn") != null ){
		helpReturn=request.getParameter("__helpReturn");
	}

	CheckNull chkNull = new CheckNull();
	//String weekid = chkNull.chkNullString(request.getParameter("__weekid"));
	//String curotreq = chkNull.chkNullString(request.getParameter("__curotreq"));
	String step_id = chkNull.chkNullString(request.getParameter("__step_id"));

	CREATEGROUPHELP.setChannel(request, response);
	HelpEntry screen = (HelpEntry) CREATEGROUPHELP.process("HelpEntry","MTIME2_TEMP_IMPORTHELP");
	screen.setMaxLine(2000);
	screen.process();

	screen.referLangOff();

	/* get ot limit per week */
	HashMap hm = (HashMap)StaticConfig.globalData.get(screen.getUProfile().getDbName());
	String otperweek  = (String) hm.get("TAOTMAX");
	String isvalid = "0";	/* status for allow submit form */
	String isview = "0";

	String boss = request.getParameter("__boss");
	//out.print("<br>boss : "+boss);

//	String Subordinate = getSubordinate(boss,screen.getUProfile());
	String listEmp = getEmployeeid(boss,screen.getUProfile());
	//out.print("<br>Subordinate : "+Subordinate);

%>

<%!
		public String getSubordinate(String bossid,UProfile screenSingle){
			String data=",";
			try{
				String sql=" select * from MSUPERVISOR where SUPERVISOR like '%"+bossid+"%' ";
				String dbName = screenSingle.getDbName();
				String tableName = "mbranch";
				DataSet ds = new DataSet(sql,dbName,tableName);
				ds.setFetchAll(false);
				ds.initConnection(screenSingle);
				while(ds.next()){
					data += ds.getString("employeeid")+",";
				}	
			}catch(Exception e){
				return ",";
			}
			return data;
		}

		public String getEmployeeid(String empid,UProfile screenSingle){
			String data=",";
			try{
				String sql=" select * from memployee where status in ('A','S','T','V') ";
				String dbName = screenSingle.getDbName();
				String tableName = "memployee";
				DataSet ds = new DataSet(sql,dbName,tableName);
				ds.setFetchAll(false);
				ds.initConnection(screenSingle);
				while(ds.next()){
					data += ds.getString("employeeid")+",";
				}
			}catch(Exception e){
				return ",";
			}
			return data;
		}
%>

<HTML>
	<HEAD>
		<TITLE>myNOTE : Business Process Management Service</TITLE>
		<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
		<LINK HREF="../CSS/MYNOTE.css" REL="stylesheet" TYPE="text/css">
		<SCRIPT TYPE='text/JavaScript' SRC='../JS/MYNOTE_SCREEN.js'></SCRIPT>
		<SCRIPT TYPE='text/JavaScript' SRC='../JS/SCREEN.js'></SCRIPT>
        <script type='text/javascript' src='/hr/dwr/interface/SearchDWR.js'></script>
        <script type='text/javascript' src='/hr/dwr/engine.js'></script>
        <script type='text/javascript' src='/hr/dwr/util.js'></script>
        <script type='text/javascript' src='/hr/dwr/interface/Createemployeelist_dwr.js'></script>
		<SCRIPT LANGUAGE="JavaScript">setLang('<%=screen.getUProfile().get("lang")%>');</SCRIPT>
		<SCRIPT LANGUAGE="JavaScript" TYPE="text/JavaScript"></SCRIPT>

		<STYLE TYPE="text/css">
		<!--
			.style1 {
				color: #FFFFFF;
				font-weight: bold;
			}
		-->
		</STYLE>

		<style type="text/css">

#hintbox{ /*CSS for pop up hint box */
position:absolute;
top: 0;
background-color: lightyellow;
width: 150px; /*Default width of hint.*/ 
padding: 3px;
border:1px solid black;
font:normal 11px Verdana;
line-height:18px;
z-index:100;
border-right: 3px solid black;
border-bottom: 3px solid black;
visibility: hidden;
}

.hintanchor{ /*CSS for link that shows hint onmouseover*/
font-weight: bold;
color: navy;
margin: 3px 8px;
}

</style>

<script type="text/javascript">

	
var horizontal_offset="9px" //horizontal offset of hint box from anchor link

/////No further editting needed

var vertical_offset="0" //horizontal offset of hint box from anchor link. No need to change.
var ie=document.all
var ns6=document.getElementById&&!document.all

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=(whichedge=="rightedge")? parseInt(horizontal_offset)*-1 : parseInt(vertical_offset)*-1
if (whichedge=="rightedge"){
var windowedge=ie && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-30 : window.pageXOffset+window.innerWidth-40
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth+parseInt(horizontal_offset)
}
else{
var windowedge=ie && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
}
return edgeoffset
}

function showhint(menucontents, obj, e, tipwidth){
if ((ie||ns6) && document.getElementById("hintbox")){
dropmenuobj=document.getElementById("hintbox")
dropmenuobj.innerHTML=menucontents
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (tipwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=tipwidth
}
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
dropmenuobj.style.visibility="visible"
obj.onmouseout=hidetip
}
}

function hidetip(e){
dropmenuobj.style.visibility="hidden"
dropmenuobj.style.left="-500px"
}

function createhintbox(){
var divblock=document.createElement("div")
divblock.setAttribute("id", "hintbox")
document.body.appendChild(divblock)
}

if (window.addEventListener)
window.addEventListener("load", createhintbox, false)
else if (window.attachEvent)
window.attachEvent("onload", createhintbox)
else if (document.getElementById)
window.onload=createhintbox

</script>
	</HEAD>
	<BODY>
		<FORM NAME="cscform" METHOD="post" ACTION="CREATEGROUPHELP.jsp">		
			<INPUT TYPE="hidden" NAME="__screen" VALUE="CREATEGROUPHELP">
			<INPUT TYPE="hidden" NAME="__cmd" VALUE="">
			<INPUT TYPE="hidden" NAME="__help" VALUE="">
			<INPUT TYPE="hidden" NAME="__goPage" VALUE="">
			<INPUT TYPE="hidden" NAME="__orderBy" VALUE="<%=request.getParameter("__orderBy")%>">
			<INPUT TYPE="hidden" NAME="__helpReturn" VALUE="<%=helpReturn%>">
			<INPUT TYPE="hidden" NAME="__helpName" VALUE="<%=request.getParameter("__helpName")%>">
			<INPUT TYPE="hidden" NAME="__pageCall" VALUE="<%=request.getParameter("__pageCall")%>">
			<INPUT TYPE="hidden" NAME="__fixCon" VALUE="<%=request.getParameter("__fixCon")%>">
            <INPUT TYPE="hidden" NAME="__GROUPNAME" VALUE="<%=request.getParameter("__GROUPNAME")%>">
            <INPUT TYPE="hidden" NAME="__weekid" VALUE="<%//=weekid%>">
			<input type="hidden" id="__isRed" name="__isRed" value="0">
			
			<TABLE WIDTH="100%" BORDER="0" ALIGN="center" CELLPADDING="0" CELLSPACING="0">
  				<TR>
    				<TD WIDTH="5" HEIGHT="5"><IMG SRC="../IMAGES/MYNOTE/C-T-L.gif" WIDTH="5" HEIGHT="5"></TD>
    				<TD HEIGHT="5"><IMG SRC="../IMAGES/MYNOTE/T.gif" WIDTH="100%" HEIGHT="5"></TD>
    				<TD WIDTH="5" HEIGHT="5"><IMG SRC="../IMAGES/MYNOTE/C-T-R.gif" WIDTH="5" HEIGHT="5"></TD>
  				</TR>
  				<TR>
    				<TD WIDTH="5" BACKGROUND="../IMAGES/MYNOTE/L2.gif"><FONT COLOR="#FFFFFF"></FONT></TD>
    				<TD VALIGN="middle" align="center"><FONT FACE="MS Sans Serif" SIZE="1" COLOR="#FFFFFF">
      					<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="1" CLASS="txt01">
       					  <TR BGCOLOR="#FFFFFF"> </TR>
      					</TABLE>
      					<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="1" CLASS="txt01">
        					<TR BGCOLOR="#FFFFFF"> </TR>
      					</TABLE>
      					<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="1" CLASS="txt01" align="center">
        					<TR BGCOLOR="#FFFFFF">
          						<TD HEIGHT="15" COLSPAN="2" BGCOLOR="#0099CC">
								<SPAN CLASS="style1">&nbsp;<%=screen.getInquiry().getCurrentDbRecord().getDescription()%>&nbsp;<%=request.getParameter("__GROUPNAME")%></SPAN></TD>
        					</TR>
      					</TABLE>
      					<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="1" CLASS="txt01">
      					</TABLE>
      					<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="1" CLASS="txt01" align="center">
                        <tr bgcolor="#eff7fa">
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1" align="center">&nbsp;<SCRIPT LANGUAGE="JavaScript">swapLang('No.')</SCRIPT>&nbsp;</SPAN></div></td>
							<td  width="5%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;สถานะ&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;เดือน&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;ปี&nbsp;</SPAN></div></td>
							<td  width="5%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;รหัสพนักงาน&nbsp;</SPAN></div></td>
							<td  width="5%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;ชื่อ - นามสกุล&nbsp;</SPAN></div></td>
							<td  width="5%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;ตารางเวร&nbsp;</SPAN></div></td>
							<td  width="5%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;Shift&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;1&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;2&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;3&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;4&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;5&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;6&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;7&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;8&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;9&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;10&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;11&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;12&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;13&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;14&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;15&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;16&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;17&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;18&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;19&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;20&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;21&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;22&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;23&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;24&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;25&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;26&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;27&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;28&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;29&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;30&nbsp;</SPAN></div></td>
							<td  width="2%" BGCOLOR="#0099CC" nowrap><div align="center"><SPAN CLASS="style1">&nbsp;31&nbsp;</SPAN></div></td>
                        </tr>
                       <%
								//String empid = "";
								//String rawdata = "";

					   			int num = 1;
								//String otreq = "";
								//DecimalFormat dc = new DecimalFormat("#0.00");

								ManageOTIDS_dwr mngot = new ManageOTIDS_dwr();
								//if(step_id.equals("0")){
									//mngot.addExtraReqOT(curotreq);
								//}
								mngot.setUProfile(screen.getUProfile());
						//		int isFound = -1;
								int isFoundEmp = -1;
								if(screen.getInquiry().recCount() > 0){
									while(screen.nextRec())	{
						//				isFound = Subordinate.indexOf(screen.getString("time0id"));
										isFoundEmp = listEmp.indexOf(screen.getString("employeeid"));
										//empid = screen.getString("employeeid");
										//otreq = mngot.getReqOTTotal(empid, weekid);
										//rawdata = mngot.getHint();

										/* if over limit set valid status to 1 (can't submit form) */
										/*if(Float.parseFloat(otreq) > Float.parseFloat(otperweek)) { 
											isvalid = "1";
										}*/
										String color = "";

										if(!screen.getString("status").equals("1") && !screen.getString("status").equals("5") && !screen.getString("status").equals("6")){
											color = "red";
											%>
											<script type="text/javascript">document.cscform.__isRed.value = "1";</script>
											<%
										}
										String status = screen.getInquiry().getCurrentDbRecord().getSystemCode("status");
										if(screen.getString("status").equals("5") || screen.getString("status").equals("6")){
											status = "ผ่าน";
										}
										if(screen.getString("status").equals("8")){
											status = "ไม่สามารถแก้ไขเวลาของเดือนก่อนหน้าได้";
										}
						//				if(isFound==-1){
						//					status = "ไม่อยู่ในสายบังคับบัญชา";
						//				}
										if(isFoundEmp==-1){
											status = "ไม่มีรหัสพนักงานในระบบ";
										}
							%>
										<tr bgcolor="">
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=num++%><%//=screen.getString("status")%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=status%><%//=screen.getString("status")%></font></div></td> 
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=screen.getString("monthid")%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=screen.getString("yearid")%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=screen.getString("employeeid")%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=screen.getString("MEMPLOYEE","FULLNAME")%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=screen.getString("time0id")%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=screen.getString("groupid")%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time01"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time02"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time03"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time04"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time05"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time06"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time07"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time08"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time09"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time10"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time11"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time12"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time13"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time14"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time15"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time16"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time17"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time18"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time19"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time20"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time21"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time22"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time23"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time24"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time25"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time26"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time27"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time28"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time29"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time30"+screen.getString("groupid")))%></font></div></td>
											<td class="row-data" nowrap><div align="center"><font color="<%=color%>"><%=(screen.getString("time31"+screen.getString("groupid")))%></font></div></td>
										</tr> 
							<%		
									 }
								isview= "1";
								}else{
							%>
							<tr bgcolor="#eff7fa">
								<td class="txt01" colspan="39" ><div align=""><SCRIPT LANGUAGE="JavaScript">swapLang('Not Found Data')</SCRIPT></div></td>
							</tr>

							<%
								}
							%>
                        </TABLE>
    				</FONT></TD>
    				<TD WIDTH="5" BACKGROUND="../IMAGES/MYNOTE/R2.gif"><FONT COLOR="#FFFFFF"></FONT></TD>
  				</TR>
  				<TR>
    				<TD WIDTH="5" HEIGHT="5"><IMG SRC="../IMAGES/MYNOTE/C-B-L.gif" WIDTH="5" HEIGHT="5"></TD>
    				<TD HEIGHT="5"><IMG SRC="../IMAGES/MYNOTE/B.gif" WIDTH="100%" HEIGHT="5"></TD>
    				<TD WIDTH="5" HEIGHT="5"><IMG SRC="../IMAGES/MYNOTE/C-B-R.gif" WIDTH="5" HEIGHT="5"></TD>
  				</TR>
			</TABLE>
			<!-- <input type="hidden" id="__wf__valid" name="__wf__valid" value="<%//=isvalid%>"> -->
			<input type="hidden" id="__wf__view" name="__wf__view" value="<%=isview%>">
		</FORM>
	</BODY>
</HTML>