<%--
MosP - Mind Open Source Project         http://www.mosp.jp/
Copyright (C) 1987-2009 MIND Co., Ltd.  http://www.e-mind.co.jp/

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
--%>
<%@ page
language     = "java"
pageEncoding = "Windows-31J"
buffer       = "16kb"
autoFlush    = "false"
errorPage    = "/jsp/common/error.jsp"
%><%@ page
import = "jp.mosp.common.common.MospConst"
import = "jp.mosp.common.common.HtmlUtility"
import = "jp.mosp.common.CommonConst"
import = "jp.mosp.payroll.vo.AttendanceCalculateMenuVo"
%><%
AttendanceCalculateMenuVo vo = (AttendanceCalculateMenuVo)request.getAttribute(MospConst.ATT_VO);
String[]aryCmd	= vo.getEscAryCmd();
String[]aryName	= vo.getEscAryName();
%>
<%= HtmlUtility.getHeader(vo) %>
<%= vo.getSubTitle(vo.ATT_CALCULATE_MENU_TITLE, vo.CMD_MENU_PAYROLL) %>
<div class="Body" id="menu">
	<%=HtmlUtility.getMessages(vo)%>
	<div id="divMenu">
		<table>
			<thead>
				<tr>
					<th><%= vo.ATT_CALCULATE_MENU_TITLE %></th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<!-- 勤怠計算メニューボタン -->
					<td class="MainTd">
						<ul class="mm clearFix">
<!--							<li>
								<a href="#" class="MenuButton" id="btnMain0" onclick="doSubmit(document.form, 'P1020');"><%= CommonConst.TTL_ATT_CALCULATE_START %></a>
							</li>
							<li>
								<a href="#" class="MenuButton" id="btnMain1" onclick="doSubmit(document.form, 'P1030');"><%= CommonConst.TTL_ATT_CALCULATE_COMPILE %></a>
							</li>
							<li>
								<a href="#" class="MenuButton" id="btnMain2" onclick="doSubmit(document.form, 'P1040');"><%= CommonConst.TTL_ATT_CALCULATE_AMENDMENT %></a>
							</li>
							<li>
								<a href="#" class="MenuButton" id="btnMain3" onclick="doSubmit(document.form, 'P1050');"><%= CommonConst.TTL_ATT_CALCULATE_PRINT %></a>
							</li>
							<li>
								<a href="#" class="MenuButton" id="btnMain4" onclick="doSubmit(document.form, 'P1060');"><%= CommonConst.TTL_ATT_CALCULATE_END %></a>
							</li>
-->
<%
for (int i = 0; i < aryCmd.length; i++) {
%>
							<li>
								<a href="#" class="MenuButton" id="btnMain" onclick="doSubmit(document.form, '<%= aryCmd[i] %>');"><%= aryName[i] %></a>
							</li>
<%
}
%>
						</ul>
					</td>
				</tr>
			</tbody>
		</table>		
	</div>
</div>
<%= HtmlUtility.getFooter(vo) %>
