<script src = "../js/yui/2.5.1/yahoo/yahoo-min.js" ></script>
<script src = "../js/yui/2.5.1/event/event-min.js" ></script>
<script src = "../js/yui/2.5.1/dom/dom-min.js" ></script>
<script src = "../js/yui/2.5.1/calendar/calendar-min.js" ></script>
<link href="../js/yui/2.5.1/calendar/assets/calendar.css" rel="stylesheet" type="text/css" media="all" />
<link href="{$BINGOTOPURL}/admin/css/common.css" rel="stylesheet" type="text/css" media="all">
<link href="{$BINGOTOPURL}/admin/css/content.css" rel="stylesheet" type="text/css" media="all">
<link href="{$BINGOTOPURL}/usr_data/modules/extMdlFormGnrtr/admin/css/imported.css" rel="stylesheet" type="text/css" media="all">
<style type="text/css">
//{literal}
	#examplecontainer {height:450px;  position:relative}
	#cal1Container { display:none; position:absolute;z-index:1;}
	#cal2Container { display:none; position:absolute;z-index:1;}
{/literal}//
</style>
<style type="text/css">
<!--{literal}
	*:first-child+html #date{width:0px;}
	* html #date{width:0px;}
{/literal}-->
</style>
{$jsdatetime}

<div id="bsmContentArea">
	<!--タイトル/-->
	<h2 id="pageTitle">フォームジェネレータ</h2>
	<!--/タイトル-->
	<!--ローカルナビゲーション/-->
	<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><span class="txtImp">※実際の表示とは異なります。</span></p>
			</div>

			<!--コンテンツ/-->
			<div class="bsmContentsList">
				<form {$form.attributes}>
				{$form.hidden}

				<div class="bsmContentsBtnArea" style="margin: 0 0 20px 0;">
					<table border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td>{$form.buttons.BTNcancel.html}</td>
							{if $frm_defaultflg =="0"}<td>{$form.buttons.BTNsave.html}<td>{/if}
						</tr>
					</table>
				</div>

				<div class="bsmContentTablePrev">
				<table border="0" cellpadding="0" cellspacing="0">
		{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.$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.$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.$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.$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.$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 bsmContentTablePrevInner">
			<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.$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.$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 bsmContentTablePrevInner">
			<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.$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.$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.$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.$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.$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 bsmContentTablePrevInner2">
			<div class="bsmContentTablePrevContainer">
			{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.$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.$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.$time.html}分

			{if $tplrecord.prt_part_datetime_fromtoflg == 1}
				&nbsp;&nbsp;〜&nbsp;&nbsp;
				{assign var=timeto value='timeto'|cat:$tplrecord.prt_part_id}
				{$form.$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 bsmContentTablePrevInner2">
			<div class="bsmContentTablePrevContainer">
			{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.$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.$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.$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.$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.$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.$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.$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.$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 bsmContentTablePrevInner2">
				{assign var=nameseparate1 value='nameseparate1'|cat:$tplrecord.prt_part_id}
				{assign var=nameseparate2 value='nameseparate2'|cat:$tplrecord.prt_part_id}
				<table>
					<tr>
						<td class="w3">姓</td>
						<td class="w9">{$form.$nameseparate1.html}</td>
						<td class="w3">名</td>
						<td>{$form.$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 bsmContentTablePrevInner2">
				{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="w3">セイ</td>
						<td class="w9">{$form.$nameseparate_kana1.html}</td>
						<td class="w3">メイ</td>
						<td>{$form.$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.$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 bsmContentTablePrevInner">
			<table border="0" cellspacing="0" cellpadding="0">
				{if $tplrecord.prt_part_mail_addressflg1 == "1"}
				<tr>
					<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="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</div>{/if}
					{assign var=allmail value='allmail'|cat:$tplrecord.prt_part_id}
					{$form.$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.$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="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</div>
					{/if}
					{assign var=pcmail value='pcmail'|cat:$tplrecord.prt_part_id}
					{$form.$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.$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="subCommentBottom" style="color: {$tplrecord.prt_part_comment_color};">{$tplrecord.prt_part_comment}</div>{/if}
					{assign var=mobilemail value='mobilemail'|cat:$tplrecord.prt_part_id}
					{$form.$mobilemail.html}
					{if $tplrecord.prt_part_mail_addressflg1 != "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.$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.$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="bsmContentTablePrevInner3">
				<div class="bsmContentTablePrevHr" 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="bsmContentTablePrevInner3">
			<p class="bsmContentTablePrevGuide 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.$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>
			<div class="bsmContentsBtnArea" style="margin: 20px 0 0 0;">
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td>{$form.buttons.BTNcancel.html}</td>
						{if $frm_defaultflg =="0"}<td>{$form.buttons.BTNsave.html}<td>{/if}
					</tr>
				</table>
			</div>
			</form>
			</div>
			<!--/コンテンツ-->
		</div>
	</div>
	<div id="bsmMenuArea">
		<div class="inner">
			{include file=$MENU}
		</div>
	</div>
	<div class="clr"></div>
</div>