<div id="bsmContentArea">
	<!--ローカルナビゲーション/-->
	<div id="localNavi">
		<h3>フォーム一覧&nbsp;&gt;&nbsp;受付一覧&nbsp;&gt;&nbsp;受付詳細</h3>
	</div>
	<!--/ローカルナビゲーション-->
	<div id="bsmMainArea">
		<div class="inner">
			<h3 class="pageTitle">受付詳細</h3>
<!--
			<div class="bsmContentsComment">
				<p>説明</p>
			</div>
-->
			<!--list/-->
			<div class="bsmContentsList">
			<form {$form.attributes} >{$form.hidden}

			   	{if $form.buttons.BTNList.html}{* 一覧へ戻るボタン *}
				<div style="margin: 0 0 10px 0;">{$form.buttons.BTNList.html}</div>
				{/if}
				<!--お問い合わせ内容/-->
				<table border="0" cellpadding="0" cellspacing="0" class="bsmContentTableEdit">
					{foreach from="$list" item="record" name="tpl"}
					<tr>
						<!--罫線 -->
						{if $record.prt_part_type == "line"}
							<td colspan="2">
								<hr color={$record.prt_part_line_color} size={$record.prt_part_line_size}px>
							</td>
						<!--ガイドテキスト -->
						{elseif $record.prt_part_type == "guidetext"}
						    <td colspan="2">
								{$record.idet_part_value|escape}
							</td>
						<!--　住所　-->
						{elseif $record.prt_part_type == "address"}
							{if $record.prt_part_sub_type == "addresstogether"}
								{if $record.prt_part_mustflg == "1"}
									<th class="thImp">
							   	{elseif $record.prt_part_mustflg_adr == "1"}
							   		<th class="thImp">
							   	{else}
							   		<th>
							   	{/if}
							   	{$record.prt_part_label}</th>
							   	<td>
									{$record.idet_part_value}
								</td>
						 	{elseif $record.prt_part_sub_type == "addressseparate"}
								{if $record.prt_part_mustflg == "1"}
									<th class="thImp">
							   	{elseif $record.prt_part_mustflg1 == "1"}
							   		<th class="thImp">
							   	{elseif $record.prt_part_mustflg2 == "1"}
							   		<th class="thImp">
							   	{elseif $record.prt_part_mustflg3 == "1"}
							   		<th class="thImp">
							   	{elseif $record.prt_part_mustflg4 == "1"}
							   		<th class="thImp">
							   	{else}
							   		<th>
							   	{/if}
							   	{$record.prt_part_label}</th>
							   	<td>
									{$record.idet_part_value}
								</td>
							 {/if}
						<!--　メール　-->
						{elseif $record.prt_part_type == "mail"}
							{if $record.prt_part_mustflg == "1"}
								<th class="thImp">
						   	{elseif $record.prt_part_mustflg1 == "1"}
						   		<th class="thImp">
						    {else}
							   	<th>
						   	{/if}
						   	{$record.prt_part_label}</th>
						   	<td>
								{$record.idet_part_value}
							</td>
						<!--　ファイルアップロード　-->
						{elseif $record.prt_part_type == "fileupload"}
							{if $record.prt_part_mustflg == "1"}<th class="thImp">{else}<th>{/if}
							{$record.prt_part_label}</th>
							<td>
								{if $record.idet_part_value != ""}
									<a href="./index.php?hid={$ihea_id}&fid={$record.idet_part_id}">ファイルをダウンロード</a>
								{/if}
							</td>
						{else}
							{if $record.prt_part_mustflg == "1"}<th class="thImp">{else}<th>{/if}
							{$record.prt_part_label}
							</th>
							<td>
							{$record.idet_part_value}
							</td>
						{/if}
					</tr>
					{/foreach}
				</table>
                 <!--/お問い合わせ内容-->

				 <!--備考/-->
				 <table border="0" cellpadding="0" cellspacing="0" class="bsmContentTableEdit">
					<tr>
						<th>備考</th>
						<td class="textLl">{$form.ihea_response_comment.html}</td>
					</tr>
					<tr>
						<th>対応状態</th>
						<td>{$form.ihea_responseflg.html}対応済みにする</td>
					</tr>
         				 <input type="hidden" name="p" value="{$p}">
				</table>
				<!--/備考-->

                <div class="bsmContentsBtnArea">
                	<table border="0" cellspacing="0" cellpadding="0">
                		<tr>
							{if $form.buttons.BTNsave.html}{* 保存ボタン *}
							<td>{$form.buttons.BTNsave.html}</td>
							{/if}
							{if $form.buttons.BTNdelete.html}{* 削除ボタン *}
							<td>{$form.buttons.BTNdelete.html}</td>
							{/if}
						</tr>
					</table>
				</div>
                </form>

			</div>
			<!--/list-->
		</div>
	</div>
	<div id="bsmMenuArea">
		<div class="inner">
			{include file=$MENU}
		</div>
	</div>
	<div class="clr"></div>
</div>