<?xml version="1.0" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld" 
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<jsp:directive.include file="/jsp/custom/query_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GFX001"
	title	= "逆引マニュアル"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<!-- 変更はここから -->
<!-- history.back() で戻るボタンを表示します。	-->
<jsp:directive.include file="/jsp/common/history_back.jsp" />

<!-- DB検索 SQL文記述 debug="true" でSQL文を確認できます。-->
<og:query command = "{@command}" debug="false" notfoundMsg = "" >
	<jsp:text>
		select  
				SEQ,
				TITLE,
				ANSWER,
				DIFFICULTY,
				PARTNO,
				CHAPTERNO,
				BIG_CLASS,
				INSIDE_CLASS,
				KEYWORD,
				CONTENTS,
				SAMPLE,
				URL
		from    GF27
		where   SEQ = '{@SEQ}'
	</jsp:text>
</og:query>

<!-- DB検索結果を表示させます。 -->
<og:view
	viewFormType = "HTMLFormatTextField"
	command 	 = "{@command}"
	checked      = "true"
	startNo      = "{@startNo}" 
	pageSize     = "{@pageSize}"
	noMessage    = "true"
>
<p><b><big>[#TITLE] [$SEQ].[$TITLE]</big></b><big>[$DIFFICULTY]</big></p>
<p><b><big>[ANSWER]</big></b></p>
<table>
<tr><td>{@LBL.PART} [$PARTNO]</td><td>/</td>
	<td>{@LBL.CHAPTER} [$CHAPTERNO]</td><td>/</td>
	[KEYWORD]<td>/</td>[BIG_CLASS]<td>/</td>[INSIDE_CLASS]<td>/</td>[URL]
</tr>
</table>
<big>[#CONTENTS]</big><br />
<pre>[$CONTENTS]</pre>
<big>[#SAMPLE]</big><br />
<pre>[$SAMPLE]</pre>
</og:view>

<!-- ここまで。 -->
<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
