<table>
	{foreach from="$tplData" item="tplrecord" name="tpl"}
	<!-- 表示位置 : 上 -->
	{if $tplrecord.prt_part_comment_position == "top" && 
		$tplrecord.prt_part_sub_type != "addresstogether" &&
		$tplrecord.prt_part_sub_type != "addressseparate"}
	<tr>
		<td width="8px" style="background:#cccccc"></td>
		<td style="background:#f4f4f4"></td>
		<td>&nbsp;&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font></td>
	</tr>
	{/if}
	<!-- 表示位置 : 上  -->
	<!-- 一行テキスト -->
	{if $tplrecord.prt_part_sub_type == "single"}
	<tr>
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>&nbsp;&nbsp;
			{assign var=single value='single'|cat:$tplrecord.prt_part_id}
			{$form.$single.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
		</td>
	</tr>
	<!-- 短い文章 -->
	{elseif $tplrecord.prt_part_sub_type == "multiply"}
	<tr>
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>&nbsp;&nbsp;
			{assign var=multiply value='multiply'|cat:$tplrecord.prt_part_id}
			{$form.$multiply.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
		</td>
	</tr>
	<!-- ラジオボタン -->
	{elseif $tplrecord.prt_part_sub_type == "radiobutton"}
	<tr>
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>&nbsp;&nbsp;
			{assign var=radio value='radio'|cat:$tplrecord.prt_part_id}
			{$form.$radio.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
		</td>
	</tr>
	<!-- チェックボックス -->
	{elseif $tplrecord.prt_part_sub_type == "checkbox"}
	<tr>
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>&nbsp;&nbsp;
			{assign var=checkbox value='checkbox'|cat:$tplrecord.prt_part_id}
			{$form.$checkbox.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
		</td>
	</tr>
	<!-- ドロップダウン -->
	{elseif $tplrecord.prt_part_sub_type == "dropdown"}
	<tr>
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>&nbsp;&nbsp;
			{assign var=dropdown value='dropdown'|cat:$tplrecord.prt_part_id}
			{$form.$dropdown.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
		</td>
	</tr>
	<!-- 同一フィールド -->
	{elseif $tplrecord.prt_part_sub_type == "addresstogether"}
		{if $tplrecord.prt_part_address_zipflg == "1"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;郵便番号</td>
			<td>&nbsp;&nbsp;
				{assign var=prt_part_address_zipflg value='prt_part_address_zipflg'|cat:$tplrecord.prt_part_id}
				{$form.$prt_part_address_zipflg.html}
			</td>
		</tr>
		{/if}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4"></td>
			<td>&nbsp;&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font></td>
			</tr>
			<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
			<td>&nbsp;&nbsp;
				{assign var=addresstogether value='addresstogether'|cat:$tplrecord.prt_part_id}
				{$form.$addresstogether.html}
				{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
			</td>
		</tr>
	<!-- 項目別 -->
	{elseif $tplrecord.prt_part_sub_type == "addressseparate"}
		{if $tplrecord.prt_part_address_zipflg == "1"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;郵便番号</td>
			<td>&nbsp;&nbsp;
				{assign var=prt_part_address_zipflg value='prt_part_address_zipflg'|cat:$tplrecord.prt_part_id}
				{$form.$prt_part_address_zipflg.html}
			</td>
		</tr>
		{/if}
		{if $tplrecord.prt_part_comment_position == "top"}
		<tr>
			<td width="8px" style="background:#cccccc"></td>
			<td style="background:#f4f4f4"></td>
			<td>&nbsp;&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font></td>
		</tr>
		{/if}
		{if $tplrecord.prt_part_address_value1 == "1"}
		<tr>
			{if $tplrecord.prt_part_mustflg1 == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;都道府県</td>
			<td>&nbsp;&nbsp;
				{assign var=smmbr_pref value='smmbr_pref'|cat:$tplrecord.prt_part_id}
				{$form.$smmbr_pref.html}
				{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
			</td>
		</tr>
		{/if}
		{if $tplrecord.prt_part_address_value2 == "1"}
	
			{if $tplrecord.prt_part_mustflg2 == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;市区町村</td>
			<td>&nbsp;&nbsp;
				{assign var=smmbr_address1 value='smmbr_address1'|cat:$tplrecord.prt_part_id}
				{$form.$smmbr_address1.html}
				{if $tplrecord.prt_part_comment_position == "right" && $tplrecord.prt_part_address_value1 == ""}
					&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>
				{/if}
			</td>
		</tr>
		{/if}
		{if $tplrecord.prt_part_address_value3 == "1"}
		<tr>
			{if $tplrecord.prt_part_mustflg3 == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;番　　地</td>
			<td>&nbsp;&nbsp;
				{assign var=smmbr_address2 value='smmbr_address2'|cat:$tplrecord.prt_part_id}
				{$form.$smmbr_address2.html}
				{if $tplrecord.prt_part_comment_position == "right" && 
					$tplrecord.prt_part_address_value1 == "" &&
					$tplrecord.prt_part_address_value2 == ""}
					&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>
				{/if}
			</td>
		</tr>
		{/if}
		{if $tplrecord.prt_part_address_value4 == "1"}
		<tr>
			{if $tplrecord.prt_part_mustflg4 == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;ビル名等</td>
			<td>&nbsp;&nbsp;
				{assign var=smmbr_address3 value='smmbr_address3'|cat:$tplrecord.prt_part_id}
				{$form.$smmbr_address3.html}
				{if $tplrecord.prt_part_comment_position == "right" && 
					$tplrecord.prt_part_address_value1 == "" &&
					$tplrecord.prt_part_address_value2 == "" &&
					$tplrecord.prt_part_address_value3 == ""}
					&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>
				{/if}
			</td>
		</tr>
		{/if}
	<!-- 日付フィールド -->
	{elseif $tplrecord.prt_part_sub_type == "date"}
	<tr>
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>
			<table class="" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td>&nbsp;&nbsp;
						{assign var=date value='date'|cat:$tplrecord.prt_part_id}
						{$form.$date.html}
					</td>
					<td><a href="#noscript" id={$date}img><img src="/js/yui/2.5.1/calendar/assets/calbtn.gif" width="19" border="0" align="right"></a></td>
					<td>
						<div id={$date}div class="contentTableEditInner"></div>
					</td>
					{if $tplrecord.prt_part_datetime_fromtoflg == 1}
						<td>&nbsp;&nbsp;～&nbsp;&nbsp;
							{assign var=dateto value='dateto'|cat:$tplrecord.prt_part_id}
							{$form.$dateto.html}
						</td>
						<td><a href="#noscript" id={$dateto}img><img src="/js/yui/2.5.1/calendar/assets/calbtn.gif" width="19" border="0" align="right"></a></td>
						<td>
							<div id={$dateto}div class="contentTableEditInner"></div>
						</td>
					{/if}
					<td>
						{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<!-- 時間フィールド -->
	{elseif $tplrecord.prt_part_sub_type == "time"}
	<tr>					
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}			
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>
			<table class="" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td>&nbsp;&nbsp;
						{assign var=hour value='hour'|cat:$tplrecord.prt_part_id}
						{$form.$hour.html}
					</td>
					<td>&nbsp;
						{if $tplrecord.prt_part_datetime_interval == "10分"}
							{assign var=minute10 value='minute10'|cat:$tplrecord.prt_part_id}
							{$form.$minute10.html}
						{elseif $tplrecord.prt_part_datetime_interval == "15分"}
							{assign var=minute15 value='minute15'|cat:$tplrecord.prt_part_id}
							{$form.$minute15.html}
						{elseif $tplrecord.prt_part_datetime_interval == "30分"}	
							{assign var=minute30 value='minute30'|cat:$tplrecord.prt_part_id}
							{$form.$minute30.html}
						{/if}	
					</td>
					{if $tplrecord.prt_part_datetime_fromtoflg == 1}
						<td>&nbsp;&nbsp;～&nbsp;&nbsp;
							{assign var=hourto value='hourto'|cat:$tplrecord.prt_part_id}
							{$form.$hourto.html}
						</td>
						<td>&nbsp;
							{if $tplrecord.prt_part_datetime_interval == "10分"}
								{assign var=minute10to value='minute10to'|cat:$tplrecord.prt_part_id}
								{$form.$minute10to.html}
							{elseif $tplrecord.prt_part_datetime_interval == "15分"}
								{assign var=minute15to value='minute15to'|cat:$tplrecord.prt_part_id}
								{$form.$minute15to.html}
							{elseif $tplrecord.prt_part_datetime_interval == "30分"}	
								{assign var=minute30to value='minute30to'|cat:$tplrecord.prt_part_id}
								{$form.$minute30to.html}
							{/if}	
						</td>
					{/if}
					<td>
						{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<!-- 日付＆時間フィールド -->
	{elseif $tplrecord.prt_part_sub_type == "datetime"}
	<tr>					
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}		
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td><table class="" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td>&nbsp;&nbsp;
						{assign var=datetime value='datetime'|cat:$tplrecord.prt_part_id}
						{$form.$datetime.html}
					</td>
					<td><a href="#noscript" id={$datetime}img><img src="/js/yui/2.5.1/calendar/assets/calbtn.gif" width="19" border="0" align="right"></a></td>
					<td>
						<div id={$datetime}div class="contentTableEditInner"></div>
					</td>
					<td>&nbsp;&nbsp;
						{assign var=hour value='hour'|cat:$tplrecord.prt_part_id}
						{$form.$hour.html}
					</td>
					<td>&nbsp;
						{if $tplrecord.prt_part_datetime_interval == "10分"}
							{assign var=minute10 value='minute10'|cat:$tplrecord.prt_part_id}
							{$form.$minute10.html}
						{elseif $tplrecord.prt_part_datetime_interval == "15分"}
							{assign var=minute15 value='minute15'|cat:$tplrecord.prt_part_id}
							{$form.$minute15.html}
						{elseif $tplrecord.prt_part_datetime_interval == "30分"}	
							{assign var=minute30 value='minute30'|cat:$tplrecord.prt_part_id}
							{$form.$minute30.html}
						{/if}	
					</td>
					{if $tplrecord.prt_part_datetime_fromtoflg == 1}
						<td>&nbsp;&nbsp;～&nbsp;&nbsp;
							{assign var=datetimeto value='datetimeto'|cat:$tplrecord.prt_part_id}
							{$form.$datetimeto.html}
						</td>
						<td><a href="#noscript" id={$datetimeto}img><img src="/js/yui/2.5.1/calendar/assets/calbtn.gif" width="19" border="0" align="right"></a></td>
						<td>
							<div id={$datetimeto}div class="contentTableEditInner"></div>
						</td>
						<td>&nbsp;&nbsp;
							{assign var=hourto value='hourto'|cat:$tplrecord.prt_part_id}
							{$form.$hourto.html}
						</td>
						<td>&nbsp;
							{if $tplrecord.prt_part_datetime_interval == "10分"}
								{assign var=minute10to value='minute10to'|cat:$tplrecord.prt_part_id}
								{$form.$minute10to.html}
							{elseif $tplrecord.prt_part_datetime_interval == "15分"}
								{assign var=minute15to value='minute15to'|cat:$tplrecord.prt_part_id}
								{$form.$minute15to.html}
							{elseif $tplrecord.prt_part_datetime_interval == "30分"}	
								{assign var=minute30to value='minute30to'|cat:$tplrecord.prt_part_id}
								{$form.$minute30to.html}
							{/if}	
						</td>
					{/if}
					<td>
						{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<!-- 通常(一つ) -->
	{elseif $tplrecord.prt_part_sub_type == "onepart"}
	<tr>					
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}		
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>&nbsp;&nbsp;
			{assign var=onepart value='onepart'|cat:$tplrecord.prt_part_id}
			{$form.$onepart.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
		</td>
	</tr>
	<!-- 通常(三つ) -->
	{elseif $tplrecord.prt_part_sub_type == "threepart"}
	<tr>
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}		
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>&nbsp;&nbsp;
			{assign var=tel1 value='threepart1'|cat:$tplrecord.prt_part_id}
			{assign var=tel2 value='threepart2'|cat:$tplrecord.prt_part_id}
			{assign var=tel3 value='threepart3'|cat:$tplrecord.prt_part_id}
			{$form.$tel1.html} - {$form.$tel2.html} - {$form.$tel3.html}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>
		</td>
	</tr>
	<!-- ケータイ電話 -->
	{elseif $tplrecord.prt_part_sub_type == "mobile"}
	<tr>					
	    {if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}		
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>&nbsp;&nbsp;
			{assign var=mobile value='mobile'|cat:$tplrecord.prt_part_id}
			{$form.$mobile.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
		</td>
	</tr>
	<!-- 同一フィールドト -->
	{elseif $tplrecord.prt_part_sub_type == "nametogether"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
			<td>&nbsp;&nbsp;
				{assign var=nametogether value='nametogether'|cat:$tplrecord.prt_part_id}
				{$form.$nametogether.html}
				{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
			</td>
		</tr>
		{if $tplrecord.prt_part_fullname_kanaflg == "1"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;フリガナ</td>
			<td>&nbsp;&nbsp;
				{assign var=nametogether_kana value='nametogether_kana'|cat:$tplrecord.prt_part_id}
				{$form.$nametogether_kana.html}
			</td>
		</tr>
		{/if}
	<!-- 姓名別 -->
	{elseif $tplrecord.prt_part_sub_type == "nameseparate"}
		<tr>	
			{if $tplrecord.prt_part_mustflg == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}		
			<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
			<td>&nbsp;&nbsp;
				{assign var=nameseparate1 value='nameseparate1'|cat:$tplrecord.prt_part_id}
				{assign var=nameseparate2 value='nameseparate2'|cat:$tplrecord.prt_part_id}
				{$form.$nameseparate1.html}&nbsp;&nbsp;{$form.$nameseparate2.html}
				{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
			</td>
		</tr>
		{if $tplrecord.prt_part_fullname_kanaflg == "1"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;フリガナ</td>
			<td>&nbsp;&nbsp;
				{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.$nameseparate_kana1.html}&nbsp;&nbsp;{$form.$nameseparate_kana2.html}
			</td>
		</tr>
		{/if}
	<!-- ガイド・テキスト  -->
	{elseif $tplrecord.prt_part_type == "guidetext"}
	<tr>
		<td width="8px" style="background:#cccccc"></td>	
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>&nbsp;&nbsp;{$tplrecord.prt_part_guidetext_value}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
		</td>
	</tr>
	<!-- ウェブサイト -->
	{elseif $tplrecord.prt_part_type == "web"}
	<tr>
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>
			{if $tplrecord.prt_part_web_guideflg == "1"}
				&nbsp;&nbsp;
				{assign var=web value='web'|cat:$tplrecord.prt_part_id}
				{$form.$web.html}
			{/if}
			{if $tplrecord.prt_part_web_linkflg == "1"}
				&nbsp;&nbsp;
				{assign var=link value='link'|cat:$tplrecord.prt_part_id}
				{$form.$link.html}
			{/if}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
		</td>
	</tr>
	<!-- Eメール -->
	{elseif $tplrecord.prt_part_type == "mail"}
		{if $tplrecord.prt_part_mail_addressflg1 == "1"}
		<tr>
			{if $tplrecord.prt_part_mustflg == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;PCメール</td>
			<td>&nbsp;&nbsp;
				{assign var=pcmail value='pcmail'|cat:$tplrecord.prt_part_id}
				{$form.$pcmail.html}
				{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
			</td>
		</tr>
		{/if}
		{if $tplrecord.prt_part_mail_addressflg2 == "1"}
		<tr>
			{if $tplrecord.prt_part_mustflg1 == "1"}
			<td width="8px" style="background:#cc0000"></td>
			{else}
			<td width="8px" style="background:#cccccc"></td>
			{/if}
			<td style="background:#f4f4f4">&nbsp;&nbsp;携帯メール</td>
			<td>&nbsp;&nbsp;
				{assign var=mobilemail value='mobilemail'|cat:$tplrecord.prt_part_id}
				{$form.$mobilemail.html}
				{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
			</td>
		</tr>
		{/if}
	<!-- ファイルアップロード -->
	{elseif $tplrecord.prt_part_type == "fileupload"}
	<tr>
		{if $tplrecord.prt_part_mustflg == "1"}
		<td width="8px" style="background:#cc0000"></td>
		{else}
		<td width="8px" style="background:#cccccc"></td>
		{/if}
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>&nbsp;&nbsp;
			{assign var=file value='file'|cat:$tplrecord.prt_part_id}
			{$form.$file.html}
			{if $tplrecord.prt_part_comment_position == "right"}&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font>{/if}
		</td>
	</tr>
	<!-- 罫線 -->
	{elseif $tplrecord.prt_part_type == "line"}
	<tr>
		<td width="8px" style="background:#cccccc"></td>		
		<td style="background:#f4f4f4">&nbsp;&nbsp;{$tplrecord.prt_part_label}</td>
		<td>
			<table>
				<tr>
					<td>&nbsp;&nbsp;</td>
					<td>
						<hr color={$tplrecord.prt_part_line_color} size={$tplrecord.prt_part_line_size}px width=200px>
					</td>
					<td>
						{if $tplrecord.prt_part_comment_position == "right"}
							<font color={$tplrecord.prt_part_comment_color}>&nbsp;{$tplrecord.prt_part_comment}</font>
						{/if}
					</td>
				</tr>
			</table>
		</td>
	</tr>
	{/if}
	<!-- 表示位置 : 下 -->
	{if $tplrecord.prt_part_comment_position == "bottom"}
	<tr>
		<td width="8px" style="background:#cccccc"></td>
		<td style="background:#f4f4f4"></td>
		<td>&nbsp;&nbsp;<font color={$tplrecord.prt_part_comment_color}>{$tplrecord.prt_part_comment}</font></td>
	</tr>
	{/if}
	<!-- 表示位置 : 下 -->
	{/foreach}
</table>