You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

97 lines
3.2 KiB

<%@page import="kr.co.kihyun.beans.totsys.menu.DefaultMenu"%>
<%
/************************************************************@@
* Program Name : title.jsp
* Description : 로케이션
* Author : 기현테크
* Create Date : 2010-11-21
* History :
@@************************************************************/
%>
<%@ page contentType="text/html; charset=euc-kr"
import="java.net.URLDecoder" import="kr.co.kihyun.lang.MString"%>
<%// trail메뉴를 보여주는 페이지.
// title매개변수를 이용해 trail메뉴 대신 다른 내용을 보여줄 수 있으며,
// desc매개변수로 추가 메시지를 덧붙일 수 있다.%>
<%//@ taglib prefix="trail" uri="http://www.kihyun.co.kr/taglibs/trail" %>
<%@ taglib prefix="trail" uri="/WEB-INF/tlds/TrailTagLib.tld"%>
<%
String title = URLDecoder.decode(MString.checkNull(request.getParameter("title")), "UTF-8");
String desc = URLDecoder.decode(MString.checkNull(request.getParameter("desc")), "UTF-8");
String flag = request.getParameter("flag");
if(flag==null) {
flag="00";
}
DefaultMenu menu = new DefaultMenu(request);
String docName=menu.getDocName();
if(docName==null) {
docName="";
}
menu=null;
try {
%>
<style type="text/css">
<!--
.trail {
font-family: "굴림";
font-size: 15px;
font-style: normal;
line-height: normal;
text-decoration: none;
}
.trail a:link {color: #004080;}
.trail a:visited {color: #3366CC;}
.trail a:active {color: #535353;}
.trail a:hover {color: #FF6600;}
//-->
</style>
<tr>
<td style="padding-bottom: 0">
<table width="100%" height="44" border="0" cellpadding="0" cellspacing="0">
<% if(flag.equals("99")) { %>
<tr>
<td width="10" style="padding-top: 0px">
<img align="middle" src="/totsys/common/images/title_circle.gif" border=0>&nbsp;
</td>
<td align="left" style="padding-top: 3px">
<strong><span> <%=title%> </span></strong>
</td>
</tr>
<%
} else {
%>
<tr>
<td width="10">
<img src="/totsys/common/images/title_circle.gif" border="0" align="middle" style="margin:0 5px 0 0;">
</td>
<td align="left" nowrap>
<strong>
<span class="trail">
<% if(MString.isNull(title)|| !MString.isNull(title)) { %>
<trail:trailMenu />
<% } %>
<% if(!MString.isNull(desc)) {
if(!desc.equals(docName)) {
out.println(" / "+desc);
}
}
%>
</span>
</strong>
</td>
</tr>
<% } %>
</table>
</td>
</tr>
<!--tr>
<td height="15"></td>
</tr-->
<%
}catch(Exception ex){
ex.printStackTrace();
out.println(kr.co.kihyun.text.html.ServletUtil.getJavaScript("location='/servlet/kr.co.kihyun.beans.user.HttpSSOLogin?mode=logout';"));
}finally{
}
%>