<{strip}>
<{include file = "install_header.html"}>
<form id="form<{$id}>" action=".<{$smarty.const.INDEX_FILE_NAME}>?action=install_action_main_tbcreate" method="post">

<div class="install_title">
	<{$smarty.const.INSTALL_SAVE_SETTING_TITLE}>
</div>
<div class="install_detail">
	<table align="center" cellspacing="0" cellpadding="0" summary="" class="install_general_top">
		<{* 設定の保存 *}>
		<tr>
			<th class="install_save_setting_subtitle">
				<{$smarty.const.INSTALL_WRITE_INI}>
			</th>
		</tr>
		<tr>
			<td class="install_save_setting_data">
				<{foreach name="setting_res" item="setting_res" from=$action.setting_res_arr|smarty:nodefaults}>
					<div>
						<{$setting_res|smarty:nodefaults}>
					</div>
				<{/foreach}>
			</td>
		</tr>
		<{if $action.setting_error_flag == false}>
			<tr>
				<td class="install_save_setting_data align-center" colspan="2">
					<{$smarty.const.INSTALL_SUCCESS_WRITE_INI}>
				</td>
			</tr>
		<{/if}>
	</table>
	<table align="center" cellspacing="0" cellpadding="0" summary="" class="widthmax">
		<tr>
			<td class="install_btn_bottom_left">
				<{if $action.setting_error_flag == true}>
					<input class="btn-width lined_btn" type="button" value="<{$lang.install_btn_prev_arrow|smarty:nodefaults}>" onclick="location.href= '.<{$smarty.const.INDEX_FILE_NAME}>?action=install_view_main_general'; return false;" />
					<span class="install_btn_desc">
						&lt;&lt;<{$lang.install_modify_settion|smarty:nodefaults}>
					</span>
				<{/if}>
			<td>
			<td class="install_btn_bottom_center">
				<{if $action.setting_error_flag == true}>
					<input class="btn-width lined_btn" type="button" value="<{$lang.install_btn_reload|smarty:nodefaults}>" onclick="$('form_saveini<{$id}>').submit();" />
					
				<{/if}>
			</td>
			<td class="install_btn_bottom_right">
				<{if $action.setting_error_flag == false}>
				<span class="install_btn_desc">
					<{$smarty.const.INSTALL_TABLE_CREATE_TITLE|smarty:nodefaults}>&gt;&gt;
				</span>
				<input class="btn-width lined_btn" type="submit" value="<{$lang.install_btn_next_arrow|smarty:nodefaults}>" />
				<input type="hidden" name="action" value="install_action_main_tbcreate" />
				<{/if}>
			<td>
		</tr>
	</table>
</div>
</form>
<form id="form_saveini<{$id}>" action=".<{$smarty.const.INDEX_FILE_NAME}>?action=install_action_main_saveini" method="post">
	<{* 再読み込みのPOST用(不必要?) *}>
	<input type="hidden" name="action" value="install_action_main_saveini" />
</form>
<{include file = "install_footer.html"}>
<{/strip}>