%@ page language="java" pageEncoding="UTF-8" %>
<%@ page import="java.io.File" %>
<%@ page import="org.w3c.dom.Node" %>
<%@ page import="kr.comsquare.soonsu.define.AdminMessage" %>
<%@ page import="kr.comsquare.common.library.XmlLib" %>
<%@ page import="kr.comsquare.soonsu.service.context.TrustFormServletContextListener" %>
<% request.setCharacterEncoding("UTF-8"); %>
TrustForm Soonsu
<%
String strLanguage = AdminMessage.LANGUAGE;
String strFontFamily = "Dotum, arial";
if ("jp".equals(strLanguage))
{
strFontFamily = "MS Gothic, arial";
}
else if ("us".equals(strLanguage))
{
strFontFamily = "arial";
}
AdminMessage objAdminMessage = new AdminMessage();
String strLogin = (String)session.getAttribute("login");
String strUserHome = System.getProperty("user.home");
String strAppName = TrustFormServletContextListener.s_strApplicationName.replace("/", "");
strAppName = strAppName.equals("") ? "ROOT" : strAppName;
File objAdminFile = new File(strUserHome+File.separator + "tfconfig"+ File.separator+strAppName+".xml");
if (!objAdminFile.exists() || strLogin == null || !strLogin.equals("Success"))
{
%>
<%
return;
}
Node xnTfConfig = XmlLib.loadXmlDocument(objAdminFile);
Node xnLoginId = XmlLib.selectSingleNode(xnTfConfig, "loginInfo/loginId");
Node xnLoginPw = XmlLib.selectSingleNode(xnTfConfig, "loginInfo/loginPw");
String strGetId = XmlLib.getTextValue(xnLoginId);
String strGetPassword = XmlLib.getTextValue(xnLoginPw);
%>
|
" alt="<%=objAdminMessage.getTip("modal01")%>"/>
" alt="<%=objAdminMessage.getTip("modal02")%>"/>
|
|