<%@ page contentType="text/html; charset=Windows-31J" language="java" %> <%@ page import="jp.yoozma.www.*" %> <%@ page import="jp.yoozma.www.WebappsResource" %> <%@ page import="jp.yoozma.commons.*" %> <%@ page import="jp.yoozma.commons.db.*" %> <%@ page import="jp.yoozma.commons.file.*" %> <%@ page import="org.apache.commons.collections.*" %> <%@ page import="java.io.*" %> <%@ page errorPage="/ura/error.jsp" %> <% response.setHeader("Pragma", "no-cache"); String COMMON_PREVIEW_SESSION_ID = WebappsResource.getString("session.common.preview"); String SESSION_ID = WebappsResource.getString("session.infoh"); String CONTENT_ID = WebappsResource.getString("content.infoh"); String CONTENT_ID_SECTION = WebappsResource.getString("content.section"); String IMAGE_PATH = WebappsResource.getString("imgdir.open_base") + "/" + WebappsResource.getString("session.infoh") + "/"; String TOP_PATH = WebappsResource.getString("dir.base"); String ATTACH_PATH = ""; // model PrintModel pm = new PrintModel(); // 初期変数設定 FastArrayList cList = MapUtil.getNewFastArrayList(); // FastArrayList list = MapUtil.getNewFastArrayList(); // MapUtil tbl = new MapUtil(list,0); // Get parameter String preview = request.getParameter("preview"); String id = request.getParameter("id"); // CMSプレビューの場合はこちら // セッションからデータ取得 if (preview != null && preview.length() > 0) { cList = (FastArrayList)session.getAttribute(COMMON_PREVIEW_SESSION_ID); // list = (FastArrayList)session.getAttribute(SESSION_ID); IMAGE_PATH = WebappsResource.getString("imgdir.base") + "/" + WebappsResource.getString("session.infoh") + "/"; ATTACH_PATH = WebappsResource.getString("imgdir.base") + "/" + WebappsResource.getString("session.infoh") + "/"; } else // WEBサイトからパラメータをもらった場合はこちら { pm.init(); pm.setId(id); pm.setContent(CONTENT_ID); cList = pm.detail(); // list = pm.detailExtension(); IMAGE_PATH = WebappsResource.getString("imgdir.open_base") + "/" + WebappsResource.getString("session.infoh") + "/"; ATTACH_PATH = WebappsResource.getString("imgdir.open_base") + "/" + WebappsResource.getString("session.infoh") + "/"; // 記事IDが入っていない場合エラーへとばす if (id.length() == 0) { response.sendRedirect("/error.jsp"); return; } } // ページが表示できない(非表示状態など)場合、エラーへとばす if (cList.size() == 0) { response.sendRedirect("/error.jsp"); return; } if (cList.equals(MapUtil.getNewFastArrayList())) { response.sendRedirect("/error.jsp"); return; } MapUtil cTbl = new MapUtil(cList,0); // 変数を変換 String update_dt = Formatter.dateFormat(cTbl.getString("update_dt"), "yyyy年M月d日(E曜日) HH時mm分", "timestamp"); String appear_dt = Formatter.dateFormat(cTbl.getString("appear_dt"), "yyyy年M月d日(E曜日)", "timestamp"); // 記事IDを生成 String article_id = pm.getContentCode(cList); // 縮小を行うか否かをResourceより取得 String USE_RESIZE = FileResource.getString("imgtool.use"); String content_name = pm.getContentName(CONTENT_ID); %> <%=cTbl.getString("title") %> - インフォメーション | 福井大学 産学官連携本部
<%@ include file="../share/include/header_sub.jsp" %> <%@ include file="../share/include/sub_menu.jsp" %> <%@ include file="../share/include/global_menu_sub.jsp" %>

インフォメーション

最終更新日:<%=update_dt %> コンテンツID:<%=article_id %> [" target="_blank"> 印刷ページ ]

公開日:<%=appear_dt %>

<%=cTbl.getString("title") %>

<%@ include file="../share/include/detail_image1.jsp" %> <% // 本文を表示する。 if (cTbl.getString("detail").length() > 0) { %>

<%=Html.br(cTbl.getString("detail")) %>

<% } %> <%@ include file="../share/include/detail_image2.jsp" %> <%@ include file="../share/include/detail_free.jsp" %> <%@ include file="../share/include/detail_attach.jsp" %> <%@ include file="../share/include/detail_url.jsp" %> <%@ include file="../share/include/detail_inq.jsp" %>

新着情報

≫ 一覧を見る

このページのトップへ
<%@ include file="../share/include/footer.jsp" %>