<?xml version="1.0" encoding="UTF-8" ?>
<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" />

<og:head headType="result" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GFX002"
	title	= "逆引登録"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<!-- 変更はここから -->
<!-- ワーニングメッセージです。ここでは、登録完了のメッセージを表示します。 -->
<og:errorMessage command="{@command}" clear="{@clear}" displayMsg="{@displayMsg}" />

<!-- 取り消しボタンが押された時に必要です。 -->
<og:entry command="{@command}" />

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

<form onSubmit="return oneClick();" method="POST" action="forward.jsp" target="CONTENTS">
<og:writeCheck>
	<og:submit  value="copy"     lbl="COPY"    accesskey="C" />
	<og:submit  value="modify"   lbl="MODIFY"  accesskey="M" />
	<og:submit  value="delete"   lbl="DELETE"  accesskey="D" />
</og:writeCheck>

<!-- DB検索結果を表示させます。 -->
<og:view
	viewFormType = "HTMLFormatTextField"
	command 	 = "{@command}"
	noDisplay    = "FGJ,DYSET,DYUPD,USRSET,USRUPD,PGUPD"
	checked      = "true"
	startNo      = "{@startNo}" 
	pageSize     = "{@pageSize}"
>
<p><b><big>[#TITLE] [$SEQ].[$TITLE]</big></b><big>[$DIFFICULTY]</big></p>
<p><b><big>[ANSWER]</big></b></p>
<table>
<tr><td><b>{@LBL.PART}:</b> [$PARTNO]</td><td>/</td>
	<td><b>{@LBL.CHAPTER}:</b> [$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>
</form>

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