EMV_AWARDING.jsp 6.57 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
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@ 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.*"  %>
<%@ page import="java.util.*"%>
<%@ include file="../CHECKPROFILE.jsp" %>
<% request.setCharacterEncoding("UTF-8"); %>
<jsp:useBean id="EMV" class="com.csc.library.system.Task" scope="page" />
<jsp:setProperty name="EMV" property="appname" value="empview" />

<%
	EMV.setChannel(request, response);
	response.setDateHeader("Expires", -1);
	response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
	response.addHeader("Cache-Control", "post-check=0, pre-check=0");
	response.setHeader("Pragma", "no-cache");


	HelpEntry screen_award = (HelpEntry)EMV.process("HelpEntry", "MEMPL_MERITHELP");

	if(screen_award==null){
		return;
	}
	String filter=" meritid IN ((SELECT meritid FROM mmerit WHERE goodorbad='0'))";
	screen_award.getInquiry().setFilter(filter);
	screen_award.getInquiry().setOrderBy("SUBSTRING(EFFECTIVEDATE,9,2),EMPLOYEEID");
	screen_award.getInquiry().refresh();
%>

<!DOCTYPE HTML>
<html ng-app="myHR">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	</head>
	<body>
		<jsp:include page="EMV_HEADMENU.jsp" flush="true" />

		<script type="text/javascript">
			setLang('<%=screen_award.getUProfile().get("lang")%>');
			var swap = new swaplang();
			var titlename = swap.swap2String("SW012298");
			setPageTitle(titlename);

			function setSrcimagefile(srcid,urlimg){
				document.getElementById(srcid).src="/hr/FileViewer.jsp?uploadfield=memployee.picture&filename="+urlimg;
			}
		</script>

		<section id="Awarding" class="service-with-media">
			<div class="container">
				<div class="center fadeInDown">
					<h2 swlang code="SW012298">Awarding</h2>
				</div>

					<div class="row">
						<%	int k=0;
							while (screen_award.nextRec()){
								screen_award.referLangOn();
								k++;
								%>
								<div class="col-sm-6 col-md-4">
									<div class="media services-wrap wow fadeInDown">
										<div class="img-resize">
											<div class="pull-left">
												<img class="img-responsive" id="emp<%=screen_award.getString("memployee","employeeid")%>">
											</div>
										</div>
										<div class="media-body">
											<h3 class="media-heading"><%=screen_award.getString("mmerit","tdesc")%> Award</h3>
											<p class="detail"><span swlang code='SW000195'>Name</span> : <%=screen_award.getString("memployee","fullname_nopre")%></p>
											<p class="detail"><%=screen_award.getLabel("memployee","positionname") %> : <%=screen_award.getString("memployee","positionname") %></p>
											<p class="detail"><span swlang code='SW002031'>Department</span> : <%=screen_award.getString("memployee","bu2name") %></p>
											<p class="detail"><span swlang code='SW001033'>Date</span> : <%=screen_award.getString("effectivedate") %> </p>
										</div>
									</div>
								</div>
								<script type="text/javascript">
									setTimeout(function(){
										setSrcimagefile('emp<%=screen_award.getString("memployee","employeeid")%>','<%=screen_award.getString("memployee","picture")%>');
									},<%=k*250%>)
								</script>
						<%
							}
						%>
						<!--<div class="col-sm-6 col-md-4">
							<div class="media services-wrap wow fadeInDown">
								<div class="img-resize">
									<div class="pull-left">
										<img class="img-responsive" src="<%=request.getContextPath()%>/IMAGES/EMPVIEW_INDEX/profile/CC9O8IKB5E.JPG">
									</div>
								</div>
								<div class="media-body">
									<h3 class="media-heading">ABC Awards</h3>
									<p class="detail">Name : Ms.Suwanna Kerdyoo</p>
									<p class="detail">Position : Project Manager</p>
									<p class="detail">Department : STD</p>
									<p class="detail">Date : 10-08-2015 </p>
								</div>
							</div>
						</div>

						<div class="col-sm-6 col-md-4">
							<div class="media services-wrap wow fadeInDown">
								<div class="img-resize">
									<div class="pull-left">
										<img class="img-responsive" src="<%=request.getContextPath()%>/IMAGES/EMPVIEW_INDEX/profile/O454F3074.jpg">
									</div>
								</div>
								<div class="media-body">
									<h3 class="media-heading">Master Chef Awards</h3>
									<p class="detail">Name : Ms.Saralee Kerdyoo</p>
									<p class="detail">Position: Restaurant Manager</p>
									<p class="detail">Department : Main Course</p>
									<p class="detail">Date : 07-08-2015</p>
								</div>
							</div>
						</div>

						<div class="col-sm-6 col-md-4">
							<div class="media services-wrap wow fadeInDown">
								<div class="img-resize">
									<div class="pull-left">
										<img class="img-responsive" src="images/services/services3.png">
									</div>
								</div>
							<div class="media-body">
								<h3 class="media-heading">SEO Marketing</h3>
								<p>Lorem ipsum dolor sit ame consectetur adipisicing elit</p>
							</div>
						</div>
					</div>

					<div class="col-sm-6 col-md-4">
						<div class="media services-wrap wow fadeInDown">
							<div class="img-resize">
								<div class="pull-left">
									<img class="img-responsive" src="images/services/services4.png">
								</div>
							</div>
							<div class="media-body">
								<h3 class="media-heading">SEO Marketing</h3>
								<p>Lorem ipsum dolor sit ame consectetur adipisicing elit</p>
							</div>
						</div>
					</div>

					<div class="col-sm-6 col-md-4">
						<div class="media services-wrap wow fadeInDown">
							<div class="img-resize">
								<div class="pull-left">
									<img class="img-responsive" src="images/services/services5.png">
								</div>
							</div>
							<div class="media-body">
								<h3 class="media-heading">SEO Marketing</h3>
								<p>Lorem ipsum dolor sit ame consectetur adipisicing elit</p>
							</div>
						</div>
					</div>

					<div class="col-sm-6 col-md-4">
						<div class="media services-wrap wow fadeInDown">
							<div class="img-resize">
								<div class="pull-left">
									<img class="img-responsive" src="images/services/services6.png">
								</div>
							</div>
							<div class="media-body">
								<h3 class="media-heading">SEO Marketing</h3>
								<p>Lorem ipsum dolor sit ame consectetur adipisicing elit</p>
							</div>
						</div>
					</div>-->
				</div><!--/.row-->
			</div>
			<a href="#top" id="top-button">
				<i class="fa fa-angle-up"></i>
				<div class="top-word">Back to top</div>
			</a>
		</section>
		<jsp:include page="FOOTER.jsp" flush="true" />
	</body>
</html>