OI_VISSION.jsp 4.04 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
<!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>