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

<og:head headType="query">
	<script type="text/javascript" src="../customan/ankKomoku.js" ><!-- --></script>
	<style type="text/css">
		#queryTime  { display: none; }
		#viewTime  { display: none; }
	</style>
</og:head>

<jsp:directive.include file="/jsp/custom/query_info.jsp" />

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

<og:columnCheck
	command   = "{@command}"
/>

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

<og:value command="SQL" action="ROW_APPEND">
	select A.CDSITSU CDSITSU_SEQ_LIST
	from AN02 A
	where A.USERID = '{@USER.ID}'
	and A.CDANK = '{@CDANK}'
	and A.FGJ = '1'
	order by A.SEQNO
</og:value>

<div class="contents" style="padding:20px;">

<og:value command="SET" key="TYPE" value="BACK" />
<og:bizLogic logics="an.AN0101S" keys="TYPE,CDSITSU,CDSITSU_SEQ_LIST" />
<og:value command="SET" key="CDSITSU_BACK" value="{@RETURN}" />

<og:value command="SET" key="TYPE" value="NEXT" />
<og:bizLogic logics="an.AN0101S" keys="TYPE,CDSITSU,CDSITSU_SEQ_LIST" />
<og:value command="SET" key="CDSITSU_NEXT" value="{@RETURN}" />

<og:text><b>{@LBL.VALGRAPH}</b></og:text>

&amp;nbsp;
<og:link href="index.jsp" useGamenId="false" lbl="RETURN_TOP"
	keys="command,CDANK,KEY,BACK_GAMENID"
	vals="NEW,{@CDANK},{@KEY},{@BACK_GAMENID}" />
&amp;nbsp;
<og:link href="detail.jsp" useGamenId="false" lbl="CDSITSU_BACK"
	keys="command,CDANK,CDSITSU,KEY,BACK_GAMENID"
	vals="NEW,{@CDANK},{@CDSITSU_BACK},{@KEY},{@BACK_GAMENID}" />
&amp;nbsp;
<og:link href="detail.jsp" useGamenId="false" lbl="CDSITSU_NEXT"
	keys="command,CDANK,CDSITSU,KEY,BACK_GAMENID"
	vals="NEW,{@CDANK},{@CDSITSU_NEXT},{@KEY},{@BACK_GAMENID}" />
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
<og:link href="allOutput.jsp" useGamenId="false" keys="command,CDANK" vals="NEW,{@CDANK}">
	<img src="{@SYS.JSP}/image/fileDownload.gif" alt="Download File" width="20px" height="20px" />{@LBL.ALLDL}
</og:link>
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
<og:link href="allOutputCross.jsp" useGamenId="false" keys="command,CDANK" vals="NEW,{@CDANK}">
	<img src="{@SYS.JSP}/image/fileDownload.gif" alt="Download File" width="20px" height="20px" />{@LBL.ALLDLCRS}
</og:link>

<!--
<br />
<div style="padding-left: 50px;">
	<og:link lbl="VIEW_TYPE_PIEGRAPH" href="detail.jsp"
		keys="command,CDANK,CDSITSU,KEY,BACK_GAMENID,VIEW_TYPE" vals="NEW,{@CDANK},{@CDSITSU},{@KEY},{@BACK_GAMENID},PIEGRAPH" />
	&amp;nbsp;
	<og:link lbl="VIEW_TYPE_PERCLIST" href="detail.jsp"
		keys="command,CDANK,CDSITSU,KEY,BACK_GAMENID,VIEW_TYPE" vals="NEW,{@CDANK},{@CDSITSU},{@KEY},{@BACK_GAMENID},PERCLIST" />
	&amp;nbsp;
	<og:link lbl="VIEW_TYPE_TEXTLIST" href="detail.jsp"
		keys="command,CDANK,CDSITSU,KEY,BACK_GAMENID,VIEW_TYPE" vals="NEW,{@CDANK},{@CDSITSU},{@KEY},{@BACK_GAMENID},TEXTLIST" />
	&amp;nbsp;
</div>
-->

<jsp:directive.include file="/jsp/customan/resultVIEW.jsp" />

<og:equals val1="{@VIEW_TYPE}" nullCheck="true">
	<og:equals val1="RADIO|CHBOX" val2="{@KBUNRUI}" contains="true">
		<jsp:directive.include file="detail_PIEGRAPH.jsp" />
	</og:equals>

	<og:equals val1="MENU" val2="{@KBUNRUI}">
		<jsp:directive.include file="detail_BARGRAPH.jsp" />
	</og:equals>

	<og:equals val1="SCALE" val2="{@KBUNRUI}">
		<jsp:directive.include file="detail_RADAR.jsp" />
	</og:equals>

	<og:equals val1="YMD" val2="{@KBUNRUI}">
		<jsp:directive.include file="detail_YMD.jsp" />
	</og:equals>

	<og:equals val1="YM" val2="{@KBUNRUI}">
		<jsp:directive.include file="detail_YM.jsp" />
	</og:equals>

	<og:equals val1="RADIO|CHBOX|MENU|SCALE|YM|YMD" val2="{@KBUNRUI}" contains="true" notEquals="true">
		<jsp:directive.include file="detail_TEXTLIST.jsp" />
	</og:equals>
</og:equals>

<og:equals val1="{@VIEW_TYPE}" val2="OTHER">
	<jsp:directive.include file="detail_OTHER.jsp" />
</og:equals>

<og:equals val1="{@VIEW_TYPE}" val2="PIEGRAPH">
	<jsp:directive.include file="detail_PIEGRAPH.jsp" />
</og:equals>

<og:equals val1="{@VIEW_TYPE}" val2="BARGRAPH">
	<jsp:directive.include file="detail_BARGRAPH.jsp" />
</og:equals>

<og:equals val1="{@VIEW_TYPE}" val2="TEXTLIST">
	<jsp:directive.include file="detail_TEXTLIST.jsp" />
</og:equals>

</div>

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
