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

<og:head headType="query" >
  <script>
	function allCheck( flag , trid ) {
		var objTR = document.getElementById( trid );
		for( i=0; i &lt; objTR.cells.length; i++ ) {
			var objCB = objTR.cells[i].getElementsByTagName( "input" );
			for( j=0; j &lt; objCB.length; j++ ) {
				if( objCB[j].type == "checkbox" ) {
					objCB[j].checked = flag;
				}
			}
		}
	}
  </script>
</og:head>

<jsp:directive.include file="/jsp/custom/query_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "DOC21"
	title	= "ﾘｿｰｽ未使用検索"
	date	= "2015/06/24"
	author	= "k.Hasegawa"
	text	= ""
	version	= "001"
/>

<form method="GET" action="forward.jsp" target="RESULT" onSubmit="timeSet();">
	<!-- 変更はここから -->
	<table >
		<tr>
			<og:column name="SYSTEM_ID" defaultVal="{@LAST.SYSTEM_ID}" must="true" />
			<og:column name="TBLSYU"	must="true" defaultVal="T" onChange="renew('query.jsp','QUERY');" />
			<td>　　　　　<b><og:link href="OPTIMIZE_INDEX.jsp" lbl="OPTIMIZE_INDEX" useGamenId="false" target="RESULT" title="{@LBL.OPTIMIZE_INDEX %D}" /></b></td>
		</tr>
	</table>
	<table>
		<tr id="CH_ROW1">
			<og:input type="checkbox" onClick="allCheck( this.checked,'CH_ROW1' );" checked="checked" style="background-color:Green;" />
			<og:space width="30px" />
			<og:input type="checkbox" name="GF76" lbl="" value="true" checked="checked" >
				<!-- いきなり実行はまずいので、command="NEW" は入れてません。 -->
				<og:link gamenId="DOC18" target="CONTENTS" href="index.jsp"
					keys="SYSTEM_ID,TBLSYU,PROG" vals="{@NVL.SYSTEM_ID @LAST.SYSTEM_ID},{@NVL.TBLSYU T},6"
				><b>GF76({@LBL.GF76 %S})</b></og:link>
			</og:input>
			<og:input type="checkbox" name="GF83" lbl="" value="true" checked="checked" >
				<!-- いきなり実行はまずいので、command="NEW" は入れてません。 -->
				<og:link gamenId="GF2110" target="CONTENTS" href="index.jsp"
					keys="SYSTEM_ID,TBLSYU,GF83" vals="{@NVL.SYSTEM_ID @LAST.SYSTEM_ID},{@NVL.TBLSYU T},checked"
				><b>GF83({@LBL.GF83 %S})</b></og:link>
			</og:input>
			<og:input type="checkbox" name="DBA_SOURCE" lbl="DBA_SOURCE"			value="true" checked="checked" />
			<og:input type="checkbox" name="GF05" lbl="" value="true" checked="checked" >
				<!-- いきなり実行はまずいので、command="NEW" は入れてません。 -->
				<og:link gamenId="GF2020" target="CONTENTS" href="index.jsp"
					keys="SYSTEM_ID,TBLSYU" vals="{@NVL.SYSTEM_ID @LAST.SYSTEM_ID},{@NVL.TBLSYU T}"
				><b>GF05({@LBL.GF05 %S})</b></og:link>
			</og:input>
		</tr>
	</table>

	<og:queryButton pageSize="1000" maxRowCount="0" />
</form>

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