<!DOCTYPE html>
<%@ 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.*"  %>
<% request.setCharacterEncoding("UTF-8"); %>
<%@ include file="../CHECKPROFILE.jsp" %>
<jsp:useBean id="EMV" class="com.csc.library.system.Task" scope="page" />
<jsp:setProperty name="EMV" property="appname" value="empview" />
<jsp:useBean id="EMV2" class="com.csc.library.system.Task" scope="page" />
<jsp:setProperty name="EMV2" property="appname" value="empview" />
<%
	EMV.setChannel(request, response);
	HelpEntry screen = (HelpEntry)EMV.process("HelpEntry", "OI-VISSIONHELP");
	if(screen==null){
		return;
	}

	screen.inq.setFilter(" years = '"+new CscCalendar().getYear()+"'");
	screen.inq.setOrderBy("years, edit_date desc");

	if(screen.inq.recCount()==0){
		screen.inq.setFilter("1=1");
	}

	screen.getInquiry().refresh();
	screen.nextRec();
	screen.referLangOn();

	EMV2.setChannel(request, response);
	HelpEntry screen2 = (HelpEntry)EMV2.process("HelpEntry", "MMISSIONHELP");

	if(screen2==null){
		return;
	}

	screen2.inq.setFilter(" years = '"+new CscCalendar().getYear()+"' ");

	if(screen2.inq.recCount()==0){
		screen2.inq.setFilter("1=1");
	}

	screen2.getInquiry().refresh();
	screen2.nextRec();
	screen2.referLangOn();
%>
<html ng-app="myHR" xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<style>
			.widthmax{
				width:100%;
			}
		</style>
	</head>
	<body>
		<div class="bg-com"></div>
		<jsp:include page="EMV_HEADMENU.jsp" flush="true" />

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

			<section>
				<div class="container csc-content">
					<form class="form-horizontal" name="cscform">
						<!-- BEGIN CSC INITIAL ZONE -->
						<%=screen.InitialVariable()%>
						<!-- END CSC INITIAL ZONE -->
						<input type="hidden" name="__cmd" value=""/>
						<input type="hidden" name="__screen" value="OI_VISSION"/>
						<input type="hidden" name="__language" value ="<%=screen.getUProfile().get("lang")%>"/>

						<div class="csc-block">
							<div class="row">
								<h2 swlang code="SW001800" class="center csc-block-head">Vision</h2>
							</div>

							<div class="row">
								<div class="form-group">
									<div class="col-md-12 col-sm-12 col-xs-12">
										<label class="control-label widthmax">
											<%
												String myVision=screen.getString("tdesc");
												myVision=myVision.replaceAll("&lt;","<");
												myVision=myVision.replaceAll("&gt;",">");
												myVision=myVision.replaceAll("&quot;","\"");
												myVision=myVision.replaceAll("src=","src=");
												out.println(myVision);
											%>
										</label>
									</div>
								</div>
							</div>
						</div><!-- end csc-block -->

						<div class="csc-block">
							<div class="row">
								<h2 swlang code="SW001694" class="center csc-block-head">Mission</h2>
							</div>

							<div class="row">
								<div class="form-group">
									<div class="col-md-1 col-sm-1 col-xs-1">
									</div>

									<div class="col-sm-10 col-sm-10 col-xs-10">
										<label class="control-label">
										<%
											String myMision=screen2.getString("tdesc");
											myMision=myMision.replaceAll("&lt;","<");
											myMision=myMision.replaceAll("&gt;",">");
											myMision=myMision.replaceAll("&quot;","\"");
											myMision=myMision.replaceAll("src=","src=");
											out.println(myMision);
										%>
										</label>
									</div>

								</div>
							</div>
						</div><!-- end csc-block-->

					</form>
				</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>