APP_EMV706_VMS.jsp 3.4 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
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@page import="com.csc.library.entry.UIManager, com.csc.library.utilities.CheckNull"%>
<% request.setCharacterEncoding("UTF-8"); %>
<jsp:useBean id="screen" class="com.csc.library.system.Task" scope="page"/>
<%@ include file="../CHECKPROFILE.jsp" %>
<%
	CheckNull chk = new CheckNull();
	screen.setChannel(request,response);
	screen.checkProfile();
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" ng-app="myHR">
	<head>
		<title>Employee View</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

		<link rel="stylesheet" href="<%=request.getContextPath()%>/CSS/font-awesome.css">
		<link rel="stylesheet" type="text/css" href="../CSS/Bootstrap/css/bootstrap.css" />
		<link rel="stylesheet" type="text/css" href="../CSS/EMPVIEW_LAYOUT.min.css" />
		
		<script type="text/javascript" src="../JS/jquery-2.1.3.min.js"></script>
		<script type="text/javascript"src="../JS/EVENTS.js"></script>
		<script type="text/javascript" src="../JS/UTILITIES.js"></script>
		<script type="text/javascript"src="../JS/SCREEN.js"></script>
		<script type="text/javascript" src="../JS/EMPVIEW_FUNC.js"></script>
		<script type="text/javascript" src="../JS/angular-1.3.15/angular.js"></script>
		<script type="text/javascript" src="../JS/ANGULAR/SCREEN_ANGULAR.js"></script>
		
		<script>
			setLang("<%=screen.getUProfile().get("lang")%>");
			var swap = new swaplang();
            var titlename = swap.swap2String("SW000064");
			setPageTitle(titlename);

			function backPage(){
				with(document.cscform){
					close();
				}
			}
			function replaceText(){
				var tmp = window.opener.document.getElementById(document.cscform.__id.value+"$assuggest").value;
				while(tmp.indexOf("\x0D")>0 || tmp.indexOf(" ")>0){
					tmp = tmp.replace("\x0D","<br>");
					tmp = tmp.replace(" ","&nbsp;");
				}
				document.write(tmp);
			}
			function getText(){
				document.write(window.opener.document.getElementById(document.cscform.__id.value+"$no").value);
			}
		</script>

	</head>
	<body>
		<div class="bg-com"></div>
		<section>
			<div class="container csc-content">
				<div class="csc-block-white">
				<form name="cscform" method="post"  action="APP_EMV706_VMS.jsp">
				<input type="hidden"name="__screen"  value="APP_EMV706_VMS">
				<input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>">
				<input type="hidden" name="__user" value="<%=screen.getUProfile().getUserId()%>">
				<input type="hidden" name="__companyid" value="<%=screen.getUProfile().get("companyid")%>">
				<input type="hidden" name="__id" value="<%=chk.chkNullString(request.getParameter("__id"))%>">
						<div class="center">
							<h3 swlang code='SW000064'>Consider</h3>
						</div>
					<div class="container csc-content">
					<table class="table table-head table-bordered table-left" cols="2">	
						<tr>
							<th width="37%"><center swlang code='SW012316'>Competency</center></th>
							<th width="63%"><center swlang code='SW000064'>Consider</center></th>
						</tr>
						<tr>
							<td valign="middle"><center><script>getText();</script></center></td>
							<td class="column-text"><script>replaceText();</script></td>
						</tr>
					</table>
					</div>
						<div class="center">
							<a class="btn btn-primary" href="javascript:close();" swlang code='SW012104'>Close</a>
						</div>
				
				</form>
				</div>
			</div>
		</section>
	</body>
</html>