<script src = "{$BINGOTOPURL}/js/yui/2.5.1/yahoo/yahoo-min.js" ></script>
<script src = "{$BINGOTOPURL}/js/yui/2.5.1/event/event-min.js" ></script>
<script src = "{$BINGOTOPURL}/js/yui/2.5.1/dom/dom-min.js" ></script>
<script src = "{$BINGOTOPURL}/js/yui/2.5.1/calendar/calendar-min.js" ></script>
<link href="{$BINGOTOPURL}/js/yui/2.5.1/calendar/assets/calendar.css" rel="stylesheet" type="text/css" media="all" />
{$jsdatetime}
<form {$form_formg.attributes}>{$form_formg.hidden}
<!--入力画面/-->
{if $gmode == '1'}
	<div class="extMdlFormGnrtr">
		<!--エラーコメント/-->
		{foreach from=$ERROR item="msg" name="err"}
		{if $smarty.foreach.err.first}
		<p class="errBox">{/if}
			{$msg|replace:"<br>":""}<br />
			{if $smarty.foreach.err.last}
		</p>
		{/if}
		{/foreach}
		<!--/エラーコメント-->
		<table border="0" cellpadding="0" cellspacing="0" class="color13 extMdlFormGnrtrTable">
		{foreach from="$tplData" item="tplrecord" name="tpl"}

		<!--一行テキスト/-->
		{if $tplrecord.prt_part_sub_type == "single"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br />{/if}
			{assign var=single value='single'|cat:$tplrecord.prt_part_id}
			{$form_formg.$single.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			{if $tplrecord.prt_part_comment_position == "bottom"}<br /><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		<!--/一行テキスト-->

		<!--短い文章/-->
		{elseif $tplrecord.prt_part_sub_type == "multiply"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br />{/if}
			{assign var=multiply value='multiply'|cat:$tplrecord.prt_part_id}
			{$form_formg.$multiply.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			{if $tplrecord.prt_part_comment_position == "bottom"}<br /><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		<!--/短い文章-->

		<!--ラジオボタン/-->
		{elseif $tplrecord.prt_part_sub_type == "radiobutton"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br />{/if}
			{assign var=radio value='radio'|cat:$tplrecord.prt_part_id}
			{$form_formg.$radio.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			{if $tplrecord.prt_part_comment_position == "bottom"}<br /><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		<!--/ラジオボタン-->

		<!--チェックボックス/-->
		{elseif $tplrecord.prt_part_sub_type == "checkbox"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br>{/if}
			{assign var=checkbox value='checkbox'|cat:$tplrecord.prt_part_id}
			{$form_formg.$checkbox.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			{if $tplrecord.prt_part_comment_position == "bottom"}<br><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		<!--/チェックボックス-->

		<!--プルダウン/-->
		{elseif $tplrecord.prt_part_sub_type == "dropdown"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br />{/if}
			{assign var=dropdown value='dropdown'|cat:$tplrecord.prt_part_id}
			{$form_formg.$dropdown.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			{if $tplrecord.prt_part_comment_position == "bottom"}<br><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		<!--/プルダウン-->

		<!--住所/-->
		<!--同一フィールド/-->
		{elseif $tplrecord.prt_part_sub_type == "addresstogether"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
				<th class="color12 color13 thImp">
			{elseif $tplrecord.prt_part_mustflg_adr == "1"}
				<th class="color12 color13 thImp">
			{else}
				<th class="color12 color13">
			{/if}
			{$tplrecord.prt_part_label}</th>
			<td class="color13 extMdlFormGnrtrInner">
			<table>
			{if $tplrecord.prt_part_address_zipflg == "1"}
			<tr>
				<th class="color13{if $tplrecord.prt_part_mustflg == "1"} thImp{/if}">郵便番号</th>
				<td class="color13">
					{assign var=zipcode value='zipcode'|cat:$tplrecord.prt_part_id}
					{$form_formg.$zipcode.html}
				</td>
			</tr>
			{/if}
				<tr>
					<th class="color13 textLs listEnd{if $tplrecord.prt_part_mustflg_adr == "1"} thImp{/if}">住所</th>
					<td class="color13 textLl listEnd">{assign var=addresstogether value='addresstogether'|cat:$tplrecord.prt_part_id}{$form_formg.$addresstogether.html}</td>
				</tr>
			</table>
			</td>
		</tr>
		<!--/同一フィールド-->

		<!-- 項目別 -->
		{elseif $tplrecord.prt_part_sub_type == "addressseparate"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
				<th class="color12 color13 thImp">
			{elseif $tplrecord.prt_part_mustflg1 == "1"}
				<th class="color12 color13 thImp">
			{elseif $tplrecord.prt_part_mustflg2 == "1"}
				<th class="color12 color13 thImp">
			{elseif $tplrecord.prt_part_mustflg3 == "1"}
				<th class="color12 color13 thImp">
			{elseif $tplrecord.prt_part_mustflg4 == "1"}
				<th class="color12 color13 thImp">
			{else}
				<th class="color12 color13">
			{/if}
			{$tplrecord.prt_part_label}</th>
			<td class="color13 extMdlFormGnrtrInner">
			<table>
				{if $tplrecord.prt_part_address_zipflg == "1"}
				<tr>
				<th class="color13{if $tplrecord.prt_part_mustflg == "1"} thImp{/if}">郵便番号</th>
				<td class="color13">
					{assign var=zipcode value='zipcode'|cat:$tplrecord.prt_part_id}
					{$form_formg.$zipcode.html}
				</td>
				</tr>
			{/if}

			{if $tplrecord.prt_part_address_value1 == "1"}
			<tr>
				<th class="color13{if $tplrecord.prt_part_mustflg1 == "1"} thImp{/if}">都道府県</th>
				<td class="color13">{assign var=smmbr_pref value='smmbr_pref'|cat:$tplrecord.prt_part_id}
				{$form_formg.$smmbr_pref.html}</td>
			</tr>
			{/if}

			{if $tplrecord.prt_part_address_value2 == "1"}
			<tr>
				<th class="color13{if $tplrecord.prt_part_mustflg2 == "1"} thImp{/if}">市区町村</th>
				<td class="color13 textLl">{assign var=smmbr_address2 value='smmbr_address2'|cat:$tplrecord.prt_part_id}{$form_formg.$smmbr_address2.html}</td>
			</tr>
			{/if}

			{if $tplrecord.prt_part_address_value3 == "1"}
			<tr>
			<th class="color13{if $tplrecord.prt_part_mustflg3 == "1"} thImp{/if}">番地</th>
			<td class="color13 textLl">{assign var=smmbr_address3 value='smmbr_address3'|cat:$tplrecord.prt_part_id}
				{$form_formg.$smmbr_address3.html}</td>
			</tr>
			{/if}
			{if $tplrecord.prt_part_address_value4 == "1"}
			<tr>
			<th class="color13 listEnd{if $tplrecord.prt_part_mustflg4 == "1"} thImp{/if}">ビル名等</th>
			<td class="color13 textLl listEnd">{assign var=smmbr_address4 value='smmbr_address4'|cat:$tplrecord.prt_part_id}{$form_formg.$smmbr_address4.html}</td>
				</tr>
			{/if}
			</table>
			</td>
		</tr>
		<!--/住所-->

		<!--日付/-->
		{elseif $tplrecord.prt_part_sub_type == "date"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13 extMdlFormGnrtrInner2">
			<div class="extMdlFormGnrtrContainer">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br />{/if}
			<table cellspacing="0" cellpadding="0">
				<tr>
					<td class="w8 textLl">
					{assign var=date value='date'|cat:$tplrecord.prt_part_id}
					{$form_formg.$date.html}
					</td>
					<td class="lt" style="width: 24px;">
						<a href="#noscript" id={$date}img><img src="{$BINGOTOPURL}/js/yui/2.5.1/calendar/assets/calbtn.gif" width="19" border="0"></a>
						<div id={$date}div class="calender"></div>
					</td>
					{if $tplrecord.prt_part_datetime_fromtoflg != 1}
					<td>{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
					</td>
					{/if}
					{if $tplrecord.prt_part_datetime_fromtoflg == 1}
					<td class="w3">&nbsp;&nbsp;〜</td>
					<td class="w8 textLl">
						{assign var=dateto value='dateto'|cat:$tplrecord.prt_part_id}
						{$form_formg.$dateto.html}
					</td>
					<td class="lt" style="width: 24px;">
						<a href="#noscript" id={$dateto}img><img src="{$BINGOTOPURL}/js/yui/2.5.1/calendar/assets/calbtn.gif" width="19" border="0"></a>
						<div id={$dateto}div class="calender"></div>
					</td>
					<td>
						{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
					</td>
					{/if}
				</tr>
			</table>
			{if $tplrecord.prt_part_comment_position == "bottom"}<br /><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</div>
			</td>
		</tr>

		<!--/日付-->

		<!--時間/-->
		{elseif $tplrecord.prt_part_sub_type == "time"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br />{/if}
			{assign var=time value='time'|cat:$tplrecord.prt_part_id}
			{$form_formg.$time.html}分

			{if $tplrecord.prt_part_datetime_fromtoflg == 1}
				&nbsp;&nbsp;〜&nbsp;&nbsp;
				{assign var=timeto value='timeto'|cat:$tplrecord.prt_part_id}
				{$form_formg.$timeto.html}分
			{/if}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			{if $tplrecord.prt_part_comment_position == "bottom"}<br /><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		<!--/時間-->

		<!--日付＆時間/-->
		{elseif $tplrecord.prt_part_sub_type == "datetime"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13 extMdlFormGnrtrInner2">
			<div class="extMdlFormGnrtrContainer">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br>{/if}
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="w5 textLl">
							{assign var=datetime value='datetime'|cat:$tplrecord.prt_part_id}
							{$form_formg.$datetime.html}
						</td>
						<td class="lt" style="width: 24px;"><a href="#noscript" id={$datetime}img><img src="{$BINGOTOPURL}/js/yui/2.5.1/calendar/assets/calbtn.gif" width="19" border="0"></a></td>
						<td class="cal"><div id={$datetime}div class="calender"></div></td>
						<td class="lt">
							{assign var=time value='time'|cat:$tplrecord.prt_part_id}
							{$form_formg.$time.html}分
						</td>
						<td>
						{if $tplrecord.prt_part_datetime_fromtoflg != 1}
							{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
						{/if}
						</td>
					</tr>
					{if $tplrecord.prt_part_datetime_fromtoflg == 1}
					</tr>
						<td class="textLl">
							{assign var=datetimeto value='datetimeto'|cat:$tplrecord.prt_part_id}
							{$form_formg.$datetimeto.html}
						</td>
						<td class="lt"><a href="#noscript" id={$datetimeto}img><img src="{$BINGOTOPURL}/js/yui/2.5.1/calendar/assets/calbtn.gif" width="19" border="0"></a></td>
						<td class="cal"><div id={$datetimeto}div class="calender"></div></td>
						<td class="lt">
							{assign var=timeto value='timeto'|cat:$tplrecord.prt_part_id}
							{$form_formg.$timeto.html}分
						</td>
						<td>
							{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
						</td>
					</tr>
					{/if}
				</table>
			{if $tplrecord.prt_part_comment_position == "bottom"}<span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</div>
			</td>
		</tr>
		<!--/日付＆時間-->

		<!--電話番号(通常一つ)/-->
		{elseif $tplrecord.prt_part_sub_type == "onepart"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13 textLs">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br />{/if}
			{assign var=onepart value='onepart'|cat:$tplrecord.prt_part_id}
			{$form_formg.$onepart.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			{if $tplrecord.prt_part_comment_position == "bottom"}<br ><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		<!--/電話番号(通常一つ)-->

		<!--電話番号(通常三つ)/-->
		{elseif $tplrecord.prt_part_sub_type == "threepart"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br />{/if}
			{assign var=tel value='tel'|cat:$tplrecord.prt_part_id}
			{$form_formg.$tel.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			{if $tplrecord.prt_part_comment_position == "bottom"}<br /><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		<!--/電話番号(通常三つ)-->

		<!--名前(同一フィールド)/-->
		{elseif $tplrecord.prt_part_sub_type == "nametogether"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13 textls">
				{assign var=nametogether value='nametogether'|cat:$tplrecord.prt_part_id}
				{$form_formg.$nametogether.html}
			</td>
		</tr>
		<!--フリガナ/-->
			{if $tplrecord.prt_part_fullname_kanaflg == "1"}
			<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">フリガナ</th>
			<td class="color13 textls">
			{assign var=nametogether_kana value='nametogether_kana'|cat:$tplrecord.prt_part_id}
			{$form_formg.$nametogether_kana.html}
			</tr>
			{/if}
		<!--/フリガナ-->
		<!--/名前(同一フィールド)-->

		<!--名前(姓名別)/-->
		{elseif $tplrecord.prt_part_sub_type == "nameseparate"}
	 		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13 textls extMdlFormGnrtrInner2">
				{assign var=nameseparate1 value='nameseparate1'|cat:$tplrecord.prt_part_id}
				{assign var=nameseparate2 value='nameseparate2'|cat:$tplrecord.prt_part_id}
				<table>
					<tr>
						<td class="w2">姓</td>
						<td class="w9">{$form_formg.$nameseparate1.html}</td>
						<td class="w2">名</td>
						<td>{$form_formg.$nameseparate2.html}</td>
					</tr>
				</table>
			</td>
			</tr>
			<!--フリガナ/-->
			{if $tplrecord.prt_part_fullname_kanaflg == "1"}
			<tr>
				<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">フリガナ</th>
				<td class="color13 extMdlFormGnrtrInner2">
				{assign var=nameseparate_kana1 value='nameseparate_kana1'|cat:$tplrecord.prt_part_id}
				{assign var=nameseparate_kana2 value='nameseparate_kana2'|cat:$tplrecord.prt_part_id}
				<table>
					<tr>
						<td class="w2">セイ</td>
						<td class="w9">{$form_formg.$nameseparate_kana1.html}</td>
						<td class="w2">メイ</td>
						<td>{$form_formg.$nameseparate_kana2.html}</td>
					</tr>
				</table>
				</td>
			</tr>
			{/if}
			<!--/フリガナ-->
		<!--/名前(姓名別)-->

		<!--ウェブサイト/-->
		{elseif $tplrecord.prt_part_type == "web"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13 textlm">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br>{/if}
			{assign var=web value='web'|cat:$tplrecord.prt_part_id}
			{$form_formg.$web.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			{if $tplrecord.prt_part_comment_position == "bottom"}<br /><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		<!--/ウェブサイト-->

		<!--Eメール/-->
		{elseif $tplrecord.prt_part_type == "mail"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
				<th class="color12 color13 thImp">
			{elseif $tplrecord.prt_part_mustflg_all == "1"}
				<th class="color12 color13 thImp">
		   	{elseif $tplrecord.prt_part_mustflg_pc == "1"}
		   		<th class="color12 color13 thImp">
		   	{elseif $tplrecord.prt_part_mustflg_mobile == "1"}
		   		<th class="color12 color13 thImp">
		   	{else}
		   		<th class="color12 color13">
		   	{/if}
		   	{$tplrecord.prt_part_label}</th>
			<td class="color13 extMdlFormGnrtrInner">
			<table border="0" cellspacing="0" cellpadding="0">
				{if $tplrecord.prt_part_mail_addressflg1 == "1"}
				<tr>
					{assign var=allmail value='allmail'|cat:$tplrecord.prt_part_id}
					<th class="color13{if $tplrecord.prt_part_mustflg_all== "1"} thImp{/if}">PC・携帯</th>
					<td class="color13 textLm">
					{if $tplrecord.prt_part_comment_position == "top"}<div class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</div>{/if}
					{$form_formg.$allmail.html}
					{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
					</td>
				</tr>
				<tr>
					<th class="color13 listEnd{if $tplrecord.prt_part_mustflg_all== "1"} thImp{/if}">確認</th>
					<td class="color13 textLm listEnd">
					{assign var=allmail_conf value='allmail_conf'|cat:$tplrecord.prt_part_id}
					{$form_formg.$allmail_conf.html}
					{if $tplrecord.prt_part_comment_position == "bottom"}<div class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</div>{/if}
					</td>
				</tr>
				{/if}
				{if $tplrecord.prt_part_mail_addressflg2 == "1"}
				<tr>
					<th class="color13{if $tplrecord.prt_part_mustflg_pc== "1"} thImp{/if}">PCメール</th>
					<td class="color13 textLm">
					{if $tplrecord.prt_part_comment_position == "top"}<div class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</div>{/if}
					{assign var=pcmail value='pcmail'|cat:$tplrecord.prt_part_id}
					{$form_formg.$pcmail.html}
					{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
					</td>
				</tr>
				<tr>
					<th class="color13{if $tplrecord.prt_part_mustflg_pc== "1"} thImp{/if}">PC確認</th>
					<td class="color13 textLm">
					{assign var=pcmail_conf value='pcmail_conf'|cat:$tplrecord.prt_part_id}
					{$form_formg.$pcmail_conf.html}
					{if $tplrecord.prt_part_comment_position == "bottom" && $tplrecord.prt_part_mail_addressflg3 != "1"}
					<div class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</div>
					{/if}
					</td>
				</tr>
				{/if}
				{if $tplrecord.prt_part_mail_addressflg3 == "1"}
				<tr>
					<th class="color13{if $tplrecord.prt_part_mustflg_mobile == "1"} thImp{/if}">携帯メール</th>
					<td class="color13 textLm">
					{if $tplrecord.prt_part_comment_position == "top" && $tplrecord.prt_part_mail_addressflg2 != "1"}
					<div class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</div>
					{/if}
					{assign var=mobilemail value='mobilemail'|cat:$tplrecord.prt_part_id}
					{$form_formg.$mobilemail.html}
					{if $tplrecord.prt_part_mail_addressflg2 != "1"}{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}{/if}
					</td>
				</tr>
				<tr>
					<th class="color13 listEnd{if $tplrecord.prt_part_mustflg_mobile == "1"} thImp{/if}">携帯確認</th>
					<td class="color13 textLm listEnd">
					{assign var=mobilemail_conf value='mobilemail_conf'|cat:$tplrecord.prt_part_id}
					{$form_formg.$mobilemail_conf.html}
					{if $tplrecord.prt_part_comment_position == "bottom"}<div class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</div>{/if}
					</td>
				</tr>
				{/if}
			</table>
			</td>
		</tr>
		<!--/Eメール-->

		<!-- ファイルアップロード -->
		{elseif $tplrecord.prt_part_type == "fileupload"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br />{/if}
			{assign var=file value='file'|cat:$tplrecord.prt_part_id}
			{$form_formg.$file.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			{if $tplrecord.prt_part_comment_position == "bottom"}<br /><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		<!--/ファイルアップロード-->

		<!-- 罫線 -->
		{elseif $tplrecord.prt_part_type == "line"}
		<tr>
			<td colspan="2" class="extMdlFormGnrtrInner3">
				<div class="extMdlFormGnrtrHr" style="border-bottom-color: {$tplrecord.prt_part_line_color}; border-bottom-width: {$tplrecord.prt_part_line_size}px;"><hr></div>
			</td>
		</tr>
		<!--/罫線 -->

		<!--ガイド・テキスト/-->
		{elseif $tplrecord.prt_part_type == "guidetext"}
		<tr>
			<td colspan="2" class="extMdlFormGnrtrInner3">
			<p class="extMdlFormGnrtrGuide color13"><span style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_guidetext_value|escape|nl2br}</span></p>
			</td>
		</tr>
		<!--/ガイド・テキスト-->

		<!--画像認証-->
		{elseif $tplrecord.prt_part_type == "caps"}
		{assign var=caps value='caps'|cat:$tplrecord.prt_part_id}
		<tr>
			<th class="color12 color13 thImp">{$tplrecord.prt_part_label}</th>
			<td class="color13">
				{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br />{/if}
				{$captcha}<br/>{$form_formg.$caps.html}
				{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
				{if $tplrecord.prt_part_comment_position == "bottom"}<br /><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		<!--/画像認証-->
		{/if}


		{/foreach}
		</table>
		<div class="extMdlFormGnrtrBtn color12">
			<input name="bContact_bBtnConf" type="submit" value="確認画面へ" class="extBtnNext" />
		</div>
	</div>
<!--入力画面/-->

{elseif $gmode == '2'}
<!--確認画面/-->
	<div class="extMdlFormGnrtr">
		<table border="0" cellpadding="0" cellspacing="0" class="color13 extMdlFormGnrtrTable">
		{foreach from="$tplData" item="tplrecord" name="tpl"}
		<!--一行テキスト/-->
		{if $tplrecord.prt_part_sub_type == "single"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{assign var=single value='single'|cat:$tplrecord.prt_part_id}
			{$form_formg.$single.html}
			</td>
		</tr>
		<!--/一行テキスト-->

		<!--短い文章/-->
		{elseif $tplrecord.prt_part_sub_type == "multiply"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{assign var=multiply value='multiply'|cat:$tplrecord.prt_part_id}
			{$form_formg.$multiply.html}
			</td>
		</tr>
		<!--/短い文章-->

		<!--ラジオボタン/-->
		{elseif $tplrecord.prt_part_sub_type == "radiobutton"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{assign var=radio value='radio'|cat:$tplrecord.prt_part_id}
			{$form_formg.$radio.html}
			</td>
		</tr>
		<!--/ラジオボタン-->

		<!--チェックボックス/-->
		{elseif $tplrecord.prt_part_sub_type == "checkbox"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{assign var=checkbox value='checkbox'|cat:$tplrecord.prt_part_id}
			{$form_formg.$checkbox.html}
			</td>
		</tr>
		<!--/チェックボックス-->

		<!--プルダウン/-->
		{elseif $tplrecord.prt_part_sub_type == "dropdown"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{assign var=dropdown value='dropdown'|cat:$tplrecord.prt_part_id}
			{$form_formg.$dropdown.html}
			</td>
		</tr>
		<!--/プルダウン-->

		<!--住所/-->
		<!--同一フィールド/-->
		{elseif $tplrecord.prt_part_sub_type == "addresstogether"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
				<th class="color12 color13 thImp">
		   	{elseif $tplrecord.prt_part_mustflg_adr == "1"}
		   		<th class="color12 color13 thImp">
		   	{else}
		   		<th class="color12 color13">
		   	{/if}
		   	{$tplrecord.prt_part_label}</th>
			<td class="color13 extMdlFormGnrtrInner">
			<table>
				{if $tplrecord.prt_part_address_zipflg == "1"}
				<tr>
					<th class="color13{if $tplrecord.prt_part_mustflg == "1"} thImp{/if}">
					郵便番号
					</th>
					<td class="color13">
					{assign var=zipcode value='zipcode'|cat:$tplrecord.prt_part_id}
					{$form_formg.$zipcode.html}
					</td>
				</tr>
				{/if}
				<tr>
					<th class="color13 listEnd{if $tplrecord.prt_part_mustflg_adr == "1"} thImp{/if}">住所</th>
					<td class="color13 listEnd">{assign var=addresstogether value='addresstogether'|cat:$tplrecord.prt_part_id}
					{$form_formg.$addresstogether.html}</td>
				</tr>
			</table>
			</td>
		</tr>
		<!--/同一フィールド-->

		<!-- 項目別 -->
		{elseif $tplrecord.prt_part_sub_type == "addressseparate"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
				<th class="color12 color13 thImp">
		   	{elseif $tplrecord.prt_part_mustflg1 == "1"}
		   		<th class="color12 color13 thImp">
		   	{elseif $tplrecord.prt_part_mustflg2 == "1"}
		   		<th class="color12 color13 thImp">
		   	{elseif $tplrecord.prt_part_mustflg3 == "1"}
		   		<th class="color12 color13 thImp">
		   	{elseif $tplrecord.prt_part_mustflg4 == "1"}
		   		<th class="color12 color13 thImp">
		   	{else}
		   		<th class="color12 color13">
		   	{/if}
		   	{$tplrecord.prt_part_label}</th>
			<td class="color13 extMdlFormGnrtrInner">
			<table>
				{if $tplrecord.prt_part_address_zipflg == "1"}
				<tr>
					<th class="color13{if $tplrecord.prt_part_mustflg == "1"} thImp{/if}">郵便番号</th>
					<td class="color13">
					{assign var=zipcode value='zipcode'|cat:$tplrecord.prt_part_id}
					{$form_formg.$zipcode.html}
					</td>
				</tr>
				{/if}
				{if $tplrecord.prt_part_address_value1 == "1"}
				<tr>
					<th class="color13{if $tplrecord.prt_part_mustflg1 == "1"} thImp{/if}">都道府県</th>
					<td class="color13">{assign var=smmbr_pref value='smmbr_pref'|cat:$tplrecord.prt_part_id}{$form_formg.$smmbr_pref.html}</td>
				</tr>
				{/if}
				{if $tplrecord.prt_part_address_value2 == "1"}
				<tr>
					<th class="color13{if $tplrecord.prt_part_mustflg2 == "1"} thImp{/if}">市区町村</th>
					<td class="color13">{assign var=smmbr_address2 value='smmbr_address2'|cat:$tplrecord.prt_part_id}{$form_formg.$smmbr_address2.html}</td>
				</tr>
				{/if}
				{if $tplrecord.prt_part_address_value3 == "1"}
				<tr>
					<th class="color13{if $tplrecord.prt_part_mustflg3 == "1"} thImp{/if}">番地</th>
					<td class="color13">{assign var=smmbr_address3 value='smmbr_address3'|cat:$tplrecord.prt_part_id}{$form_formg.$smmbr_address3.html}</td>
				</tr>
				{/if}
				{if $tplrecord.prt_part_address_value4 == "1"}
				<tr>
					<th class="color13 listEnd{if $tplrecord.prt_part_mustflg4 == "1"} thImp{/if}">ビル名等</th>
					<td class="color13 listEnd">{assign var=smmbr_address4 value='smmbr_address4'|cat:$tplrecord.prt_part_id}{$form_formg.$smmbr_address4.html}</td>
				</tr>
				{/if}
			</table>
			</td>
		</tr>
		<!--/住所-->

		<!--日付/-->
		{elseif $tplrecord.prt_part_sub_type == "date"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">{assign var=date value='date'|cat:$tplrecord.prt_part_id}{$form_formg.$date.html}
				{if $tplrecord.prt_part_datetime_fromtoflg == 1}
				&nbsp;&nbsp;〜&nbsp;&nbsp;
				{assign var=dateto value='dateto'|cat:$tplrecord.prt_part_id}{$form_formg.$dateto.html}
				{/if}
			</td>
		</tr>
		<!--/日付-->

		<!--時間/-->
		{elseif $tplrecord.prt_part_sub_type == "time"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{if $tplrecord.prt_part_comment_position == "top"}<span class="subCommentTop" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span><br />{/if}
			{assign var=time value='time'|cat:$tplrecord.prt_part_id}
			{$form_formg.$time.html}分

			{if $tplrecord.prt_part_datetime_fromtoflg == 1}
				&nbsp;&nbsp;〜&nbsp;&nbsp;
				{assign var=timeto value='timeto'|cat:$tplrecord.prt_part_id}
				{$form_formg.$timeto.html}分
			{/if}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			{if $tplrecord.prt_part_comment_position == "bottom"}<br /><span class="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
			</td>
		</tr>
		{*
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{assign var=hour value='hour'|cat:$tplrecord.prt_part_id}
			{$form_formg.$hour.html}
			{if $tplrecord.prt_part_datetime_interval == "10分"}
				{assign var=minute10 value='minute10'|cat:$tplrecord.prt_part_id}
				{$form_formg.$minute10.html}
			{elseif $tplrecord.prt_part_datetime_interval == "15分"}
				{assign var=minute15 value='minute15'|cat:$tplrecord.prt_part_id}
				{$form_formg.$minute15.html}
			{elseif $tplrecord.prt_part_datetime_interval == "30分"}
				{assign var=minute30 value='minute30'|cat:$tplrecord.prt_part_id}
				{$form_formg.$minute30.html}
			{/if}
			{if $tplrecord.prt_part_datetime_fromtoflg == 1}
				&nbsp;&nbsp;〜&nbsp;&nbsp;
				{assign var=hourto value='hourto'|cat:$tplrecord.prt_part_id}
				{$form_formg.$hourto.html}
				{if $tplrecord.prt_part_datetime_interval == "10分"}
					{assign var=minute10to value='minute10to'|cat:$tplrecord.prt_part_id}
					{$form_formg.$minute10to.html}
				{elseif $tplrecord.prt_part_datetime_interval == "15分"}
					{assign var=minute15to value='minute15to'|cat:$tplrecord.prt_part_id}
					{$form_formg.$minute15to.html}
				{elseif $tplrecord.prt_part_datetime_interval == "30分"}
					{assign var=minute30to value='minute30to'|cat:$tplrecord.prt_part_id}
					{$form_formg.$minute30to.html}
				{/if}
			{/if}
			</td>
		</tr>
		*}
		<!--/時間-->

		<!--日付＆時間/-->
		{elseif $tplrecord.prt_part_sub_type == "datetime"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
				{assign var=datetime value='datetime'|cat:$tplrecord.prt_part_id}
				{$form_formg.$datetime.html}&nbsp;
				{assign var=time value='time'|cat:$tplrecord.prt_part_id}
				{$form_formg.$time.html}分

				{if $tplrecord.prt_part_datetime_fromtoflg == 1}
					&nbsp;&nbsp;〜&nbsp;&nbsp;
					{assign var=datetimeto value='datetimeto'|cat:$tplrecord.prt_part_id}
					{$form_formg.$datetimeto.html}&nbsp;
					{assign var=timeto value='timeto'|cat:$tplrecord.prt_part_id}
					{$form_formg.$timeto.html}分
				{/if}
			</td>
		</tr>
		<!--/日付＆時間-->

		<!--電話番号(通常一つ)/-->
		{elseif $tplrecord.prt_part_sub_type == "onepart"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{assign var=onepart value='onepart'|cat:$tplrecord.prt_part_id}
			{$form_formg.$onepart.html}
			</td>
		</tr>
		<!--/電話番号(通常一つ)-->

		<!--電話番号(通常三つ)/-->
		{elseif $tplrecord.prt_part_sub_type == "threepart"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{assign var=tel value='tel'|cat:$tplrecord.prt_part_id}
			{$form_formg.$tel.html}
			</td>
		</tr>
		<!--/電話番号(通常三つ)-->

		<!--名前(同一フィールド)/-->
		{elseif $tplrecord.prt_part_sub_type == "nametogether"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{assign var=nametogether value='nametogether'|cat:$tplrecord.prt_part_id}
			{$form_formg.$nametogether.html}
			</td>
		</tr>
		{if $tplrecord.prt_part_fullname_kanaflg == "1"}
		<!--フリガナ/-->
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">フリガナ</th>
			<td class="color13">{assign var=nametogether_kana value='nametogether_kana'|cat:$tplrecord.prt_part_id}
			{$form_formg.$nametogether_kana.html}</td>
		</tr>
		<!--/フリガナ-->
		{/if}
		<!--/名前(同一フィールド)-->

		<!--名前(姓名別)/-->
		{elseif $tplrecord.prt_part_sub_type == "nameseparate"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
			{assign var=nameseparate1 value='nameseparate1'|cat:$tplrecord.prt_part_id}
			{assign var=nameseparate2 value='nameseparate2'|cat:$tplrecord.prt_part_id}
			{$form_formg.$nameseparate1.html}&nbsp;
			{$form_formg.$nameseparate2.html}</td>
		</tr>
		{if $tplrecord.prt_part_fullname_kanaflg == "1"}
		<!--フリガナ/-->
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">{assign var=nameseparate_kana1 value='nameseparate_kana1'|cat:$tplrecord.prt_part_id}
				{assign var=nameseparate_kana2 value='nameseparate_kana2'|cat:$tplrecord.prt_part_id}
				{$form_formg.$nameseparate_kana1.html}&nbsp;
				{$form_formg.$nameseparate_kana2.html}</td>
		</tr>
		<!--/フリガナ-->
		{/if}
		<!--/名前(姓名別)-->

		<!--ウェブサイト/-->
		{elseif $tplrecord.prt_part_type == "web"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13 textlm">
			{assign var=web value='web'|cat:$tplrecord.prt_part_id}
			{foreach from="$webinfo" item="webItem" key="webKey"}
				{if $webKey == $tplrecord.prt_part_id}
					{if $webItem.prt_part_web_linkflg == '1'}
						<a href="{$webItem.web_link_value}" target="_blank">{$form_formg.$web.html}</a>
					{else}
						{$form_formg.$web.html}
					{/if}
				{/if}
			{/foreach}
			</td>
		</tr>
	{* 2009.08.25 削除
		{elseif $tplrecord.prt_part_type == "web"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
				{foreach from="$webinfo" item="webItem" key="webKey"}
					{if $webKey == $tplrecord.prt_part_id}
						{if $webItem.prt_part_web_linkflg == '1'}
							<a href="{$webItem.web_link_value}" target="_blank">{$webItem.web_link_value}</a>
						{else}
							{$webItem.web_link_value}
						{/if}
					{/if}
				{/foreach}
			</td>
		</tr>
	*}
		<!--/ウェブサイト-->

		<!--Eメール/-->
		{elseif $tplrecord.prt_part_type == "mail"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
				<th class="color12 color13 thImp">
			{elseif $tplrecord.prt_part_mustflg_all == "1"}
				<th class="color12 color13 thImp">
			{elseif $tplrecord.prt_part_mustflg_pc == "1"}
				<th class="color12 color13 thImp">
			{elseif $tplrecord.prt_part_mustflg_mobile == "1"}
				<th class="color12 color13 thImp">
			{else}
				<th class="color12 color13">
			{/if}
			{$tplrecord.prt_part_label}</th>
			<td class="color13 extMdlFormGnrtrInner">
			<table border="0" cellspacing="0" cellpadding="0">
				{if $tplrecord.prt_part_mail_addressflg1 == "1"}
				<tr>
					{assign var=allmail value='allmail'|cat:$tplrecord.prt_part_id}
					<th class="color13{if $tplrecord.prt_part_mustflg_all== "1"} thImp{/if}">PC・携帯</th>
					<td class="color13 textLm">
					{$form_formg.$allmail.html}
					{if $tplrecord.prt_part_comment_position == "right"}&nbsp;&nbsp;<span class="subCommentSide" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</span>{/if}
					</td>
				</tr>
				{/if}
				{if $tplrecord.prt_part_mail_addressflg2 == "1"}
				<tr>
					<th class="color13{if $tplrecord.prt_part_mustflg_pc== "1"} thImp{/if}">PCメール</th>
					<td class="color13 textLm">
					{assign var=pcmail value='pcmail'|cat:$tplrecord.prt_part_id}
					{$form_formg.$pcmail.html}
					</td>
				</tr>
				{/if}
				{if $tplrecord.prt_part_mail_addressflg3 == "1"}
				<tr>
					<th class="color13{if $tplrecord.prt_part_mustflg_mobile== "1"} thImp{/if}">携帯メール</th>
					<td class="color13 textLm">
					{assign var=mobilemail value='mobilemail'|cat:$tplrecord.prt_part_id}
					{$form_formg.$mobilemail.html}</td>
				</tr>
				{/if}
			</table>
			</td>
		</tr>
		<!--/Eメール-->

		<!--ファイルアップロード/-->
		{elseif $tplrecord.prt_part_type == "fileupload"}
		<tr>
			<th class="color12 color13{if $tplrecord.prt_part_mustflg == "1"} thImp{else}{/if}">{$tplrecord.prt_part_label}</th>
			<td class="color13">
				{foreach from="$fileinfo" item="fileItem" key="fileKey"}
					{if $fileKey == $tplrecord.prt_part_id}
						{$fileItem.original_filename}
						{*▼画像プレビュー追加	aminaka*}
						{if $fileItem.isImage eq '1'}
							<img src="{$BINGOTOPURL}/global-image/units/upfiles_tmp/{$fileItem.upload_filename}" width="{$fileItem.size}px" />
						{/if}
						{*▲**************************}
					{/if}
				{/foreach}
			</td>
		</tr>
		<!--/ファイルアップロード-->

		<!-- 罫線 -->
		{elseif $tplrecord.prt_part_type == "line"}
		{*
		<tr>
			<td colspan="2" class="extMdlFormGnrtrInner3">
				<div class="extMdlFormGnrtrHr" style="border-bottom-color: {$tplrecord.prt_part_line_color}; border-bottom-width: {$tplrecord.prt_part_line_size}px;"><hr></div>
			</td>
		</tr>
		*}
		<!--/罫線 -->

		<!--ガイド・テキスト/-->

		{elseif $tplrecord.prt_part_type == "guidetext"}
		{*
		<tr>
			<td colspan="2" class="extMdlFormGnrtrInner3">
			<p class="extMdlFormGnrtrGuide color13"><span style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_guidetext_value|nl2br}</span></p>
			</td>
		</tr>
		*}
		<!--/ガイド・テキスト-->
		{/if}
		{/foreach}
		</table>
		<div class="extMdlFormGnrtrBtn color12">
			<input name="bContact_bBtnBack" type="submit" value="入力画面へ戻る" class="extBtnBack" />&nbsp;
			<input name="bContact_bBtnSend" type="submit" value="送信する" class="extBtnSend" />
		</div>
	</div>
<!--確認画面/-->
{/if}
</form>
<script type="text/javascript">
<!--
	var url = document.location.href;
	if("https:" == document.location.protocol){literal}{{/literal}
		url = url.replace("http:","https:");
		document.{$form_name}.action = url;
		if(document.getElementById('protocol') != null){literal}{{/literal}
			document.getElementById('protocol').value = "ssl";
		{literal}}{/literal}
		if(document.getElementById('captcha') != null){literal}{{/literal}
			document.getElementById('captcha').src = "{$captcha_ssl}";
		{literal}}{/literal}
	{literal}}{/literal}
//-->
</script>