Index: branches/version-2/data/Smarty/templates/default/list.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/list.tpl	(revision 17638)
+++ branches/version-2/data/Smarty/templates/default/list.tpl	(revision 18007)
@@ -100,5 +100,5 @@
        <!--商品ステータス-->
        <!--{if count($arrProducts[cnt].product_flag) > 0}-->
-       <ul>
+       <ul class="status_icon">
          <!--{section name=flg loop=$arrProducts[cnt].product_flag|count_characters}-->
            <!--{if $arrProducts[cnt].product_flag[flg] == "1"}-->
@@ -139,5 +139,5 @@
            <div class="in_cart">
              <dl>
-           
+
          <!--{assign var=class1 value=classcategory_id`$id`_1}-->
          <!--{assign var=class2 value=classcategory_id`$id`_2}-->
@@ -165,5 +165,5 @@
            </dd>
          <!--{/if}-->
-         
+
          <!--{assign var=quantity value=quantity`$id`}-->
            <dt>個数：</dt>
Index: branches/version-2/data/Smarty/templates/default/bloc/login.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/bloc/login.tpl	(revision 16583)
+++ branches/version-2/data/Smarty/templates/default/bloc/login.tpl	(revision 18007)
@@ -32,6 +32,8 @@
         <!--{if $tpl_login}-->
         <p>ようこそ<br />
-          <!--{$tpl_name1|escape}--> <!--{$tpl_name2|escape}--> 様<br />
-          所持ポイント：<span class="price"> <!--{$tpl_user_point|number_format|default:0}--> pt</span>
+          <!--{$tpl_name1|escape}--> <!--{$tpl_name2|escape}--> 様 <br />
+          <!--{if $smarty.const.USE_POINT === true}-->
+            所持ポイント：<span class="price"> <!--{$tpl_user_point|number_format|default:0}--> pt</span>
+          <!--{/if}-->
         </p>
           <!--{if !$tpl_disable_logout}-->
@@ -44,5 +46,5 @@
           <!--{/if}-->
         <!--{else}-->
-        <p><img src="<!--{$TPL_DIR}-->img/side/icon_mail.gif" width="40" height="21" alt="メールアドレス" /><input type="text" name="login_email" class="box96" value="<!--{$tpl_login_email|escape}-->" /></p>
+        <p><img src="<!--{$TPL_DIR}-->img/side/icon_mail.gif" width="40" height="21" alt="メールアドレス" /><input type="text" name="login_email" class="box96" value="<!--{$tpl_login_email|escape}-->" style="ime-mode: disabled;"/></p>
         <p><img src="<!--{$TPL_DIR}-->img/side/icon_pw.gif" width="40" height="22" alt="パスワード" /><input type="password" name="login_pass" class="box96" /></p>
       </div>
Index: branches/version-2/data/Smarty/templates/default/mypage/navi.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/mypage/navi.tpl	(revision 16582)
+++ branches/version-2/data/Smarty/templates/default/mypage/navi.tpl	(revision 18007)
@@ -14,42 +14,67 @@
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.    See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA    02111-1307, USA.
  */
 *}-->
+
 <div id="mynavarea">
-  <ul>
-  <!--{if $tpl_mypageno == 'index'}-->
-    <li><a href="./index.php"><img src="<!--{$TPL_DIR}-->img/mypage/navi01_on.jpg" width="170" height="30" alt="購入履歴一覧" border="0" name="m_navi01" /></a></li>
-  <!--{else}-->
-    <li><a href="./index.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/mypage/navi01_on.jpg','m_navi01');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/mypage/navi01.jpg','m_navi01');"><img src="<!--{$TPL_DIR}-->img/mypage/navi01.jpg" width="170" height="30" alt="購入履歴一覧" border="0" name="m_navi01" /></a></li>
-  <!--{/if}-->
-  <!--{if $tpl_mypageno == 'change'}-->
-    <li><a href="./change.php"><img src="<!--{$TPL_DIR}-->img/mypage/navi02_on.jpg" width="170" height="30" alt="会員登録内容変更" border="0" name="m_navi02" /></a></li>
-  <!--{else}-->
-    <li><a href="./change.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/mypage/navi02_on.jpg','m_navi02');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/mypage/navi02.jpg','m_navi02');"><img src="<!--{$TPL_DIR}-->img/mypage/navi02.jpg" width="170" height="30" alt="会員登録内容変更" border="0" name="m_navi02" /></a></li>
-  <!--{/if}-->
-  <!--{if $tpl_mypageno == 'delivery'}-->
-    <li><a href="./delivery.php"><img src="<!--{$TPL_DIR}-->img/mypage/navi03_on.jpg" width="170" height="30" alt="お届け先追加・変更" border="0" name="m_navi03" /></a></li>
-  <!--{else}-->
-    <li><a href="./delivery.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/mypage/navi03_on.jpg','m_navi03');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/mypage/navi03.jpg','m_navi03');"><img src="<!--{$TPL_DIR}-->img/mypage/navi03.jpg" width="170" height="30" alt="お届け先追加・変更" border="0" name="m_navi03" /></a></li>
-  <!--{/if}-->
-  <!--{if $tpl_mypageno == 'refusal'}-->
-    <li><a href="./refusal.php"><img src="<!--{$TPL_DIR}-->img/mypage/navi04_on.jpg" width="170" height="30" alt="退会手続き" border="0" name="m_navi04" /></a></li>
-  <!--{else}-->
-    <li><a href="./refusal.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/mypage/navi04_on.jpg','m_navi04');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/mypage/navi04.jpg','m_navi04');"><img src="<!--{$TPL_DIR}-->img/mypage/navi04.jpg" width="170" height="30" alt="退会手続き" border="0" name="m_navi04" /></a></li>
-  <!--{/if}-->
-  <!-- 現在のポイント ここから -->
-  <!--{if $point_disp !== false}-->
-     <li>ようこそ <br />
-       <!--{$CustomerName1|escape}--> <!--{$CustomerName2|escape}-->様<br />
-       現在の所持ポイントは<em><!--{$CustomerPoint|number_format|escape|default:"0"}-->pt</em>です。</li>
-<!--{/if}-->
-<!-- 現在のポイント ここまで -->
-  </ul>
+    <!--{strip}-->
+    <ul class="button_like">
+        <li>
+            <!--{if $tpl_mypageno == 'index'}-->
+                <a href="./index.php"><img src="<!--{$TPL_DIR}-->img/mypage/navi01_on.jpg" width="170" height="30" alt="購入履歴一覧" border="0" name="m_navi01" /></a>
+            <!--{else}-->
+                <a href="./index.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/mypage/navi01_on.jpg','m_navi01');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/mypage/navi01.jpg','m_navi01');"><img src="<!--{$TPL_DIR}-->img/mypage/navi01.jpg" width="170" height="30" alt="購入履歴一覧" border="0" name="m_navi01" /></a>
+            <!--{/if}-->
+        </li>
+        <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1}-->
+            <li>
+                <!--{if $tpl_mypageno == 'favorite'}-->
+                    <a href="./favorite.php"><img src="<!--{$TPL_DIR}-->img/mypage/navi05_on.jpg" width="170" height="30" alt="お気に入り商品一覧" border="0" name="m_navi05" /></a>
+                <!--{else}-->
+                    <a href="./favorite.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/mypage/navi05_on.jpg','m_navi05');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/mypage/navi05.jpg','m_navi05');"><img src="<!--{$TPL_DIR}-->img/mypage/navi05.jpg" width="170" height="30" alt="お気に入り商品一覧" border="0" name="m_navi05" /></a>
+                <!--{/if}-->
+            </li>
+        <!--{/if}-->
+        <li>
+            <!--{if $tpl_mypageno == 'change'}-->
+                <a href="./change.php"><img src="<!--{$TPL_DIR}-->img/mypage/navi02_on.jpg" width="170" height="30" alt="会員登録内容変更" border="0" name="m_navi02" /></a>
+            <!--{else}-->
+                <a href="./change.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/mypage/navi02_on.jpg','m_navi02');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/mypage/navi02.jpg','m_navi02');"><img src="<!--{$TPL_DIR}-->img/mypage/navi02.jpg" width="170" height="30" alt="会員登録内容変更" border="0" name="m_navi02" /></a>
+            <!--{/if}-->
+        </li>
+        <li>
+            <!--{if $tpl_mypageno == 'delivery'}-->
+                <a href="./delivery.php"><img src="<!--{$TPL_DIR}-->img/mypage/navi03_on.jpg" width="170" height="30" alt="お届け先追加・変更" border="0" name="m_navi03" /></a>
+            <!--{else}-->
+                <a href="./delivery.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/mypage/navi03_on.jpg','m_navi03');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/mypage/navi03.jpg','m_navi03');"><img src="<!--{$TPL_DIR}-->img/mypage/navi03.jpg" width="170" height="30" alt="お届け先追加・変更" border="0" name="m_navi03" /></a>
+            <!--{/if}-->
+        </li>
+        <li>
+            <!--{if $tpl_mypageno == 'refusal'}-->
+                <a href="./refusal.php"><img src="<!--{$TPL_DIR}-->img/mypage/navi04_on.jpg" width="170" height="30" alt="退会手続き" border="0" name="m_navi04" /></a>
+            <!--{else}-->
+                <a href="./refusal.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/mypage/navi04_on.jpg','m_navi04');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/mypage/navi04.jpg','m_navi04');"><img src="<!--{$TPL_DIR}-->img/mypage/navi04.jpg" width="170" height="30" alt="退会手続き" border="0" name="m_navi04" /></a>
+            <!--{/if}-->
+        </li>
+    </ul>
+    <!--{/strip}-->
+    <!--▼現在のポイント-->
+    <!--{if $point_disp !== false}-->
+        <ul>
+             <li>ようこそ <br />
+                 <!--{$CustomerName1|escape}--> <!--{$CustomerName2|escape}-->様
+                 <!--{if $smarty.const.USE_POINT !== false}-->
+                     <br />現在の所持ポイントは<em><!--{$CustomerPoint|number_format|escape|default:"0"}-->pt</em> です。
+                 <!--{/if}-->
+             </li>
+        </ul>
+    <!--{/if}-->
+    <!--▲現在のポイント-->
 </div>
 <!--▲NAVI-->
Index: branches/version-2/data/Smarty/templates/default/mypage/favorite.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/mypage/favorite.tpl	(revision 18007)
+++ branches/version-2/data/Smarty/templates/default/mypage/favorite.tpl	(revision 18007)
@@ -0,0 +1,92 @@
+<!--{*
+/*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+*}-->
+<div id="mypagecolumn">
+  <h2 class="title"><img src="<!--{$TPL_DIR}-->img/mypage/title.jpg" width="700" height="40" alt="MYページ" /></h2>
+  <!--{if $tpl_navi != ""}-->
+    <!--{include file=$tpl_navi}-->
+  <!--{else}-->
+    <!--{include file=`$smarty.const.TEMPLATE_DIR`mypage/navi.tpl}-->
+  <!--{/if}-->
+
+  <div id="mycontentsarea">
+    <form name="form1" method="post" action="?">
+    <input type="hidden" name="order_id" value="" />
+    <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" />
+    <h3><img src="<!--{$TPL_DIR}-->img/mypage/subtitle06.gif" width="515" height="32" alt="お気に入り商品一覧" /></h3>
+
+<!--{if $tpl_linemax > 0}-->
+
+    <p><!--{$tpl_linemax}-->件のお気に入りがあります。</p>
+    <div class="paging">
+      <!--▼ページナビ-->
+      <!--{$tpl_strnavi}-->
+      <!--▲ページナビ-->
+    </div>
+
+    <form name="form1" id="form1" method="post" action="<!--{$smarty.const.SITE_URL}-->products/detail.php">
+    <input type="hidden" name="mode" value="cart" />
+    <input type="hidden" name="product_id" value="" />
+    <table summary="お気に入り" id="mypage-history-list" class="list">
+      <tr>
+        <th width="40">削除</th>
+        <th width="60">商品画像</th>
+        <th width="200">商品名</th>
+        <th width="200" class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span></th>
+      </tr>
+      <!--{section name=cnt loop=$arrFavorite}-->
+      <!--{if $arrFavorite[cnt].main_list_image != ""}-->
+        <!--{assign var=image_path value="`$arrFavorite[cnt].main_list_image`"}-->
+      <!--{else}-->
+        <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
+      <!--{/if}-->
+      <!--{assign var=product_id value="`$arrFavorite[cnt].product_id`"|escape}-->
+      <tr>
+       <td><a href="javascript:fnModeSubmit('delete_favorite','product_id','<!--{$product_id}-->');">削除</a></td>
+       <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id}-->"><img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65"></a></td>
+       <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id}-->"><!--{$arrFavorite[cnt].name}--></a></td>
+       <td class="right sale_price">
+        <span class="price">
+          <!--{if $arrFavorite[cnt].price02_min == $arrFavorite[cnt].price02_max}-->
+            <!--{$arrFavorite[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
+          <!--{else}-->
+            <!--{$arrFavorite[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->～<!--{$arrFavorite[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
+          <!--{/if}-->円</span>
+       </td>
+     </tr>
+     <!--{/section}-->
+    </table>
+    <br />
+    <!--{if $stock_find_count > 0 && $customer_rank < 51}-->
+    <div class="product-btn">
+      <a href="javascript:void(document.form1.submit())" class="btn-cart">カートに入れる</a>
+    </div>
+    <!--{/if}-->
+    </form>
+
+    <!--{else}-->
+    <p>お気に入りが登録されておりません。</p>
+    <!--{/if}-->
+    </form>
+  </div>
+</div>
Index: branches/version-2/data/Smarty/templates/default/mypage/history.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/mypage/history.tpl	(revision 16582)
+++ branches/version-2/data/Smarty/templates/default/mypage/history.tpl	(revision 18007)
@@ -93,14 +93,16 @@
 
     <!-- 使用ポイントここから -->
-    <table summary="使用ポイント">
-      <tr>
-        <th>ご使用ポイント</th>
-        <td class="pricetd"><!--{assign var=key value="use_point"}--><!--{$arrDisp[$key]|number_format|default:0}--> pt</td>
-      </tr>
-      <tr>
-        <th>今回加算されるポイント</th>
-        <td class="pricetd"><!--{$arrDisp.add_point|number_format|default:0}--> pt</td>
-      </tr>
-    </table>
+    <!--{if $smarty.const.USE_POINT === true}-->
+      <table summary="使用ポイント">
+        <tr>
+          <th>ご使用ポイント</th>
+          <td class="pricetd"><!--{assign var=key value="use_point"}--><!--{$arrDisp[$key]|number_format|default:0}--> pt</td>
+        </tr>
+        <tr>
+          <th>今回加算されるポイント</th>
+          <td class="pricetd"><!--{$arrDisp.add_point|number_format|default:0}--> pt</td>
+        </tr>
+      </table>
+    <!--{/if}-->
     <!-- 使用ポイントここまで -->
 
Index: branches/version-2/data/Smarty/templates/default/shopping/confirm.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/shopping/confirm.tpl	(revision 17184)
+++ branches/version-2/data/Smarty/templates/default/shopping/confirm.tpl	(revision 18007)
@@ -24,11 +24,11 @@
 
 function fnCheckSubmit() {
-	if(send) {
-		send = false;
-		return true;
-	} else {
-		alert("只今、処理中です。しばらくお待ち下さい。");
-		return false;
-	}
+    if(send) {
+        send = false;
+        return true;
+    } else {
+        alert("只今、処理中です。しばらくお待ち下さい。");
+        return false;
+    }
 }
 //]]>
@@ -87,10 +87,12 @@
           <td class="pricetd"><!--{$tpl_total_pretax|number_format}-->円</td>
         </tr>
-        <tr>
-          <th colspan="4" class="resulttd">値引き（ポイントご使用時）</th>
-          <td class="pricetd">
-          <!--{assign var=discount value=`$arrData.use_point*$smarty.const.POINT_VALUE`}-->
-           -<!--{$discount|number_format|default:0}-->円</td>
-        </tr>
+        <!--{if $smarty.const.USE_POINT === true}-->
+          <tr>
+            <th colspan="4" class="resulttd">値引き（ポイントご使用時）</th>
+            <td class="pricetd">
+            <!--{assign var=discount value=`$arrData.use_point*$smarty.const.POINT_VALUE`}-->
+             -<!--{$discount|number_format|default:0}-->円</td>
+          </tr>
+        <!--{/if}-->
         <tr>
           <th colspan="4" class="resulttd">送料</th>
@@ -108,5 +110,5 @@
 
     <!--{* ログイン済みの会員のみ *}-->
-    <!--{if $tpl_login == 1 || $arrData.member_check == 1}-->
+    <!--{if ($tpl_login == 1 || $arrData.member_check == 1) && $smarty.const.USE_POINT === true}-->
       <table summary="ポイント確認" class="delivname">
         <tr>
@@ -216,5 +218,5 @@
           <td><!--{$arrData.message|escape|nl2br}--></td>
         </tr>
-        <!--{if $tpl_login == 1}-->
+        <!--{if $tpl_login == 1 && $smarty.const.USE_POINT === true}-->
         <tr>
           <th>ポイント使用</th>
@@ -228,5 +230,5 @@
         <!--{'sfTSPrintOrderBox'|call_user_func}-->
       <!--{/if}-->
-      
+
       <div class="tblareabtn">
         <a href="./payment.php" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/common/b_back_on.gif',back03)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/common/b_back.gif',back03)"><img src="<!--{$TPL_DIR}-->img/common/b_back.gif" width="150" height="30" alt="戻る" border="0" name="back03" id="back03" /></a>&nbsp;
Index: branches/version-2/data/Smarty/templates/default/shopping/payment.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/shopping/payment.tpl	(revision 16583)
+++ branches/version-2/data/Smarty/templates/default/shopping/payment.tpl	(revision 18007)
@@ -101,22 +101,22 @@
 
       <!-- ▼ポイント使用 ここから -->
-      <!--{if $tpl_login == 1}-->
-    <div class="pointarea">
-      <h3><img src="<!--{$TPL_DIR}-->img/shopping/subtitle_point.jpg" width="670" height="32" alt="ポイント使用の指定" /></h3>
+      <!--{if $tpl_login == 1 && $smarty.const.USE_POINT === true}-->
+        <div class="pointarea">
+          <h3><img src="<!--{$TPL_DIR}-->img/shopping/subtitle_point.jpg" width="670" height="32" alt="ポイント使用の指定" /></h3>
 
-        <p><span class="attention">1ポイントを1円</span>として使用する事ができます。<br />
-          使用する場合は、「ポイントを使用する」にチェックを入れた後、使用するポイントをご記入ください。</p>
-      <div>
-        <p><!--{$objCustomer->getValue('name01')|escape}--> <!--{$objCustomer->getValue('name02')|escape}-->様の、現在の所持ポイントは「<em><!--{$tpl_user_point|default:0}-->Pt</em>」です。</p>
-        <p>今回ご購入合計金額：<span class="price"><!--{$arrData.subtotal|number_format}-->円</span><span class="attention">（送料、手数料を含みません。）</span></p>
-        <ul>
-          <li><input type="radio" id="point_on" name="point_check" value="1" <!--{$arrForm.point_check.value|sfGetChecked:1}--> onclick="fnCheckInputPoint();" /><label for="point_on">ポイントを使用する</label></li>
-           <!--{assign var=key value="use_point"}-->
+          <p><span class="attention">1ポイントを1円</span>として使用する事ができます。<br />
+            使用する場合は、「ポイントを使用する」にチェックを入れた後、使用するポイントをご記入ください。</p>
+        <div>
+          <p><!--{$objCustomer->getValue('name01')|escape}--> <!--{$objCustomer->getValue('name02')|escape}-->様の、現在の所持ポイントは「<em><!--{$tpl_user_point|default:0}-->Pt</em>」です。</p>
+          <p>今回ご購入合計金額：<span class="price"><!--{$arrData.subtotal|number_format}-->円</span><span class="attention">（送料、手数料を含みません。）</span></p>
+          <ul>
+            <li><input type="radio" id="point_on" name="point_check" value="1" <!--{$arrForm.point_check.value|sfGetChecked:1}--> onclick="fnCheckInputPoint();" /><label for="point_on">ポイントを使用する</label></li>
+              <!--{assign var=key value="use_point"}-->
 
-           <li class="underline">今回のお買い物で、<input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|default:$tpl_user_point}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="6" class="box60" />&nbsp;ポイントを使用する。<span class="attention"><!--{$arrErr[$key]}--></span></li>
-           <li><input type="radio" id="point_off" name="point_check" value="2" <!--{$arrForm.point_check.value|sfGetChecked:2}--> onclick="fnCheckInputPoint();" /><label for="point_off">ポイントを使用しない</label></li>
-         </ul>
+             <li class="underline">今回のお買い物で、<input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|default:$tpl_user_point}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="6" class="box60" />&nbsp;ポイントを使用する。<span class="attention"><!--{$arrErr[$key]}--></span></li>
+             <li><input type="radio" id="point_off" name="point_check" value="2" <!--{$arrForm.point_check.value|sfGetChecked:2}--> onclick="fnCheckInputPoint();" /><label for="point_off">ポイントを使用しない</label></li>
+           </ul>
+        </div>
       </div>
-    </div>
       <!--{/if}-->
       <!-- ▲ポイント使用 ここまで -->
Index: branches/version-2/data/Smarty/templates/default/admin/contents/subnavi.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/contents/subnavi.tpl	(revision 17207)
+++ branches/version-2/data/Smarty/templates/default/admin/contents/subnavi.tpl	(revision 18007)
@@ -23,31 +23,31 @@
 *}-->
 <table width="141" border="0" cellspacing="0" cellpadding="0" summary=" " id="menu_navi">
-	<!--ナビ-->
-	<tr><td class=<!--{if $tpl_subno != 'index'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./index.php" onMouseOver="naviStyleChange('index', '#a5a5a5')" <!--{if $tpl_subno != 'index'}-->onMouseOut="naviStyleChange('index', '#636469')"<!--{/if}--> id="index"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">新着情報管理</span></a></td></tr>
-	<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
-	<tr><td class=<!--{if $tpl_subno != 'recommend'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./recommend.php" onMouseOver="naviStyleChange('recommend', '#a5a5a5')" <!--{if $tpl_subno != 'recommend'}-->onMouseOut="naviStyleChange('recommend', '#636469')"<!--{/if}--> id="recommend"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">オススメ管理</span></a></td></tr>
-	<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
-	<tr><td class=<!--{if $tpl_subno != 'inquiry'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./inquiry.php" onMouseOver="naviStyleChange('inquiry', '#a5a5a5')" <!--{if $tpl_subno != 'inquiry'}-->onMouseOut="naviStyleChange('inquiry', '#636469')"<!--{/if}--> id="inquiry"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">アンケート管理</span></a></td></tr>
-	<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
-	<tr><td class=<!--{if $tpl_subno != 'campaign'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./campaign.php" onMouseOver="naviStyleChange('campaign', '#a5a5a5')" <!--{if $tpl_subno != 'campaign'}-->onMouseOut="naviStyleChange('campaign', '#636469')"<!--{/if}--> id="campaign"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">キャンペーン管理</span></a></td></tr>
-	<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
-	<tr><td class=<!--{if $tpl_subno != 'file'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./file_manager.php" onMouseOver="naviStyleChange('file', '#a5a5a5')" <!--{if $tpl_subno != 'file'}-->onMouseOut="naviStyleChange('file', '#636469')"<!--{/if}--> id="file"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">ファイル管理</span></a></td></tr>
-	<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
-	<tr><td class=<!--{if $tpl_subno != 'csv'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./csv.php" onMouseOver="naviStyleChange('csv', '#a5a5a5')" <!--{if $tpl_subno != 'csv'}-->onMouseOut="naviStyleChange('csv', '#636469')"<!--{/if}--> id="csv"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">CSV出力項目設定</span></a></td></tr>
-	<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
-	<!--{if $tpl_subno == 'csv'}-->
-		<tr><td class=<!--{if $tpl_subno_csv != 'product'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.1}-->" onMouseOver="naviStyleChange('product_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'product'}-->onMouseOut="naviStyleChange('product_sub', '#818287')"<!--{/if}--> id="product_sub"><span class="subnavi_text">商品管理</span></a></td></tr>
-		<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
-		<tr><td class=<!--{if $tpl_subno_csv != 'category'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.5}-->" onMouseOver="naviStyleChange('category_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'category'}-->onMouseOut="naviStyleChange('category_sub', '#818287')"<!--{/if}--> id="category_sub"><span class="subnavi_text">カテゴリ</span></a></td></tr>
-		<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
-		<tr><td class=<!--{if $tpl_subno_csv != 'customer'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.2}-->" onMouseOver="naviStyleChange('customer_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'customer'}-->onMouseOut="naviStyleChange('customer_sub', '#818287')"<!--{/if}--> id="customer_sub"><span class="subnavi_text">顧客管理</span></a></td></tr>
-		<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
-		<tr><td class=<!--{if $tpl_subno_csv != 'order'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.3}-->" onMouseOver="naviStyleChange('order_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'order'}-->onMouseOut="naviStyleChange('order_sub', '#818287')"<!--{/if}--> id="order_sub"><span class="subnavi_text">受注管理</span></a></td></tr>
-		<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
-		<tr><td class=<!--{if $tpl_subno_csv != 'campaign'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.4}-->" onMouseOver="naviStyleChange('campaign_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'campaign'}-->onMouseOut="naviStyleChange('campaign_sub', '#818287')"<!--{/if}--> id="campaign_sub"><span class="subnavi_text">キャンペーン</span></a></td></tr>
-		<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
-		<tr><td class=<!--{if $tpl_subno_csv != 'csv_sql'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv_sql.php" onMouseOver="naviStyleChange('csv_sql', '#b7b7b7')" <!--{if $tpl_subno_csv != 'csv_sql'}-->onMouseOut="naviStyleChange('csv_sql', '#818287')"<!--{/if}--> id="csv_sql"><span class="subnavi_text">高度な設定</span></a></td></tr>
-		<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
-	<!--{/if}-->
-	<!--ナビ-->
+    <!--ナビ-->
+    <tr><td class=<!--{if $tpl_subno != 'index'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./index.php" onMouseOver="naviStyleChange('index', '#a5a5a5')" <!--{if $tpl_subno != 'index'}-->onMouseOut="naviStyleChange('index', '#636469')"<!--{/if}--> id="index"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">新着情報管理</span></a></td></tr>
+    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
+    <tr><td class=<!--{if $tpl_subno != 'recommend'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./recommend.php" onMouseOver="naviStyleChange('recommend', '#a5a5a5')" <!--{if $tpl_subno != 'recommend'}-->onMouseOut="naviStyleChange('recommend', '#636469')"<!--{/if}--> id="recommend"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">オススメ管理</span></a></td></tr>
+    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
+    <tr><td class=<!--{if $tpl_subno != 'inquiry'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./inquiry.php" onMouseOver="naviStyleChange('inquiry', '#a5a5a5')" <!--{if $tpl_subno != 'inquiry'}-->onMouseOut="naviStyleChange('inquiry', '#636469')"<!--{/if}--> id="inquiry"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">アンケート管理</span></a></td></tr>
+    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
+    <tr><td class=<!--{if $tpl_subno != 'campaign'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./campaign.php" onMouseOver="naviStyleChange('campaign', '#a5a5a5')" <!--{if $tpl_subno != 'campaign'}-->onMouseOut="naviStyleChange('campaign', '#636469')"<!--{/if}--> id="campaign"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">キャンペーン管理</span></a></td></tr>
+    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
+    <tr><td class=<!--{if $tpl_subno != 'file'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./file_manager.php" onMouseOver="naviStyleChange('file', '#a5a5a5')" <!--{if $tpl_subno != 'file'}-->onMouseOut="naviStyleChange('file', '#636469')"<!--{/if}--> id="file"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">ファイル管理</span></a></td></tr>
+    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
+    <tr><td class=<!--{if $tpl_subno != 'csv'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./csv.php" onMouseOver="naviStyleChange('csv', '#a5a5a5')" <!--{if $tpl_subno != 'csv'}-->onMouseOut="naviStyleChange('csv', '#636469')"<!--{/if}--> id="csv"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">CSV出力項目設定</span></a></td></tr>
+    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
+    <!--{if $tpl_subno == 'csv'}-->
+        <tr><td class=<!--{if $tpl_subno_csv != 'product'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.1}-->" onMouseOver="naviStyleChange('product_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'product'}-->onMouseOut="naviStyleChange('product_sub', '#818287')"<!--{/if}--> id="product_sub"><span class="subnavi_text">商品管理</span></a></td></tr>
+        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
+        <tr><td class=<!--{if $tpl_subno_csv != 'category'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.5}-->" onMouseOver="naviStyleChange('category_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'category'}-->onMouseOut="naviStyleChange('category_sub', '#818287')"<!--{/if}--> id="category_sub"><span class="subnavi_text">カテゴリ</span></a></td></tr>
+        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
+        <tr><td class=<!--{if $tpl_subno_csv != 'customer'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.2}-->" onMouseOver="naviStyleChange('customer_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'customer'}-->onMouseOut="naviStyleChange('customer_sub', '#818287')"<!--{/if}--> id="customer_sub"><span class="subnavi_text">顧客管理</span></a></td></tr>
+        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
+        <tr><td class=<!--{if $tpl_subno_csv != 'order'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.3}-->" onMouseOver="naviStyleChange('order_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'order'}-->onMouseOut="naviStyleChange('order_sub', '#818287')"<!--{/if}--> id="order_sub"><span class="subnavi_text">受注管理</span></a></td></tr>
+        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
+        <tr><td class=<!--{if $tpl_subno_csv != 'campaign'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.4}-->" onMouseOver="naviStyleChange('campaign_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'campaign'}-->onMouseOut="naviStyleChange('campaign_sub', '#818287')"<!--{/if}--> id="campaign_sub"><span class="subnavi_text">キャンペーン</span></a></td></tr>
+        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
+        <tr><td class=<!--{if $tpl_subno_csv != 'csv_sql'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv_sql.php?tpl_subno_csv=<!--{$arrSubnavi.6}-->" onMouseOver="naviStyleChange('csv_sql', '#b7b7b7')" <!--{if $tpl_subno_csv != 'csv_sql'}-->onMouseOut="naviStyleChange('csv_sql', '#818287')"<!--{/if}--> id="csv_sql"><span class="subnavi_text">高度な設定</span></a></td></tr>
+        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
+    <!--{/if}-->
+    <!--ナビ-->
 </table>
Index: branches/version-2/data/Smarty/templates/default/admin/customer/search_customer.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/customer/search_customer.tpl	(revision 18007)
+++ branches/version-2/data/Smarty/templates/default/admin/customer/search_customer.tpl	(revision 18007)
@@ -0,0 +1,151 @@
+<!--{*
+/*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.    See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA    02111-1307, USA.
+ */
+*}-->
+<!--　-->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=<!--{$smarty.const.CHAR_CODE}-->">
+<meta http-equiv="content-script-type" content="text/javascript">
+<meta http-equiv="content-style-type" content="text/css">
+.<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->admin/css/contents.css" type="text/css" media="all" />
+<script type="text/javascript" src="<!--{$TPL_DIR}-->js/css.js"></script>
+<script type="text/javascript" src="<!--{$TPL_DIR}-->js/navi.js"></script>
+<script type="text/javascript" src="<!--{$TPL_DIR}-->js/admin.js"></script>
+<script type="text/javascript">
+<!--
+self.moveTo(20,20);self.focus();
+
+function func_submit(customer_id){
+    var fm = window.opener.document.form1;
+    fm.edit_customer_id.value = customer_id;
+    fm.mode.value = 'search_customer';
+    fm.submit();
+    window.close();
+    return false;
+}
+//-->
+</script>
+
+<title>EC CUBE 管理者画面</title>
+</head>
+
+<body bgcolor="#ffffff" text="#494E5F" link="#006699" vlink="#006699" alink="#006699" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="preLoadImg('<!--{$TPL_DIR}-->')">
+<!--{$GLOBAL_ERR}-->
+<noscript>
+<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->admin/css/common.css" type="text/css" >
+</noscript>
+
+<!--▼CONTENTS-->
+<div align="center">
+　
+<!--▼検索フォーム-->
+<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
+<input name="mode" type="hidden" value="search">
+<input name="search_pageno" type="hidden" value="">
+<input name="customer_id" type="hidden" value="">
+<table bgcolor="#cccccc" width="420" border="0" cellspacing="1" cellpadding="5" summary=" ">
+    <tr class="fs12n">
+        <td bgcolor="#f0f0f0" width="100">顧客ID</td>
+        <td bgcolor="#ffffff" width="287" colspan="2">
+            <!--{if $arrErr.search_customer_id}--><span class="red12"><!--{$arrErr.search_customer_id}--></span><!--{/if}-->
+            <input type="text" name="search_customer_id" value="<!--{$arrForm.search_customer_id|escape}-->" size="40" class="box40" style="<!--{$arrErr.search_customer_id|sfGetErrorColor}-->"/>
+        </td>
+    </tr>
+    <tr class="fs12n">
+        <td bgcolor="#f0f0f0">担当者</td>
+        <td bgcolor="#ffffff">
+            <!--{if $arrErr.search_name01}--><span class="red12"><!--{$arrErr.search_name01}--></span><!--{/if}-->
+            <!--{if $arrErr.search_name02}--><span class="red12"><!--{$arrErr.search_name02}--></span><!--{/if}-->
+            姓&nbsp;&nbsp;<input type="text" name="search_name01" value="<!--{$arrForm.search_name01|escape}-->" size="15" class="box15" style="<!--{$arrErr.search_name01|sfGetErrorColor}-->"/>
+            &nbsp;名&nbsp;&nbsp;<input type="text" name="search_name02" value="<!--{$arrForm.search_name02|escape}-->" size="15" class="box15" style="<!--{$arrErr.search_name02|sfGetErrorColor}-->"/>
+        </td>
+    </tr>
+    <tr class="fs12n">
+        <td bgcolor="#f0f0f0">担当者(カナ)</td>
+        <td bgcolor="#ffffff">
+            <!--{if $arrErr.search_kana01}--><span class="red12"><!--{$arrErr.search_kana01}--></span><!--{/if}-->
+            <!--{if $arrErr.search_kana02}--><span class="red12"><!--{$arrErr.search_kana02}--></span><!--{/if}-->
+            セイ<input type="text" name="search_kana01" value="<!--{$arrForm.search_kana01|escape}-->" size="15" class="box15" style="<!--{$arrErr.search_kana01|sfGetErrorColor}-->"/>
+                                                メイ&nbsp;<input type="text" name="search_kana02" value="<!--{$arrForm.search_kana02|escape}-->" size="15" class="box15" style="<!--{$arrErr.search_kana02|sfGetErrorColor}-->"/>
+        </td>
+    </tr>
+</table>
+
+<br />
+<input type="submit" name="subm" value="検索を開始" />
+<br />
+<br />
+<!--{if $smarty.post.mode == 'search' }-->
+    <!--▼検索結果表示-->
+    <table width="420" border="0" cellspacing="0" cellpadding="0" summary=" " bgcolor="#FFFFFF">
+        <!--{if $tpl_linemax > 0}-->
+            <tr class="fs12">
+                <td align="left"><!--{$tpl_linemax}-->件が該当しました。	</td>
+            </tr>
+        <!--{/if}-->
+        <tr class="fs12">
+            <td align="center">
+            <!--▼ページナビ-->
+            <!--{$tpl_strnavi}-->
+            <!--▲ページナビ-->
+            </td>
+        </tr>
+        <tr><td height="10"></td></tr>
+    </table>
+
+    <!--▼検索後表示部分-->
+    <table width="420" border="0" cellspacing="1" cellpadding="5" bgcolor="#cccccc">
+        <tr bgcolor="#f0f0f0" align="center" class="fs12">
+            <td>顧客ID</td>
+            <td>顧客名(カナ)</td>
+            <td>TEL</td>
+            <td>決定</td>
+        </tr>
+        <!--{section name=cnt loop=$arrCustomer}-->
+        <!--▼顧客<!--{$smarty.section.cnt.iteration}-->-->
+        <tr bgcolor="#FFFFFF" class="fs12n">
+            <td width="90" align="center">
+            <!--{$arrCustomer[cnt].customer_id|escape}-->
+            </td>
+            <td><!--{$arrCustomer[cnt].name01|escape}--><!--{$arrCustomer[cnt].name02|escape}-->(<!--{$arrCustomer[cnt].kana01|escape}--><!--{$arrCustomer[cnt].kana02|escape}-->)</td>
+            <td><!--{$arrCustomer[cnt].tel01|escape}-->-<!--{$arrCustomer[cnt].tel02|escape}-->-<!--{$arrCustomer[cnt].tel03|escape}--></td>
+            <td align="center"><a href="" onClick="return func_submit(<!--{$arrCustomer[cnt].customer_id}-->)">決定</a></td>
+        </tr>
+        <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
+        <!--{sectionelse}-->
+        <tr bgcolor="#FFFFFF" class="fs10n">
+            <td colspan="4">会員情報が存在しません。</td>
+        </tr>
+        <!--{/section}-->
+    </table>
+
+    <!--▲検索結果表示-->
+<!--{/if}-->
+</form>
+
+</div>
+<!--▲CONTENTS-->
+
+</body>
+</html>
Index: branches/version-2/data/Smarty/templates/default/admin/customer/index.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/customer/index.tpl	(revision 16979)
+++ branches/version-2/data/Smarty/templates/default/admin/customer/index.tpl	(revision 18007)
@@ -55,4 +55,13 @@
     }
 
+    function fnReSendMail(customer_id) {
+        if (confirm('仮登録メールを再送しても宜しいですか？')) {
+            document.form1.mode.value = "resend_mail"
+            document.form1['edit_customer_id'].value = customer_id;
+            document.form1.submit();
+            return false;
+        }
+    }
+
     function fnSubmit() {
         document.form1.submit();
@@ -132,4 +141,8 @@
                             </tr>
                             <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">会員状態</td>
+                                <td bgcolor="#ffffff" width="499" colspan="3"><!--{html_checkboxes name="status" options=$arrStatus separator="&nbsp;" selected=$arrForm.status}--></td>
+                            </tr>
+                            <tr class="fs12n">
                                 <td bgcolor="#f2f1ec" width="110">誕生日</td>
                                 <td bgcolor="#ffffff" width="499" colspan="3">
@@ -314,5 +327,5 @@
 <!--★★メインコンテンツ★★-->
 
-<!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete') }-->
+<!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete' or $smarty.post.mode == 'resend_mail') }-->
 
 <!--★★検索結果一覧★★-->
@@ -320,5 +333,5 @@
 <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
 <!--{foreach from=$smarty.post key="key" item="item"}-->
-<!--{if $key ne "mode" && $key ne "del_mode" && $key ne "edit_customer_id" && $key ne "del_customer_id" && $key ne "search_pageno" && $key ne "csv_mode" && $key ne "job" && $key ne "sex"}--><input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"><!--{/if}-->
+<!--{if $key ne "mode" && $key ne "del_mode" && $key ne "edit_customer_id" && $key ne "del_customer_id" && $key ne "search_pageno" && $key ne "csv_mode" && $key ne "job" && $key ne "sex" && $key ne "status"}--><input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"><!--{/if}-->
 <!--{/foreach}-->
 <!--{foreach from=$smarty.post.job key="key" item="item"}-->
@@ -327,4 +340,7 @@
 <!--{foreach from=$smarty.post.sex key="key" item="item"}-->
 <input type="hidden" name="sex[]" value=<!--{$item}-->>
+<!--{/foreach}-->
+<!--{foreach from=$smarty.post.status key="key" item="item"}-->
+<input type="hidden" name="status[]" value=<!--{$item}-->>
 <!--{/foreach}-->
 <input type="hidden" name="mode" value="search">
@@ -417,5 +433,5 @@
                             <tr bgcolor="#ffffff" class="fs12n">
                                 <td width=""><!--{assign var=pref value=$search_data[data].pref}--><!--{$arrPref[$pref]}--></td>
-                                <td width=""><!--{mailto address=$search_data[data].email encode="javascript"}--></a></td>
+                                <td width=""><!--{mailto address=$search_data[data].email encode="javascript"}--><!--{if $search_data[data].status eq 1}--><br /><a href="#" onclick="return fnReSendMail('<!--{$search_data[data].customer_id|escape}-->');"> 仮登録メール再送</a><!--{/if}--></td>
                             </tr>
                             <!--顧客<!--{$smarty.section.data.iteration}-->-->
Index: branches/version-2/data/Smarty/templates/default/admin/customer/edit.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/customer/edit.tpl	(revision 17054)
+++ branches/version-2/data/Smarty/templates/default/admin/customer/edit.tpl	(revision 18007)
@@ -24,5 +24,5 @@
 <script type="text/javascript">
 <!--
-	
+
 	function fnReturn() {
 		document.form_search.action = './index.php';
@@ -38,5 +38,5 @@
 		document.form2.submit();
 	}
-	
+
 //-->
 </script>
@@ -205,5 +205,5 @@
 											<select name="day" <!--{if $arrErr.year != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> >
 												<option value="" selected="selected">----</option>
-												<!--{html_options options=$arrDay selected=$list_data.day"}-->		
+												<!--{html_options options=$arrDay selected=$list_data.day"}-->
 											</select>日
 										</td>
@@ -211,5 +211,5 @@
 									<tr class="fs12n">
 										<td bgcolor="#f2f1ec" width="190">パスワード<span class="red"> *</span></td>
-										<td class="red10" bgcolor="#ffffff" width="527"><span class="red12"><!--{$arrErr.password}--></span><input type="password" name="password" value="<!--{$list_data.password|escape}-->" size="30" class="box30" <!--{if $arrErr.password != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> />　半角英数小文字4〜10文字（記号不可）</td>
+										<td class="red10" bgcolor="#ffffff" width="527"><span class="red12"><!--{$arrErr.password}--></span><input type="password" name="password" value="<!--{$list_data.password|escape}-->" size="30" class="box30" <!--{if $arrErr.password != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> />　半角英数小文字<!--{$smarty.const.PASSWORD_LEN1}-->〜<!--{$smarty.const.PASSWORD_LEN2}-->文字（記号不可）</td>
 									</tr>
 									<tr>
@@ -333,5 +333,5 @@
 		<td align="right">
 			<!--{include file=$tpl_pager}-->
-		</td>									
+		</td>
 	</tr>
 	<tr><td bgcolor="cbcbcb" colspan="2"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td></tr>
@@ -375,5 +375,5 @@
 	</tr>
 </form>
-</table>		
-<!--★★検索結果一覧★★-->		
-
+</table>
+<!--★★検索結果一覧★★-->
+
Index: branches/version-2/data/Smarty/templates/default/admin/basis/index.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/basis/index.tpl	(revision 16582)
+++ branches/version-2/data/Smarty/templates/default/admin/basis/index.tpl	(revision 18007)
@@ -26,228 +26,239 @@
 <form name="form1" id="form1" method="post" action="./index.php">
 <input type="hidden" name="mode" value="<!--{$tpl_mode}-->">
-	<tr valign="top">
-		<td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
-			<!--▼SUB NAVI-->
-			<!--{include file=$tpl_subnavi}-->
-			<!--▲SUB NAVI-->
-		</td>
-		<td class="mainbg">
-			<!--▼登録テーブルここから-->
-			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-				<!--メインエリア-->
-				<tr>
-					<td align="center">
-						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td height="14"></td></tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr>
-								<td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-								<td bgcolor="#cccccc">
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-										<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->SHOPマスタ登録</span></td>
-										<td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-									</tr>
-								</table>
+    <tr valign="top">
+        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
+            <!--▼SUB NAVI-->
+            <!--{include file=$tpl_subnavi}-->
+            <!--▲SUB NAVI-->
+        </td>
+        <td class="mainbg">
+            <!--▼登録テーブルここから-->
+            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                <!--メインエリア-->
+                <tr>
+                    <td align="center">
+                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr><td height="14"></td></tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                                <td bgcolor="#cccccc">
+                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                    <tr>
+                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+                                    </tr>
+                                    <tr>
+                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->SHOPマスタ登録</span></td>
+                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+                                    </tr>
+                                    <tr>
+                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+                                    </tr>
+                                    <tr>
+                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+                                    </tr>
+                                </table>
 
-								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-									<tr>
-										<td bgcolor="#f2f1ec" colspan="2" class="fs12n">▼基本情報</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12n">会社名</td>
-										<td bgcolor="#ffffff" width="537" class="fs10n">
-										<span class="red12"><!--{$arrErr.company_name}--></span>
-										<input type="text" name="company_name" value="<!--{$arrForm.company_name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.company_name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12n">会社名（カナ）</td>
-										<td bgcolor="#ffffff" width="537" class="fs10n">
-										<span class="red12"><!--{$arrErr.company_kana}--></span>
-										<input type="text" name="company_kana" value="<!--{$arrForm.company_kana|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.company_kana != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12n">店名<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="537" class="fs10n">
-										<span class="red12"><!--{$arrErr.shop_name}--></span>
-										<input type="text" name="shop_name" value="<!--{$arrForm.shop_name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.shop_name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12n">店名（カナ）</td>
-										<td bgcolor="#ffffff" width="537" class="fs10n">
-										<span class="red12"><!--{$arrErr.shop_kana}--></span>
-										<input type="text" name="shop_kana" value="<!--{$arrForm.shop_kana|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.shop_kana != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="160">郵便番号<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="537">
-										<span class="red12"><!--{$arrErr.zip01}--></span>
-										<span class="red12"><!--{$arrErr.zip02}--></span>
-										〒 <input type="text" name="zip01" value="<!--{$arrForm.zip01|escape}-->" maxlength="3" size="6" class="box6" style="<!--{if $arrErr.zip01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> - <input type="text" name="zip02" value="<!--{$arrForm.zip02|escape}-->" maxlength="4"  size="6" class="box6" style="<!--{if $arrErr.zip02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" />
-										<input type="button" name="address_input" value="住所入力" onclick="fnCallAddress('<!--{$smarty.const.URL_INPUT_ZIP}-->', 'zip01', 'zip02', 'pref', 'addr01');" />
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12">SHOP住所<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="537">
-										<table width="537" border="0" cellspacing="0" cellpadding="0" summary=" ">
-											<tr>
-												<td>
-													<span class="red12"><!--{$arrErr.pref}--></span>
-													<select name="pref" style="<!--{if $arrErr.pref != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" >							
-													<option value="" selected="selected">都道府県を選択</option>
-													<!--{html_options options=$arrPref selected=$arrForm.pref}-->
-													</select>
-												</td>
-											</tr>
-											<tr><td height="5"></td></tr>
-											<tr class="fs10n">
-												<td>
-												<span class="red12"><!--{$arrErr.addr01}--></span>
-												<input type="text" name="addr01" value="<!--{$arrForm.addr01|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.addr01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span><br />
-												<!--{$smarty.const.SAMPLE_ADDRESS1}--></td>
-											</tr>
-											<tr><td height="5"></td></tr>
-											<tr class="fs10n">
-												<td>
-												<span class="red12"><!--{$arrErr.addr02}--></span>
-												<input type="text" name="addr02" value="<!--{$arrForm.addr02|escape}-->"  maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.addr02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span><br />
-												<!--{$smarty.const.SAMPLE_ADDRESS2}--></td>
-											</tr>
-										</table>
-										</td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="160">TEL</td>
-										<td bgcolor="#ffffff" width="537">
-										<span class="red12"><!--{$arrErr.tel01}--></span>
-										<input type="text" name="tel01" value="<!--{$arrForm.tel01}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.tel01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> - 
-										<input type="text" name="tel02" value="<!--{$arrForm.tel02}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.tel01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> - 
-										<input type="text" name="tel03" value="<!--{$arrForm.tel03}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.tel01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /></td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="160">FAX</td>
-										<td bgcolor="#ffffff" width="537">
-										<span class="red12"><!--{$arrErr.fax01}--></span>
-										<input type="text" name="fax01" value="<!--{$arrForm.fax01}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.fax01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> - 
-										<input type="text" name="fax02" value="<!--{$arrForm.fax02}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.fax02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> - 
-										<input type="text" name="fax03" value="<!--{$arrForm.fax03}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.fax03 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12n">店舗営業時間</td>
-										<td bgcolor="#ffffff" width="537" class="fs10n">
-										<span class="red12"><!--{$arrErr.business_hour}--></span>
-										<input type="text" name="business_hour" value="<!--{$arrForm.business_hour|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.business_hour != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12n">商品注文受付<br>メールアドレス<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="537" class="fs10n">
-										<span class="red12"><!--{$arrErr.email01}--></span>
-										<input type="text" name="email01" value="<!--{$arrForm.email01|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.email01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12n">問い合わせ受付<br>メールアドレス<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="537" class="fs10n">
-										<span class="red12"><!--{$arrErr.email02}--></span>
-										<input type="text" name="email02" value="<!--{$arrForm.email02|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.email02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12n">メール送信元<br>メールアドレス<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="537" class="fs10n">
-										<span class="red12"><!--{$arrErr.email03}--></span>
-										<input type="text" name="email03" value="<!--{$arrForm.email03|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.email03 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12n">送信エラー受付<br>メールアドレス<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="537" class="fs10n">
-										<span class="red12"><!--{$arrErr.email04}--></span>
-										<input type="text" name="email04" value="<!--{$arrForm.email04|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.email04 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12n">取扱商品</td>
-										<td bgcolor="#ffffff" width="537" class="fs10n">
-										<!--{assign var=key value="good_traded"}-->
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<textarea name="<!--{$key}-->" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrForm[$key]|escape}--></textarea><span class="red"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="180" class="fs12n">メッセージ</td>
-										<td bgcolor="#ffffff" width="537" class="fs10n">
-										<!--{assign var=key value="message"}-->
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<textarea name="<!--{$key}-->" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrForm[$key]|escape}--></textarea><span class="red"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" colspan="2">▼SHOP機能</td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="180">消費税率<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="537">
-										<span class="red12"><!--{$arrErr.tax}--></span>
-										<input type="text" name="tax" value="<!--{$arrForm.tax|escape}-->" maxlength="<!--{$smarty.const.PERCENTAGE_LEN}-->" size="6" class="box6" style="<!--{if $arrErr.tax != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> ％</td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="180">課税規則<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="537">
-										<span class="red12"><!--{$arrErr.tax_rule}--></span>
-										<!--{html_radios name="tax_rule" options=$arrTAXRULE selected=$arrForm.tax_rule}-->
-										</td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="180">送料無料条件</td>
-										<td bgcolor="#ffffff" width="537">
-										<span class="red12"><!--{$arrErr.free_rule}--></span>
-										<input type="text" name="free_rule" value="<!--{$arrForm.free_rule|escape}-->" maxlength="<!--{$smarty.const.PRICE_LEN}-->" size="6" class="box6" style="<!--{if $arrErr.free_rule != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> 円以上購入時無料</td>
-									</tr>
-								</table>
+                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" colspan="2" class="fs12n">▼基本情報</td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12n">会社名</td>
+                                        <td bgcolor="#ffffff" width="537" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.company_name}--></span>
+                                        <input type="text" name="company_name" value="<!--{$arrForm.company_name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.company_name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12n">会社名（カナ）</td>
+                                        <td bgcolor="#ffffff" width="537" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.company_kana}--></span>
+                                        <input type="text" name="company_kana" value="<!--{$arrForm.company_kana|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.company_kana != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12n">店名<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="537" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.shop_name}--></span>
+                                        <input type="text" name="shop_name" value="<!--{$arrForm.shop_name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.shop_name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12n">店名（カナ）</td>
+                                        <td bgcolor="#ffffff" width="537" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.shop_kana}--></span>
+                                        <input type="text" name="shop_kana" value="<!--{$arrForm.shop_kana|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.shop_kana != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="160">郵便番号<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="537">
+                                        <span class="red12"><!--{$arrErr.zip01}--></span>
+                                        <span class="red12"><!--{$arrErr.zip02}--></span>
+                                        〒 <input type="text" name="zip01" value="<!--{$arrForm.zip01|escape}-->" maxlength="3" size="6" class="box6" style="<!--{if $arrErr.zip01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> - <input type="text" name="zip02" value="<!--{$arrForm.zip02|escape}-->" maxlength="4"  size="6" class="box6" style="<!--{if $arrErr.zip02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" />
+                                        <input type="button" name="address_input" value="住所入力" onclick="fnCallAddress('<!--{$smarty.const.URL_INPUT_ZIP}-->', 'zip01', 'zip02', 'pref', 'addr01');" />
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12">SHOP住所<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="537">
+                                        <table width="537" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                            <tr>
+                                                <td>
+                                                    <span class="red12"><!--{$arrErr.pref}--></span>
+                                                    <select name="pref" style="<!--{if $arrErr.pref != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" >
+                                                    <option value="" selected="selected">都道府県を選択</option>
+                                                    <!--{html_options options=$arrPref selected=$arrForm.pref}-->
+                                                    </select>
+                                                </td>
+                                            </tr>
+                                            <tr><td height="5"></td></tr>
+                                            <tr class="fs10n">
+                                                <td>
+                                                <span class="red12"><!--{$arrErr.addr01}--></span>
+                                                <input type="text" name="addr01" value="<!--{$arrForm.addr01|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.addr01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span><br />
+                                                <!--{$smarty.const.SAMPLE_ADDRESS1}--></td>
+                                            </tr>
+                                            <tr><td height="5"></td></tr>
+                                            <tr class="fs10n">
+                                                <td>
+                                                <span class="red12"><!--{$arrErr.addr02}--></span>
+                                                <input type="text" name="addr02" value="<!--{$arrForm.addr02|escape}-->"  maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.addr02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span><br />
+                                                <!--{$smarty.const.SAMPLE_ADDRESS2}--></td>
+                                            </tr>
+                                        </table>
+                                        </td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="160">TEL</td>
+                                        <td bgcolor="#ffffff" width="537">
+                                        <span class="red12"><!--{$arrErr.tel01}--></span>
+                                        <input type="text" name="tel01" value="<!--{$arrForm.tel01}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.tel01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> -
+                                        <input type="text" name="tel02" value="<!--{$arrForm.tel02}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.tel01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> -
+                                        <input type="text" name="tel03" value="<!--{$arrForm.tel03}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.tel01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /></td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="160">FAX</td>
+                                        <td bgcolor="#ffffff" width="537">
+                                        <span class="red12"><!--{$arrErr.fax01}--></span>
+                                        <input type="text" name="fax01" value="<!--{$arrForm.fax01}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.fax01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> -
+                                        <input type="text" name="fax02" value="<!--{$arrForm.fax02}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.fax02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> -
+                                        <input type="text" name="fax03" value="<!--{$arrForm.fax03}-->" maxlength="6" size="6" class="box6" style="<!--{if $arrErr.fax03 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12n">店舗営業時間</td>
+                                        <td bgcolor="#ffffff" width="537" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.business_hour}--></span>
+                                        <input type="text" name="business_hour" value="<!--{$arrForm.business_hour|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.business_hour != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12n">商品注文受付<br>メールアドレス<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="537" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.email01}--></span>
+                                        <input type="text" name="email01" value="<!--{$arrForm.email01|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.email01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12n">問い合わせ受付<br>メールアドレス<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="537" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.email02}--></span>
+                                        <input type="text" name="email02" value="<!--{$arrForm.email02|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.email02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12n">メール送信元<br>メールアドレス<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="537" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.email03}--></span>
+                                        <input type="text" name="email03" value="<!--{$arrForm.email03|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.email03 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12n">送信エラー受付<br>メールアドレス<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="537" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.email04}--></span>
+                                        <input type="text" name="email04" value="<!--{$arrForm.email04|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style="<!--{if $arrErr.email04 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12n">取扱商品</td>
+                                        <td bgcolor="#ffffff" width="537" class="fs10n">
+                                        <!--{assign var=key value="good_traded"}-->
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <textarea name="<!--{$key}-->" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrForm[$key]|escape}--></textarea><span class="red"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="180" class="fs12n">メッセージ</td>
+                                        <td bgcolor="#ffffff" width="537" class="fs10n">
+                                        <!--{assign var=key value="message"}-->
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <textarea name="<!--{$key}-->" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrForm[$key]|escape}--></textarea><span class="red"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span>
+                                    </tr>
 
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-										<td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-									</tr>
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-										<td bgcolor="#e9e7de" align="center">
-										<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-											<tr>
-												<td><input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" ></td>
-											</tr>
-										</table>
-										</td>
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
-									</tr>
-								</table>
-								</td>
-								<td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr><td height="30"></td></tr>
-						</table>
-					</td>
-				</tr>
-				<!--メインエリア-->
-			</table>
-			<!--▲登録テーブルここまで-->
-		</td>
-	</tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" colspan="2">▼定休日設定</td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="180">定休日</td>
+                                        <td bgcolor="#ffffff" width="537">
+                                            <span class="attention"><!--{$arrErr.regular_holiday_ids}--></span>
+                                            <!--{html_checkboxes name="regular_holiday_ids" options=$arrRegularHoliday selected=$arrForm.regular_holiday_ids}-->
+                                        </td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" colspan="2">▼SHOP機能</td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="180">消費税率<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="537">
+                                        <span class="red12"><!--{$arrErr.tax}--></span>
+                                        <input type="text" name="tax" value="<!--{$arrForm.tax|escape}-->" maxlength="<!--{$smarty.const.PERCENTAGE_LEN}-->" size="6" class="box6" style="<!--{if $arrErr.tax != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> ％</td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="180">課税規則<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="537">
+                                        <span class="red12"><!--{$arrErr.tax_rule}--></span>
+                                        <!--{html_radios name="tax_rule" options=$arrTAXRULE selected=$arrForm.tax_rule}-->
+                                        </td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="180">送料無料条件</td>
+                                        <td bgcolor="#ffffff" width="537">
+                                        <span class="red12"><!--{$arrErr.free_rule}--></span>
+                                        <input type="text" name="free_rule" value="<!--{$arrForm.free_rule|escape}-->" maxlength="<!--{$smarty.const.PRICE_LEN}-->" size="6" class="box6" style="<!--{if $arrErr.free_rule != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" /> 円以上購入時無料</td>
+                                    </tr>
+                                </table>
+
+                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                    <tr>
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                                        <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                        <td bgcolor="#e9e7de" align="center">
+                                        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                            <tr>
+                                                <td><input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" ></td>
+                                            </tr>
+                                        </table>
+                                        </td>
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                    </tr>
+                                    <tr>
+                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
+                                    </tr>
+                                </table>
+                                </td>
+                                <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+                            </tr>
+                            <tr><td height="30"></td></tr>
+                        </table>
+                    </td>
+                </tr>
+                <!--メインエリア-->
+            </table>
+            <!--▲登録テーブルここまで-->
+        </td>
+    </tr>
 </form>
 </table>
Index: branches/version-2/data/Smarty/templates/default/admin/products/category.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/products/category.tpl	(revision 17210)
+++ branches/version-2/data/Smarty/templates/default/admin/products/category.tpl	(revision 18007)
@@ -28,174 +28,174 @@
 <input type="hidden" name="parent_category_id" value="<!--{$arrForm.parent_category_id}-->">
 <input type="hidden" name="category_id" value="<!--{$arrForm.category_id}-->">
-	<tr valign="top">
-		<td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
-			<!--▼SUB NAVI-->
-			<!--{include file=$tpl_subnavi}-->
-			<!--▲SUB NAVI-->
-		</td>
-		<td class="mainbg" >
-		<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-			<!--メインエリア-->
-			<tr>
-				<td align="center">
-				<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-
-					<tr><td height="14"></td></tr>
-					<tr>
-						<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-					</tr>
-					<tr>
-						<td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-						<td bgcolor="#cccccc">
-
-							<!--▼登録テーブルここから-->
-							<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-								<tr>
-									<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-								</tr>
-								<tr>
-									<td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-									<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->カテゴリー設定(最大<!--{$smarty.const.LEVEL_MAX}-->階層まで)</span></td>
-									<td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-								</tr>
-								<tr>
-									<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-								</tr>
-								<tr>
-									<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-								</tr>
-							</table>
-							
-							<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" " style="background-image: url(<!--{$TPL_DIR}-->img/contents/main_bar.jpg);">
-								<tr>
-									<td width="105"><a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv_on.jpg','btn_csv');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv.jpg','btn_csv');" onclick="fnModeSubmit('csv','','');" ><img src="<!--{$TPL_DIR}-->img/contents/btn_csv.jpg" width="99" height="22" alt="CSV DOWNLOAD" border="0" name="btn_csv" id="btn_csv"></a></td>
-									<td width="573"><a href="../contents/csv.php?tpl_subno_csv=category"><span class="fs12n"> >> CSV出力項目設定 </span></a></td>
-								</tr>
-								<tr>
-									<td colspan="2"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="3" alt=""></td>
-								</tr>
-							</table>
-
-							<table width="678" border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
-								<tr bgcolor="#ffffff">
-									<!--▼画面左-->
-									<td width="250" valign="top" class="fs12">
-									<a href="<!--{$smarty.server.PHP_SELF|escape}-->">▼ホーム</a><br>
-									<!--{section name=cnt loop=$arrTree}-->
-										<!--{assign var=level value="`$arrTree[cnt].level`}-->
-
-										<!--{* 上の階層表示の時にdivを閉じる *}-->
-										<!--{assign var=close_cnt value="`$before_level-$level+1`}-->
-										<!--{if $close_cnt > 0}-->
-											<!--{section name=n loop=$close_cnt}--></div><!--{/section}-->
-										<!--{/if}-->
-
-										<!--{* スペース繰り返し *}-->
-										<!--{section name=n loop=$level}-->　　<!--{/section}-->
-
-										<!--{* カテゴリ名表示 *}-->
-										<!--{assign var=disp_name value="`$arrTree[cnt].category_id`.`$arrTree[cnt].category_name`"}-->
-										<!--{if $arrTree[cnt].level != $smarty.const.LEVEL_MAX}-->
-											<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrTree[cnt].category_id}-->); return false;">
-											<!--{if $arrForm.parent_category_id == $arrTree[cnt].category_id}-->
-												<img src="<!--{$smarty.const.URL_DIR}-->misc/openf.gif" border="0">
-											<!--{else}-->
-												<img src="<!--{$smarty.const.URL_DIR}-->misc/closef.gif" border="0">
-											<!--{/if}-->
-											<!--{$disp_name|sfCutString:20|escape}--></a><br>
-										<!--{else}-->
-											<img src="<!--{$smarty.const.URL_DIR}-->misc/closef.gif" border="0">
-											<!--{$disp_name|sfCutString:20|escape}--></a><br>
-										<!--{/if}-->
-
-										<!--{if $arrTree[cnt].display == true}-->
-											<div id="f<!--{$arrTree[cnt].category_id}-->">
-										<!--{else}-->
-											<div id="f<!--{$arrTree[cnt].category_id}-->" style="display:none">
-										<!--{/if}-->
-
-										<!--{assign var=before_level value="`$arrTree[cnt].level`}-->
-									<!--{/section}-->
-
-									</td>
-
-									<!--▼画面右-->
-									<td width="428" valign="top">
-
-									<span class="red12"><!--{$arrErr.category_name}--></span>
-									<input type="text" name="category_name" value="<!--{$arrForm.category_name|escape}-->" size="30" class="box30" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/>
-									<input type="submit" name="button" value="登録"/><span class="red10"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span>
-									<table width="428" border="0" cellspacing="0" cellpadding="0" summary=" ">
-										<tr><td height="15"></td></tr>
-									</table>
-
-									<!--{if count($arrList) > 0}-->
-									<table border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
-										<tr bgcolor="#f2f1ec" align="center" class="fs12n">
-											<td width="30">ID</td>
-											<td width="160">カテゴリ名</td>
-											<td width="60">編集</td>
-											<td width="60">削除</td>
-											<td width="60">移動</td>
-										</tr>
-										<!--{section name=cnt loop=$arrList}-->
-										<tr bgcolor="<!--{if $arrForm.category_id != $arrList[cnt].category_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->" align="left" class="fs12n">
-											<td><!--{$arrList[cnt].category_id}--></td>
-											<td>
-											<!--{if $arrList[cnt].level != $smarty.const.LEVEL_MAX}-->
-												<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrList[cnt].category_id}-->); return false"><!--{$arrList[cnt].category_name|escape}--></td>
-											<!--{else}-->
-												<!--{$arrList[cnt].category_name|escape}-->
-											<!--{/if}-->
-											<td align="center">
-												<!--{if $arrForm.category_id != $arrList[cnt].category_id}-->
-												<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('pre_edit', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;" />編集</a>
-												<!--{else}-->
-												編集中
-												<!--{/if}-->
-											</td>
-											<td align="center">
-												<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('delete', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;" />削除</a>
-											</td>
-											<td align="center">
-											<!--{* 移動 *}-->
-											<!--{if $smarty.section.cnt.iteration != 1}-->
-											<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up','category_id', <!--{$arrList[cnt].category_id}-->); return false;">上へ</a>
-											<!--{/if}-->
-											<!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
-											<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down','category_id', <!--{$arrList[cnt].category_id}-->); return false;">下へ</a>
-											<!--{/if}-->
-											</td>
-										</tr>
-										<!--{/section}-->
-									</table>
-
-									<!--{else}-->
-									<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-										<tr>
-											<td class="fs12n">この階層には、カテゴリが登録されていません。</td>
-										</tr>
-									</table>
-									<!--{/if}-->
-									</td>
-								</tr>
-							</table>
-							<!-- ▲登録テーブルここまで -->
-
-						</td>
-						<td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-					</tr>
-					<tr>
-						<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-					</tr>
-					<tr><td height="30"></td></tr>
-
-				</table>
-				</td>
-			</tr>
-			<!--メインエリア-->
-		</table>
-		</td>
-	</tr>
+    <tr valign="top">
+        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
+            <!--▼SUB NAVI-->
+            <!--{include file=$tpl_subnavi}-->
+            <!--▲SUB NAVI-->
+        </td>
+        <td class="mainbg" >
+        <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+            <!--メインエリア-->
+            <tr>
+                <td align="center">
+                <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+
+                    <tr><td height="14"></td></tr>
+                    <tr>
+                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+                    </tr>
+                    <tr>
+                        <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                        <td bgcolor="#cccccc">
+
+                            <!--▼登録テーブルここから-->
+                            <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                <tr>
+                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+                                </tr>
+                                <tr>
+                                    <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+                                    <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->カテゴリー設定(最大<!--{$smarty.const.LEVEL_MAX}-->階層まで)</span></td>
+                                    <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+                                </tr>
+                                <tr>
+                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+                                </tr>
+                                <tr>
+                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+                                </tr>
+                            </table>
+
+                            <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" " style="background-image: url(<!--{$TPL_DIR}-->img/contents/main_bar.jpg);">
+                                <tr>
+                                    <td width="105"><a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv_on.jpg','btn_csv');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv.jpg','btn_csv');" onclick="fnModeSubmit('csv','','');" ><img src="<!--{$TPL_DIR}-->img/contents/btn_csv.jpg" width="99" height="22" alt="CSV DOWNLOAD" border="0" name="btn_csv" id="btn_csv"></a></td>
+                                    <td width="573"><a href="../contents/csv.php?tpl_subno_csv=category"><span class="fs12n"> >> CSV出力項目設定 </span></a></td>
+                                </tr>
+                                <tr>
+                                    <td colspan="2"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="3" alt=""></td>
+                                </tr>
+                            </table>
+
+                            <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
+                                <tr bgcolor="#ffffff">
+                                    <!--▼画面左-->
+                                    <td width="250" valign="top" class="fs12">
+                                    <a href="<!--{$smarty.server.PHP_SELF|escape}-->">▼ホーム</a><br>
+                                    <!--{section name=cnt loop=$arrTree}-->
+                                        <!--{assign var=level value="`$arrTree[cnt].level`}-->
+
+                                        <!--{* 上の階層表示の時にdivを閉じる *}-->
+                                        <!--{assign var=close_cnt value="`$before_level-$level+1`}-->
+                                        <!--{if $close_cnt > 0}-->
+                                            <!--{section name=n loop=$close_cnt}--></div><!--{/section}-->
+                                        <!--{/if}-->
+
+                                        <!--{* スペース繰り返し *}-->
+                                        <!--{section name=n loop=$level}-->　　<!--{/section}-->
+
+                                        <!--{* カテゴリ名表示 *}-->
+                                        <!--{assign var=disp_name value="`$arrTree[cnt].category_id`.`$arrTree[cnt].category_name`"}-->
+                                        <!--{if $arrTree[cnt].level != $smarty.const.LEVEL_MAX}-->
+                                            <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrTree[cnt].category_id}-->); return false;">
+                                            <!--{if $arrForm.parent_category_id == $arrTree[cnt].category_id}-->
+                                                <img src="<!--{$smarty.const.URL_DIR}-->misc/openf.gif" border="0">
+                                            <!--{else}-->
+                                                <img src="<!--{$smarty.const.URL_DIR}-->misc/closef.gif" border="0">
+                                            <!--{/if}-->
+                                            <!--{$disp_name|sfCutString:20|escape}--></a><br>
+                                        <!--{else}-->
+                                            <img src="<!--{$smarty.const.URL_DIR}-->misc/closef.gif" border="0">
+                                            <!--{$disp_name|sfCutString:20|escape}--></a><br>
+                                        <!--{/if}-->
+
+                                        <!--{if $arrTree[cnt].display == true}-->
+                                            <div id="f<!--{$arrTree[cnt].category_id}-->">
+                                        <!--{else}-->
+                                            <div id="f<!--{$arrTree[cnt].category_id}-->" style="display:none">
+                                        <!--{/if}-->
+
+                                        <!--{assign var=before_level value="`$arrTree[cnt].level`}-->
+                                    <!--{/section}-->
+
+                                    </td>
+
+                                    <!--▼画面右-->
+                                    <td width="428" valign="top">
+
+                                    <span class="red12"><!--{$arrErr.category_name}--></span>
+                                    <input type="text" name="category_name" value="<!--{$arrForm.category_name|escape}-->" size="30" class="box30" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/>
+                                    <input type="submit" name="button" value="登録" onclick="fnModeSubmit('edit','','');"/><span class="red10"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span>
+                                    <table width="428" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                        <tr><td height="15"></td></tr>
+                                    </table>
+
+                                    <!--{if count($arrList) > 0}-->
+                                    <table border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
+                                        <tr bgcolor="#f2f1ec" align="center" class="fs12n">
+                                            <td width="30">ID</td>
+                                            <td width="160">カテゴリ名</td>
+                                            <td width="60">編集</td>
+                                            <td width="60">削除</td>
+                                            <td width="60">移動</td>
+                                        </tr>
+                                        <!--{section name=cnt loop=$arrList}-->
+                                        <tr bgcolor="<!--{if $arrForm.category_id != $arrList[cnt].category_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->" align="left" class="fs12n">
+                                            <td><!--{$arrList[cnt].category_id}--></td>
+                                            <td>
+                                            <!--{if $arrList[cnt].level != $smarty.const.LEVEL_MAX}-->
+                                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrList[cnt].category_id}-->); return false"><!--{$arrList[cnt].category_name|escape}--></td>
+                                            <!--{else}-->
+                                                <!--{$arrList[cnt].category_name|escape}-->
+                                            <!--{/if}-->
+                                            <td align="center">
+                                                <!--{if $arrForm.category_id != $arrList[cnt].category_id}-->
+                                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('pre_edit', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;" />編集</a>
+                                                <!--{else}-->
+                                                編集中
+                                                <!--{/if}-->
+                                            </td>
+                                            <td align="center">
+                                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('delete', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;" />削除</a>
+                                            </td>
+                                            <td align="center">
+                                            <!--{* 移動 *}-->
+                                            <!--{if $smarty.section.cnt.iteration != 1}-->
+                                            <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up','category_id', <!--{$arrList[cnt].category_id}-->); return false;">上へ</a>
+                                            <!--{/if}-->
+                                            <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
+                                            <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down','category_id', <!--{$arrList[cnt].category_id}-->); return false;">下へ</a>
+                                            <!--{/if}-->
+                                            </td>
+                                        </tr>
+                                        <!--{/section}-->
+                                    </table>
+
+                                    <!--{else}-->
+                                    <table border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                        <tr>
+                                            <td class="fs12n">この階層には、カテゴリが登録されていません。</td>
+                                        </tr>
+                                    </table>
+                                    <!--{/if}-->
+                                    </td>
+                                </tr>
+                            </table>
+                            <!-- ▲登録テーブルここまで -->
+
+                        </td>
+                        <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                    </tr>
+                    <tr>
+                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+                    </tr>
+                    <tr><td height="30"></td></tr>
+
+                </table>
+                </td>
+            </tr>
+            <!--メインエリア-->
+        </table>
+        </td>
+    </tr>
 </form>
 </table>
Index: branches/version-2/data/Smarty/templates/default/admin/products/product.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/products/product.tpl	(revision 17511)
+++ branches/version-2/data/Smarty/templates/default/admin/products/product.tpl	(revision 18007)
@@ -25,10 +25,10 @@
 // URLの表示非表示切り替え
 function lfDispSwitch(id){
-	var obj = document.getElementById(id);
-	if (obj.style.display == 'none') {
-		obj.style.display = '';
-	} else {
-		obj.style.display = 'none';
-	}
+    var obj = document.getElementById(id);
+    if (obj.style.display == 'none') {
+        obj.style.display = '';
+    } else {
+        obj.style.display = 'none';
+    }
 }
 
@@ -36,15 +36,15 @@
 //（移動元セレクトボックスID, 移動先セレクトボックスID）
 function fnMoveSelect(select, target) {
-	$('#' + select).children().each(function() {
-		if (this.selected) {
-			$('#' + target).append(this);
-			$(this).attr({selected: false});
-		}
-	});
+    $('#' + select).children().each(function() {
+        if (this.selected) {
+            $('#' + target).append(this);
+            $(this).attr({selected: false});
+        }
+    });
 }
 
 // target の子要素を選択状態にする
 function selectAll(target) {
-	$('#' + target).children().attr({selected: true});
+    $('#' + target).children().attr({selected: true});
 }
 
@@ -52,429 +52,442 @@
 <!--★★メインコンテンツ★★-->
 <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr valign="top">
-		<td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
-			<!--▼SUB NAVI-->
-			<!--{include file=$tpl_subnavi}-->
-			<!--▲SUB NAVI-->
-		</td>
-		<td class="mainbg">
-			<!--▼登録テーブルここから-->
-			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-				<!--メインエリア-->
-				<tr>
-					<td align="center">
-						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-						<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
-						<!--{foreach key=key item=item from=$arrSearchHidden}-->
-							<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
-						<!--{/foreach}-->
-						<input type="hidden" name="mode" value="edit">
-						<input type="hidden" name="image_key" value="">
-						<input type="hidden" name="product_id" value="<!--{$arrForm.product_id}-->" >
-						<input type="hidden" name="product_class_id" value="<!--{$arrForm.product_class_id}-->" >
-						<input type="hidden" name="copy_product_id" value="<!--{$arrForm.copy_product_id}-->" >
-						<input type="hidden" name="anchor_key" value="">
-						<!--{foreach key=key item=item from=$arrHidden}-->
-							<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
-						<!--{/foreach}-->
-							<tr><td height="14"></td></tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr>
-								<td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-								<td bgcolor="#cccccc">
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-										<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->商品登録</span></td>
-										<td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-									</tr>
-								</table>
-
-								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">商品ID</td>
-										<td bgcolor="#ffffff" width="557" class="fs10n"><!--{$arrForm.product_id}--></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">商品名<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<span class="red12"><!--{$arrErr.name}--></span>
-										<input type="text" name="name" value="<!--{$arrForm.name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span>
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">商品カテゴリ<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557">
-										<span class="red12"><!--{$arrErr.category_id}--></span>
-										<table>
-											<tr>
-												<td>
-													<select name="category_id[]" id="category_id" style="<!--{if $arrErr.category_id != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}--> height: 120px;" onchange="" size="10" multiple>
-
-													</select>
-												</td>
-												<td>
-													<input type="button" name="on_select" value="&nbsp;&nbsp;&lt;-&nbsp;登録&nbsp;&nbsp;" onClick="fnMoveSelect('category_id_unselect','category_id')"><br><br>
-													<input type="button" name="un_select" value="&nbsp;&nbsp;削除&nbsp;-&gt;&nbsp;&nbsp;" onClick="fnMoveSelect('category_id','category_id_unselect')">
-												</td>
-												<td>
-													<select name="category_id_unselect[]" id="category_id_unselect" onchange="" size="10" style="height: 120px;" multiple>
-														<!--{html_options values=$arrCatVal output=$arrCatOut selected=$arrForm.category_id}-->
-													</select>
-												</td>
-											</tr>
-										</table>
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">公開・非公開<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557" class="fs12n"><input type="radio" name="status" value="1" <!--{if $arrForm.status == "1"}-->checked<!--{/if}-->/>公開　<input type="radio" name="status" value="2" <!--{if $arrForm.status == "2"}-->checked<!--{/if}--> />非公開</td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="160">商品ステータス</td>
-										<td bgcolor="#ffffff" width="557">
-										<!--{html_checkboxes name="product_flag" options=$arrSTATUS selected=$arrForm.product_flag}-->
-										</td>
-									</tr>
-									
-									<!--{if $tpl_nonclass == true}-->
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">商品コード<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<span class="red12"><!--{$arrErr.product_code}--></span>
-										<input type="text" name="product_code" value="<!--{$arrForm.product_code|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.product_code != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="160"><!--{$smarty.const.NORMAL_PRICE_TITLE}--></td>
-										<td bgcolor="#ffffff" width="557">
-										<span class="red12"><!--{$arrErr.price01}--></span>
-										<input type="text" name="price01" value="<!--{$arrForm.price01|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.price01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>円<span class="red10"> （半角数字で入力）</span></td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="160"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557">
-										<span class="red12"><!--{$arrErr.price02}--></span>
-										<input type="text" name="price02" value="<!--{$arrForm.price02|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.price02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>円<span class="red10"> （半角数字で入力）</span></td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="160">在庫数<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557">
-										<span class="red12"><!--{$arrErr.stock}--></span>
-										<input type="text" name="stock" value="<!--{$arrForm.stock|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" style="<!--{if $arrErr.stock != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>個
-										<input type="checkbox" name="stock_unlimited" value="1" <!--{if $arrForm.stock_unlimited == "1"}-->checked<!--{/if}--> onclick="fnCheckStockLimit('<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限</td>
-										</td>
-									</tr>
-									<!--{/if}-->
-									
-									<!--{* 送料の個別指定は次期開発で追加予定
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="160">商品送料</td>
-										<td bgcolor="#ffffff" width="557">
-										<span class="red12"><!--{$arrErr.deliv_fee}--></span>
-										<input type="text" name="deliv_fee" value="<!--{$arrForm.deliv_fee|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.deliv_fee != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>円<span class="red10"> （半角数字で入力）</span></td>
-										</td>
-									</tr>
-									*}-->
-									
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="160">ポイント付与率<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557">
-										<span class="red12"><!--{$arrErr.point_rate}--></span>
-										<input type="text" name="point_rate" value="<!--{$arrForm.point_rate|escape|default:$arrInfo.point_rate}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PERCENTAGE_LEN}-->" style="<!--{if $arrErr.point_rate != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>％<span class="red10"> （半角数字で入力）</span></td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="160">発送日目安</td>
-										<td bgcolor="#ffffff" width="557">
-										<span class="red12"><!--{$arrErr.deliv_date_id}--></span>
-										<select name="deliv_date_id" style="<!--{$arrErr.deliv_date_id|sfGetErrorColor}-->">
-										<option value="">選択してください</option>
-										<!--{html_options options=$arrDELIVERYDATE selected=$arrForm.deliv_date_id}-->
-										</select>
-										</td>
-									</tr>
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec" width="160">購入制限<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557">
-										<span class="red12"><!--{$arrErr.sale_limit}--></span>
-										<input type="text" name="sale_limit" value="<!--{$arrForm.sale_limit|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" style="<!--{if $arrErr.sale_limit != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>個
-										<input type="checkbox" name="sale_unlimited" value="1" <!--{if $arrForm.sale_unlimited == "1"}-->checked<!--{/if}--> onclick="fnCheckSaleLimit('<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限</td>
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">メーカーURL</td>
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<span class="red12"><!--{$arrErr.comment1}--></span>
-										<input type="text" name="comment1" value="<!--{$arrForm.comment1|escape}-->" maxlength="<!--{$smarty.const.URL_LEN}-->" size="60" class="box60" style="<!--{$arrErr.comment1|sfGetErrorColor}-->" /><span class="red"> （上限<!--{$smarty.const.URL_LEN}-->文字）</span></td>
-									</tr>
-									<!--{*
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">成分</td>
-										<td bgcolor="#ffffff" width="557" class="fs10n"><textarea name="comment2" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.STEXT_LEN}-->"><!--{$arrForm.comment2|escape}--></textarea><span class="red"> （上限<!--{$smarty.const.LTEXT_LEN}-->文字）</span></td>
-									</tr>
-									*}-->
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">検索ワード<br />※複数の場合は、カンマ( , )区切りで入力して下さい</td>
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<span class="red12"><!--{$arrErr.comment3}--></span>
-										<textarea name="comment3" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.comment3|sfGetErrorColor}-->"><!--{$arrForm.comment3|escape}--></textarea><br /><span class="red"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">一覧-メインコメント<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<span class="red12"><!--{$arrErr.main_list_comment}--></span>
-										<textarea name="main_list_comment" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" style="<!--{if $arrErr.main_list_comment != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" cols="60" rows="8" class="area60"><!--{$arrForm.main_list_comment|escape}--></textarea><br /><span class="red"> （上限<!--{$smarty.const.MTEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メインコメント<span class="red">(タグ許可)*</span></td>
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<span class="red12"><!--{$arrErr.main_comment}--></span>
-										<textarea name="main_comment" value="<!--{$arrForm.main_comment|escape}-->" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{if $arrErr.main_comment != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"  cols="60" rows="8" class="area60"><!--{$arrForm.main_comment|escape}--></textarea><br /><span class="red"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<!--{assign var=key value="main_list_image"}-->
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">一覧-メイン画像<span class="red"> *</span><br />[<!--{$smarty.const.SMALL_IMAGE_WIDTH}-->×<!--{$smarty.const.SMALL_IMAGE_HEIGHT}-->]</td>
-										<td bgcolor="#ffffff" width="557" class="fs12n">
-										<a name="<!--{$key}-->"></a>
-										<a name="main_image"></a>
-										<a name="main_large_image"></a>
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<!--{if $arrFile[$key].filepath != ""}-->
-										<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
-										<!--{/if}-->
-										<input type="file" name="main_list_image" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
-										<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
-										</td>
-									</tr>
-									<tr>
-										<!--{assign var=key value="main_image"}-->
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メイン画像<span class="red"> *</span><br />[<!--{$smarty.const.NORMAL_IMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_IMAGE_HEIGHT}-->]</td>
-										<td bgcolor="#ffffff" width="557" class="fs12n">
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<!--{if $arrFile[$key].filepath != ""}-->
-										<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
-										<!--{/if}-->
-										<input type="file" name="main_image" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
-										<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
-										</td>
-									</tr>
-									<tr>
-										<!--{assign var=key value="main_large_image"}-->
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メイン拡大画像<br />[<!--{$smarty.const.LARGE_IMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_IMAGE_HEIGHT}-->]</td>
-										<td bgcolor="#ffffff" width="557" class="fs12n">
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<!--{if $arrFile[$key].filepath != ""}-->
-										<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
-										<!--{/if}-->
-										<input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
-										<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
-										</td>
-									</tr>
-									<!--{*　カラー比較画像、商品詳細ファイルは非対応 
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">カラー比較画像<br />[500×500]</td>
-										<td bgcolor="#ffffff" width="557" class="fs12n">
-										<!--{assign var=key value="file1"}-->
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<!--{if $arrFile[$key].filepath != ""}-->
-										<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
-										<!--{/if}-->
-										<input type="file" name="<!--{$key}-->" size="50" class="box50" />
-										<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">商品詳細ファイル</td>
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<!--{assign var=key value="file2"}-->
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<!--{if $arrFile[$key].filepath != ""}-->
-										<input type="button" name="pdf" value="ファイル確認" onclick="selectAll('category_id'); fnOpenNoMenu('<!--{$arrFile[$key].filepath}-->')"/>
-										<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[ファイルの取り消し]</a><br>
-										<!--{/if}-->
-										<input type="file" name="<!--{$key}-->" size="50" class="box50" />
-										<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
-										</td>
-									</tr>		
-									*}-->
-								</table>
-								
-								<!--{* オペビルダー用 *}-->
-								<!--{if "sfViewAdminOpe"|function_exists === TRUE}-->
-								<!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/admin_ope_view.tpl}-->
-								<!--{/if}-->
-								
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr height="36" align="center">
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-										<td bgcolor="#f2f1ec" width="676"><input type="button" name="btn" onclick="selectAll('category_id'); lfDispSwitch('sub_detail');" value="サブ情報表示/非表示"></td>
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-									</tr>
-									<tr height="1" align="center">
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" height="1" alt=""></td>
-									</tr>
-								</table>
-								
-								<!--{if $sub_find == true}-->								
-								<div id="sub_detail" style="">
-								<!--{else}-->
-								<div id="sub_detail" style="display:none">
-								<!--{/if}-->
-								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-									<!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
-									<!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブタイトル（<!--{$smarty.section.cnt.iteration}-->）</td>
-										<!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
-										<td bgcolor="#ffffff" width="557" class="fs12n">
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<input type="text" name="sub_title<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrForm[$key]|escape}-->" size="60" class="box60" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/><span class="red10"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span>
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブコメント（<!--{$smarty.section.cnt.iteration}-->）<span class="red">(タグ許可)</span></td>
-										<!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}-->
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<textarea name="sub_comment<!--{$smarty.section.cnt.iteration}-->" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape}--></textarea><br /><span class="red10"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span></td>
-									</tr>
-									<tr>
-										<!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブ画像（<!--{$smarty.section.cnt.iteration}-->）<br />[<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_SUBIMAGE_HEIGHT}-->]</td>
-										<td bgcolor="#ffffff" width="557" class="fs12n">
-										<a name="<!--{$key}-->"></a>
-										<!--{assign var=largekey value="sub_large_image`$smarty.section.cnt.iteration`"}-->
-										<a name="<!--{$largekey}-->"></a>
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<!--{if $arrFile[$key].filepath != ""}-->
-										<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
-										<!--{/if}-->
-										<input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/>
-										<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
-										</td>
-									</tr>
-									<tr>
-										<!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}-->
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブ拡大画像（<!--{$smarty.section.cnt.iteration}-->）<br />[<!--{$smarty.const.LARGE_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_SUBIMAGE_HEIGHT}-->]</td>
-										<td bgcolor="#ffffff" width="557" class="fs12n">
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<!--{if $arrFile[$key].filepath != ""}-->
-										<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
-										<!--{/if}-->
-										<input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/>
-										<input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
-										</td>
-									</tr>
-									<!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
-									<!--{/section}-->
-								</table>
-								</div>
-								
-								
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr height="36" align="center">
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-										<td bgcolor="#f2f1ec" width="676"><input type="button" name="btn" onclick="selectAll('category_id'); lfDispSwitch('recommend_select');" value="関連商品表示/非表示"></td>
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-									</tr>
-									<tr height="1" align="center">
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" height="1" alt=""></td>
-									</tr>
-								</table>
-								
-								<!--{if count($arrRecommend) > 0}-->
-								<div id="recommend_select" style="">
-								<!--{else}-->
-								<div id="recommend_select" style="display:none">
-								<!--{/if}-->								
-								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-									<!--{if $smarty.const.OPTION_RECOMMEND == 1}-->			
-									<!--▼関連商品-->
-									<!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}-->			
-									<!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}-->
-									<tr>
-										<!--{assign var=key value="recommend_id`$smarty.section.cnt.iteration`"}-->
-										<!--{assign var=anckey value="recommend_no`$smarty.section.cnt.iteration`"}-->
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">関連商品(<!--{$smarty.section.cnt.iteration}-->)<br>
-										<!--{if $arrRecommend[$recommend_no].main_list_image != ""}-->
-											<!--{assign var=image_path value="`$arrRecommend[$recommend_no].main_list_image`"}-->
-										<!--{else}-->
-											<!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
-										<!--{/if}-->
-										<img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
-										</td>
-										<td bgcolor="#ffffff" width="557" class="fs12">
-										<a name="<!--{$anckey}-->"></a>
-										<input type="hidden" name="<!--{$key}-->" value="<!--{$arrRecommend[$recommend_no].product_id|escape}-->">
-										<input type="button" name="change" value="変更" onclick="selectAll('category_id'); win03('./product_select.php?no=<!--{$smarty.section.cnt.iteration}-->', 'search', '500', '500'); " >
-										<!--{assign var=key value="recommend_delete`$smarty.section.cnt.iteration`"}-->
-										<input type="checkbox" name="<!--{$key}-->" value="1">削除<br>
-										商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br>
-										商品名:<!--{$arrRecommend[$recommend_no].name|escape}--><br>
-										<!--{assign var=key value="recommend_comment`$smarty.section.cnt.iteration`"}-->
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<textarea name="<!--{$key}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrRecommend[$recommend_no].comment|escape}--></textarea><br /><span class="red10"> （上限<!--{$smarty.const.LTEXT_LEN}-->文字）</span></td>
-										</td>
-									</tr>
-									<!--{/section}-->
-									<!--▲関連商品-->
-									<!--{/if}-->
-								</table>
-								</div>
-								
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-										<td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-									</tr>
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-										<td bgcolor="#e9e7de" align="center">
-										<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-											<tr>
-											<td>
-												<!--{if count($arrSearchHidden) > 0}-->
-												<!--▼検索結果へ戻る-->
-													<a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_search_back_on.jpg','back');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_search_back.jpg','back');" onClick="fnChangeAction('<!--{$smarty.const.URL_SEARCH_TOP}-->'); fnModeSubmit('search','',''); return false;"><img src="<!--{$TPL_DIR}-->img/contents/btn_search_back.jpg" width="123" height="24" alt="検索画面に戻る" border="0" name="back"></a>
-												<!--▲検索結果へ戻る-->
-												<!--{/if}-->
-												<input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_confirm_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_confirm.jpg',this)" onClick="selectAll('category_id')" src="<!--{$TPL_DIR}-->img/contents/btn_confirm.jpg" width="123" height="24" alt="確認ページへ" border="0" name="subm" >
-											</td>
-											</tr>
-										</table>
-										</td>
-										<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
-									</tr>
-								</table>
-								
-								</td>
-								<td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr><td height="30"></td></tr>
-						</table>
-					</td>
-				</tr>
-				<!--メインエリア-->
-			</table>
-			<!--▲登録テーブルここまで-->
-		</td>
-	</tr>
+    <tr valign="top">
+        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
+            <!--▼SUB NAVI-->
+            <!--{include file=$tpl_subnavi}-->
+            <!--▲SUB NAVI-->
+        </td>
+        <td class="mainbg">
+            <!--▼登録テーブルここから-->
+            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                <!--メインエリア-->
+                <tr>
+                    <td align="center">
+                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                        <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
+                        <!--{foreach key=key item=item from=$arrSearchHidden}-->
+                            <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
+                        <!--{/foreach}-->
+                        <input type="hidden" name="mode" value="edit">
+                        <input type="hidden" name="image_key" value="">
+                        <input type="hidden" name="product_id" value="<!--{$arrForm.product_id}-->" >
+                        <input type="hidden" name="product_class_id" value="<!--{$arrForm.product_class_id}-->" >
+                        <input type="hidden" name="copy_product_id" value="<!--{$arrForm.copy_product_id}-->" >
+                        <input type="hidden" name="anchor_key" value="">
+                        <!--{foreach key=key item=item from=$arrHidden}-->
+                            <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
+                        <!--{/foreach}-->
+                            <tr><td height="14"></td></tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                                <td bgcolor="#cccccc">
+                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                    <tr>
+                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+                                    </tr>
+                                    <tr>
+                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->商品登録</span></td>
+                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+                                    </tr>
+                                    <tr>
+                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+                                    </tr>
+                                    <tr>
+                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+                                    </tr>
+                                </table>
+
+                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">商品ID</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs10n"><!--{$arrForm.product_id}--></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">商品名<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="557" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.name}--></span>
+                                        <input type="text" name="name" value="<!--{$arrForm.name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span>
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">商品カテゴリ<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="557">
+                                        <span class="red12"><!--{$arrErr.category_id}--></span>
+                                        <table>
+                                            <tr>
+                                                <td>
+                                                    <select name="category_id_unselect[]" id="category_id_unselect" onchange="" size="10" class="area60" multiple>
+                                                        <!--{html_options values=$arrCatVal output=$arrCatOut selected=$arrForm.category_id}-->
+                                                    </select>
+                                                </td>
+                                            </tr>
+                                            <tr>
+                                                <td>
+                                                    <center>
+                                                    <input type="button" name="on_select" value="↓&nbsp;&nbsp;登録&nbsp;&nbsp;↓" onClick="fnMoveSelect('category_id_unselect','category_id')">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+                                                    <input type="button" name="un_select" value="↑&nbsp;&nbsp;削除&nbsp;&nbsp;↑" onClick="fnMoveSelect('category_id','category_id_unselect')">
+                                                    </center>
+                                                </td>
+                                            </tr>
+                                            <tr>
+                                                <td>
+                                                    <select name="category_id[]" id="category_id" style="<!--{if $arrErr.category_id != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" class="area60" onchange="" size="10" multiple>
+                                                    </select>
+                                                </td>
+                                            </tr>
+                                        </table>
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">公開・非公開<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="557" class="fs12n"><input type="radio" name="status" value="1" <!--{if $arrForm.status == "1"}-->checked<!--{/if}-->/>公開　<input type="radio" name="status" value="2" <!--{if $arrForm.status == "2"}-->checked<!--{/if}--> />非公開</td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="160">商品ステータス</td>
+                                        <td bgcolor="#ffffff" width="557">
+                                        <!--{html_checkboxes name="product_flag" options=$arrSTATUS selected=$arrForm.product_flag}-->
+                                        </td>
+                                    </tr>
+
+                                    <!--{if $tpl_nonclass == true}-->
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">商品コード<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="557" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.product_code}--></span>
+                                        <input type="text" name="product_code" value="<!--{$arrForm.product_code|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.product_code != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" /><span class="red"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="160"><!--{$smarty.const.NORMAL_PRICE_TITLE}--></td>
+                                        <td bgcolor="#ffffff" width="557">
+                                        <span class="red12"><!--{$arrErr.price01}--></span>
+                                        <input type="text" name="price01" value="<!--{$arrForm.price01|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.price01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>円<span class="red10"> （半角数字で入力）</span></td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="160"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="557">
+                                        <span class="red12"><!--{$arrErr.price02}--></span>
+                                        <input type="text" name="price02" value="<!--{$arrForm.price02|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.price02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>円<span class="red10"> （半角数字で入力）</span></td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="160">在庫数<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="557">
+                                        <span class="red12"><!--{$arrErr.stock}--></span>
+                                        <input type="text" name="stock" value="<!--{$arrForm.stock|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" style="<!--{if $arrErr.stock != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>個
+                                        <input type="checkbox" name="stock_unlimited" value="1" <!--{if $arrForm.stock_unlimited == "1"}-->checked<!--{/if}--> onclick="fnCheckStockLimit('<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限</td>
+                                        </td>
+                                    </tr>
+                                    <!--{/if}-->
+
+                                    <!--{* 送料の個別指定は次期開発で追加予定
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="160">商品送料</td>
+                                        <td bgcolor="#ffffff" width="557">
+                                        <span class="red12"><!--{$arrErr.deliv_fee}--></span>
+                                        <input type="text" name="deliv_fee" value="<!--{$arrForm.deliv_fee|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.deliv_fee != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>円<span class="red10"> （半角数字で入力）</span></td>
+                                        </td>
+                                    </tr>
+                                    *}-->
+
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="160">ポイント付与率<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="557">
+                                        <span class="red12"><!--{$arrErr.point_rate}--></span>
+                                        <input type="text" name="point_rate" value="<!--{$arrForm.point_rate|escape|default:$arrInfo.point_rate}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PERCENTAGE_LEN}-->" style="<!--{if $arrErr.point_rate != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>％<span class="red10"> （半角数字で入力）</span></td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="160">発送日目安</td>
+                                        <td bgcolor="#ffffff" width="557">
+                                        <span class="red12"><!--{$arrErr.deliv_date_id}--></span>
+                                        <select name="deliv_date_id" style="<!--{$arrErr.deliv_date_id|sfGetErrorColor}-->">
+                                        <option value="">選択してください</option>
+                                        <!--{html_options options=$arrDELIVERYDATE selected=$arrForm.deliv_date_id}-->
+                                        </select>
+                                        </td>
+                                    </tr>
+                                    <tr class="fs12n">
+                                        <td bgcolor="#f2f1ec" width="160">購入制限<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="557">
+                                        <span class="red12"><!--{$arrErr.sale_limit}--></span>
+                                        <input type="text" name="sale_limit" value="<!--{$arrForm.sale_limit|escape}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" style="<!--{if $arrErr.sale_limit != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"/>個
+                                        <input type="checkbox" name="sale_unlimited" value="1" <!--{if $arrForm.sale_unlimited == "1"}-->checked<!--{/if}--> onclick="fnCheckSaleLimit('<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限</td>
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">メーカーURL</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.comment1}--></span>
+                                        <input type="text" name="comment1" value="<!--{$arrForm.comment1|escape}-->" maxlength="<!--{$smarty.const.URL_LEN}-->" size="60" class="box60" style="<!--{$arrErr.comment1|sfGetErrorColor}-->" /><span class="red"> （上限<!--{$smarty.const.URL_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <!--{*
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">成分</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs10n"><textarea name="comment2" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.STEXT_LEN}-->"><!--{$arrForm.comment2|escape}--></textarea><span class="red"> （上限<!--{$smarty.const.LTEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    *}-->
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">検索ワード<br />※複数の場合は、カンマ( , )区切りで入力して下さい</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.comment3}--></span>
+                                        <textarea name="comment3" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.comment3|sfGetErrorColor}-->"><!--{$arrForm.comment3|escape}--></textarea><br /><span class="red"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">備考欄(SHOP専用)</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs10n">
+                                          <span class="red12"><!--{$arrErr.note}--></span>
+                                          <textarea name="note" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.note|sfGetErrorColor}-->"><!--{$arrForm.note|escape}--></textarea><br />
+                                          <span class="red"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span>
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">一覧-メインコメント<span class="red"> *</span></td>
+                                        <td bgcolor="#ffffff" width="557" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.main_list_comment}--></span>
+                                        <textarea name="main_list_comment" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" style="<!--{if $arrErr.main_list_comment != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" cols="60" rows="8" class="area60"><!--{$arrForm.main_list_comment|escape}--></textarea><br /><span class="red"> （上限<!--{$smarty.const.MTEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メインコメント<span class="red">(タグ許可)*</span></td>
+                                        <td bgcolor="#ffffff" width="557" class="fs10n">
+                                        <span class="red12"><!--{$arrErr.main_comment}--></span>
+                                        <textarea name="main_comment" value="<!--{$arrForm.main_comment|escape}-->" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{if $arrErr.main_comment != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->"  cols="60" rows="8" class="area60"><!--{$arrForm.main_comment|escape}--></textarea><br /><span class="red"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <!--{assign var=key value="main_list_image"}-->
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">一覧-メイン画像<span class="red"> *</span><br />[<!--{$smarty.const.SMALL_IMAGE_WIDTH}-->×<!--{$smarty.const.SMALL_IMAGE_HEIGHT}-->]</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs12n">
+                                        <a name="<!--{$key}-->"></a>
+                                        <a name="main_image"></a>
+                                        <a name="main_large_image"></a>
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <!--{if $arrFile[$key].filepath != ""}-->
+                                        <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
+                                        <!--{/if}-->
+                                        <input type="file" name="main_list_image" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
+                                        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <!--{assign var=key value="main_image"}-->
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メイン画像<span class="red"> *</span><br />[<!--{$smarty.const.NORMAL_IMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_IMAGE_HEIGHT}-->]</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs12n">
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <!--{if $arrFile[$key].filepath != ""}-->
+                                        <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
+                                        <!--{/if}-->
+                                        <input type="file" name="main_image" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
+                                        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <!--{assign var=key value="main_large_image"}-->
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メイン拡大画像<br />[<!--{$smarty.const.LARGE_IMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_IMAGE_HEIGHT}-->]</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs12n">
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <!--{if $arrFile[$key].filepath != ""}-->
+                                        <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
+                                        <!--{/if}-->
+                                        <input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
+                                        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
+                                        </td>
+                                    </tr>
+                                    <!--{*　カラー比較画像、商品詳細ファイルは非対応
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">カラー比較画像<br />[500×500]</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs12n">
+                                        <!--{assign var=key value="file1"}-->
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <!--{if $arrFile[$key].filepath != ""}-->
+                                        <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
+                                        <!--{/if}-->
+                                        <input type="file" name="<!--{$key}-->" size="50" class="box50" />
+                                        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">商品詳細ファイル</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs10n">
+                                        <!--{assign var=key value="file2"}-->
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <!--{if $arrFile[$key].filepath != ""}-->
+                                        <input type="button" name="pdf" value="ファイル確認" onclick="selectAll('category_id'); fnOpenNoMenu('<!--{$arrFile[$key].filepath}-->')"/>
+                                        <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[ファイルの取り消し]</a><br>
+                                        <!--{/if}-->
+                                        <input type="file" name="<!--{$key}-->" size="50" class="box50" />
+                                        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
+                                        </td>
+                                    </tr>
+                                    *}-->
+                                </table>
+
+                                <!--{* オペビルダー用 *}-->
+                                <!--{if "sfViewAdminOpe"|function_exists === TRUE}-->
+                                <!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/admin_ope_view.tpl}-->
+                                <!--{/if}-->
+
+                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                    <tr height="36" align="center">
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                        <td bgcolor="#f2f1ec" width="676"><input type="button" name="btn" onclick="selectAll('category_id'); lfDispSwitch('sub_detail');" value="サブ情報表示/非表示"></td>
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                    </tr>
+                                    <tr height="1" align="center">
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" height="1" alt=""></td>
+                                    </tr>
+                                </table>
+
+                                <!--{if $sub_find == true}-->
+                                <div id="sub_detail" style="">
+                                <!--{else}-->
+                                <div id="sub_detail" style="display:none">
+                                <!--{/if}-->
+                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                                    <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
+                                    <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブタイトル（<!--{$smarty.section.cnt.iteration}-->）</td>
+                                        <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
+                                        <td bgcolor="#ffffff" width="557" class="fs12n">
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <input type="text" name="sub_title<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrForm[$key]|escape}-->" size="60" class="box60" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/><span class="red10"> （上限<!--{$smarty.const.STEXT_LEN}-->文字）</span>
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブコメント（<!--{$smarty.section.cnt.iteration}-->）<span class="red">(タグ許可)</span></td>
+                                        <!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}-->
+                                        <td bgcolor="#ffffff" width="557" class="fs10n">
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <textarea name="sub_comment<!--{$smarty.section.cnt.iteration}-->" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape}--></textarea><br /><span class="red10"> （上限<!--{$smarty.const.LLTEXT_LEN}-->文字）</span></td>
+                                    </tr>
+                                    <tr>
+                                        <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブ画像（<!--{$smarty.section.cnt.iteration}-->）<br />[<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_SUBIMAGE_HEIGHT}-->]</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs12n">
+                                        <a name="<!--{$key}-->"></a>
+                                        <!--{assign var=largekey value="sub_large_image`$smarty.section.cnt.iteration`"}-->
+                                        <a name="<!--{$largekey}-->"></a>
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <!--{if $arrFile[$key].filepath != ""}-->
+                                        <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
+                                        <!--{/if}-->
+                                        <input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/>
+                                        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
+                                        </td>
+                                    </tr>
+                                    <tr>
+                                        <!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}-->
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブ拡大画像（<!--{$smarty.section.cnt.iteration}-->）<br />[<!--{$smarty.const.LARGE_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_SUBIMAGE_HEIGHT}-->]</td>
+                                        <td bgcolor="#ffffff" width="557" class="fs12n">
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <!--{if $arrFile[$key].filepath != ""}-->
+                                        <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br>
+                                        <!--{/if}-->
+                                        <input type="file" name="<!--{$key}-->" size="50" class="box50" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/>
+                                        <input type="button" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->')" value="アップロード">
+                                        </td>
+                                    </tr>
+                                    <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
+                                    <!--{/section}-->
+                                </table>
+                                </div>
+
+
+                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                    <tr height="36" align="center">
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                        <td bgcolor="#f2f1ec" width="676"><input type="button" name="btn" onclick="selectAll('category_id'); lfDispSwitch('recommend_select');" value="関連商品表示/非表示"></td>
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                    </tr>
+                                    <tr height="1" align="center">
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" height="1" alt=""></td>
+                                    </tr>
+                                </table>
+
+                                <!--{if count($arrRecommend) > 0}-->
+                                <div id="recommend_select" style="">
+                                <!--{else}-->
+                                <div id="recommend_select" style="display:none">
+                                <!--{/if}-->
+                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                                    <!--{if $smarty.const.OPTION_RECOMMEND == 1}-->
+                                    <!--▼関連商品-->
+                                    <!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}-->
+                                    <!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}-->
+                                    <tr>
+                                        <!--{assign var=key value="recommend_id`$smarty.section.cnt.iteration`"}-->
+                                        <!--{assign var=anckey value="recommend_no`$smarty.section.cnt.iteration`"}-->
+                                        <td bgcolor="#f2f1ec" width="160" class="fs12n">関連商品(<!--{$smarty.section.cnt.iteration}-->)<br>
+                                        <!--{if $arrRecommend[$recommend_no].main_list_image != ""}-->
+                                            <!--{assign var=image_path value="`$arrRecommend[$recommend_no].main_list_image`"}-->
+                                        <!--{else}-->
+                                            <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
+                                        <!--{/if}-->
+                                        <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
+                                        </td>
+                                        <td bgcolor="#ffffff" width="557" class="fs12">
+                                        <a name="<!--{$anckey}-->"></a>
+                                        <input type="hidden" name="<!--{$key}-->" value="<!--{$arrRecommend[$recommend_no].product_id|escape}-->">
+                                        <input type="button" name="change" value="変更" onclick="selectAll('category_id'); win03('./product_select.php?no=<!--{$smarty.section.cnt.iteration}-->', 'search', '500', '500'); " >
+                                        <!--{assign var=key value="recommend_delete`$smarty.section.cnt.iteration`"}-->
+                                        <input type="checkbox" name="<!--{$key}-->" value="1">削除<br>
+                                        商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br>
+                                        商品名:<!--{$arrRecommend[$recommend_no].name|escape}--><br>
+                                        <!--{assign var=key value="recommend_comment`$smarty.section.cnt.iteration`"}-->
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <textarea name="<!--{$key}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrRecommend[$recommend_no].comment|escape}--></textarea><br /><span class="red10"> （上限<!--{$smarty.const.LTEXT_LEN}-->文字）</span></td>
+                                        </td>
+                                    </tr>
+                                    <!--{/section}-->
+                                    <!--▲関連商品-->
+                                    <!--{/if}-->
+                                </table>
+                                </div>
+
+                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                    <tr>
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                                        <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                                    </tr>
+                                    <tr>
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                        <td bgcolor="#e9e7de" align="center">
+                                        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                            <tr>
+                                            <td>
+                                                <!--{if count($arrSearchHidden) > 0}-->
+                                                <!--▼検索結果へ戻る-->
+                                                    <a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_search_back_on.jpg','back');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_search_back.jpg','back');" onClick="fnChangeAction('<!--{$smarty.const.URL_SEARCH_TOP}-->'); fnModeSubmit('search','',''); return false;"><img src="<!--{$TPL_DIR}-->img/contents/btn_search_back.jpg" width="123" height="24" alt="検索画面に戻る" border="0" name="back"></a>
+                                                <!--▲検索結果へ戻る-->
+                                                <!--{/if}-->
+                                                <input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_confirm_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_confirm.jpg',this)" onClick="selectAll('category_id')" src="<!--{$TPL_DIR}-->img/contents/btn_confirm.jpg" width="123" height="24" alt="確認ページへ" border="0" name="subm" >
+                                            </td>
+                                            </tr>
+                                        </table>
+                                        </td>
+                                        <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                    </tr>
+                                    <tr>
+                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
+                                    </tr>
+                                </table>
+
+                                </td>
+                                <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+                            </tr>
+                            <tr><td height="30"></td></tr>
+                        </table>
+                    </td>
+                </tr>
+                <!--メインエリア-->
+            </table>
+            <!--▲登録テーブルここまで-->
+        </td>
+    </tr>
 </form>
 </table>
Index: branches/version-2/data/Smarty/templates/default/admin/products/product_rank.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/products/product_rank.tpl	(revision 16582)
+++ branches/version-2/data/Smarty/templates/default/admin/products/product_rank.tpl	(revision 18007)
@@ -50,5 +50,5 @@
 						<td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
 						<td bgcolor="#cccccc">
-						
+
 							<!--▼登録テーブルここから-->
 							<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
@@ -67,8 +67,8 @@
 									<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
 								</tr>
-							</table>	
-							
+							</table>
+
 							<table width="678" border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
-					
+
 								<tr bgcolor="#ffffff">
 									<!--▼画面左-->
@@ -77,5 +77,5 @@
 									<!--{section name=cnt loop=$arrTree}-->
 										<!--{assign var=level value="`$arrTree[cnt].level`}-->
-										
+
 										<!--{* 上の階層表示の時にdivを閉じる *}-->
 										<!--{assign var=close_cnt value="`$before_level-$level+1`}-->
@@ -83,8 +83,8 @@
 											<!--{section name=n loop=$close_cnt}--></div><!--{/section}-->
 										<!--{/if}-->
-															
+
 										<!--{* スペース繰り返し *}-->
 										<!--{section name=n loop=$level}-->　　<!--{/section}-->
-										
+
 										<!--{* カテゴリ名表示 *}-->
 										<!--{assign var=disp_name value="`$arrTree[cnt].category_id`.`$arrTree[cnt].category_name`"}-->
@@ -96,19 +96,19 @@
 										<!--{/if}-->
 										<!--{$disp_name|sfCutString:20|escape}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a>
-									<br>					
+									<br>
 										<!--{if $arrTree[cnt].display == true}-->
 											<div id="f<!--{$arrTree[cnt].category_id}-->">
 										<!--{else}-->
 											<div id="f<!--{$arrTree[cnt].category_id}-->" style="display:none">
-										<!--{/if}-->				
+										<!--{/if}-->
 										<!--{assign var=before_level value="`$arrTree[cnt].level`}-->
-									<!--{/section}-->		
+									<!--{/section}-->
 									</td>
 									<!--▲画面左-->
-										
-									<!--▼画面右-->				
+
+									<!--▼画面右-->
 									<!--{if count($arrProductsList) > 0}-->
 									<td width="428" valign="top">
-																	
+
 									<table width="428" border="0" cellspacing="0" cellpadding="0" summary=" ">
 										<tr><td class="fs12n"><!--{$tpl_linemax}-->件が該当しました。	</td></tr>
@@ -122,42 +122,42 @@
 										<tr><td height="10"></td></tr>
 									</table>
-													
+
 									<table border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
 										<tr bgcolor="#f0f0f0" align="center" class="fs12n">
 											<td width="27">順位</td>
-											<td width="110">商品コード</td>
+											<td width="100">商品コード</td>
 											<td width="100">商品画像</td>
 											<td width="130">商品名</td>
-											<td width="120">移動</td>
-										</tr>
+											<td width="130">移動</td>
+										</tr>
+										<!--{assign var=rank value=$tpl_start_row}-->
 										<!--{section name=cnt loop=$arrProductsList}-->
 										<tr bgcolor="#ffffff" align="left" class="fs12n">
 											<!--{assign var=db_rank value="`$arrProductsList[cnt].rank`"}-->
-											<!--{assign var=rank value="`$tpl_linemax-$db_rank+1`"}-->
+											<!--{assign var=rank value=`$rank+1`}-->
 											<td width="27" align="center"><!--{$rank}--></td>
-											<td width="110"><!--{$arrProductsList[cnt].product_code|escape|default:"-"}--></td>
-											<td width="100" align="center">
-												<!--{* 商品画像 *}-->
-												<!--{if $arrProductsList[cnt].main_list_image != ""}-->
-													<!--{assign var=image_path value=`$arrProductsList[cnt].main_list_image`}-->
-												<!--{else}-->
-													<!--{assign var=image_path value=$smarty.const.NO_IMAGE_URL}-->
-												<!--{/if}-->
-												<img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrProducts[cnt].name|escape}-->">
-											</td>
-											<td width="130" align="center">
+											<td width="100"><!--{$arrProductsList[cnt].product_code|escape|default:"-"}--></td>
+											<td  width="100" align="center">
+											<!--{* 商品画像 *}-->
+											<!--{if $arrProductsList[cnt].main_list_image != ""}-->
+												<!--{assign var=image_path value=`$arrProductsList[cnt].main_list_image`}-->
+											<!--{else}-->
+												<!--{assign var=image_path value=$smarty.const.NO_IMAGE_URL}-->
+											<!--{/if}-->
+											<img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrProducts[cnt].name|escape}-->">
+											</td>
+											<td  width="130" align="center">
 												<!--{$arrProductsList[cnt].name|escape}-->
 											</td>
-											
-											<td width="120" align="center">
+											<td  width="130" align="center">
 											<!--{* 移動 *}-->
 											<!--{if !(count($arrProductsList) == 1 && $rank == 1)}-->
-											<input type="text" name="pos-<!--{$arrProductsList[cnt].product_id}-->" size="3" class="box3" />番目へ<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('move','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">移動</a><br />
+												<input type="text" name="pos-<!--{$arrProductsList[cnt].product_id}-->" size="3" class="box3" />番目へ<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('move','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">移動</a><br />
 											<!--{/if}-->
 											<!--{if !($smarty.section.cnt.first && $tpl_disppage eq 1) }-->
-											<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">上へ</a>
+												<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">上へ</a>
 											<!--{/if}-->
 											<!--{if !($smarty.section.cnt.last && $tpl_disppage eq $tpl_pagemax) }-->
-											<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">下へ</a>
+												<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">下へ</a>
 											<!--{/if}-->
 											</td>
@@ -165,5 +165,5 @@
 										<!--{/section}-->
 									</table>
-									
+
 									<table width="428" border="0" cellspacing="0" cellpadding="0" summary=" ">
 										<tr><td height="5"></td></tr>
@@ -177,5 +177,5 @@
 										<tr><td height="5"></td></tr>
 									</table>
-									</td>		
+									</td>
 									<!--{else}-->
 									<td width="428" valign="top" class="fs12n">カテゴリを選択してください。</td>
@@ -203,3 +203,3 @@
 </form>
 </table>
-<!--★★メインコンテンツ★★-->		
+<!--★★メインコンテンツ★★-->
Index: branches/version-2/data/Smarty/templates/default/admin/products/confirm.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/products/confirm.tpl	(revision 16956)
+++ branches/version-2/data/Smarty/templates/default/admin/products/confirm.tpl	(revision 18007)
@@ -24,300 +24,306 @@
 <!--★★メインコンテンツ★★-->
 <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr valign="top">
-		<td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
-			<!--▼SUB NAVI-->
-			<!--{include file=$tpl_subnavi}-->
-			<!--▲SUB NAVI-->
-		</td>
-		<td class="mainbg">
-			<!--▼CONTENTS-->
-			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-				<!--メインエリア-->
-				<tr>
-					<td align="center">
-					<!--▼MAIN CONTENTS-->
-						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-						<!--▼登録テーブルここから-->
-						<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
-						<!--{foreach key=key item=item from=$arrForm}-->
-						<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
-						<!--{/foreach}-->
-						<tr><td height="14"></td></tr>
-						<tr>
-							<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-						</tr>
-						<tr>
-							<td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-							<td bgcolor="#cccccc">
-							<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-								<tr>
-									<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-								</tr>
-								<tr>
-									<td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-									<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->商品登録</span></td>
-									<td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-								</tr>
-								<tr>
-									<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-								</tr>
-								<tr>
-									<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-								</tr>
-							</table>
-							<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">商品名</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrForm.name|escape}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">商品カテゴリ</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{section name=cnt loop=$arrCategory_id}-->
-										<!--{assign var=key value=$arrCategory_id[cnt]}-->
-										<!--{$arrCatList[$key]|strip|sfTrim}--><br>
-									<!--{/section}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">公開・非公開</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrDISP[$arrForm.status]}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">商品ステータス</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{section name=cnt loop=$arrForm.product_flag|count_characters}-->
-										<!--{if $arrForm.product_flag[cnt] == "1"}--><!--{assign var=key value="`$smarty.section.cnt.iteration`"}--><img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$key]}-->"><!--{/if}-->
-									<!--{/section}-->
-									</td>
-								</tr>
-
-								<!--{if $tpl_nonclass == true}-->
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">商品コード</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrForm.product_code|escape}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n"><!--{$smarty.const.NORMAL_PRICE_TITLE}--></td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrForm.price01|escape}-->
-									円</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n"><!--{$smarty.const.SALE_PRICE_TITLE}--></td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrForm.price02|escape}-->
-									円</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">在庫数</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{if $arrForm.stock_unlimited == 1}-->
-									無制限
-									<!--{else}-->
-									<!--{$arrForm.stock|escape}-->
-									個<!--{/if}-->
-									</td>
-								</tr>
-								<!--{/if}-->
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">ポイント付与率</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrForm.point_rate|escape}-->
-									％</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">発送日目安</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrDELIVERYDATE[$arrForm.deliv_date_id]|escape}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">購入制限</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{if $arrForm.sale_unlimited == 1}-->
-									無制限
-									<!--{else}-->
-									<!--{$arrForm.sale_limit|escape}-->
-									個<!--{/if}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">メーカーURL</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrForm.comment1|escape|sfPutBR:$smarty.const.LINE_LIMIT_SIZE}-->
-									</td>
-								</tr>
-								<!--{*
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">成分</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrForm.comment2|escape}-->
-									</td>
-								</tr>
-								*}-->
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">検索ワード</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrForm.comment3|escape}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">一覧-メインコメント</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrForm.main_list_comment|escape|nl2br}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メインコメント</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{$arrForm.main_comment|nl2br}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">一覧-メイン画像</td>
-									<td bgcolor="#ffffff" width="557">
-									<!--{assign var=key value="main_list_image"}-->
-									<!--{if $arrFile[$key].filepath != ""}-->
-									<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
-									<!--{/if}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メイン画像</td>
-									<td bgcolor="#ffffff" width="557">
-									<!--{assign var=key value="main_image"}-->
-									<!--{if $arrFile[$key].filepath != ""}-->
-									<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
-									<!--{/if}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メイン拡大画像</td>
-									<td bgcolor="#ffffff" width="557">
-									<!--{assign var=key value="main_large_image"}-->
-									<!--{if $arrFile[$key].filepath != ""}-->
-									<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
-									<!--{/if}-->
-									</td>
-								</tr>
-								
-								<!--{* オペビルダー用 *}-->
-								<!--{if "sfViewAdminOpe"|function_exists === TRUE}-->
-								<!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/admin_ope_view.tpl}-->
-								<!--{/if}-->
-								
-								<!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
-								<!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブタイトル（<!--{$smarty.section.cnt.iteration}-->）</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
-									<!--{$arrForm[$key]|escape}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブコメント（<!--{$smarty.section.cnt.iteration}-->）</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}-->
-									<!--{$arrForm[$key]|nl2br}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブ画像（<!--{$smarty.section.cnt.iteration}-->）</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
-									<!--{if $arrFile[$key].filepath != ""}-->
-									<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
-									<!--{/if}-->
-									</td>
-								</tr>
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブ拡大画像（<!--{$smarty.section.cnt.iteration}-->）</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}-->
-									<!--{if $arrFile[$key].filepath != ""}-->
-									<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
-									<!--{/if}-->
-									</td>
-								</tr>
-								<!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
-								<!--{/section}-->
-
-								<!--{if $smarty.const.OPTION_RECOMMEND == 1}-->
-								<!--▼関連商品-->
-								<!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}-->
-								<!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}-->
-								<tr>
-									<td bgcolor="#f2f1ec" width="160" class="fs12n">関連商品(<!--{$smarty.section.cnt.iteration}-->)<br>
-									<!--{if $arrRecommend[$recommend_no].main_list_image != ""}-->
-										<!--{assign var=image_path value="`$arrRecommend[$recommend_no].main_list_image`"}-->
-									<!--{else}-->
-										<!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
-									<!--{/if}-->
-									<img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
-									</td>
-									<td bgcolor="#ffffff" width="557" class="fs12n">
-									<!--{if $arrRecommend[$recommend_no].name != ""}-->
-									商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br>
-									商品名:<!--{$arrRecommend[$recommend_no].name|escape}--><br>
-									コメント:<br>
-									<!--{$arrRecommend[$recommend_no].comment|escape}-->
-									<!--{/if}-->
-									</td>
-								</tr>
-								<!--{/section}-->
-								<!--▲関連商品-->
-								<!--{/if}-->
-							</table>
-							<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-								<tr>
-									<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-									<td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
-									<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-								</tr>
-								<tr>
-									<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-									<td bgcolor="#e9e7de" align="center">
-									<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-										<tr>
-											<td>
-												<a href="#" onMouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_back_on.jpg','back')" onMouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_back.jpg','back');" onclick="fnModeSubmit('confirm_return','',''); return false;"><img src="<!--{$TPL_DIR}-->img/contents/btn_back.jpg" width="123" height="24" alt="前のページに戻る" border="0" name="back"></a>
-												<input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" >
-											</td>
-										</tr>
-									</table>
-									</td>
-									<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-								</tr>
-								<tr>
-									<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
-								</tr>
-							</table>
-						</td>
-						<td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-					</tr>
-					<tr>
-						<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-					</tr>
-					<tr><td height="30"></td></tr>
-
-					</table>
-
-					<!--▲登録テーブルここまで-->
-					</form>
-					<!--▲MAIN CONTENTS-->
-					</td>
-				</tr>
-			</table>
-			<!--▲CONTENTS-->
-		</td>
-	</tr>
+    <tr valign="top">
+        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
+            <!--▼SUB NAVI-->
+            <!--{include file=$tpl_subnavi}-->
+            <!--▲SUB NAVI-->
+        </td>
+        <td class="mainbg">
+            <!--▼CONTENTS-->
+            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                <!--メインエリア-->
+                <tr>
+                    <td align="center">
+                    <!--▼MAIN CONTENTS-->
+                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                        <!--▼登録テーブルここから-->
+                        <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
+                        <!--{foreach key=key item=item from=$arrForm}-->
+                        <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
+                        <!--{/foreach}-->
+                        <tr><td height="14"></td></tr>
+                        <tr>
+                            <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+                        </tr>
+                        <tr>
+                            <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                            <td bgcolor="#cccccc">
+                            <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                <tr>
+                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+                                </tr>
+                                <tr>
+                                    <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+                                    <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->商品登録</span></td>
+                                    <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+                                </tr>
+                                <tr>
+                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+                                </tr>
+                                <tr>
+                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+                                </tr>
+                            </table>
+                            <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">商品名</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrForm.name|escape}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">商品カテゴリ</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{section name=cnt loop=$arrCategory_id}-->
+                                        <!--{assign var=key value=$arrCategory_id[cnt]}-->
+                                        <!--{$arrCatList[$key]|strip|sfTrim}--><br>
+                                    <!--{/section}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">公開・非公開</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrDISP[$arrForm.status]}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">商品ステータス</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{section name=cnt loop=$arrForm.product_flag|count_characters}-->
+                                        <!--{if $arrForm.product_flag[cnt] == "1"}--><!--{assign var=key value="`$smarty.section.cnt.iteration`"}--><img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$key]}-->"><!--{/if}-->
+                                    <!--{/section}-->
+                                    </td>
+                                </tr>
+
+                                <!--{if $tpl_nonclass == true}-->
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">商品コード</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrForm.product_code|escape}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n"><!--{$smarty.const.NORMAL_PRICE_TITLE}--></td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrForm.price01|escape}-->
+                                    円</td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n"><!--{$smarty.const.SALE_PRICE_TITLE}--></td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrForm.price02|escape}-->
+                                    円</td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">在庫数</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{if $arrForm.stock_unlimited == 1}-->
+                                    無制限
+                                    <!--{else}-->
+                                    <!--{$arrForm.stock|escape}-->
+                                    個<!--{/if}-->
+                                    </td>
+                                </tr>
+                                <!--{/if}-->
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">ポイント付与率</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrForm.point_rate|escape}-->
+                                    ％</td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">発送日目安</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrDELIVERYDATE[$arrForm.deliv_date_id]|escape}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">購入制限</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{if $arrForm.sale_unlimited == 1}-->
+                                    無制限
+                                    <!--{else}-->
+                                    <!--{$arrForm.sale_limit|escape}-->
+                                    個<!--{/if}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">メーカーURL</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrForm.comment1|escape|sfPutBR:$smarty.const.LINE_LIMIT_SIZE}-->
+                                    </td>
+                                </tr>
+                                <!--{*
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">成分</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrForm.comment2|escape}-->
+                                    </td>
+                                </tr>
+                                *}-->
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">検索ワード</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrForm.comment3|escape}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">備考欄(SHOP専用)</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                      <!--{$arrForm.note|escape}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">一覧-メインコメント</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrForm.main_list_comment|escape|nl2br}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メインコメント</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{$arrForm.main_comment|nl2br}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">一覧-メイン画像</td>
+                                    <td bgcolor="#ffffff" width="557">
+                                    <!--{assign var=key value="main_list_image"}-->
+                                    <!--{if $arrFile[$key].filepath != ""}-->
+                                    <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
+                                    <!--{/if}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メイン画像</td>
+                                    <td bgcolor="#ffffff" width="557">
+                                    <!--{assign var=key value="main_image"}-->
+                                    <!--{if $arrFile[$key].filepath != ""}-->
+                                    <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
+                                    <!--{/if}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-メイン拡大画像</td>
+                                    <td bgcolor="#ffffff" width="557">
+                                    <!--{assign var=key value="main_large_image"}-->
+                                    <!--{if $arrFile[$key].filepath != ""}-->
+                                    <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
+                                    <!--{/if}-->
+                                    </td>
+                                </tr>
+
+                                <!--{* オペビルダー用 *}-->
+                                <!--{if "sfViewAdminOpe"|function_exists === TRUE}-->
+                                <!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/admin_ope_view.tpl}-->
+                                <!--{/if}-->
+
+                                <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
+                                <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブタイトル（<!--{$smarty.section.cnt.iteration}-->）</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
+                                    <!--{$arrForm[$key]|escape}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブコメント（<!--{$smarty.section.cnt.iteration}-->）</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}-->
+                                    <!--{$arrForm[$key]|nl2br}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブ画像（<!--{$smarty.section.cnt.iteration}-->）</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
+                                    <!--{if $arrFile[$key].filepath != ""}-->
+                                    <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
+                                    <!--{/if}-->
+                                    </td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">詳細-サブ拡大画像（<!--{$smarty.section.cnt.iteration}-->）</td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}-->
+                                    <!--{if $arrFile[$key].filepath != ""}-->
+                                    <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
+                                    <!--{/if}-->
+                                    </td>
+                                </tr>
+                                <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
+                                <!--{/section}-->
+
+                                <!--{if $smarty.const.OPTION_RECOMMEND == 1}-->
+                                <!--▼関連商品-->
+                                <!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}-->
+                                <!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}-->
+                                <tr>
+                                    <td bgcolor="#f2f1ec" width="160" class="fs12n">関連商品(<!--{$smarty.section.cnt.iteration}-->)<br>
+                                    <!--{if $arrRecommend[$recommend_no].main_list_image != ""}-->
+                                        <!--{assign var=image_path value="`$arrRecommend[$recommend_no].main_list_image`"}-->
+                                    <!--{else}-->
+                                        <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
+                                    <!--{/if}-->
+                                    <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
+                                    </td>
+                                    <td bgcolor="#ffffff" width="557" class="fs12n">
+                                    <!--{if $arrRecommend[$recommend_no].name != ""}-->
+                                    商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br>
+                                    商品名:<!--{$arrRecommend[$recommend_no].name|escape}--><br>
+                                    コメント:<br>
+                                    <!--{$arrRecommend[$recommend_no].comment|escape}-->
+                                    <!--{/if}-->
+                                    </td>
+                                </tr>
+                                <!--{/section}-->
+                                <!--▲関連商品-->
+                                <!--{/if}-->
+                            </table>
+                            <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                <tr>
+                                    <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                                    <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
+                                    <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                                </tr>
+                                <tr>
+                                    <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                    <td bgcolor="#e9e7de" align="center">
+                                    <table border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                        <tr>
+                                            <td>
+                                                <a href="#" onMouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_back_on.jpg','back')" onMouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_back.jpg','back');" onclick="fnModeSubmit('confirm_return','',''); return false;"><img src="<!--{$TPL_DIR}-->img/contents/btn_back.jpg" width="123" height="24" alt="前のページに戻る" border="0" name="back"></a>
+                                                <input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" >
+                                            </td>
+                                        </tr>
+                                    </table>
+                                    </td>
+                                    <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                </tr>
+                                <tr>
+                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
+                                </tr>
+                            </table>
+                        </td>
+                        <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                    </tr>
+                    <tr>
+                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+                    </tr>
+                    <tr><td height="30"></td></tr>
+
+                    </table>
+
+                    <!--▲登録テーブルここまで-->
+                    </form>
+                    <!--▲MAIN CONTENTS-->
+                    </td>
+                </tr>
+            </table>
+            <!--▲CONTENTS-->
+        </td>
+    </tr>
 </table>
 <!--★★メインコンテンツ★★-->
Index: branches/version-2/data/Smarty/templates/default/admin/order/pdf_input.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/order/pdf_input.tpl	(revision 17234)
+++ branches/version-2/data/Smarty/templates/default/admin/order/pdf_input.tpl	(revision 18007)
@@ -1,3 +1,3 @@
-﻿<!--{*
+<!--{*
 /*
  * This file is part of EC-CUBE
@@ -14,10 +14,10 @@
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.    See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA    02111-1307, USA.
  */
 *}-->
@@ -42,8 +42,8 @@
 
 function lfPopwinSubmit(formName) {
-  win02('about:blank','pdf','1000','900');
-  document[formName].target = "pdf";
-  document[formName].submit();
-  return false;
+    win02('about:blank','pdf','1000','900');
+    document[formName].target = "pdf";
+    document[formName].submit();
+    return false;
 }
 //-->
@@ -60,148 +60,158 @@
 <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF}-->">
 <input type="hidden" name="mode" value="confirm">
-<input type="hidden" name="order_id" value="<!--{$arrForm.order_id}-->">
+<!--{foreach from=$arrForm.order_id item=order_id}-->
+    <input type="hidden" name="order_id[]" value="<!--{$order_id}-->">
+<!--{/foreach}-->
 <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
 
 <table width="500" border="0" cellspacing="0" cellpadding="0" summary=" ">
 <tr valign="top">
-  <td class="mainbg">
-    <!--▼登録テーブルここから-->
-    <table width="500" border="0" cellspacing="0" cellpadding="0" summary=" ">
-    <!--メインエリア-->
-    <tr>
-      <td align="center">
-        <table width="470" border="0" cellspacing="0" cellpadding="0" summary=" ">
-        <tr><td height="14"></td></tr>
+    <td class="mainbg">
+        <!--▼登録テーブルここから-->
+        <table width="500" border="0" cellspacing="0" cellpadding="0" summary=" ">
+        <!--メインエリア-->
         <tr>
-          <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="470" height="14" alt=""></td>
+            <td align="center">
+                <table width="470" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                <tr><td height="14"></td></tr>
+                <tr>
+                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="470" height="14" alt=""></td>
+                </tr>
+                <tr>
+                    <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                    <td bgcolor="#cccccc">
+                        <table width="440" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                        <tr>
+                            <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="440" height="7" alt=""></td>
+                        </tr>
+                        <tr>
+                            <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+                            <td bgcolor="#636469" width="400" class="fs14n"><span class="white"><!--コンテンツタイトル-->帳票の作成</span></td>
+                            <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+                        </tr>
+                        <tr>
+                            <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="440" height="7" alt=""></td>
+                        </tr>
+                        <tr>
+                            <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="440" height="10" alt=""></td>
+                        </tr>
+                        </table>
+
+                        <table width="440" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                            <tr class="fs12n">
+                                <td width="120" bgcolor="#f3f3f3">受注番号</td>
+                                    <td width="307" bgcolor="#ffffff">
+                                    <!--{foreach name=order_id from=$arrForm.order_id item=order_id}-->
+                                        <!--{$order_id|escape}--><!--{if $smarty.foreach.order_id.last === false}-->,<!--{/if}-->
+                                    <!--{/foreach}-->
+                                    </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td width="120" bgcolor="#f3f3f3">発行日<span class="red">※</span></td>
+                                <td width="307" bgcolor="#ffffff"><!--{if $arrErr.year}--><span class="red"><!--{$arrErr.year}--></span><!--{/if}-->
+                                    <select name="year">
+                                    <!--{html_options options=$arrYear selected=$arrForm.year}-->
+                                    </select>年
+                                    <select name="month">
+                                    <!--{html_options options=$arrMonth selected=$arrForm.month}-->
+                                    </select>月
+                                    <select name="day">
+                                    <!--{html_options options=$arrDay selected=$arrForm.day}-->
+                                    </select>日
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td width="120" bgcolor="#f3f3f3">帳票の種類</td>
+                                <td width="307" bgcolor="#ffffff"><!--{if $arrErr.download}--><span class="red"><!--{$arrErr.download}--></span><!--{/if}-->
+                                    <select name="type">
+                                    <!--{html_options options=$arrType selected=$arrForm.type}-->
+                                    </select>
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td width="120" bgcolor="#f3f3f3">ダウンロード方法</td>
+                                <td width="307" bgcolor="#ffffff"><!--{if $arrErr.download}--><span class="red"><!--{$arrErr.download}--></span><!--{/if}-->
+                                    <select name="download">
+                                    <!--{html_options options=$arrDownload selected=$arrForm.download}-->
+                                    </select>
+                                </td>
+                            </tr>
+                            <tr class="fs12">
+                                <td width="120" bgcolor="#f3f3f3">帳票タイトル</td>
+                                <td width="307" bgcolor="#ffffff"><!--{if $arrErr.title}--><span class="red"><!--{$arrErr.title}--></span><!--{/if}-->
+                                    <input type="text" name="title" size="40" value="<!--{$arrForm.title}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
+                                    <span style="font-size: 80%;">※未入力時はデフォルトのタイトルが表示されます。</span><br />
+                                </td>
+                            </tr>
+                            <tr class="fs12">
+                                <td width="120" bgcolor="#f3f3f3">帳票メッセージ</td>
+                                <td width="307" bgcolor="#ffffff"><!--{if $arrErr.msg1}--><span class="red"><!--{$arrErr.msg1}--></span><!--{/if}-->
+                                    1行目：<input type="text" name="msg1" size="40" value="<!--{$arrForm.msg1}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br />
+                                    <!--{if $arrErr.msg2}--><span class="red"><!--{$arrErr.msg1}--></span><!--{/if}-->
+                                    2行目：<input type="text" name="msg2" size="40" value="<!--{$arrForm.msg2}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br />
+                                    <!--{if $arrErr.msg3}--><span class="red"><!--{$arrErr.msg3}--></span><!--{/if}-->
+                                    3行目：<input type="text" name="msg3" size="40" value="<!--{$arrForm.msg3}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br />
+                                    <span style="font-size: 80%;">※未入力時はデフォルトのメッセージが表示されます。</span><br />
+                                </td>
+                            </tr>
+                            <tr class="fs12">
+                                <td width="120" bgcolor="#f3f3f3">備考</td>
+                                <td width="307" bgcolor="#ffffff">
+                                    1行目：<input type="text" name="etc1" size="40" value="" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
+                                    <!--{if $arrErr.etc2}--><span class="red"><!--{$arrErr.msg1}--></span><!--{/if}-->
+                                    2行目：<input type="text" name="etc2" size="40" value="" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
+                                    <!--{if $arrErr.etc3}--><span class="red"><!--{$arrErr.msg3}--></span><!--{/if}-->
+                                    3行目：<input type="text" name="etc3" size="40" value="" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
+                                    <span style="font-size: 80%;">※未入力時は表示されません。</span><br />
+                                </td>
+                            </tr>
+                            <!--{if $smarty.const.USE_POINT === true}-->
+                            <tr class="fs12">
+                                <td width="120" bgcolor="#f3f3f3">ポイント表記</td>
+                                <td width="307" bgcolor="#ffffff">
+                                    <input type="radio" name="disp_point" value="1" checked="checked" />する　<input type="radio" name="disp_point" value="0" />しない<br />
+                                    <span style="font-size: 80%;">※「する」を選択されても、お客様が非会員の場合は表示されません。</span>
+                                </td>
+                            </tr>
+                            <!--{else}-->
+                                <input type="hidden" name="disp_point" value="0" />
+                            <!--{/if}-->
+                        </table>
+
+                        <table width="440" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                                <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="438" height="7" alt=""></td>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                <td bgcolor="#e9e7de" align="center">
+                                    <table border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                        <tr>
+                                            <td>
+                                                <input type="button" name="pdf_input" value="この内容で作成する" onclick="return lfPopwinSubmit('form1');" />
+                                            </td>
+                                        </tr>
+                                    </table>
+                                </td>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="440" height="8" alt=""></td>
+                            </tr>
+                        </table>
+                    </td>
+                    <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                </tr>
+                <tr>
+                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="470" height="14" alt=""></td>
+                </tr>
+                <tr><td height="30"></td></tr>
+                </table>
+            </td>
         </tr>
-        <tr>
-          <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-          <td bgcolor="#cccccc">
-            <table width="440" border="0" cellspacing="0" cellpadding="0" summary=" ">
-            <tr>
-              <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="440" height="7" alt=""></td>
-            </tr>
-            <tr>
-              <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-              <td bgcolor="#636469" width="400" class="fs14n"><span class="white"><!--コンテンツタイトル-->帳票の作成</span></td>
-              <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-            </tr>
-            <tr>
-              <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="440" height="7" alt=""></td>
-            </tr>
-            <tr>
-              <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="440" height="10" alt=""></td>
-            </tr>
-            </table>
-
-            <table width="440" border="0" cellspacing="1" cellpadding="8" summary=" ">
-              <tr class="fs12n">
-                <td width="120" bgcolor="#f3f3f3">受注番号</td>
-                <td width="307" bgcolor="#ffffff"><!--{$arrForm.order_id}--></td>
-              </tr>
-              <tr class="fs12n">
-                <td width="120" bgcolor="#f3f3f3">発行日<span class="red">※</span></td>
-                <td width="307" bgcolor="#ffffff"><!--{if $arrErr.year}--><span class="red"><!--{$arrErr.year}--></span><!--{/if}-->
-                  <select name="year">
-                  <!--{html_options options=$arrYear selected=$arrForm.year}-->
-                  </select>年
-                  <select name="month">
-                  <!--{html_options options=$arrMonth selected=$arrForm.month}-->
-                  </select>月
-                  <select name="day">
-                  <!--{html_options options=$arrDay selected=$arrForm.day}-->
-                  </select>日
-                </td>
-              </tr>
-              <tr class="fs12n">
-                <td width="120" bgcolor="#f3f3f3">帳票の種類</td>
-                <td width="307" bgcolor="#ffffff"><!--{if $arrErr.download}--><span class="red"><!--{$arrErr.download}--></span><!--{/if}-->
-                  <select name="type">
-                  <!--{html_options options=$arrType selected=$arrForm.type}-->
-                  </select>
-                </td>
-              </tr>
-              <tr class="fs12n">
-                <td width="120" bgcolor="#f3f3f3">ダウンロード方法</td>
-                <td width="307" bgcolor="#ffffff"><!--{if $arrErr.download}--><span class="red"><!--{$arrErr.download}--></span><!--{/if}-->
-                  <select name="download">
-                  <!--{html_options options=$arrDownload selected=$arrForm.download}-->
-                  </select>
-                </td>
-              </tr>
-              <tr class="fs12">
-                <td width="120" bgcolor="#f3f3f3">帳票タイトル</td>
-                <td width="307" bgcolor="#ffffff"><!--{if $arrErr.title}--><span class="red"><!--{$arrErr.title}--></span><!--{/if}-->
-                  <input type="text" name="title" size="40" value="<!--{$arrForm.title}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
-                  <span style="font-size: 80%;">※未入力時はデフォルトのタイトルが表示されます。</span><br />
-                </td>
-              </tr>
-              <tr class="fs12">
-                <td width="120" bgcolor="#f3f3f3">帳票メッセージ</td>
-                <td width="307" bgcolor="#ffffff"><!--{if $arrErr.msg1}--><span class="red"><!--{$arrErr.msg1}--></span><!--{/if}-->
-                  1行目：<input type="text" name="msg1" size="40" value="<!--{$arrForm.msg1}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br />
-                  <!--{if $arrErr.msg2}--><span class="red"><!--{$arrErr.msg1}--></span><!--{/if}-->
-                  2行目：<input type="text" name="msg2" size="40" value="<!--{$arrForm.msg2}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br />
-                  <!--{if $arrErr.msg3}--><span class="red"><!--{$arrErr.msg3}--></span><!--{/if}-->
-                  3行目：<input type="text" name="msg3" size="40" value="<!--{$arrForm.msg3}-->" maxlength="<!--{$smarty.const.STEXT_LEN*3/5}-->"/><br />
-                  <span style="font-size: 80%;">※未入力時はデフォルトのメッセージが表示されます。</span><br />
-                </td>
-              </tr>
-              <tr class="fs12">
-                <td width="120" bgcolor="#f3f3f3">備考</td>
-                <td width="307" bgcolor="#ffffff">
-                  1行目：<input type="text" name="etc1" size="40" value="" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
-                  <!--{if $arrErr.etc2}--><span class="red"><!--{$arrErr.msg1}--></span><!--{/if}-->
-                  2行目：<input type="text" name="etc2" size="40" value="" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
-                  <!--{if $arrErr.etc3}--><span class="red"><!--{$arrErr.msg3}--></span><!--{/if}-->
-                  3行目：<input type="text" name="etc3" size="40" value="" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/><br />
-                  <span style="font-size: 80%;">※未入力時は表示されません。</span><br />
-                </td>
-              </tr>
-              <tr class="fs12">
-                <td width="120" bgcolor="#f3f3f3">ポイント表記</td>
-                <td width="307" bgcolor="#ffffff">
-                  <input type="radio" name="disp_point" value="1" checked="checked" />する　<input type="radio" name="disp_point" value="0" />しない<br />
-                  <span style="font-size: 80%;">※「する」を選択されても、お客様が非会員の場合は表示されません。</span>
-                </td>
-              </tr>
-            </table>
-
-            <table width="440" border="0" cellspacing="0" cellpadding="0" summary=" ">
-              <tr>
-                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-                <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="438" height="7" alt=""></td>
-                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-              </tr>
-              <tr>
-                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-                <td bgcolor="#e9e7de" align="center">
-                  <table border="0" cellspacing="0" cellpadding="0" summary=" ">
-                    <tr>
-                      <td>
-                        <input type="button" name="pdf_input" value="この内容で作成する" onclick="return lfPopwinSubmit('form1');" />
-                      </td>
-                    </tr>
-                  </table>
-                </td>
-                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-              </tr>
-              <tr>
-                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="440" height="8" alt=""></td>
-              </tr>
-            </table>
-          </td>
-          <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-        </tr>
-        <tr>
-          <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="470" height="14" alt=""></td>
-        </tr>
-        <tr><td height="30"></td></tr>
         </table>
-      </td>
-    </tr>
-    </table>
-  </td>
+    </td>
 </tr>
 </table>
Index: branches/version-2/data/Smarty/templates/default/admin/order/disp.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/order/disp.tpl	(revision 17049)
+++ branches/version-2/data/Smarty/templates/default/admin/order/disp.tpl	(revision 18007)
@@ -53,319 +53,319 @@
 <!--▼CONTENTS-->
 <table width="780" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr valign="top">
-		<td class="mainbg" >
-		<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-			<!--メインエリア-->
-			<tr>
-				<td align="center">
-				<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-
-					<tr><td height="14"></td></tr>
-					<tr>
-						<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-					</tr>
-					<tr>
-						<td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-						<td bgcolor="#cccccc">
-						
-						<!--登録テーブルここから-->
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-							</tr>
-							<tr>
-								<td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-								<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->受注詳細</span></td>
-								<td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-							</tr>
-						</table>
-						
-						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" width="110">対応状況</td>
-								<td bgcolor="#ffffff">
-									<!--{if $arrDisp.delete == 1}-->削除済み
-									<!--{else}-->
-									<!--{assign var=status value=`$arrForm.status.value`}-->
-									<!--{$arrORDERSTATUS[$status]}-->
-									<!--{/if}-->
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" width="110">発送日</td>
-								<td bgcolor="#ffffff"><!--{$arrDisp.commit_date|sfDispDBDate|default:"未発送"}--></td>
-							</tr>
-						</table>
-
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
-						</table>
-						
-						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" colspan="4">▼お客様情報</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" width="110">受注番号</td>
-								<td bgcolor="#ffffff" width="248"><!--{$arrDisp.order_id}--></td>
-								<td bgcolor="#f0f0f0" width="110">顧客ID</td>
-								<td bgcolor="#ffffff" width="249">
-								<!--{if $arrDisp.customer_id > 0}-->
-									<!--{$arrDisp.customer_id}-->
-								<!--{else}-->
-									（非会員）
-								<!--{/if}-->
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0">受注日</td>
-								<td bgcolor="#ffffff" colspan="3"><!--{$arrDisp.create_date|sfDispDBDate}--></td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" >顧客名</td>
-								<td bgcolor="#ffffff" ><!--{$arrDisp.order_name01|escape}--> <!--{$arrDisp.order_name02|escape}--></td>
-								<td bgcolor="#f0f0f0" >顧客名（カナ）</td>
-								<td bgcolor="#ffffff" ><!--{$arrDisp.order_kana01|escape}--> <!--{$arrDisp.order_kana02|escape}--></td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" >メールアドレス</td>
-								<td bgcolor="#ffffff" ><a href="mailto:<!--{$arrDisp.order_email|escape}-->"><!--{$arrDisp.order_email|escape}--></a></td>
-								<td bgcolor="#f0f0f0" >TEL</td>
-								<td bgcolor="#ffffff" ><!--{$arrDisp.order_tel01}-->-<!--{$arrDisp.order_tel02}-->-<!--{$arrDisp.order_tel03}--></td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" >住所</td>
-								<td bgcolor="#ffffff" colspan="3">〒<!--{$arrDisp.order_zip01}-->-<!--{$arrDisp.order_zip02}--><br>
-								<!--{assign var=key value=$arrDisp.order_pref}-->
-								<!--{$arrPref[$key]}--><!--{$arrDisp.order_addr01}--><!--{$arrDisp.order_addr02}--></td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" >備考</td>
-								<td bgcolor="#ffffff" colspan="3"><!--{$arrDisp.message|escape|nl2br}--></td>
-							</tr>
-						</table>
-						
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
-						</table>
-						
-						<!--▼配送先情報ここから-->
-						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="717" colspan="4">▼配送先情報</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">お名前</td>
-								<td bgcolor="#ffffff" width="248">
-								<!--{assign var=key1 value="deliv_name01"}-->
-								<!--{assign var=key2 value="deliv_name02"}-->
-								<!--{$arrForm[$key1].value|escape}-->
-								<!--{$arrForm[$key2].value|escape}-->
-								</td>
-								<td bgcolor="#f2f1ec" width="110">お名前（カナ）</td>
-								<td bgcolor="#ffffff" width="249">
-								<!--{assign var=key1 value="deliv_kana01"}-->
-								<!--{assign var=key2 value="deliv_kana02"}-->
-								<!--{$arrForm[$key1].value|escape}-->
-								<!--{$arrForm[$key2].value|escape}-->
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">郵便番号</td>
-								<td bgcolor="#ffffff" width="248">
-								<!--{assign var=key1 value="deliv_zip01"}-->
-								<!--{assign var=key2 value="deliv_zip02"}-->
-								〒<!--{$arrForm[$key1].value|escape}-->-<!--{$arrForm[$key2].value|escape}-->
-								</td>
-								<td bgcolor="#f2f1ec" width="110">TEL</td>
-								<td bgcolor="#ffffff" width="249">
-								<!--{assign var=key1 value="deliv_tel01"}-->
-								<!--{assign var=key2 value="deliv_tel02"}-->
-								<!--{assign var=key3 value="deliv_tel03"}-->
-								<!--{$arrForm[$key1].value|escape}-->-<!--{$arrForm[$key2].value|escape}-->-<!--{$arrForm[$key3].value|escape}-->
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">住所</td>
-								<td bgcolor="#ffffff" width="607" colspan="3">
-									<!--{assign var=pref value=`$arrForm.deliv_pref.value`}-->
-									<!--{$arrPref[$pref]}-->
-									<!--{assign var=key value="deliv_addr01"}-->
-									<!--{$arrForm[$key].value|escape}-->
-									<!--{assign var=key value="deliv_addr02"}-->
-									<!--{$arrForm[$key].value|escape}-->
-								</td>
-							</tr>
-						</table>
-						<!--▲配送先情報ここまで-->	
-
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
-						</table>
-						
-						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" width="717" colspan="7">▼受注商品情報</td>
-							</tr>
-							<tr bgcolor="#f0f0f0" align="center" class="fs12n">
-								<td width="140">商品コード</td>
-								<td width="215">商品名/規格1/規格2</td>
-								<td width="84">単価</td>
-								<td width="45">数量</td>
-								<td width="94">小計</td>
-							</tr>
-							<!--{section name=cnt loop=$arrForm.quantity.value}-->
-							<!--{assign var=key value="`$smarty.section.cnt.index`"}-->
-							<tr bgcolor="#ffffff" class="fs12">
-								<td width="140"><!--{$arrDisp.product_code[$key]|escape}--></td>
-								<td width="215"><!--{$arrDisp.product_name[$key]|escape}-->/<!--{$arrDisp.classcategory_name1[$key]|escape|default:"(なし)"}-->/<!--{$arrDisp.classcategory_name2[$key]|escape|default:"(なし)"}--></td>
-								<td width="84" align="center"><!--{if $arrForm.price.value[$key] != 0}--><!--{$arrForm.price.value[$key]|escape}-->円<!--{else}-->無料<!--{/if}--></td>
-								<td width="45" align="center"><!--{$arrForm.quantity.value[$key]|escape}--></td>
-								<!--{assign var=price value=`$arrForm.price.value[$key]`}-->
-								<!--{assign var=quantity value=`$arrForm.quantity.value[$key]`}-->
-								<td width="94" align="right"><!--{if $price != 0}--><!--{$price|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|sfMultiply:$quantity|number_format}-->円<!--{else}-->無料<!--{/if}--></td>
-							</tr>
-							<!--{/section}-->
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="4" align="right">小計</td>
-								<td align="right"><!--{$arrForm.subtotal.value|number_format}-->円</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="4" align="right">ポイント値引き</td>
-								<td align="right"><!--{assign var=point_discount value="`$arrForm.use_point.value*$smarty.const.POINT_VALUE`"}--><!--{$point_discount}-->円</td>
-							</tr>
-							<!--{assign var=discount value="`$arrForm.discount.value`"}-->
-							<!--{if $discount != "" && $discount > 0}-->
-				 			<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="4" align="right">値引き</td>
-								<td align="right"><!--{$discount}-->円</td>
-							</tr>
-							<!--{/if}-->
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="4" align="right">送料</td>
-								<td align="right"><!--{assign var=key value="deliv_fee"}--><!--{$arrForm[$key].value|escape|number_format}--> 円</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="4" align="right">手数料</td>
-								<td align="right"><!--{assign var=key value="charge"}-->
-							<span class="red12"><!--{$arrErr[$key]}--></span><!--{$arrForm[$key].value|escape|number_format}--> 円</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="4" align="right">合計</td>
-								<td align="right"><!--{$arrForm.total.value|number_format}--> 円</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="4" align="right">お支払い合計</td>
-								<td align="right"><!--{$arrForm.payment_total.value|number_format}--> 円</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="4" align="right">使用ポイント</td>
-								<td align="right"><!--{assign var=key value="use_point"}--><!--{if $arrForm[$key].value != ""}--><!--{$arrForm[$key].value}--><!--{else}-->0<!--{/if}--> pt</td>
-							</tr>
-							<!--{if $arrForm.birth_point.value > 0}-->
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="4" align="right">お誕生日ポイント</td>
-								<td align="right">
-								<!--{$arrForm.birth_point.value}-->
-								 pt</td>
-							</tr>
-							<!--{/if}-->
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="4" align="right">加算ポイント</td>
-								<td align="right">
-								<!--{$arrForm.add_point.value|default:0}-->
-								 pt</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<!--{if $arrDisp.customer_id > 0}-->
-								<td colspan="4" align="right">現在ポイント</td>
-								<td align="right">
-								<!--{$arrForm.point.value}-->
-								 pt</td>
-								<!--{else}-->
-								<td colspan="4" align="right">現在ポイント</td><td align="center">（なし）</td>
-								<!--{/if}-->
-							</tr>
-							<!--{*
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="5" align="right">反映後ポイント（ポイントの変更は<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="return fnEdit('<!--{$arrDisp.customer_id}-->');">顧客編集</a>から手動にてお願い致します。）</td>
-								<td align="right">
-								<span class="red12"><!--{$arrErr.total_point}--></span>
-								<!--{$arrForm.total_point.value}-->
-								 pt</td>
-							</tr>
-							*}-->
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" colspan="5">▼お支払方法</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#ffffff" colspan="5" height="24">
-								<!--{assign var=payment_id value="`$arrForm.payment_id.value`"}-->
-								<!--{$arrPayment[$payment_id]|escape}--></td>
-							</tr>
-							<!--{if $arrDisp.payment_info|@count > 0}-->
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" colspan="6">▼<!--{$arrDisp.payment_type}-->情報</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#ffffff" colspan="6">
-									<!--{foreach key=key item=item from=$arrDisp.payment_info}-->
-									<!--{if $key != "title"}--><!--{if $item.name != ""}--><!--{$item.name}-->：<!--{/if}--><!--{$item.value}--><br/><!--{/if}-->
-									<!--{/foreach}-->
-								</td>
-							</tr>
-							<!--{/if}-->
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" colspan="5">▼時間指定</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#ffffff" colspan="5" height="24">
-								<!--{assign var=deliv_time_id value="`$arrForm.deliv_time_id.value`"}-->
-								<!--{$arrDelivTime[$deliv_time_id]|default:"指定なし"}--></td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f0f0f0" colspan="6">▼配達日指定</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#ffffff" colspan="6">
-								<!--{assign var=key value="deliv_date"}-->
-								<span class="red12"><!--{$arrErr[$key]}--></span>
-								<!--{$arrForm[$key].value|default:"指定なし"}-->
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" colspan="6">▼メモ</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#ffffff" colspan="6">
-								<!--{assign var=key value="note"}-->
-								<!--{$arrForm[$key].value|escape|nl2br}-->
-								</td>
-							</tr>							
-						</table>					
-						
-						
-						<td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-					</tr>
-					<tr>
-						<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-					</tr>
-					<tr><td height="30"></td></tr>
-				</table>
-				</td>
-			</tr>
-			<!--メインエリア-->
-		</table>
-		</td>
-	</tr>
+    <tr valign="top">
+        <td class="mainbg" >
+        <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+            <!--メインエリア-->
+            <tr>
+                <td align="center">
+                <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+
+                    <tr><td height="14"></td></tr>
+                    <tr>
+                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+                    </tr>
+                    <tr>
+                        <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                        <td bgcolor="#cccccc">
+
+                        <!--登録テーブルここから-->
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+                                <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->受注詳細</span></td>
+                                <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+                            </tr>
+                        </table>
+
+                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" width="110">対応状況</td>
+                                <td bgcolor="#ffffff">
+                                    <!--{if $arrForm.delete.value == 1}-->削除済み
+                                    <!--{else}-->
+                                    <!--{assign var=status value=`$arrForm.status.value`}-->
+                                    <!--{$arrORDERSTATUS[$status]}-->
+                                    <!--{/if}-->
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" width="110">発送日</td>
+                                <td bgcolor="#ffffff"><!--{$arrForm.commit_date|sfDispDBDate|default:"未発送"}--></td>
+                            </tr>
+                        </table>
+
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
+                        </table>
+
+                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" colspan="4">▼お客様情報</td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" width="110">受注番号</td>
+                                <td bgcolor="#ffffff" width="248"><!--{$arrForm.order_id.value}--></td>
+                                <td bgcolor="#f0f0f0" width="110">顧客ID</td>
+                                <td bgcolor="#ffffff" width="249">
+                                <!--{if $arrForm.customer_id.value > 0}-->
+                                    <!--{$arrForm.customer_id.value}-->
+                                <!--{else}-->
+                                    （非会員）
+                                <!--{/if}-->
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0">受注日</td>
+                                <td bgcolor="#ffffff" colspan="3"><!--{$arrForm.create_date.value|sfDispDBDate}--></td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" >顧客名</td>
+                                <td bgcolor="#ffffff" ><!--{$arrForm.order_name01.value|escape}--> <!--{$arrForm.order_name02.value|escape}--></td>
+                                <td bgcolor="#f0f0f0" >顧客名（カナ）</td>
+                                <td bgcolor="#ffffff" ><!--{$arrForm.order_kana01.value|escape}--> <!--{$arrForm.order_kana02.value|escape}--></td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" >メールアドレス</td>
+                                <td bgcolor="#ffffff" ><a href="mailto:<!--{$arrForm.order_email.value|escape}-->"><!--{$arrForm.order_email.value|escape}--></a></td>
+                                <td bgcolor="#f0f0f0" >TEL</td>
+                                <td bgcolor="#ffffff" ><!--{$arrForm.order_tel01.value}-->-<!--{$arrForm.order_tel02.value}-->-<!--{$arrForm.order_tel03.value}--></td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" >住所</td>
+                                <td bgcolor="#ffffff" colspan="3">〒<!--{$arrForm.order_zip01.value}-->-<!--{$arrForm.order_zip02.value}--><br>
+                                <!--{assign var=key value=$arrForm.order_pref.value}-->
+                                <!--{$arrPref[$key]}--><!--{$arrForm.order_addr01.value}--><!--{$arrForm.order_addr02.value}--></td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" >備考</td>
+                                <td bgcolor="#ffffff" colspan="3"><!--{$arrForm.message.value|escape|nl2br}--></td>
+                            </tr>
+                        </table>
+
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
+                        </table>
+
+                        <!--▼配送先情報ここから-->
+                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="717" colspan="4">▼配送先情報</td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">お名前</td>
+                                <td bgcolor="#ffffff" width="248">
+                                <!--{assign var=key1 value="deliv_name01"}-->
+                                <!--{assign var=key2 value="deliv_name02"}-->
+                                <!--{$arrForm[$key1].value|escape}-->
+                                <!--{$arrForm[$key2].value|escape}-->
+                                </td>
+                                <td bgcolor="#f2f1ec" width="110">お名前（カナ）</td>
+                                <td bgcolor="#ffffff" width="249">
+                                <!--{assign var=key1 value="deliv_kana01"}-->
+                                <!--{assign var=key2 value="deliv_kana02"}-->
+                                <!--{$arrForm[$key1].value|escape}-->
+                                <!--{$arrForm[$key2].value|escape}-->
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">郵便番号</td>
+                                <td bgcolor="#ffffff" width="248">
+                                <!--{assign var=key1 value="deliv_zip01"}-->
+                                <!--{assign var=key2 value="deliv_zip02"}-->
+                                〒<!--{$arrForm[$key1].value|escape}-->-<!--{$arrForm[$key2].value|escape}-->
+                                </td>
+                                <td bgcolor="#f2f1ec" width="110">TEL</td>
+                                <td bgcolor="#ffffff" width="249">
+                                <!--{assign var=key1 value="deliv_tel01"}-->
+                                <!--{assign var=key2 value="deliv_tel02"}-->
+                                <!--{assign var=key3 value="deliv_tel03"}-->
+                                <!--{$arrForm[$key1].value|escape}-->-<!--{$arrForm[$key2].value|escape}-->-<!--{$arrForm[$key3].value|escape}-->
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">住所</td>
+                                <td bgcolor="#ffffff" width="607" colspan="3">
+                                    <!--{assign var=pref value=`$arrForm.deliv_pref.value`}-->
+                                    <!--{$arrPref[$pref]}-->
+                                    <!--{assign var=key value="deliv_addr01"}-->
+                                    <!--{$arrForm[$key].value|escape}-->
+                                    <!--{assign var=key value="deliv_addr02"}-->
+                                    <!--{$arrForm[$key].value|escape}-->
+                                </td>
+                            </tr>
+                        </table>
+                        <!--▲配送先情報ここまで-->
+
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
+                        </table>
+
+                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" width="717" colspan="7">▼受注商品情報</td>
+                            </tr>
+                            <tr bgcolor="#f0f0f0" align="center" class="fs12n">
+                                <td width="140">商品コード</td>
+                                <td width="215">商品名/規格1/規格2</td>
+                                <td width="84">単価</td>
+                                <td width="45">数量</td>
+                                <td width="94">小計</td>
+                            </tr>
+                            <!--{section name=cnt loop=$arrForm.quantity.value}-->
+                            <!--{assign var=key value="`$smarty.section.cnt.index`"}-->
+                            <tr bgcolor="#ffffff" class="fs12">
+                                <td width="140"><!--{$arrForm.product_code.value[$key]|escape}--></td>
+                                <td width="215"><!--{$arrForm.product_name.value[$key]|escape}-->/<!--{$arrForm.classcategory_name1.value[$key]|escape|default:" (なし)"}-->/<!--{$arrForm.classcategory_name2.value[$key]|escape|default:"(なし)"}--></td>
+                                <td width="84" align="center"><!--{if $arrForm.price.value[$key] != 0}--><!--{$arrForm.price.value[$key]|number_format}-->円<!--{else}-->無料<!--{/if}--></td>
+                                <td width="45" align="center"><!--{$arrForm.quantity.value[$key]|escape}--></td>
+                                <!--{assign var=price value=`$arrForm.price.value[$key]`}-->
+                                <!--{assign var=quantity value=`$arrForm.quantity.value[$key]`}-->
+                                <td width="94" align="right"><!--{if $price != 0}--><!--{$price|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|sfMultiply:$quantity|number_format}-->円<!--{else}-->無料<!--{/if}--></td>
+                            </tr>
+                            <!--{/section}-->
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="4" align="right">小計</td>
+                                <td align="right"><!--{$arrForm.subtotal.value|number_format}-->円</td>
+                            </tr>
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="4" align="right">ポイント値引き</td>
+                                <td align="right"><!--{assign var=point_discount value="`$arrForm.use_point.value*$smarty.const.POINT_VALUE`"}--><!--{$point_discount|number_format}-->円</td>
+                            </tr>
+                            <!--{assign var=discount value="`$arrForm.discount.value`"}-->
+                            <!--{if $discount != "" && $discount > 0}-->
+                             <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="4" align="right">値引き</td>
+                                <td align="right"><!--{$discount|number_format}-->円</td>
+                            </tr>
+                            <!--{/if}-->
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="4" align="right">送料</td>
+                                <td align="right"><!--{assign var=key value="deliv_fee"}--><!--{$arrForm[$key].value|escape|number_format}--> 円</td>
+                            </tr>
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="4" align="right">手数料</td>
+                                <td align="right"><!--{assign var=key value="charge"}-->
+                            <span class="red12"><!--{$arrErr[$key]}--></span><!--{$arrForm[$key].value|escape|number_format}--> 円</td>
+                            </tr>
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="4" align="right">合計</td>
+                                <td align="right"><!--{$arrForm.total.value|number_format}--> 円</td>
+                            </tr>
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="4" align="right">お支払い合計</td>
+                                <td align="right"><!--{$arrForm.payment_total.value|number_format}--> 円</td>
+                            </tr>
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="4" align="right">使用ポイント</td>
+                                <td align="right"><!--{assign var=key value="use_point"}--><!--{if $arrForm[$key].value != ""}--><!--{$arrForm[$key].value|number_format}--><!--{else}-->0<!--{/if}--> pt</td>
+                            </tr>
+                            <!--{if $arrForm.birth_point.value > 0}-->
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="4" align="right">お誕生日ポイント</td>
+                                <td align="right">
+                                <!--{$arrForm.birth_point.value|number_format}-->
+                                 pt</td>
+                            </tr>
+                            <!--{/if}-->
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="4" align="right">加算ポイント</td>
+                                <td align="right">
+                                <!--{$arrForm.add_point.value|default:0|number_format}-->
+                                 pt</td>
+                            </tr>
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <!--{if $arrForm.customer_id.value > 0}-->
+                                <td colspan="4" align="right">現在ポイント</td>
+                                <td align="right">
+                                <!--{$arrForm.point.value|number_format}-->
+                                 pt</td>
+                                <!--{else}-->
+                                <td colspan="4" align="right">現在ポイント</td><td align="center">（なし）</td>
+                                <!--{/if}-->
+                            </tr>
+                            <!--{*
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="5" align="right">反映後ポイント（ポイントの変更は<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="return fnEdit('<!--{$arrForm.customer_id.value}-->');">顧客編集</a>から手動にてお願い致します。）</td>
+                                <td align="right">
+                                <span class="red12"><!--{$arrErr.total_point}--></span>
+                                <!--{$arrForm.total_point.value}-->
+                                 pt</td>
+                            </tr>
+                            *}-->
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" colspan="5">▼お支払方法</td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#ffffff" colspan="5" height="24">
+                                <!--{assign var=payment_id value="`$arrForm.payment_id.value`"}-->
+                                <!--{$arrPayment[$payment_id]|escape}--></td>
+                            </tr>
+                            <!--{if $arrForm.payment_info.value|@count > 0}-->
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" colspan="6">▼<!--{$arrForm.payment_info.value}-->情報</td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#ffffff" colspan="6">
+                                    <!--{foreach key=key item=item from=$arrForm.payment_info.value}-->
+                                    <!--{if $key != "title"}--><!--{if $item.name != ""}--><!--{$item.name}-->：<!--{/if}--><!--{$item.value}--><br/><!--{/if}-->
+                                    <!--{/foreach}-->
+                                </td>
+                            </tr>
+                            <!--{/if}-->
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" colspan="5">▼時間指定</td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#ffffff" colspan="5" height="24">
+                                <!--{assign var=deliv_time_id value="`$arrForm.deliv_time_id.value`"}-->
+                                <!--{$arrDelivTime[$deliv_time_id]|default:"指定なし"}--></td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f0f0f0" colspan="6">▼配達日指定</td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#ffffff" colspan="6">
+                                <!--{assign var=key value="deliv_date"}-->
+                                <span class="red12"><!--{$arrErr[$key]}--></span>
+                                <!--{$arrForm[$key].value|default:"指定なし"}-->
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" colspan="6">▼メモ</td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#ffffff" colspan="6">
+                                <!--{assign var=key value="note"}-->
+                                <!--{$arrForm[$key].value|escape|nl2br}-->
+                                </td>
+                            </tr>
+                        </table>
+
+
+                        <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                    </tr>
+                    <tr>
+                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+                    </tr>
+                    <tr><td height="30"></td></tr>
+                </table>
+                </td>
+            </tr>
+            <!--メインエリア-->
+        </table>
+        </td>
+    </tr>
 </form>
 </table>
-<!--★★メインコンテンツ★★-->		
+<!--★★メインコンテンツ★★-->
 </div>
 
Index: branches/version-2/data/Smarty/templates/default/admin/order/product_select.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/order/product_select.tpl	(revision 18007)
+++ branches/version-2/data/Smarty/templates/default/admin/order/product_select.tpl	(revision 18007)
@@ -0,0 +1,269 @@
+<!--{*
+/*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ */
+*}-->
+<!--　-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
+
+<head>
+<meta http-equiv="content-type" content="application/xhtml+xml; charset=<!--{$smarty.const.CHAR_CODE}-->" />
+<meta http-equiv="content-script-type" content="text/javascript" />
+<meta http-equiv="content-style-type" content="text/css" />
+<link rel="stylesheet" href="<!--{$smarty.const.URL_ADMIN_CSS}-->common.css" type="text/css" media="all" />
+<script type="text/javascript" src="<!--{$TPL_DIR}-->js/css.js"></script>
+<script type="text/javascript" src="<!--{$TPL_DIR}-->js/navi.js"></script>
+<script type="text/javascript" src="<!--{$TPL_DIR}-->js/win_op.js"></script>
+<script type="text/javascript" src="<!--{$TPL_DIR}-->js/site.js"></script>
+<script type="text/javascript" src="<!--{$TPL_DIR}-->js/admin.js"></script>
+<script type="text/javascript">
+<!--
+self.moveTo(20,20);self.focus();
+
+function func_submit( product_id, class_name1, class_name2 ){
+    var err_text = '';
+    var fm = window.opener.document.form1;
+    var fm1 = window.opener.document;
+    var class1 = "classcategory_id" + product_id + "_1";
+    var class2 = "classcategory_id" + product_id + "_2";
+
+    var class1_id = document.getElementById(class1).value;
+    var class2_id = document.getElementById(class2).value;
+
+    <!--{if $tpl_no != ''}-->
+        var opner_product_id = 'edit_product_id';
+        var opner_classcategory_id1 = 'edit_classcategory_id1';
+        var opner_classcategory_id2 = 'edit_classcategory_id2';
+        fm1.getElementById("no").value = <!--{$tpl_no}-->;
+    <!--{else}-->
+        var opner_product_id = 'add_product_id';
+        var opner_classcategory_id1 = 'add_classcategory_id1';
+        var opner_classcategory_id2 = 'add_classcategory_id2';
+    <!--{/if}-->
+
+    if (document.getElementById(class1).type == 'select-one' && class1_id == '') {
+        err_text = class_name1 + "を選択してください。\n";
+    }
+    if (document.getElementById(class2).type == 'select-one' && class2_id == '') {
+        err_text = err_text + class_name2 + "を選択してください。\n";
+    }
+    if (err_text != '') {
+        alert(err_text);
+        return false;
+    }
+
+    fm1.getElementById(opner_product_id).value = product_id;
+    if (class1_id != '') {
+        fm1.getElementById(opner_classcategory_id1).value = class1_id;
+    }
+    if (class2_id != '') {
+        fm1.getElementById(opner_classcategory_id2).value = class2_id;
+    }
+
+    fm.mode.value = 'select_product_detail';
+    fm.anchor_key.value = 'order_products';
+    fm.submit();
+    window.close();
+
+    return true;
+}
+//-->
+</script>
+
+<script type="text/javascript">//<![CDATA[
+// セレクトボックスに項目を割り当てる。
+function lnSetSelect(name1, name2, id, val) {
+    sele1 = document.form1[name1];
+    sele2 = document.form1[name2];
+    lists = eval('lists' + id);
+    vals = eval('vals' + id);
+
+    if(sele1 && sele2) {
+        index = sele1.selectedIndex;
+
+        // セレクトボックスのクリア
+        count = sele2.options.length;
+        for(i = count; i >= 0; i--) {
+            sele2.options[i] = null;
+        }
+
+        // セレクトボックスに値を割り当てる
+        len = lists[index].length;
+        for(i = 0; i < len; i++) {
+            sele2.options[i] = new Option(lists[index][i], vals[index][i]);
+            if(val != "" && vals[index][i] == val) {
+                sele2.options[i].selected = true;
+            }
+        }
+    }
+}
+//]]>
+</script>
+
+
+<script type="text/javascript">//<![CDATA[
+    <!--{$tpl_javascript}-->
+//]]>
+</script>
+
+<title>ECサイト管理者ページ</title>
+</head>
+
+
+<body bgcolor="#ffffff" text="#666666" link="#007bb7" vlink="#007bb7" alink="#cc0000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+<noscript>
+<link rel="stylesheet" href="<!--{$smarty.const.URL_ADMIN_CSS}-->common.css" type="text/css" />
+</noscript>
+
+<!--▼CONTENTS-->
+<div align="center">
+　
+<!--▼検索フォーム-->
+<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
+<input name="mode" type="hidden" value="search">
+<input name="anchor_key" type="hidden" value="">
+<input name="search_pageno" type="hidden" value="">
+<table bgcolor="#cccccc" width="420" border="0" cellspacing="1" cellpadding="5" summary=" ">
+    <tr class="fs12n">
+        <td bgcolor="#f0f0f0" width="100">カテゴリ</td>
+        <td bgcolor="#ffffff" width="287"><select name="search_category_id">
+        <option value="" selected="selected">選択してください</option>
+        <!--{html_options options=$arrCatList selected=$arrForm.search_category_id}-->
+        </select>
+        </td>
+    </tr>
+    <tr class="fs12n">
+        <td bgcolor="#f0f0f0">商品名</td>
+        <td bgcolor="#ffffff"><input type="text" name="search_name" value="<!--{$arrForm.search_name}-->" size="35" class="box35" /></td>
+    </tr>
+    <tr class="fs12n">
+        <td bgcolor="#f0f0f0">商品番号</td>
+        <td bgcolor="#ffffff"><input type="text" name="search_product_code" value="<!--{$arrForm.search_product_code}-->" size="35" class="box35" /></td>
+    </tr>
+</table>
+<br />
+<input type="submit" name="subm" value="検索を開始" />
+<br />
+<br />
+
+    <!--▼検索結果表示-->
+    <!--{if $tpl_linemax}-->
+    <table width="420" border="0" cellspacing="0" cellpadding="0" summary=" " bgcolor="#FFFFFF">
+        <tr class="fs12">
+            <td align="left"><!--{$tpl_linemax}-->件が該当しました。	</td>
+        </tr>
+        <tr class="fs12">
+            <td align="center">
+            <!--▼ページナビ-->
+            <!--{$tpl_strnavi}-->
+            <!--▲ページナビ-->
+            </td>
+        </tr>
+        <tr><td height="10"></td></tr>
+    </table>
+
+    <!--▼検索後表示部分-->
+    <table width="420" border="0" cellspacing="1" cellpadding="5" bgcolor="#cccccc">
+        <tr bgcolor="#f0f0f0" align="center" class="fs12">
+            <td>商品画像</td>
+            <td>商品番号</td>
+            <td>商品名</td>
+            <td>決定</td>
+        </tr>
+        <!--{section name=cnt loop=$arrProducts}-->
+        <!--{assign var=id value=$arrProducts[cnt].product_id}-->
+        <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
+        <tr bgcolor="#FFFFFF" class="fs12n">
+            <td width="90" align="center">
+            <!--{if $arrProducts[cnt].main_list_image != ""}-->
+                <!--{assign var=image_path value="`$arrProducts[cnt].main_list_image`"}-->
+            <!--{else}-->
+                <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
+            <!--{/if}-->
+            <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
+            </td>
+            <td>
+            <!--{$arrProducts[cnt].name|escape}-->
+
+            <!--{assign var=codemin value=`$arrProducts[cnt].product_code_min`}-->
+            <!--{assign var=codemax value=`$arrProducts[cnt].product_code_max`}-->
+            <!--{* 商品コード *}-->
+                <!--{if $codemin != $codemax}-->
+                    <!--{$codemin|escape}-->〜<!--{$codemax|escape}-->
+                <!--{else}-->
+                    <!--{$codemin|escape}-->
+                <!--{/if}-->
+            </td>
+            <td>
+                <!--{$arrProducts[cnt].name|escape}-->
+
+                <!--{assign var=class1 value=classcategory_id`$id`_1}-->
+                <!--{assign var=class2 value=classcategory_id`$id`_2}-->
+                <!--{if $tpl_classcat_find1[$id]}-->
+                <dt><!--{$tpl_class_name1[$id]|escape}-->：</dt>
+                <dd>
+                    <select name="<!--{$class1}-->" id="<!--{$class1}-->" style="<!--{$arrErr[$class1]|sfGetErrorColor}-->" onchange="lnSetSelect('<!--{$class1}-->', '<!--{$class2}-->', '<!--{$id}-->','');">
+                    <option value="">選択してください</option>
+                    <!--{html_options options=$arrClassCat1[$id] selected=$arrForm[$class1]}-->
+                    </select>
+                    <!--{if $arrErr[$class1] != ""}-->
+                    <br /><span class="attention">※ <!--{$tpl_class_name1[$id]}-->を入力して下さい。</span>
+                    <!--{/if}-->
+                </dd>
+                <!--{else}-->
+                <input type="hidden" name="<!--{$class1}-->" id="<!--{$class1}-->" value="">
+                <!--{/if}-->
+                <!--{if $tpl_classcat_find2[$id]}-->
+                    <dt><!--{$tpl_class_name2[$id]|escape}-->：</dt>
+                    <dd>
+                        <select name="<!--{$class2}-->" id="<!--{$class2}-->" style="<!--{$arrErr[$class2]|sfGetErrorColor}-->">
+                        <option value="">選択してください</option>
+                        </select>
+                        <!--{if $arrErr[$class2] != ""}-->
+                        <br /><span class="attention">※ <!--{$tpl_class_name2[$id]}-->を入力して下さい。</span>
+                        <!--{/if}-->
+                    </dd>
+                <!--{else}-->
+                    <input type="hidden" name="<!--{$class2}-->" id="<!--{$class2}-->" value="">
+                <!--{/if}-->
+            </td>
+
+            <td align="center"><a href="" onclick="return func_submit('<!--{$arrProducts[cnt].product_id}-->', '<!--{$tpl_class_name1[$id]}-->', '<!--{$tpl_class_name2[$id]}-->')">決定</a></td>
+        </tr>
+        <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
+        <!--{sectionelse}-->
+        <tr bgcolor="#FFFFFF" class="fs10n">
+            <td colspan="4">商品が登録されていません</td>
+        </tr>
+        <!--{/section}-->
+    </table>
+    <br />
+    <br />
+    <!--{/if}-->
+    <!--▲検索結果表示-->
+
+</form>
+
+</div>
+<!--▲CONTENTS-->
+</body>
+</html>
Index: branches/version-2/data/Smarty/templates/default/admin/order/edit.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/order/edit.tpl	(revision 17472)
+++ branches/version-2/data/Smarty/templates/default/admin/order/edit.tpl	(revision 18007)
@@ -24,11 +24,28 @@
 <script type="text/javascript">
 <!--
-	function fnEdit(customer_id) {
-		document.form1.action = '<!--{$smarty.const.URL_DIR}-->admin/customer/edit.php';
-		document.form1.mode.value = "edit"
-		document.form1['edit_customer_id'].value = customer_id;
-		document.form1.submit();
-		return false;
-	}
+    function fnEdit(customer_id) {
+        document.form1.action = '<!--{$smarty.const.URL_DIR}-->admin/customer/edit.php';
+        document.form1.mode.value = "edit"
+        document.form1['edit_customer_id'].value = customer_id;
+        document.form1.submit();
+        return false;
+    }
+
+    function fnCopyFromOrderData() {
+        df = document.form1;
+
+        df.deliv_name01.value = df.order_name01.value;
+        df.deliv_name02.value = df.order_name02.value;
+        df.deliv_kana01.value = df.order_kana01.value;
+        df.deliv_kana02.value = df.order_kana02.value;
+        df.deliv_zip01.value = df.order_zip01.value;
+        df.deliv_zip02.value = df.order_zip02.value;
+        df.deliv_tel01.value = df.order_tel01.value;
+        df.deliv_tel02.value = df.order_tel02.value;
+        df.deliv_tel03.value = df.order_tel03.value;
+        df.deliv_pref.value = df.order_pref.value;
+        df.deliv_addr01.value = df.order_addr01.value;
+        df.deliv_addr02.value = df.order_addr02.value;
+    }
 //-->
 </script>
@@ -36,473 +53,563 @@
 <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
 <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
-<input type="hidden" name="mode" value="edit">
+<input type="hidden" name="mode" value="<!--{$tpl_mode|default:"edit"}-->">
 <input type="hidden" name="order_id" value="<!--{$tpl_order_id}-->">
-<input type="hidden" name="edit_customer_id" value="<!--{$tpl_order_id}-->">
-	<tr valign="top">
-		<td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
-			<!--▼SUB NAVI-->
-			<!--{include file=$tpl_subnavi}-->
-			<!--▲SUB NAVI-->
-		</td>
-		<td class="mainbg" >
-		<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-			<!--メインエリア-->
-			<tr>
-				<td align="center">
-				<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-
-					<tr><td height="14"></td></tr>
-					<tr>
-						<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-					</tr>
-					<tr>
-						<td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-						<td bgcolor="#cccccc">
-
-						<!--登録テーブルここから-->
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-							</tr>
-							<tr>
-								<td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-								<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->受注履歴編集</span></td>
-								<td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-							</tr>
-						</table>
-
-						<!--{* GMOPG連携用 *}-->
-						<!--{assign var=path value=`$smarty.const.MODULE_PATH`mdl_gmopg/templates/order_edit.tpl}-->
-						<!--{if file_exists($path)}-->
-							<!--{include file=$path}-->
-						<!--{/if}-->
-
-						<!--{* SPS連携用 *}-->
-						<!--{assign var=sps_path value=`$smarty.const.MODULE_PATH`mdl_sps/templates/sps_request.tpl}-->
-						<!--{if file_exists($sps_path) && $paymentType[0].module_code == $smarty.const.MDL_SPS_CODE && $paymentType[0].memo03 == $smarty.const.SPS_CREDIT}-->
-							<!--{include file=$sps_path}-->
-						<!--{/if}-->
-
-						<!--{* ペイジェントモジュール連携用 *}-->
-						<!--{assign var=path value=`$smarty.const.MODULE_PATH`mdl_paygent/paygent_order.tpl}-->
-						<!--{if file_exists($path)}-->
-							<!--{include file=$path}-->
-						<!--{/if}-->
-
-						<!--▼お客様情報ここから-->
-						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-							<tr class="fs12n">
-							<td bgcolor="#f2f1ec" width="110">帳票</td>
-							<td bgcolor="#ffffff">
-							  <input type="button" name="address_input" value="帳票の作成" onclick="win02('pdf.php?order_id=<!--{$arrDisp.order_id}-->','pdf_input','500','650'); return false;" />
-							</td>
-							</tr>
-						</table>
-
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
-						</table>
-
-						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">対応状況</td>
-								<td bgcolor="#ffffff">
-									<!--{assign var=key value="status"}-->
-									<span class="red12"><!--{$arrErr[$key]}--></span>
-									<select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
-									<option value="">選択してください</option>
-									<!--{html_options options=$arrORDERSTATUS selected=$arrForm[$key].value}-->
-									</select>
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">発送日</td>
-								<td bgcolor="#ffffff"><!--{$arrDisp.commit_date|sfDispDBDate|default:"未発送"}--></td>
-							</tr>
-						</table>
-
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
-						</table>
-
-						<!--{* F-REGI決済モジュール用 *}-->
-						<!--{assign var=path value=`$smarty.const.MODULE_PATH`mdl_fregi/fregi_order.tpl}-->
-						<!--{if file_exists($path)}-->
-							<!--{include file=$path}-->
-						<!--{/if}-->
-
-						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-							<!--{foreach key=key item=item from=$arrSearchHidden}-->
-								<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
-							<!--{/foreach}-->
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="717" colspan="4">▼お客様情報</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">受注番号</td>
-								<td bgcolor="#ffffff" width="248"><!--{$arrDisp.order_id}--></td>
-								<td bgcolor="#f2f1ec" width="110">顧客ID</td>
-								<td bgcolor="#ffffff" width="249">
-								<!--{if $arrDisp.customer_id > 0}-->
-									<!--{$arrDisp.customer_id}-->
-								<!--{else}-->
-									（非会員）
-								<!--{/if}-->
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">受注日</td>
-								<td bgcolor="#ffffff" width="607" colspan="3"><!--{$arrDisp.create_date|sfDispDBDate}--></td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">顧客名</td>
-								<td bgcolor="#ffffff" width="248"><!--{$arrDisp.order_name01|escape}--> <!--{$arrDisp.order_name02|escape}--></td>
-								<td bgcolor="#f2f1ec" width="110">顧客名（カナ）</td>
-								<td bgcolor="#ffffff" width="249"><!--{$arrDisp.order_kana01|escape}--> <!--{$arrDisp.order_kana02|escape}--></td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">メールアドレス</td>
-								<td bgcolor="#ffffff" width="248"><a href="mailto:<!--{$arrDisp.order_email|escape}-->"><!--{$arrDisp.order_email|escape}--></a></td>
-								<td bgcolor="#f2f1ec" width="110">TEL</td>
-								<td bgcolor="#ffffff" width="249"><!--{$arrDisp.order_tel01}-->-<!--{$arrDisp.order_tel02}-->-<!--{$arrDisp.order_tel03}--></td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">住所</td>
-								<td bgcolor="#ffffff" width="607" colspan="3">〒<!--{$arrDisp.order_zip01}-->-<!--{$arrDisp.order_zip02}--><br>
-								<!--{assign var=key value=$arrDisp.order_pref}-->
-								<!--{$arrPref[$key]}--><!--{$arrDisp.order_addr01|escape}--><!--{$arrDisp.order_addr02|escape}--></td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">備考</td>
-								<td bgcolor="#ffffff" width="607" colspan="3"><!--{$arrDisp.message|escape|nl2br}--></td>
-							</tr>
-						</table>
-						<!--▲お客様情報ここまで-->
-
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
-						</table>
-
-						<!--▼配送先情報ここから-->
-						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="717" colspan="4">▼配送先情報</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">お名前</td>
-								<td bgcolor="#ffffff" width="248">
-								<!--{assign var=key1 value="deliv_name01"}-->
-								<!--{assign var=key2 value="deliv_name02"}-->
-								<span class="red12"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
-								<input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box15" />
-								<input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box15" />
-								</td>
-								<td bgcolor="#f2f1ec" width="110">お名前（カナ）</td>
-								<td bgcolor="#ffffff" width="249">
-								<!--{assign var=key1 value="deliv_kana01"}-->
-								<!--{assign var=key2 value="deliv_kana02"}-->
-								<span class="red12"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
-								<input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box15" />
-								<input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box15" />
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">郵便番号</td>
-								<td bgcolor="#ffffff" width="248">
-								<!--{assign var=key1 value="deliv_zip01"}-->
-								<!--{assign var=key2 value="deliv_zip02"}-->
-								<span class="red12"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
-								〒
-								<input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->"  size="6" class="box6" />
-								 -
-								<input type="text"  name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box6" />
-								<input type="button" name="address_input" value="住所入力" onclick="fnCallAddress('<!--{$smarty.const.URL_INPUT_ZIP}-->', 'deliv_zip01', 'deliv_zip02', 'deliv_pref', 'deliv_addr01');" />
-								</td>
-								<td bgcolor="#f2f1ec" width="110">TEL</td>
-								<td bgcolor="#ffffff" width="249">
-								<!--{assign var=key1 value="deliv_tel01"}-->
-								<!--{assign var=key2 value="deliv_tel02"}-->
-								<!--{assign var=key3 value="deliv_tel03"}-->
-								<span class="red12"><!--{$arrErr[$key1]}--></span>
-								<span class="red12"><!--{$arrErr[$key2]}--></span>
-								<span class="red12"><!--{$arrErr[$key3]}--></span>
-								<input type="text" name="<!--{$arrForm[$key1].keyname}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> -
-								<input type="text" name="<!--{$arrForm[$key2].keyname}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box6" /> -
-								<input type="text" name="<!--{$arrForm[$key3].keyname}-->" value="<!--{$arrForm[$key3].value|escape}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" size="6" class="box6" />
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec">住所</td>
-								<td bgcolor="#ffffff" colspan="3">
-								<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-									<td>
-										<!--{assign var=key value="deliv_pref"}-->
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
-										<option value="" selected="">都道府県を選択</option>
-										<!--{html_options options=$arrPref selected=$arrForm[$key].value}-->
-										</select>
-									</td>
-									</tr>
-									<tr><td height="5"></td></tr>
-									<tr class="fs10n">
-										<td>
-										<!--{assign var=key value="deliv_addr01"}-->
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" size="60" class="box60" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
-										</td>
-										</tr>
-										<tr><td height="5"></td></tr>
-										<tr class="fs10n">
-											<td>
-											<!--{assign var=key value="deliv_addr02"}-->
-											<span class="red12"><!--{$arrErr[$key]}--></span>
-											<input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" size="60" class="box60" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
-											</td>
-										</tr>
-								</table>
-								</td>
-							</tr>
-						</table>
-						<!--▲配送先情報ここまで-->
-
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
-						</table>
-
-						<!--▼受注商品情報ここから-->
-						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="717" colspan="7">▼受注商品情報
-								<input type="button" name="cheek" value="計算結果の確認" onclick="fnModeSubmit('cheek','','');" />
-								<br />
-								<span class="red12"><!--{$arrErr.quantity}--></span>
-								<span class="red12"><!--{$arrErr.price}--></span>
-								</td>
-							</tr>
-							<tr bgcolor="#f2f1ec" align="center" class="fs12n">
-								<td width="140">商品コード</td>
-								<td width="215">商品名/規格1/規格2</td>
-								<td width="84">単価</td>
-								<td width="45">数量</td>
-								<td width="84">税込み価格</td>
-								<td width="94">小計</td>
-							</tr>
-							<!--{section name=cnt loop=$arrForm.quantity.value}-->
-							<!--{assign var=key value="`$smarty.section.cnt.index`"}-->
-							<tr bgcolor="#ffffff" class="fs12">
-								<td width="140"><!--{$arrDisp.product_code[$key]|escape}--></td>
-								<td width="215"><!--{$arrDisp.product_name[$key]|escape}-->/<!--{$arrDisp.classcategory_name1[$key]|escape|default:"(なし)"}-->/<!--{$arrDisp.classcategory_name2[$key]|escape|default:"(なし)"}--></td>
-								<input type="hidden" name="product_id[]" value="<!--{$arrDisp.product_id[$key]}-->">
-								<input type="hidden" name="product_code[]" value="<!--{$arrDisp.product_code[$key]}-->">
-								<input type="hidden" name="product_name[]" value="<!--{$arrDisp.product_name[$key]}-->">
-								<input type="hidden" name="point_rate[]" value="<!--{$arrDisp.point_rate[$key]}-->">
-								<input type="hidden" name="classcategory_id1[]" value="<!--{$arrDisp.classcategory_id1[$key]}-->">
-								<input type="hidden" name="classcategory_id2[]" value="<!--{$arrDisp.classcategory_id2[$key]}-->">
-								<input type="hidden" name="classcategory_name1[]" value="<!--{$arrDisp.classcategory_name1[$key]}-->">
-								<input type="hidden" name="classcategory_name2[]" value="<!--{$arrDisp.classcategory_name2[$key]}-->">
-								<td width="84" align="center"><input type="text" name="price[]" value="<!--{$arrForm.price.value[$key]|escape}-->" size="6" class="box6" maxlength="<!--{$arrForm.price.length}-->"/> 円</td>
-								<td width="45" align="center"><input type="text" name="quantity[]" value="<!--{$arrForm.quantity.value[$key]|escape}-->" size="3" class="box3" maxlength="<!--{$arrForm.quantity.length}-->"/></td>
-								<!--{assign var=price value=`$arrForm.price.value[$key]`}-->
-								<!--{assign var=quantity value=`$arrForm.quantity.value[$key]`}-->
-								<td width="84" align="right"><!--{$price|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</td>
-								<td width="94" align="right"><!--{$price|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|sfMultiply:$quantity|number_format}-->円</td>
-							</tr>
-							<!--{/section}-->
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="5" align="right">小計</td>
-								<td align="right"><!--{$arrForm.subtotal.value|number_format}-->円</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="5" align="right">値引</td>
-								<td align="right">
-							<!--{assign var=key value="discount"}-->
-							<span class="red12"><!--{$arrErr[$key]}--></span>
-							<input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"  size="5" class="box6" />
-							 円</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="5" align="right">送料</td>
-								<td align="right">
-							<!--{assign var=key value="deliv_fee"}-->
-							<span class="red12"><!--{$arrErr[$key]}--></span>
-							<input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"  size="5" class="box6" />
-							 円</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="5" align="right">手数料</td>
-								<td align="right">
-							<!--{assign var=key value="charge"}-->
-							<span class="red12"><!--{$arrErr[$key]}--></span>
-							<input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"  size="5" class="box6" />
-							 円</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="5" align="right">合計</td>
-								<td align="right">
-								<span class="red12"><!--{$arrErr.total}--></span>
-								<!--{$arrForm.total.value|number_format}--> 円</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="5" align="right">お支払い合計</td>
-								<td align="right">
-								<span class="red12"><!--{$arrErr.payment_total}--></span>
-								<!--{$arrForm.payment_total.value|number_format}-->
-								 円</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="5" align="right">使用ポイント</td>
-								<td align="right">
-								<!--{assign var=key value="use_point"}-->
-								<span class="red12"><!--{$arrErr[$key]}--></span>
-								<input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape|default:0}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"  size="5" class="box6" />
-								 pt</td>
-							</tr>
-							<!--{if $arrForm.birth_point.value > 0}-->
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="5" align="right">お誕生日ポイント</td>
-								<td align="right">
-								<!--{$arrForm.birth_point.value|number_format}-->
-								 pt</td>
-							</tr>
-							<!--{/if}-->
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="5" align="right">加算ポイント</td>
-								<td align="right">
-								<!--{$arrForm.add_point.value|number_format|default:0}-->
-								 pt</td>
-							</tr>
-							<tr bgcolor="#ffffff" class="fs12n">
-								<!--{if $arrDisp.customer_id > 0}-->
-								<td colspan="5" align="right">現在ポイント（ポイントの修正は<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="return fnEdit('<!--{$arrDisp.customer_id}-->');">顧客編集</a>から手動にてお願い致します。）</td>
-								<td align="right">
-								<!--{$arrForm.point.value|number_format}-->
-								 pt</td>
-								<!--{else}-->
-								<td colspan="5" align="right">現在ポイント</td><td align="center">（なし）</td>
-								<!--{/if}-->
-							</tr>
-							<!--{*
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td colspan="5" align="right">反映後ポイント（ポイントの変更は<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="return fnEdit('<!--{$arrDisp.customer_id}-->');">顧客編集</a>から手動にてお願い致します。）</td>
-								<td align="right">
-								<span class="red12"><!--{$arrErr.total_point}--></span>
-								<!--{$arrForm.total_point.value}-->
-								 pt</td>
-							</tr>
-							*}-->
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" colspan="6">▼お支払方法<span class="red">（お支払方法の変更に伴う手数料の変更は手動にてお願いします。)</span></td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#ffffff" colspan="6">
-								<!--{assign var=key value="payment_id"}-->
-								<span class="red12"><!--{$arrErr[$key]}--></span>
-								<select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
-								<option value="" selected="">選択してください</option>
-								<!--{html_options options=$arrPayment selected=$arrForm[$key].value}-->
-								</select></td>
-							</tr>
-
-							<!--{if $arrDisp.payment_info|@count > 0}-->
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" colspan="6">▼<!--{$arrDisp.payment_type}-->情報</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#ffffff" colspan="6">
-									<!--{foreach key=key item=item from=$arrDisp.payment_info}-->
-									<!--{if $key != "title"}--><!--{if $item.name != ""}--><!--{$item.name}-->：<!--{/if}--><!--{$item.value}--><br/><!--{/if}-->
-									<!--{/foreach}-->
-								</td>
-							</tr>
-							<!--{/if}-->
-
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" colspan="6">▼時間指定</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#ffffff" colspan="6">
-								<!--{assign var=key value="deliv_time_id"}-->
-								<span class="red12"><!--{$arrErr[$key]}--></span>
-								<select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
-								<option value="" selected="0">指定無し</option>
-								<!--{html_options options=$arrDelivTime selected=$arrForm[$key].value}-->
-								</select>
-								</td>
-							</tr>
-							<!--{assign var=key value="deliv_date"}-->
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" colspan="6">▼配達日指定</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#ffffff" colspan="6">
-								<!--{assign var=key value="deliv_date"}-->
-								<span class="red12"><!--{$arrErr[$key]}--></span>
-								<!--{$arrForm[$key].value|default:"指定なし"}-->
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" colspan="6">▼メモ</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#ffffff" colspan="6">
-								<!--{assign var=key value="note"}-->
-								<span class="red12"><!--{$arrErr[$key]}--></span>
-								<textarea name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" cols="80" rows="6" class="area80" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrForm[$key].value|escape}--></textarea></td>
-								</td>
-							</tr>
-						</table>
-						<!--▲受注商品情報ここまで-->
-
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr>
-								<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-								<td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
-								<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-							</tr>
-							<tr>
-								<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-								<td bgcolor="#e9e7de" align="center">
-								<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td>
-											<!--{if count($arrSearchHidden) > 0}-->
-											<a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_search_back_on.jpg','back');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_search_back.jpg','back');" onclick="fnChangeAction('<!--{$smarty.const.URL_SEARCH_ORDER}-->'); fnModeSubmit('search','',''); return false;"><img src="<!--{$TPL_DIR}-->img/contents/btn_search_back.jpg" width="123" height="24" alt="検索画面に戻る" border="0" name="back"></a>
-											<!--{/if}-->
-											<input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" onclick="return fnConfirm();">
-										</td>
-									</tr>
-								</table>
-								</td>
-								<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
-							</tr>
-						</table>
-
-						<!--登録テーブルここまで-->
-						</td>
-						<td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-					</tr>
-					<tr>
-						<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-					</tr>
-					<tr><td height="30"></td></tr>
-
-				</table>
-				</td>
-			</tr>
-			<!--メインエリア-->
-		</table>
-		</td>
-	</tr>
+<input type="hidden" name="edit_customer_id" value="">
+<input type="hidden" name="anchor_key" value="">
+<input type="hidden" id="add_product_id" name="add_product_id" value="">
+<input type="hidden" id="add_classcategory_id1" name="add_classcategory_id1" value="">
+<input type="hidden" id="add_classcategory_id2" name="add_classcategory_id2" value="">
+<input type="hidden" id="edit_product_id" name="edit_product_id" value="">
+<input type="hidden" id="edit_classcategory_id1" name="edit_classcategory_id1" value="">
+<input type="hidden" id="edit_classcategory_id2" name="edit_classcategory_id2" value="">
+<input type="hidden" id="no" name="no" value="">
+<input type="hidden" id="delete_no" name="delete_no" value="">
+
+    <tr valign="top">
+        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
+            <!--▼SUB NAVI-->
+            <!--{include file=$tpl_subnavi}-->
+            <!--▲SUB NAVI-->
+        </td>
+        <td class="mainbg" >
+        <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+            <!--メインエリア-->
+            <tr>
+                <td align="center">
+                <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+
+                    <tr><td height="14"></td></tr>
+                    <tr>
+                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+                    </tr>
+                    <tr>
+                        <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                        <td bgcolor="#cccccc">
+
+                        <!--登録テーブルここから-->
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+                                <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->受注履歴編集</span></td>
+                                <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+                            </tr>
+                        </table>
+
+                        <!--{* GMOPG連携用 *}-->
+                        <!--{assign var=path value=`$smarty.const.MODULE_PATH`mdl_gmopg/templates/order_edit.tpl}-->
+                        <!--{if file_exists($path)}-->
+                            <!--{include file=$path}-->
+                        <!--{/if}-->
+
+                        <!--{* SPS連携用 *}-->
+                        <!--{assign var=sps_path value=`$smarty.const.MODULE_PATH`mdl_sps/templates/sps_request.tpl}-->
+                        <!--{if file_exists($sps_path) && $paymentType[0].module_code == $smarty.const.MDL_SPS_CODE && $paymentType[0].memo03 == $smarty.const.SPS_CREDIT}-->
+                            <!--{include file=$sps_path}-->
+                        <!--{/if}-->
+
+                        <!--{* ペイジェントモジュール連携用 *}-->
+                        <!--{assign var=path value=`$smarty.const.MODULE_PATH`mdl_paygent/paygent_order.tpl}-->
+                        <!--{if file_exists($path)}-->
+                            <!--{include file=$path}-->
+                        <!--{/if}-->
+
+                        <!--▼お客様情報ここから-->
+                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                          <!--{if $tpl_mode != 'add'}-->
+                            <tr class="fs12n">
+                            <td bgcolor="#f2f1ec" width="110">帳票</td>
+                            <td bgcolor="#ffffff">
+                              <input type="button" name="address_input" value="帳票の作成" onclick="win02('pdf.php?order_id=<!--{$arrForm.order_id.value}-->','pdf_input','500','650'); return false;" />
+                            </td>
+                            </tr>
+                          <!--{/if}-->
+                        </table>
+
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
+                        </table>
+
+                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">対応状況</td>
+                                <td bgcolor="#ffffff">
+                                    <!--{assign var=key value="status"}-->
+                                    <span class="red12"><!--{$arrErr[$key]}--></span>
+                                    <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+                                    <option value="">選択してください</option>
+                                    <!--{html_options options=$arrORDERSTATUS selected=$arrForm[$key].value}-->
+                                    </select>
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">発送日</td>
+                                <td bgcolor="#ffffff"><!--{$arrForm.commit_date.value|sfDispDBDate|default:"未発送"}--></td>
+                            </tr>
+                        </table>
+
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
+                        </table>
+
+                        <!--{* F-REGI決済モジュール用 *}-->
+                        <!--{assign var=path value=`$smarty.const.MODULE_PATH`mdl_fregi/fregi_order.tpl}-->
+                        <!--{if file_exists($path)}-->
+                            <!--{include file=$path}-->
+                        <!--{/if}-->
+
+                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                            <!--{foreach key=key item=item from=$arrSearchHidden}-->
+                                <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
+                            <!--{/foreach}-->
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="717" colspan="4">▼お客様情報
+                                <!--{if $tpl_mode == 'add'}-->
+                                    &nbsp;&nbsp;&nbsp;<input type="button" name="address_input" value="顧客検索" onclick="fnOpenWindow('<!--{$smarty.const.SITE_URL}-->admin/customer/search_customer.php','search','500','650'); return false;" />
+                                <!--{/if}-->
+                                </td>
+                            </tr>
+                                <tr class="fs12n">
+                                    <td bgcolor="#f2f1ec" width="110">受注番号</td>
+                                    <td bgcolor="#ffffff" width="248"><!--{$arrForm.order_id.value}--></td>
+                                    <td bgcolor="#f2f1ec" width="110">顧客ID</td>
+                                    <td bgcolor="#ffffff" width="249">
+                                    <!--{if $arrForm.customer_id.value > 0}-->
+                                        <!--{$arrForm.customer_id.value}-->
+                                        <input type="hidden" name="customer_id" value="<!--{$arrForm.customer_id.value}-->">
+                                    <!--{else}-->
+                                        （非会員）
+                                    <!--{/if}-->
+                                    </td>
+                                </tr>
+                                <tr class="fs12n">
+                                    <td bgcolor="#f2f1ec" width="110">受注日</td>
+                                    <td bgcolor="#ffffff" width="607" colspan="3"><!--{$arrForm.create_date.value|sfDispDBDate}--></td>
+                                    <input type="hidden" name="create_date" value="<!--{$arrForm.create_date.value}-->">
+                                </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">顧客名</td>
+                                <td bgcolor="#ffffff" width="248">
+                                  <!--{assign var=key1 value="order_name01"}-->
+                                  <!--{assign var=key2 value="order_name02"}-->
+                                  <span class="red12"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+                                  <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box15" />
+                                  <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box15" />
+                                </td>
+                                <td bgcolor="#f2f1ec" width="110">顧客名（カナ）</td>
+                                <td bgcolor="#ffffff" width="249">
+                                  <!--{assign var=key1 value="order_kana01"}-->
+                                  <!--{assign var=key2 value="order_kana02"}-->
+                                  <span class="red12"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+                                  <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box15" />
+                                  <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box15" />
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">メールアドレス</td>
+                                <td bgcolor="#ffffff" width="248">
+                                  <!--{assign var=key1 value="order_email"}-->
+                                  <span class="red12"><!--{$arrErr[$key1]}--></span>
+                                  <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="30" class="box30" />
+                                </td>
+                                <td bgcolor="#f2f1ec" width="110">TEL</td>
+                                <td bgcolor="#ffffff" width="249">
+                                  <!--{assign var=key1 value="order_tel01"}-->
+                                  <!--{assign var=key2 value="order_tel02"}-->
+                                  <!--{assign var=key3 value="order_tel03"}-->
+                                  <span class="red12"><!--{$arrErr[$key1]}--></span>
+                                  <span class="red12"><!--{$arrErr[$key2]}--></span>
+                                  <span class="red12"><!--{$arrErr[$key3]}--></span>
+                                  <input type="text" name="<!--{$arrForm[$key1].keyname}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> -
+                                  <input type="text" name="<!--{$arrForm[$key2].keyname}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" /> -
+                                  <input type="text" name="<!--{$arrForm[$key3].keyname}-->" value="<!--{$arrForm[$key3].value|escape}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" size="6" class="box6" />
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">住所</td>
+                                <td bgcolor="#ffffff" width="607" colspan="3">
+                                  <table border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                  <tr>
+                                    <!--{assign var=key1 value="order_zip01"}-->
+                                    <!--{assign var=key2 value="order_zip02"}-->
+                                    <span class="red12"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+                                    〒
+                                    <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->"  size="6" class="box6" />
+                                    -
+                                    <input type="text"  name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box6" />
+                                    <input type="button" name="address_input" value="住所入力" onclick="fnCallAddress('<!--{$smarty.const.URL_INPUT_ZIP}-->', 'order_zip01', 'order_zip02', 'order_pref', 'order_addr01');" />
+                                    <td>
+                                    </td>
+                                    <tr>
+                                      <td>
+                                        <!--{assign var=key value="order_pref"}-->
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+                                        <option value="" selected="">都道府県を選択</option>
+                                        <!--{html_options options=$arrPref selected=$arrForm[$key].value}-->
+                                        </select>
+                                      </td>
+                                    </tr>
+                                    <tr><td height="5"></td></tr>
+                                    <tr class="fs10n">
+                                      <td>
+                                        <!--{assign var=key value="order_addr01"}-->
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" size="60" class="box60" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
+                                      </td>
+                                    </tr>
+                                    <tr><td height="5"></td></tr>
+                                    <tr class="fs10n">
+                                      <td>
+                                        <!--{assign var=key value="order_addr02"}-->
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" size="60" class="box60" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
+                                      </td>
+                                    </tr>
+                                  </table>
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">備考</td>
+                                <td bgcolor="#ffffff" width="607" colspan="3"><!--{$arrForm.message|escape|nl2br}--></td>
+                            </tr>
+                        </table>
+                        <!--▲お客様情報ここまで-->
+
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
+                        </table>
+
+                        <!--▼配送先情報ここから-->
+                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="717" colspan="4">▼配送先情報
+                                &nbsp;&nbsp;&nbsp;<input type="button" name="input_from_order_data" value="上記お客様情報をコピー" onclick="fnCopyFromOrderData();" /></td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">お名前</td>
+                                <td bgcolor="#ffffff" width="248">
+                                <!--{assign var=key1 value="deliv_name01"}-->
+                                <!--{assign var=key2 value="deliv_name02"}-->
+                                <span class="red12"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+                                <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box15" />
+                                <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box15" />
+                                </td>
+                                <td bgcolor="#f2f1ec" width="110">お名前（カナ）</td>
+                                <td bgcolor="#ffffff" width="249">
+                                <!--{assign var=key1 value="deliv_kana01"}-->
+                                <!--{assign var=key2 value="deliv_kana02"}-->
+                                <span class="red12"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+                                <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box15" />
+                                <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box15" />
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">郵便番号</td>
+                                <td bgcolor="#ffffff" width="248">
+                                <!--{assign var=key1 value="deliv_zip01"}-->
+                                <!--{assign var=key2 value="deliv_zip02"}-->
+                                <span class="red12"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+                                〒
+                                <input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->"  size="6" class="box6" />
+                                 -
+                                <input type="text"  name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box6" />
+                                <input type="button" name="address_input" value="住所入力" onclick="fnCallAddress('<!--{$smarty.const.URL_INPUT_ZIP}-->', 'deliv_zip01', 'deliv_zip02', 'deliv_pref', 'deliv_addr01');" />
+                                </td>
+                                <td bgcolor="#f2f1ec" width="110">TEL</td>
+                                <td bgcolor="#ffffff" width="249">
+                                <!--{assign var=key1 value="deliv_tel01"}-->
+                                <!--{assign var=key2 value="deliv_tel02"}-->
+                                <!--{assign var=key3 value="deliv_tel03"}-->
+                                <span class="red12"><!--{$arrErr[$key1]}--></span>
+                                <span class="red12"><!--{$arrErr[$key2]}--></span>
+                                <span class="red12"><!--{$arrErr[$key3]}--></span>
+                                <input type="text" name="<!--{$arrForm[$key1].keyname}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="6" class="box6" /> -
+                                <input type="text" name="<!--{$arrForm[$key2].keyname}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box6" /> -
+                                <input type="text" name="<!--{$arrForm[$key3].keyname}-->" value="<!--{$arrForm[$key3].value|escape}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" size="6" class="box6" />
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec">住所</td>
+                                <td bgcolor="#ffffff" colspan="3">
+                                <table border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                    <tr>
+                                    <td>
+                                        <!--{assign var=key value="deliv_pref"}-->
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+                                        <option value="" selected="">都道府県を選択</option>
+                                        <!--{html_options options=$arrPref selected=$arrForm[$key].value}-->
+                                        </select>
+                                    </td>
+                                    </tr>
+                                    <tr><td height="5"></td></tr>
+                                    <tr class="fs10n">
+                                        <td>
+                                        <!--{assign var=key value="deliv_addr01"}-->
+                                        <span class="red12"><!--{$arrErr[$key]}--></span>
+                                        <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" size="60" class="box60" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
+                                        </td>
+                                        </tr>
+                                        <tr><td height="5"></td></tr>
+                                        <tr class="fs10n">
+                                            <td>
+                                            <!--{assign var=key value="deliv_addr02"}-->
+                                            <span class="red12"><!--{$arrErr[$key]}--></span>
+                                            <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" size="60" class="box60" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
+                                            </td>
+                                        </tr>
+                                </table>
+                                </td>
+                            </tr>
+                        </table>
+                        <!--▲配送先情報ここまで-->
+
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
+                        </table>
+
+                        <!--▼受注商品情報ここから-->
+                        <a name="order_products"></a>
+                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="717" colspan="7">▼受注商品情報
+                                <input type="button" name="cheek" value="計算結果の確認" onclick="fnModeSubmit('cheek','anchor_key','order_products');" />
+                                <input type="button" name="add_product" value="商品の追加" onclick="win03('<!--{$smarty.const.SITE_URL}-->admin/order/product_select.php<!--{if $tpl_order_id}-->?order_id=<!--{$tpl_order_id}--><!--{/if}-->', 'search', '500', '500'); " />
+                                <br />
+                                <span class="red12"><!--{$arrErr.product_id}--></span>
+                                <span class="red12"><!--{$arrErr.quantity}--></span>
+                                <span class="red12"><!--{$arrErr.price}--></span>
+                                </td>
+                            </tr>
+                            <tr bgcolor="#f2f1ec" align="center" class="fs12n">
+                                <td width="140">商品コード</td>
+                                <td width="215">商品名/規格1/規格2</td>
+                                <td width="84">単価</td>
+                                <td width="45">数量</td>
+                                <td width="84">税込み価格</td>
+                                <td width="94">小計</td>
+                            </tr>
+                            <!--{section name=cnt loop=$arrForm.quantity.value}-->
+                            <!--{assign var=key value="`$smarty.section.cnt.index`"}-->
+                            <tr bgcolor="#ffffff" class="fs12">
+                                <td width="140">
+                                    <!--{$arrForm.product_code.value[$key]|escape}-->
+                                    <input type="hidden" name="product_code[<!--{$key}-->]" value="<!--{$arrForm.product_code.value[$key]}-->" id="product_code_<!--{$key}-->">
+                                </td>
+                                <td width="215">
+                                    <!--{$arrForm.product_name.value[$key]|escape}-->/<!--{$arrForm.classcategory_name1.value[$key]|escape|default:" (なし)"}-->/<!--{$arrForm.classcategory_name2.value[$key]|escape|default:" (なし)"}-->
+                                    <input type="hidden" name="product_name[<!--{$key}-->]" value="<!--{$arrForm.product_name.value[$key]}-->" id="product_name_<!--{$key}-->">
+                                    <input type="hidden" name="classcategory_name1[<!--{$key}-->]" value="<!--{$arrForm.classcategory_name1.value[$key]}-->" id="classcategory_name1_<!--{$key}-->">
+                                    <input type="hidden" name="classcategory_name2[<!--{$key}-->]" value="<!--{$arrForm.classcategory_name2.value[$key]}-->" id="classcategory_name2_<!--{$key}-->">
+                                    <br />
+                                    <input type="button" name="change" value="変更" onclick="win03('<!--{$smarty.const.SITE_URL}-->admin/products/product_select.php?no=<!--{$key}--><!--{if $tpl_order_id}-->&order_id=<!--{$tpl_order_id}--><!--{/if}-->', 'search', '500', '500'); " >
+                                    <!--{if $product_count > 1}-->
+                                        <input type="button" name="delete" value="削除" onclick="fnSetFormVal('form1', 'delete_no', <!--{$key}-->); fnModeSubmit('delete_product','anchor_key','order_products');" />
+                                    <!--{/if}-->
+                                </td>
+                                <input type="hidden" name="product_id[<!--{$key}-->]" value="<!--{$arrForm.product_id.value[$key]}-->" id="product_id_<!--{$key}-->">
+                                <input type="hidden" name="point_rate[<!--{$key}-->]" value="<!--{$arrForm.point_rate.value[$key]}-->" id="point_rate_<!--{$key}-->">
+                                <input type="hidden" name="classcategory_id1[<!--{$key}-->]" value="<!--{$arrForm.classcategory_id1.value[$key]}-->" id="classcategory_id1_<!--{$key}-->">
+                                <input type="hidden" name="classcategory_id2[<!--{$key}-->]" value="<!--{$arrForm.classcategory_id2.value[$key]}-->" id="classcategory_id2_<!--{$key}-->">
+                                <td width="84" align="center"><input type="text" name="price[<!--{$key}-->]" value="<!--{$arrForm.price.value[$key]|escape}-->" size="6" class="box6" maxlength="<!--{$arrForm.price.length}-->" id="price_<!--{$key}-->"/> 円</td>
+                                <td width="45" align="center"><input type="text" name="quantity[<!--{$key}-->]" value="<!--{$arrForm.quantity.value[$key]|escape}-->" size="3" class="box3" maxlength="<!--{$arrForm.quantity.length}-->"/></td>
+
+
+                                <!--{assign var=price value=`$arrForm.price.value[$key]`}-->
+                                <!--{assign var=quantity value=`$arrForm.quantity.value[$key]`}-->
+                                <td width="84" align="right"><!--{$price|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</td>
+                                <td width="94" align="right"><!--{$price|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|sfMultiply:$quantity|number_format}-->円</td>
+                            </tr>
+                            <!--{/section}-->
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="5" align="right">小計</td>
+                                <td align="right"><!--{$arrForm.subtotal.value|number_format}-->円</td>
+                            </tr>
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="5" align="right">値引</td>
+                                <td align="right">
+                            <!--{assign var=key value="discount"}-->
+                            <span class="red12"><!--{$arrErr[$key]}--></span>
+                            <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"  size="5" class="box6" />
+                             円</td>
+                            </tr>
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="5" align="right">送料</td>
+                                <td align="right">
+                            <!--{assign var=key value="deliv_fee"}-->
+                            <span class="red12"><!--{$arrErr[$key]}--></span>
+                            <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"  size="5" class="box6" />
+                             円</td>
+                            </tr>
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="5" align="right">手数料</td>
+                                <td align="right">
+                            <!--{assign var=key value="charge"}-->
+                            <span class="red12"><!--{$arrErr[$key]}--></span>
+                            <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"  size="5" class="box6" />
+                             円</td>
+                            </tr>
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="5" align="right">合計</td>
+                                <td align="right">
+                                <span class="red12"><!--{$arrErr.total}--></span>
+                                <!--{$arrForm.total.value|number_format}--> 円</td>
+                            </tr>
+                            <tr bgcolor="#ffffff" class="fs12n">
+                                <td colspan="5" align="right">お支払い合計</td>
+                                <td align="right">
+                                <span class="red12"><!--{$arrErr.payment_total}--></span>
+                                <!--{$arrForm.payment_total.value|number_format}-->
+                                 円</td>
+                            </tr>
+                            <!--{if $smarty.const.USE_POINT === true}-->
+                                <tr bgcolor="#ffffff" class="fs12n">
+                                    <td colspan="5" align="right">使用ポイント</td>
+                                    <td align="right">
+                                    <!--{assign var=key value="use_point"}-->
+                                    <span class="red12"><!--{$arrErr[$key]}--></span>
+                                    <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape|default:0}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"  size="5" class="box6" />
+                                     pt</td>
+                                </tr>
+                                <!--{if $arrForm.birth_point.value > 0}-->
+                                <tr bgcolor="#ffffff" class="fs12n">
+                                    <td colspan="5" align="right">お誕生日ポイント</td>
+                                    <td align="right">
+                                    <!--{$arrForm.birth_point.value|number_format}-->
+                                     pt</td>
+                                </tr>
+                                <!--{/if}-->
+                                <tr bgcolor="#ffffff" class="fs12n">
+                                    <td colspan="5" align="right">加算ポイント</td>
+                                    <td align="right">
+                                    <!--{$arrForm.add_point.value|number_format|default:0}-->
+                                     pt</td>
+                                </tr>
+                                <tr bgcolor="#ffffff" class="fs12n">
+                                    <!--{if $arrForm.customer_id > 0}-->
+                                    <td colspan="5" align="right">現在ポイント（ポイントの修正は<a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="return fnEdit('<!--{$arrForm.customer_id}-->');">顧客編集</a>から手動にてお願い致します。）</td>
+                                    <td align="right">
+                                    <!--{$arrForm.point.value|number_format}-->
+                                     pt</td>
+                                    <!--{else}-->
+                                    <td colspan="5" align="right">現在ポイント</td><td align="center">（なし）</td>
+                                    <!--{/if}-->
+                                </tr>
+                            <!--{/if}-->
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" colspan="6">▼お支払方法<span class="red">（お支払方法の変更に伴う手数料の変更は手動にてお願いします。)</span></td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#ffffff" colspan="6">
+                                <!--{assign var=key value="payment_id"}-->
+                                <span class="red12"><!--{$arrErr[$key]}--></span>
+                                <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+                                <option value="" selected="">選択してください</option>
+                                <!--{html_options options=$arrPayment selected=$arrForm[$key].value}-->
+                                </select></td>
+                            </tr>
+
+                            <!--{if $arrForm.payment_info|@count > 0}-->
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" colspan="6">▼<!--{$arrForm.payment_type}-->情報</td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#ffffff" colspan="6">
+                                    <!--{foreach key=key item=item from=$arrForm.payment_info}-->
+                                    <!--{if $key != "title"}--><!--{if $item.name != ""}--><!--{$item.name}-->：<!--{/if}--><!--{$item.value}--><br/><!--{/if}-->
+                                    <!--{/foreach}-->
+                                </td>
+                            </tr>
+                            <!--{/if}-->
+
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" colspan="6">▼時間指定</td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#ffffff" colspan="6">
+                                <!--{assign var=key value="deliv_time_id"}-->
+                                <span class="red12"><!--{$arrErr[$key]}--></span>
+                                <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+                                <option value="" selected="0">指定無し</option>
+                                <!--{html_options options=$arrDelivTime selected=$arrForm[$key].value}-->
+                                </select>
+                                </td>
+                            </tr>
+                            <!--{assign var=key value="deliv_date"}-->
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" colspan="6">▼配達日指定</td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#ffffff" colspan="6">
+                                <!--{assign var=key value="deliv_date"}-->
+                                <span class="red12"><!--{$arrErr[$key]}--></span>
+                                <!--{$arrForm[$key].value|default:"指定なし"}-->
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" colspan="6">▼メモ</td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#ffffff" colspan="6">
+                                <!--{assign var=key value="note"}-->
+                                <span class="red12"><!--{$arrErr[$key]}--></span>
+                                <textarea name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" cols="80" rows="6" class="area80" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrForm[$key].value|escape}--></textarea></td>
+                                </td>
+                            </tr>
+                        </table>
+                        <!--▲受注商品情報ここまで-->
+
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                                <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                <td bgcolor="#e9e7de" align="center">
+                                <table border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                    <tr>
+                                        <td>
+                                            <!--{if count($arrSearchHidden) > 0}-->
+                                            <a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_search_back_on.jpg','back');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_search_back.jpg','back');" onclick="fnChangeAction('<!--{$smarty.const.URL_SEARCH_ORDER}-->'); fnModeSubmit('search','',''); return false;"><img src="<!--{$TPL_DIR}-->img/contents/btn_search_back.jpg" width="123" height="24" alt="検索画面に戻る" border="0" name="back"></a>
+                                            <!--{/if}-->
+                                            <input type="image" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="この内容で登録する" border="0" name="subm" onclick="return fnConfirm();">
+                                        </td>
+                                    </tr>
+                                </table>
+                                </td>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
+                            </tr>
+                        </table>
+
+                        <!--登録テーブルここまで-->
+                        </td>
+                        <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                    </tr>
+                    <tr>
+                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+                    </tr>
+                    <tr><td height="30"></td></tr>
+
+                </table>
+                </td>
+            </tr>
+            <!--メインエリア-->
+        </table>
+        </td>
+    </tr>
 </form>
 </table>
Index: branches/version-2/data/Smarty/templates/default/admin/order/index.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/order/index.tpl	(revision 17738)
+++ branches/version-2/data/Smarty/templates/default/admin/order/index.tpl	(revision 18007)
@@ -23,4 +23,57 @@
 *}-->
 <!--★★メインコンテンツ★★-->
+<script type="text/javascript">
+<!--
+    function fnSelectCheckSubmit(action){
+
+        var fm = document.form1;
+
+        var i;
+        var checkflag = 0;
+        var max = fm["pdf_order_id[]"].length;
+
+        if(max) {
+            for (i=0;i<max;i++){
+                if(fm["pdf_order_id[]"][i].checked == true){
+                    checkflag = 1;
+                }
+            }
+        } else {
+            if(fm["pdf_order_id[]"].checked == true) {
+                checkflag = 1;
+            }
+        }
+
+        if(checkflag == 0){
+            alert('チェックボックスが選択されていません');
+            return false;
+        }
+
+        if(checkflag == 1){
+            fnOpenPdfSettingPage(action);
+        }
+    }
+
+    function fnOpenPdfSettingPage(action){
+        var WIN;
+        WIN = window.open("about:blank", "pdf", "width=500,height=600,scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no");
+        document.form1.target = "pdf";
+        document.form1.mode.value = 'pdf';
+        document.form1.action = action;
+        document.form1.submit();
+        WIN.focus();
+    }
+
+    function fnBoxChecked(check){
+        var count;
+        var fm = document.form1;
+        var max = fm["pdf_order_id[]"].length;
+        for(count=0; count<max; count++){
+            fm["pdf_order_id[]"][count].checked = check;
+        }
+    }
+
+//-->
+</script>
 <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
 <form name="search_form" id="search_form" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
@@ -161,6 +214,6 @@
                                 <td bgcolor="#f2f1ec" width="110">受注日</td>
                                 <td bgcolor="#ffffff" width="499" colspan="3">
-                                    <span class="red"><!--{$arrErr.search_sorderyear}--></span>
-                                    <span class="red"><!--{$arrErr.search_eorderyear}--></span>
+                                    <span class="red"><!--{$arrErr.search_startyear}--></span>
+                                    <span class="red"><!--{$arrErr.search_endyear}--></span>
                                     <select name="search_sorderyear"    style="<!--{$arrErr.search_sorderyear|sfGetErrorColor}-->">
                                     <option value="">----</option>
@@ -192,6 +245,6 @@
                                 <td bgcolor="#f2f1ec" width="110">更新日</td>
                                 <td bgcolor="#ffffff" width="499" colspan="3">
-                                    <span class="red"><!--{$arrErr.search_supdateyear}--></span>
-                                    <span class="red"><!--{$arrErr.search_eupdateyear}--></span>
+                                    <span class="red"><!--{$arrErr.search_startyear}--></span>
+                                    <span class="red"><!--{$arrErr.search_endyear}--></span>
                                     <select name="search_supdateyear"    style="<!--{$arrErr.search_supdateyear|sfGetErrorColor}-->">
                                     <option value="">----</option>
@@ -325,4 +378,6 @@
                 <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td>
                 <td><a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv_on.jpg','btn_csv');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_csv.jpg','btn_csv');"    onclick="fnModeSubmit('csv','','');" ><img src="<!--{$TPL_DIR}-->img/contents/btn_csv.jpg" width="99" height="22" alt="CSV DOWNLOAD" border="0" name="btn_csv" id="btn_csv"></a></td>
+                <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td>
+                <td><a href="#" onmouseover="chgImg('<!--{$TPL_DIR}-->img/contents/btn_pdf_on.jpg','btn_pdf');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/contents/btn_pdf.jpg','btn_pdf');"  onclick="fnSelectCheckSubmit('pdf.php'); return false;" ><img src="<!--{$TPL_DIR}-->img/contents/btn_pdf.jpg" width="99" height="24" alt="PDF DOWNLOAD" border="0" name="btn_pdf" id="btn_pdf"></a></td>
                 <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td>
                 <td><a href="../contents/csv.php?tpl_subno_csv=order"><span class="fs12n"> >> CSV出力項目設定 </span></a></td>
@@ -362,5 +417,6 @@
                             <td width="100"><span class="white">全商品発送日</span></td>
                             <td width="75"><span class="white">対応状況</span></td>
-                            <td width="45"><span class="white">帳票</span></td>
+                            <td width="45"><span class="white">帳票</span><br />
+                            <input type="button" name="btn01" value="全て選択" onclick="fnBoxChecked(true);"> <input type="button" name="btn01" value="全て解除" onclick="fnBoxChecked(false);"></td>
                             <td width="45"><span class="white">編集</span></td>
                             <td width="45"><span class="white">メール</span></td>
@@ -379,5 +435,6 @@
                             <td align="center"><!--{$arrResults[cnt].commit_date|sfDispDBDate|default:"未発送"}--></td>
                             <td align="center"><!--{$arrORDERSTATUS[$status]}--></td>
-                            <td align="center"><a href="./" onClick="win02('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','500','650'); return false;"><span class="icon_class">帳票</span></a><br /></td>
+                            <td align="center"><a href="./" onClick="fnOpenPdfSettingPage('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','500','650'); return false;"><span class="icon_class">帳票</span></a><input type="checkbox" name="pdf_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" >
+                            </td>
                             <td align="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.const.URL_ORDER_EDIT}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_edit">編集</span></a></td>
                             <td align="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.const.URL_ORDER_MAIL}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_mail">通知</span></a></td>
Index: branches/version-2/data/Smarty/templates/default/admin/order/subnavi.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/order/subnavi.tpl	(revision 16582)
+++ branches/version-2/data/Smarty/templates/default/admin/order/subnavi.tpl	(revision 18007)
@@ -23,15 +23,17 @@
 *}-->
 <table width="141" border="0" cellspacing="0" cellpadding="0" summary=" " id="menu_navi">
-	<!--ナビ-->
-	<tr><td class=<!--{if $tpl_subno != 'index'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./index.php" onMouseOver="naviStyleChange('index', '#a5a5a5')" <!--{if $tpl_subno != 'index'}-->onMouseOut="naviStyleChange('index', '#636469')"<!--{/if}--> id="index"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">受注管理</span></a></td></tr>
-	<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
-	<tr><td class=<!--{if $tpl_subno != 'status'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./status.php" onMouseOver="naviStyleChange('status', '#a5a5a5')" <!--{if $tpl_subno != 'status'}-->onMouseOut="naviStyleChange('status', '#636469')"<!--{/if}--> id="status"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">ステータス管理</span></a></td></tr>
-	<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
-	<!--{if $tpl_subno == 'status'}-->
-		<!--{foreach key=key item=item from=$arrORDERSTATUS}-->
-			<tr><td class=<!--{if $key ne $SelectedStatus && $key ne $defaultstatus}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="#" onclick="document.form1.search_pageno.value='1'; fnModeSubmit('search','status','<!--{$key}-->' );" onMouseOver="naviStyleChange('status_sub<!--{$key}-->', '#b7b7b7')" <!--{if $key ne $SelectedStatus && $key ne $defaultstatus}-->onMouseOut="naviStyleChange('status_sub<!--{$key}-->', '#818287')"<!--{/if}--> id="status_sub<!--{$key}-->"><span class="subnavi_text"><!--{$item}--></span></a></td></tr>
-			<tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
-		<!--{/foreach}-->
-	<!--{/if}-->
-	<!--ナビ-->
+    <!--ナビ-->
+    <tr><td class=<!--{if $tpl_subno != 'index'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./index.php" onMouseOver="naviStyleChange('index', '#a5a5a5')" <!--{if $tpl_subno != 'index'}-->onMouseOut="naviStyleChange('index', '#636469')"<!--{/if}--> id="index"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">受注管理</span></a></td></tr>
+    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
+    <tr><td class=<!--{if $tpl_subno != 'add'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./edit.php?mode=add" onMouseOver="naviStyleChange('add', '#a5a5a5')" <!--{if $tpl_subno !='add'}-->onMouseOut="naviStyleChange('add', '#636469')"<!--{/if}--> id="add"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">新規受注入力</span></a></td></tr>
+    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
+    <tr><td class=<!--{if $tpl_subno != 'status'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./status.php" onMouseOver="naviStyleChange('status', '#a5a5a5')" <!--{if $tpl_subno != 'status'}-->onMouseOut="naviStyleChange('status', '#636469')"<!--{/if}--> id="status"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">ステータス管理</span></a></td></tr>
+    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr>
+    <!--{if $tpl_subno == 'status'}-->
+        <!--{foreach key=key item=item from=$arrORDERSTATUS}-->
+            <tr><td class=<!--{if $key ne $SelectedStatus && $key ne $defaultstatus}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="#" onclick="document.form1.search_pageno.value='1'; fnModeSubmit('search','status','<!--{$key}-->' );" onMouseOver="naviStyleChange('status_sub<!--{$key}-->', '#b7b7b7')" <!--{if $key ne $SelectedStatus && $key ne $defaultstatus}-->onMouseOut="naviStyleChange('status_sub<!--{$key}-->', '#818287')"<!--{/if}--> id="status_sub<!--{$key}-->"><span class="subnavi_text"><!--{$item}--></span></a></td></tr>
+            <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr>
+        <!--{/foreach}-->
+    <!--{/if}-->
+    <!--ナビ-->
 </table>
Index: branches/version-2/data/Smarty/templates/default/admin/mail/index.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/mail/index.tpl	(revision 16582)
+++ branches/version-2/data/Smarty/templates/default/admin/mail/index.tpl	(revision 18007)
@@ -14,10 +14,10 @@
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.    See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA    02111-1307, USA.
  */
 *}-->
@@ -26,311 +26,311 @@
 <form name="form_search" id="form_search" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
 <input type="hidden" name="mode" value="search">
-	<tr valign="top">
-		<td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
-			<!-- サブナビ -->
-			<!--{include file=$tpl_subnavi}-->
-		</td>
-		<td class="mainbg">
-		<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-			<!--メインエリア-->
-			<tr>
-				<td align="center">
-				<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-					<tr><td height="14"></td></tr>
-					<tr>
-						<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-					</tr>
-					<tr>
-						<td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-						<td bgcolor="#cccccc">
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-							</tr>
-							<tr>
-								<td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-								<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->配信先検索条件設定</span></td>
-								<td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-							</tr>
-						</table>
-						
-						<!--検索条件設定テーブルここから-->
-						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-				
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">顧客名</td>
-								<td bgcolor="#ffffff" width="194">
-									<!--{if $arrErr.name}--><span class="red12"><!--{$arrErr.name}--></span><br><!--{/if}-->
-									<input type="text" name="name" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.name|escape}-->" size="30" class="box30"  style="<!--{$arrErr.name|sfGetErrorColor}-->" />
-								</td>
-								<td bgcolor="#f2f1ec" width="110">顧客名（カナ）</td>
-								<td bgcolor="#ffffff" width="195">
-									<!--{if $arrErr.kana}--><span class="red12"><!--{$arrErr.kana}--></span><br><!--{/if}-->
-									<input type="text" name="kana" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.kana|escape}-->" size="30" class="box30"  style="<!--{$arrErr.kana|sfGetErrorColor}-->" />
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">都道府県</td>
-								<td bgcolor="#ffffff" width="194">
-									<!--{if $arrErr.pref}--><span class="red12"><!--{$arrErr.pref}--></span><br><!--{/if}-->
-									<select name="pref">
-										<option value="" selected="selected"  style="<!--{$arrErr.pref|sfGetErrorColor}-->">都道府県を選択</option>
-										<!--{html_options options=$arrPref selected=$list_data.pref}-->
-									</select>
-								</td>
-								<td bgcolor="#f2f1ec" width="110">TEL</td>
-								<td bgcolor="#ffffff" width="195">
-									<!--{if $arrErr.tel}--><span class="red12"><!--{$arrErr.tel}--></span><br><!--{/if}-->
-									<input type="text" name="tel" maxlength="<!--{$smarty.const.TEL_LEN}-->" value="<!--{$list_data.tel|escape}-->" size="30" class="box30" style="<!--{$arrErr.tel|sfGetErrorColor}-->" />
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">性別</td>
-								<td bgcolor="#ffffff" width="194">
-									<!--{html_checkboxes_ex name="sex" options=$arrSex separator="&nbsp;" selected=$list_data.sex}-->
-								</td>
-								<td bgcolor="#f2f1ec" width="110">誕生月</td>
-								<td bgcolor="#ffffff" width="195">
-									<!--{if $arrErr.birth_month}--><span class="red12"><!--{$arrErr.birth_month}--></span><br><!--{/if}-->
-									<select name="birth_month" style="<!--{$arrErr.birth_month|sfGetErrorColor}-->" >
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getMonth() selected=$list_data.birth_month|escape}-->
-									</select>月
-								</td>				
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">配信形式</td>
-								<td bgcolor="#ffffff" width="194">
-									<!--{if $arrErr.htmlmail}--><span class="red12"><!--{$arrErr.htmlmail}--></span><br /><!--{/if}-->
-									<!--{html_radios name="htmlmail" options=$arrHtmlmail separator="&nbsp;" selected=$list_data.htmlmail}-->
-								</td>
-								<td bgcolor="#f2f1ec" width="110">購入回数</td>
-								<td bgcolor="#ffffff" width="195">
-									<!--{if $arrErr.buy_times_from || $arrErr.buy_times_to}--><span class="red12"><!--{$arrErr.buy_times_from}--><!--{$arrErr.buy_times_to}--></span><br><!--{/if}-->
-									<input type="text" name="buy_times_from" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$list_data.buy_times_from|escape}-->" size="6" class="box6" style="<!--{$arrErr.buy_times_from|sfGetErrorColor}-->" /> 回 〜 
-									<input type="text" name="buy_times_to" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$list_data.buy_times_to|escape}-->" size="6" class="box6" style="<!--{$arrErr.buy_times_to|sfGetErrorColor}-->" /> 回
-								</td>
-							</tr>
-				
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">購入商品<br />コード</td>
-								<td bgcolor="#ffffff" width="194">
-								<!--{if $arrErr.buy_product_code}--><span class="red12"><!--{$arrErr.buy_product_code}--></span><!--{/if}-->
-								<input type="text" name="buy_product_code" value="<!--{$list_data.buy_product_code}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="30" class="box30" style="<!--{$arrErr.buy_product_code|sfGetErrorColor}-->" >
-								</td>
-				
-								<td bgcolor="#f2f1ec" width="110">購入金額</td>
-								<td bgcolor="#ffffff" width="195">
-									<!--{if $arrErr.buy_total_from || $arrErr.buy_total_to}-->
-										<span class="red12"><!--{$arrErr.buy_total_from}--><!--{$arrErr.buy_total_to}--></span><br>
-									<!--{/if}-->
-									<input type="text" name="buy_total_from" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$list_data.buy_total_from|escape}-->" size="6" class="box6" <!--{if $arrErr.buy_total_from || $arrErr.buy_total_to}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 円 〜
-									<input type="text" name="buy_total_to" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$list_data.buy_total_to|escape}-->" size="6" class="box6" <!--{if $arrErr.buy_total_from || $arrErr.buy_total_to}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 円
-								</td>
-							</tr>
-							<!--{*非会員はメルマガ非対応
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">種別</td>
-								<td bgcolor="#ffffff" width="607" colspan="3">
-								<!--{html_checkboxes name="customer" options=$arrCustomerType separator="&nbsp;" selected=$list_data.customer}-->
-								</td>
-							</tr>
-							*}-->
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">メールアドレス</td>
-								<td bgcolor="#ffffff" colspan="3">
-									<!--{if $arrErr.email}--><span class="red12"><!--{$arrErr.email}--></span><!--{/if}-->
-									<span style="<!--{$arrErr.email|sfGetErrorColor}-->">
-									<input type="text" name="email" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.email|escape}-->" size="60" class="box60"  style="<!--{$arrErr.email|sfGetErrorColor}-->"/>
-									</span>
-								</td>
-							</tr>
-
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">携帯メールアドレス</td>
-								<td bgcolor="#ffffff" colspan="3">
-									<!--{if $arrErr.email_mobile}--><span class="red12"><!--{$arrErr.email_mobile}--></span><!--{/if}-->
-									<span style="<!--{$arrErr.email_mobile|sfGetErrorColor}-->">
-									<input type="text" name="email_mobile" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.email_mobile|escape}-->" size="60" class="box60"  style="<!--{$arrErr.email_mobile|sfGetErrorColor}-->"/>
-									</span>
-								</td>
-							</tr>
-
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">配信メールアドレス種別</td>
-								<td bgcolor="#ffffff" colspan="3">
-									<!--{html_radios name="mail_type" options=$arrMailType separator="&nbsp;" selected=$list_data.mail_type}-->
-								</td>
-							</tr>
-																						
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">職業</td>
-								<td bgcolor="#ffffff" width="499" colspan="3">
-									<!--{if $arrErr.job}--><span class="red12"><!--{$arrErr.job}--></span><!--{/if}-->
-									<!--{html_checkboxes_ex name="job" options=$arrJob separator="&nbsp;" selected=$list_data.job}-->
-								</td>
-							</tr>
-				
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">生年月日</td>
-								<td bgcolor="#ffffff" colspan="3">
-									<!--{if $arrErr.b_start_year || $arrErr.b_end_year}--><span class="red12"><!--{$arrErr.b_start_year}--><!--{$arrErr.b_end_year}--></span><br><!--{/if}-->
-									<select name="b_start_year" style="<!--{$arrErr.b_start_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">----</option>
-										<!--{html_options options=$objDate->getYear($smarty.const.BIRTH_YEAR) selected=$list_data.b_start_year}-->
-									</select>年
-									<select name="b_start_month" style="<!--{$arrErr.b_start_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getMonth() selected=$list_data.b_start_month}-->
-									</select>月
-									<select name="b_start_day" style="<!--{$arrErr.b_start_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getDay() selected=$list_data.b_start_day}-->
-									</select>日&nbsp;〜&nbsp;
-									<select name="b_end_year" style="<!--{$arrErr.b_end_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">----</option>
-										<!--{html_options options=$objDate->getYear($smarty.const.BIRTH_YEAR) selected=$list_data.b_end_year}-->
-									</select>年
-									<select name="b_end_month" style="<!--{$arrErr.b_end_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getMonth() selected=$list_data.b_end_month}-->
-									</select>月
-									<select name="b_end_day" style="<!--{$arrErr.b_end_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getDay() selected=$list_data.b_end_day}-->
-									</select>日
-								</td>
-							</tr>	
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">登録日</td>
-								<td bgcolor="#ffffff" colspan="3">
-									<!--{if $arrErr.start_year || $arrErr.end_year}--><span class="red12"><!--{$arrErr.start_year}--><!--{$arrErr.end_year}--></span><br><!--{/if}-->
-									<select name="start_year"  style="<!--{$arrErr.start_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">----</option>
-										<!--{html_options options=$objDate->getYear($smarty.const.RELEASE_YEAR) selected=$list_data.start_year}-->
-									</select>年
-									<select name="start_month" style="<!--{$arrErr.start_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getMonth() selected=$list_data.start_month}-->
-									</select>月
-									<select name="start_day" style="<!--{$arrErr.start_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getDay() selected=$list_data.start_day}-->
-									</select>日&nbsp;〜&nbsp;
-									<select name="end_year"  style="<!--{$arrErr.end_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">----</option>
-										<!--{html_options options=$objDate->getYear($smarty.const.RELEASE_YEAR) selected=$list_data.end_year}-->
-									</select>年
-									<select name="end_month" style="<!--{$arrErr.end_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getMonth() selected=$list_data.end_month}-->
-									</select>月
-									<select name="end_day" style="<!--{$arrErr.end_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getDay() selected=$list_data.end_day}-->
-									</select>日
-								</td>
-							</tr>			
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">最終購入日</td>
-								<td bgcolor="#ffffff" colspan="3" width="499">
-									<!--{if $arrErr.buy_start_year || $arrErr.buy_end_year}--><span class="red12"><!--{$arrErr.buy_start_year}--><!--{$arrErr.buy_end_year}--></span><br><!--{/if}-->
-									<select name="buy_start_year" style="<!--{$arrErr.buy_start_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">----</option>
-										<!--{html_options options=$objDate->getYear($smarty.const.RELEASE_YEAR)  selected=$list_data.buy_start_year}-->
-									</select>年
-									<select name="buy_start_month" style="<!--{$arrErr.buy_start_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getMonth() selected=$list_data.buy_start_month}-->
-									</select>月
-									<select name="buy_start_day" style="<!--{$arrErr.buy_start_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getDay() selected=$list_data.buy_start_day}-->
-									</select>日&nbsp;〜&nbsp;
-									<select name="buy_end_year" style="<!--{$arrErr.buy_end_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">----</option>
-										<!--{html_options options=$objDate->getYear($smarty.const.RELEASE_YEAR)  selected=$list_data.buy_end_year}-->
-									</select>年
-									<select name="buy_end_month" style="<!--{$arrErr.buy_end_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getMonth()  selected=$list_data.buy_end_month}-->
-									</select>月
-									<select name="buy_end_day" style="<!--{$arrErr.buy_end_year|sfGetErrorColor}-->">
-										<option value="" selected="selected">--</option>
-										<!--{html_options options=$objDate->getDay() selected=$list_data.buy_end_day}-->
-									</select>日
-								</td>
-							</tr>
-				
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">購入商品名</td>
-								<td bgcolor="#ffffff" width="194">
-									<!--{if $arrErr.buy_product_name}--><span class="red12"><!--{$arrErr.buy_product_name}--></span><!--{/if}-->
-									<span style="<!--{$arrErr.buy_product_name|sfGetErrorColor}-->">
-									<input type="text" name="buy_product_name" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.buy_product_name|escape}-->" size="30" class="box30"  style="<!--{$arrErr.buy_product_name|sfGetErrorColor}-->"/>
-									</span>
-								</td>
-								<td bgcolor="#f2f1ec" width="110">カテゴリ</td>
-								<td bgcolor="#ffffff" width="195">
-									<select name="category_id" style="<!--{if $arrErr.category_id != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->">
-										<option value="">選択してください</option>
-										<!--{html_options options=$arrCatList selected=$list_data.category_id}-->
-									</select>
-								</td>
-							</tr>
-							<tr class="fs12n">
-								<td bgcolor="#f2f1ec" width="110">キャンペーン</td>
-								<td bgcolor="#ffffff" colspan="3">
-									<select name="campaign_id" style="<!--{if $arrErr.campaign_id != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->">
-										<option value="">選択してください</option>
-										<!--{html_options options=$arrCampaignList selected=$list_data.campaign_id}-->
-									</select>
-								</td>						
-							</tr>
-						</table>
-						<!--検索条件設定テーブルここまで-->
-
-						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr>
-								<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-								<td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
-								<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-							</tr>
-							<tr>
-								<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-								<td bgcolor="#e9e7de" align="center">
-								<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td><input type="image" name="subm" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_search_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_search.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_search.jpg" width="123" height="24" alt="この条件で検索する" border="0"></td>
-									</tr>
-								</table>
-								</td>
-								<td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
-							</tr>
-						</table>
-						</td>
-						<td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-					</tr>
-					<tr>
-						<td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-					</tr>
-					<tr><td height="30"></td></tr>
-				</table>
-				</td>
-			</tr>
-			<!--メインエリア-->
-		</table>
-		</td>
-	</tr>
-</form>	
+    <tr valign="top">
+        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
+            <!-- サブナビ -->
+            <!--{include file=$tpl_subnavi}-->
+        </td>
+        <td class="mainbg">
+        <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+            <!--メインエリア-->
+            <tr>
+                <td align="center">
+                <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                    <tr><td height="14"></td></tr>
+                    <tr>
+                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+                    </tr>
+                    <tr>
+                        <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                        <td bgcolor="#cccccc">
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+                                <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->配信先検索条件設定</span></td>
+                                <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+                            </tr>
+                        </table>
+
+                        <!--検索条件設定テーブルここから-->
+                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">顧客名</td>
+                                <td bgcolor="#ffffff" width="194">
+                                    <!--{if $arrErr.name}--><span class="red12"><!--{$arrErr.name}--></span><br><!--{/if}-->
+                                    <input type="text" name="name" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.name|escape}-->" size="30" class="box30"    style="<!--{$arrErr.name|sfGetErrorColor}-->" />
+                                </td>
+                                <td bgcolor="#f2f1ec" width="110">顧客名（カナ）</td>
+                                <td bgcolor="#ffffff" width="195">
+                                    <!--{if $arrErr.kana}--><span class="red12"><!--{$arrErr.kana}--></span><br><!--{/if}-->
+                                    <input type="text" name="kana" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.kana|escape}-->" size="30" class="box30"    style="<!--{$arrErr.kana|sfGetErrorColor}-->" />
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">都道府県</td>
+                                <td bgcolor="#ffffff" width="194">
+                                    <!--{if $arrErr.pref}--><span class="red12"><!--{$arrErr.pref}--></span><br><!--{/if}-->
+                                    <select name="pref">
+                                        <option value="" selected="selected"    style="<!--{$arrErr.pref|sfGetErrorColor}-->">都道府県を選択</option>
+                                        <!--{html_options options=$arrPref selected=$list_data.pref}-->
+                                    </select>
+                                </td>
+                                <td bgcolor="#f2f1ec" width="110">TEL</td>
+                                <td bgcolor="#ffffff" width="195">
+                                    <!--{if $arrErr.tel}--><span class="red12"><!--{$arrErr.tel}--></span><br><!--{/if}-->
+                                    <input type="text" name="tel" maxlength="<!--{$smarty.const.TEL_LEN}-->" value="<!--{$list_data.tel|escape}-->" size="30" class="box30" style="<!--{$arrErr.tel|sfGetErrorColor}-->" />
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">性別</td>
+                                <td bgcolor="#ffffff" width="194">
+                                    <!--{html_checkboxes_ex name="sex" options=$arrSex separator="&nbsp;" selected=$list_data.sex}-->
+                                </td>
+                                <td bgcolor="#f2f1ec" width="110">誕生月</td>
+                                <td bgcolor="#ffffff" width="195">
+                                    <!--{if $arrErr.birth_month}--><span class="red12"><!--{$arrErr.birth_month}--></span><br><!--{/if}-->
+                                    <select name="birth_month" style="<!--{$arrErr.birth_month|sfGetErrorColor}-->" >
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getMonth() selected=$list_data.birth_month|escape}-->
+                                    </select>月
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">配信形式</td>
+                                <td bgcolor="#ffffff" width="194">
+                                    <!--{if $arrErr.htmlmail}--><span class="red12"><!--{$arrErr.htmlmail}--></span><br /><!--{/if}-->
+                                    <!--{html_radios name="htmlmail" options=$arrHtmlmail separator="&nbsp;" selected=$list_data.htmlmail}-->
+                                </td>
+                                <td bgcolor="#f2f1ec" width="110">購入回数</td>
+                                <td bgcolor="#ffffff" width="195">
+                                    <!--{if $arrErr.buy_times_from || $arrErr.buy_times_to}--><span class="red12"><!--{$arrErr.buy_times_from}--><!--{$arrErr.buy_times_to}--></span><br><!--{/if}-->
+                                    <input type="text" name="buy_times_from" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$list_data.buy_times_from|escape}-->" size="6" class="box6" style="<!--{$arrErr.buy_times_from|sfGetErrorColor}-->" /> 回 〜
+                                    <input type="text" name="buy_times_to" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$list_data.buy_times_to|escape}-->" size="6" class="box6" style="<!--{$arrErr.buy_times_to|sfGetErrorColor}-->" /> 回
+                                </td>
+                            </tr>
+
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">購入商品<br />コード</td>
+                                <td bgcolor="#ffffff" width="194">
+                                <!--{if $arrErr.buy_product_code}--><span class="red12"><!--{$arrErr.buy_product_code}--></span><!--{/if}-->
+                                <input type="text" name="buy_product_code" value="<!--{$list_data.buy_product_code}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="30" class="box30" style="<!--{$arrErr.buy_product_code|sfGetErrorColor}-->" >
+                                </td>
+
+                                <td bgcolor="#f2f1ec" width="110">購入金額</td>
+                                <td bgcolor="#ffffff" width="195">
+                                    <!--{if $arrErr.buy_total_from || $arrErr.buy_total_to}-->
+                                        <span class="red12"><!--{$arrErr.buy_total_from}--><!--{$arrErr.buy_total_to}--></span><br>
+                                    <!--{/if}-->
+                                    <input type="text" name="buy_total_from" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$list_data.buy_total_from|escape}-->" size="6" class="box6" <!--{if $arrErr.buy_total_from || $arrErr.buy_total_to}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 円 〜
+                                    <input type="text" name="buy_total_to" maxlength="<!--{$smarty.const.INT_LEN}-->" value="<!--{$list_data.buy_total_to|escape}-->" size="6" class="box6" <!--{if $arrErr.buy_total_from || $arrErr.buy_total_to}--><!--{sfSetErrorStyle}--><!--{/if}--> /> 円
+                                </td>
+                            </tr>
+                            <!--{*非会員はメルマガ非対応
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">種別</td>
+                                <td bgcolor="#ffffff" width="607" colspan="3">
+                                <!--{html_checkboxes name="customer" options=$arrCustomerType separator="&nbsp;" selected=$list_data.customer}-->
+                                </td>
+                            </tr>
+                            *}-->
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">メールアドレス</td>
+                                <td bgcolor="#ffffff" colspan="3">
+                                    <!--{if $arrErr.email}--><span class="red12"><!--{$arrErr.email}--></span><!--{/if}-->
+                                    <span style="<!--{$arrErr.email|sfGetErrorColor}-->">
+                                    <input type="text" name="email" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.email|escape}-->" size="60" class="box60"    style="<!--{$arrErr.email|sfGetErrorColor}-->"/>
+                                    </span>
+                                </td>
+                            </tr>
+
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">携帯メールアドレス</td>
+                                <td bgcolor="#ffffff" colspan="3">
+                                    <!--{if $arrErr.email_mobile}--><span class="red12"><!--{$arrErr.email_mobile}--></span><!--{/if}-->
+                                    <span style="<!--{$arrErr.email_mobile|sfGetErrorColor}-->">
+                                    <input type="text" name="email_mobile" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.email_mobile|escape}-->" size="60" class="box60"    style="<!--{$arrErr.email_mobile|sfGetErrorColor}-->"/>
+                                    </span>
+                                </td>
+                            </tr>
+
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">配信メールアドレス種別</td>
+                                <td bgcolor="#ffffff" colspan="3">
+                                    <!--{html_radios name="mail_type" options=$arrMailType separator="&nbsp;" selected=$list_data.mail_type}-->
+                                </td>
+                            </tr>
+
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">職業</td>
+                                <td bgcolor="#ffffff" width="499" colspan="3">
+                                    <!--{if $arrErr.job}--><span class="red12"><!--{$arrErr.job}--></span><!--{/if}-->
+                                    <!--{html_checkboxes_ex name="job" options=$arrJob separator="&nbsp;" selected=$list_data.job}-->
+                                </td>
+                            </tr>
+
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">生年月日</td>
+                                <td bgcolor="#ffffff" colspan="3">
+                                    <!--{if $arrErr.b_start_year || $arrErr.b_end_year}--><span class="red12"><!--{$arrErr.b_start_year}--><!--{$arrErr.b_end_year}--></span><br><!--{/if}-->
+                                    <select name="b_start_year" style="<!--{$arrErr.b_start_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">----</option>
+                                        <!--{html_options options=$objDate->getYear($smarty.const.BIRTH_YEAR) selected=$list_data.b_start_year}-->
+                                    </select>年
+                                    <select name="b_start_month" style="<!--{$arrErr.b_start_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getMonth() selected=$list_data.b_start_month}-->
+                                    </select>月
+                                    <select name="b_start_day" style="<!--{$arrErr.b_start_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getDay() selected=$list_data.b_start_day}-->
+                                    </select>日&nbsp;〜&nbsp;
+                                    <select name="b_end_year" style="<!--{$arrErr.b_end_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">----</option>
+                                        <!--{html_options options=$objDate->getYear($smarty.const.BIRTH_YEAR) selected=$list_data.b_end_year}-->
+                                    </select>年
+                                    <select name="b_end_month" style="<!--{$arrErr.b_end_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getMonth() selected=$list_data.b_end_month}-->
+                                    </select>月
+                                    <select name="b_end_day" style="<!--{$arrErr.b_end_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getDay() selected=$list_data.b_end_day}-->
+                                    </select>日
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">登録日</td>
+                                <td bgcolor="#ffffff" colspan="3">
+                                    <!--{if $arrErr.start_year || $arrErr.end_year}--><span class="red12"><!--{$arrErr.start_year}--><!--{$arrErr.end_year}--></span><br><!--{/if}-->
+                                    <select name="start_year"    style="<!--{$arrErr.start_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">----</option>
+                                        <!--{html_options options=$objDate->getYear($smarty.const.RELEASE_YEAR) selected=$list_data.start_year}-->
+                                    </select>年
+                                    <select name="start_month" style="<!--{$arrErr.start_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getMonth() selected=$list_data.start_month}-->
+                                    </select>月
+                                    <select name="start_day" style="<!--{$arrErr.start_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getDay() selected=$list_data.start_day}-->
+                                    </select>日&nbsp;〜&nbsp;
+                                    <select name="end_year"    style="<!--{$arrErr.end_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">----</option>
+                                        <!--{html_options options=$objDate->getYear($smarty.const.RELEASE_YEAR) selected=$list_data.end_year}-->
+                                    </select>年
+                                    <select name="end_month" style="<!--{$arrErr.end_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getMonth() selected=$list_data.end_month}-->
+                                    </select>月
+                                    <select name="end_day" style="<!--{$arrErr.end_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getDay() selected=$list_data.end_day}-->
+                                    </select>日
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">最終購入日</td>
+                                <td bgcolor="#ffffff" colspan="3" width="499">
+                                    <!--{if $arrErr.buy_start_year || $arrErr.buy_end_year}--><span class="red12"><!--{$arrErr.buy_start_year}--><!--{$arrErr.buy_end_year}--></span><br><!--{/if}-->
+                                    <select name="buy_start_year" style="<!--{$arrErr.buy_start_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">----</option>
+                                        <!--{html_options options=$objDate->getYear($smarty.const.RELEASE_YEAR)    selected=$list_data.buy_start_year}-->
+                                    </select>年
+                                    <select name="buy_start_month" style="<!--{$arrErr.buy_start_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getMonth() selected=$list_data.buy_start_month}-->
+                                    </select>月
+                                    <select name="buy_start_day" style="<!--{$arrErr.buy_start_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getDay() selected=$list_data.buy_start_day}-->
+                                    </select>日&nbsp;〜&nbsp;
+                                    <select name="buy_end_year" style="<!--{$arrErr.buy_end_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">----</option>
+                                        <!--{html_options options=$objDate->getYear($smarty.const.RELEASE_YEAR)    selected=$list_data.buy_end_year}-->
+                                    </select>年
+                                    <select name="buy_end_month" style="<!--{$arrErr.buy_end_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getMonth()    selected=$list_data.buy_end_month}-->
+                                    </select>月
+                                    <select name="buy_end_day" style="<!--{$arrErr.buy_end_year|sfGetErrorColor}-->">
+                                        <option value="" selected="selected">--</option>
+                                        <!--{html_options options=$objDate->getDay() selected=$list_data.buy_end_day}-->
+                                    </select>日
+                                </td>
+                            </tr>
+
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">購入商品名</td>
+                                <td bgcolor="#ffffff" width="194">
+                                    <!--{if $arrErr.buy_product_name}--><span class="red12"><!--{$arrErr.buy_product_name}--></span><!--{/if}-->
+                                    <span style="<!--{$arrErr.buy_product_name|sfGetErrorColor}-->">
+                                    <input type="text" name="buy_product_name" maxlength="<!--{$smarty.const.STEXT_LEN}-->" value="<!--{$list_data.buy_product_name|escape}-->" size="30" class="box30"    style="<!--{$arrErr.buy_product_name|sfGetErrorColor}-->"/>
+                                    </span>
+                                </td>
+                                <td bgcolor="#f2f1ec" width="110">カテゴリ</td>
+                                <td bgcolor="#ffffff" width="195">
+                                    <select name="category_id" style="<!--{if $arrErr.category_id != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->">
+                                        <option value="">選択してください</option>
+                                        <!--{html_options options=$arrCatList selected=$list_data.category_id}-->
+                                    </select>
+                                </td>
+                            </tr>
+                            <tr class="fs12n">
+                                <td bgcolor="#f2f1ec" width="110">キャンペーン</td>
+                                <td bgcolor="#ffffff" colspan="3">
+                                    <select name="campaign_id" style="<!--{if $arrErr.campaign_id != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->">
+                                        <option value="">選択してください</option>
+                                        <!--{html_options options=$arrCampaignList selected=$list_data.campaign_id}-->
+                                    </select>
+                                </td>
+                            </tr>
+                        </table>
+                        <!--検索条件設定テーブルここまで-->
+
+                        <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                            <tr>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                                <td><img src="<!--{$TPL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                                <td bgcolor="#e9e7de" align="center">
+                                <table border="0" cellspacing="0" cellpadding="0" summary=" ">
+                                    <tr>
+                                        <td><input type="image" name="subm" onMouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_search_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/contents/btn_search.jpg',this)" src="<!--{$TPL_DIR}-->img/contents/btn_search.jpg" width="123" height="24" alt="この条件で検索する" border="0"></td>
+                                    </tr>
+                                </table>
+                                </td>
+                                <td bgcolor="#cccccc"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+                            </tr>
+                            <tr>
+                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
+                            </tr>
+                        </table>
+                        </td>
+                        <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+                    </tr>
+                    <tr>
+                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+                    </tr>
+                    <tr><td height="30"></td></tr>
+                </table>
+                </td>
+            </tr>
+            <!--メインエリア-->
+        </table>
+        </td>
+    </tr>
+</form>
 </table>
 <!--★★メインコンテンツ★★-->
@@ -344,109 +344,111 @@
 <input type="hidden" name="search_pageno" value="<!--{$tpl_pageno}-->">
 <input type="hidden" name="result_email" value="">
-<!--{foreach key=key item=val from=$arrHidden}-->	
-	<input type="hidden" name="<!--{$key}-->" value="<!--{$val|escape}-->">
+<!--{foreach key=key item=val from=$arrHidden}-->
+    <input type="hidden" name="<!--{$key}-->" value="<!--{$val|escape}-->">
 <!--{/foreach}-->
-	<tr><td colspan="2"><img src="<!--{$TPL_DIR}-->img/contents/search_line.jpg" width="878" height="12" alt=""></td></tr>
-	<tr bgcolor="cbcbcb">
-		<td>
-		<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-			<tr>
-				<td><img src="<!--{$TPL_DIR}-->img/contents/search_left.gif" width="19" height="22" alt=""></td>
-				<td>
-				<!--検索結果-->
-				<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-					<tr>
-						<td><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_top.gif" width="22" height="5" alt=""></td>
-						<td background="<!--{$TPL_DIR}-->img/contents/reselt_top_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-						<td><img src="<!--{$TPL_DIR}-->img/contents/reselt_right_top.gif" width="22" height="5" alt=""></td>
-					</tr>
-					<tr>
-						<td background="<!--{$TPL_DIR}-->img/contents/reselt_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_middle.gif" width="22" height="12" alt=""></td>
-						<td bgcolor="#393a48" class="white10">検索結果一覧　<span class="reselt"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。</td>
-						<td background="<!--{$TPL_DIR}-->img/contents/reselt_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="22" height="8" alt=""></td>
-					</tr>
-					<tr>
-						<td><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_bottom.gif" width="22" height="5" alt=""></td>
-						<td background="<!--{$TPL_DIR}-->img/contents/reselt_bottom_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-						<td><img src="<!--{$TPL_DIR}-->img/contents/reselt_right_bottom.gif" width="22" height="5" alt=""></td>
-					</tr>
-				</table>
-				<!--検索結果-->
-				<!--{if $smarty.const.ADMIN_MODE == '1'}-->
-				<input type="button" name="subm" value="検索結果をすべて削除" onclick="fnModeSubmit('delete_all','','');" />
-				<!--{/if}-->
-				</td>
-				<td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td>
-				<td><input type="submit" name="subm" value="配信内容を設定する" onclick="document.form1['mode'].value='input';"/></td>
-			</tr>
-		</table>
-		</td>
-		<td align="right">
-			<!--{include file=$tpl_pager}-->
-		</td>
-	</tr>
-	<tr><td bgcolor="cbcbcb" colspan="2"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td></tr>
+    <tr><td colspan="2"><img src="<!--{$TPL_DIR}-->img/contents/search_line.jpg" width="878" height="12" alt=""></td></tr>
+    <tr bgcolor="cbcbcb">
+        <td>
+        <table border="0" cellspacing="0" cellpadding="0" summary=" ">
+            <tr>
+                <td><img src="<!--{$TPL_DIR}-->img/contents/search_left.gif" width="19" height="22" alt=""></td>
+                <td>
+                <!--検索結果-->
+                <table border="0" cellspacing="0" cellpadding="0" summary=" ">
+                    <tr>
+                        <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_top.gif" width="22" height="5" alt=""></td>
+                        <td background="<!--{$TPL_DIR}-->img/contents/reselt_top_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                        <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_right_top.gif" width="22" height="5" alt=""></td>
+                    </tr>
+                    <tr>
+                        <td background="<!--{$TPL_DIR}-->img/contents/reselt_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_middle.gif" width="22" height="12" alt=""></td>
+                        <td bgcolor="#393a48" class="white10">検索結果一覧　<span class="reselt"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。</td>
+                        <td background="<!--{$TPL_DIR}-->img/contents/reselt_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="22" height="8" alt=""></td>
+                    </tr>
+                    <tr>
+                        <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_left_bottom.gif" width="22" height="5" alt=""></td>
+                        <td background="<!--{$TPL_DIR}-->img/contents/reselt_bottom_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+                        <td><img src="<!--{$TPL_DIR}-->img/contents/reselt_right_bottom.gif" width="22" height="5" alt=""></td>
+                    </tr>
+                </table>
+                <!--検索結果-->
+                <!--{if $smarty.const.ADMIN_MODE == '1'}-->
+                <input type="button" name="subm" value="検索結果をすべて削除" onclick="fnModeSubmit('delete_all','','');" />
+                <!--{/if}-->
+                </td>
+                <!--{if $tpl_linemax > 0}-->
+                    <td><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="8" height="1" alt=""></td>
+                    <td><input type="submit" name="subm" value="配信内容を設定する" onclick="document.form1['mode'].value='input';"/></td>
+                <!--{/if}-->
+            </tr>
+        </table>
+        </td>
+        <td align="right">
+            <!--{include file=$tpl_pager}-->
+        </td>
+    </tr>
+    <tr><td bgcolor="cbcbcb" colspan="2"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td></tr>
 </table>
 
 <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr>
-		<td bgcolor="#f0f0f0" align="center">
-
-		<!--{if count($arrResults) > 0}-->		
-
-			<table width="840" border="0" cellspacing="0" cellpadding="0" summary=" ">
-				<tr><td height="12"></td></tr>
-				<tr>
-					<td bgcolor="#cccccc">
-					<!--検索結果表示テーブル-->
-					<table width="840" border="0" cellspacing="1" cellpadding="5" summary=" ">
-						<tr bgcolor="#636469" align="center" class="fs12n">
-							<td width="20"><span class="white">#</span></td>
-							<td width="80"><span class="white">会員番号</span></td>
-							<td width="80"><span class="white">受注番号</span></td>
-							<td width="140"><span class="white">名前</span></td>	
-							<td width="190"><span class="white">メールアドレス</span></td>	
-							<td width="101"><span class="white">希望配信</span></td>
-							<td width="100"><span class="white">登録日</span></td>
-							<td width="40"><span class="white">削除</span></td>		
-						</tr>
-						<!--{section name=i loop=$arrResults}-->
-						<tr bgcolor="#FFFFFF" class="fs12n">
-							<td align="center"><!--{$smarty.section.i.iteration}--></td>
-							<td align="center"><!--{$arrResults[i].customer_id|default:"非会員"}--></td>
-			
-							<!--{assign var=key value="`$arrResults[i].customer_id`"}-->
-							<td align="center">
-							<!--{foreach key=key item=val from=$arrCustomerOrderId[$key]}-->
-							<a href="#" onclick="fnOpenWindow('../order/edit.php?order_id=<!--{$val}-->','order_disp','800','900'); return false;" ><!--{$val}--></a><br />
-							<!--{foreachelse}-->
-							-
-							<!--{/foreach}-->
-							</td>
-							
-							<td><!--{$arrResults[i].name01|escape}--> <!--{$arrResults[i].name02|escape}--></td>
-							<td><!--{$arrResults[i].email|escape}--></td>
-							<!--{assign var="key" value="`$arrResults[i].mailmaga_flg`"}-->
-							<td align="center"><!--{$arrMAILMAGATYPE[$key]}--></td>
-							<td><!--{$arrResults[i].create_date|sfDispDBDate}--></td>
-							<!--{if $arrResults[i].customer_id != ""}-->
-							<td align="center">-</td>
-							<!--{else}-->
-							<td align="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnFormModeSubmit('form1','delete','result_email','<!--{$arrResults[i].email|escape}-->'); return false;">削除</a></td>	
-							<!--{/if}-->
-						</tr>
-						<!--{/section}-->
-					</table>
-					<!--検索結果表示テーブル-->
-					</td>
-				</tr>
-			</table>
-		<!--{/if}-->
-
-		</td>
-	</tr>
+    <tr>
+        <td bgcolor="#f0f0f0" align="center">
+
+        <!--{if count($arrResults) > 0}-->
+
+            <table width="840" border="0" cellspacing="0" cellpadding="0" summary=" ">
+                <tr><td height="12"></td></tr>
+                <tr>
+                    <td bgcolor="#cccccc">
+                    <!--検索結果表示テーブル-->
+                    <table width="840" border="0" cellspacing="1" cellpadding="5" summary=" ">
+                        <tr bgcolor="#636469" align="center" class="fs12n">
+                            <td width="20"><span class="white">#</span></td>
+                            <td width="80"><span class="white">会員番号</span></td>
+                            <td width="80"><span class="white">受注番号</span></td>
+                            <td width="140"><span class="white">名前</span></td>
+                            <td width="190"><span class="white">メールアドレス</span></td>
+                            <td width="101"><span class="white">希望配信</span></td>
+                            <td width="100"><span class="white">登録日</span></td>
+                            <td width="40"><span class="white">削除</span></td>
+                        </tr>
+                        <!--{section name=i loop=$arrResults}-->
+                        <tr bgcolor="#FFFFFF" class="fs12n">
+                            <td align="center"><!--{$smarty.section.i.iteration}--></td>
+                            <td align="center"><!--{$arrResults[i].customer_id|default:"非会員"}--></td>
+
+                            <!--{assign var=key value="`$arrResults[i].customer_id`"}-->
+                            <td align="center">
+                            <!--{foreach key=key item=val from=$arrCustomerOrderId[$key]}-->
+                            <a href="#" onclick="fnOpenWindow('../order/edit.php?order_id=<!--{$val}-->','order_disp','800','900'); return false;" ><!--{$val}--></a><br />
+                            <!--{foreachelse}-->
+                            -
+                            <!--{/foreach}-->
+                            </td>
+
+                            <td><!--{$arrResults[i].name01|escape}--> <!--{$arrResults[i].name02|escape}--></td>
+                            <td><!--{$arrResults[i].email|escape}--></td>
+                            <!--{assign var="key" value="`$arrResults[i].mailmaga_flg`"}-->
+                            <td align="center"><!--{$arrMAILMAGATYPE[$key]}--></td>
+                            <td><!--{$arrResults[i].create_date|sfDispDBDate}--></td>
+                            <!--{if $arrResults[i].customer_id != ""}-->
+                            <td align="center">-</td>
+                            <!--{else}-->
+                            <td align="center"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnFormModeSubmit('form1','delete','result_email','<!--{$arrResults[i].email|escape}-->'); return false;">削除</a></td>
+                            <!--{/if}-->
+                        </tr>
+                        <!--{/section}-->
+                    </table>
+                    <!--検索結果表示テーブル-->
+                    </td>
+                </tr>
+            </table>
+        <!--{/if}-->
+
+        </td>
+    </tr>
 </form>
-</table>		
-<!--★★検索結果一覧★★-->		
+</table>
+<!--★★検索結果一覧★★-->
 
 <!--{/if}-->
Index: branches/version-2/data/Smarty/templates/default/admin/system/input.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/admin/system/input.tpl	(revision 16821)
+++ branches/version-2/data/Smarty/templates/default/admin/system/input.tpl	(revision 18007)
@@ -105,10 +105,10 @@
                                             <td width="90" bgcolor="#f3f3f3">ログインＩＤ</td>
                                             <td width="337" bgcolor="#ffffff"><!--{if $arrErr.login_id}--><span class="red"><!--{$arrErr.login_id}--></span><!--{/if}--><input type="text" name="login_id" size="20" class="box20"  value="<!--{$arrForm.login_id}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/>　<span class="red">※必須入力</span><br />
-                                            ※半角英数字・15文字以内</td>
+                                            ※半角英数字<!--{$smarty.const.ID_MIN_LEN}-->〜<!--{$smarty.const.ID_MAX_LEN}-->文字</td>
                                         </tr>
                                         <tr class="fs12">
                                             <td width="90" bgcolor="#f3f3f3">パスワード</td>
                                             <td width="337" bgcolor="#ffffff"><!--{if $arrErr.password}--><span class="red"><!--{$arrErr.password}--></span><!--{/if}--><input type="password" name="password" size="20" class="box20" value="<!--{$arrForm.password}-->" onfocus="<!--{$tpl_onfocus}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/>　<span class="red">※必須入力</span><br />
-                                            ※半角英数字・15文字以内</td>
+                                            ※半角英数字<!--{$smarty.const.ID_MIN_LEN}-->〜<!--{$smarty.const.ID_MAX_LEN}-->文字</td>
                                         </tr>
                                         <tr class="fs12n">
Index: branches/version-2/data/Smarty/templates/default/cart/index.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/cart/index.tpl	(revision 17424)
+++ branches/version-2/data/Smarty/templates/default/cart/index.tpl	(revision 18007)
@@ -26,12 +26,15 @@
       <img src="<!--{$TPL_DIR}-->img/cart/title.jpg" width="700" height="40" alt="現在のカゴの中" />
     </h2>
+    <!--{if $smarty.const.USE_POINT === true || count($arrProductsClass) > 0}-->
     <p class="totalmoneyarea">
-      <!--{if $tpl_login}-->
-      <!--メインコメント-->
-        <!--{$tpl_name|escape}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br />
-      <!--{else}-->
-        <!--メインコメント-->ポイント制度をご利用になられる場合は、会員登録後ログインしていだだきますようお願い致します。<br />
+      <!--★ポイント案内★-->
+      <!--{if $smarty.const.USE_POINT === true}-->
+        <!--{if $tpl_login}-->
+          <!--{$tpl_name|escape}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br />
+        <!--{else}-->
+          ポイント制度をご利用になられる場合は、会員登録後ログインしていだだきますようお願い致します。<br />
+        <!--{/if}-->
       <!--{/if}-->
-      ポイントは商品購入時に1pt＝<!--{$smarty.const.POINT_VALUE}-->円として使用することができます。<br />
+
       <!--{* カゴの中に商品がある場合にのみ表示 *}-->
       <!--{if count($arrProductsClass) > 0 }-->
@@ -46,4 +49,5 @@
       <!--{/if}-->
     </p>
+    <!--{/if}-->
 
    <!--{if $tpl_message != ""}-->
@@ -52,10 +56,10 @@
 
    <!--{if count($arrProductsClass) > 0}-->
-   
+
    <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
    <!--{if 'sfGMOCartDisplay'|function_exists}-->
      <!--{'sfGMOCartDisplay'|call_user_func}-->
    <!--{/if}-->
-   
+
      <input type="hidden" name="mode" value="confirm" />
      <input type="hidden" name="cart_no" value="" />
@@ -110,14 +114,16 @@
       <td class="pricetd"><em><!--{$arrData.total-$arrData.deliv_fee|number_format}-->円</em></td>
     </tr>
-    <!--{if $arrData.birth_point > 0}-->
-    <tr>
-      <th colspan="5" class="resulttd">お誕生月ポイント</th>
-      <td class="pricetd"><!--{$arrData.birth_point|number_format}-->pt</td>
-    </tr>
-    <!--{/if}-->
-    <tr>
-      <th colspan="5" class="resulttd">今回加算ポイント</th>
-      <td class="pricetd"><!--{$arrData.add_point|number_format}-->pt</td>
-    </tr>
+      <!--{if $smarty.const.USE_POINT === true}-->
+        <!--{if $arrData.birth_point > 0}-->
+        <tr>
+          <th colspan="5" class="resulttd">お誕生月ポイント</th>
+          <td class="pricetd"><!--{$arrData.birth_point|number_format}-->pt</td>
+        </tr>
+        <!--{/if}-->
+        <tr>
+          <th colspan="5" class="resulttd">今回加算ポイント</th>
+          <td class="pricetd"><!--{$arrData.add_point|number_format}-->pt</td>
+        </tr>
+      <!--{/if}-->
   </table>
   <p class="mini">※商品写真は参考用写真です。ご注文のカラーと異なる写真が表示されている場合でも、商品番号に記載されているカラー表示で間違いございませんのでご安心ください。</p>
Index: branches/version-2/data/Smarty/templates/default/abouts/index.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/abouts/index.tpl	(revision 16582)
+++ branches/version-2/data/Smarty/templates/default/abouts/index.tpl	(revision 18007)
@@ -32,5 +32,5 @@
     <!--{assign var=_site value=$arrSiteInfo}-->
 
-      <!--{if $_site.shop_name}-->
+      <!--{if strlen($_site.shop_name)}-->
         <tr>
           <th>店名</th>
@@ -39,5 +39,5 @@
       <!--{/if}-->
 
-      <!--{if $_site.company_name}-->
+      <!--{if strlen($_site.company_name)}-->
       <tr>
         <th>会社名</th>
@@ -46,5 +46,5 @@
       <!--{/if}-->
 
-      <!--{if $_site.zip01}-->
+      <!--{if strlen($_site.zip01)}-->
       <tr>
         <th>住所</th>
@@ -53,5 +53,5 @@
       <!--{/if}-->
 
-      <!--{if $_site.tel01}-->
+      <!--{if strlen($_site.tel01)}-->
       <tr>
         <th>電話番号</th>
@@ -60,5 +60,5 @@
       <!--{/if}-->
 
-      <!--{if $_site.fax01}-->
+      <!--{if strlen($_site.fax01)}-->
       <tr>
         <th>FAX番号</th>
@@ -67,5 +67,5 @@
       <!--{/if}-->
 
-      <!--{if $_site.email02}-->
+      <!--{if strlen($_site.email02)}-->
       <tr>
         <th>メールアドレス</th>
@@ -74,5 +74,5 @@
       <!--{/if}-->
 
-      <!--{if $_site.business_hour}-->
+      <!--{if strlen($_site.business_hour)}-->
       <tr>
         <th>営業時間</th>
@@ -81,5 +81,5 @@
       <!--{/if}-->
 
-      <!--{if $_site.business_hour}-->
+      <!--{if strlen($_site.good_traded)}-->
       <tr>
         <th>取扱商品</th>
@@ -88,5 +88,5 @@
       <!--{/if}-->
 
-      <!--{if $_site.message}-->
+      <!--{if strlen($_site.message)}-->
       <tr>
         <th>メッセージ</th>
Index: branches/version-2/data/Smarty/templates/default/detail.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/detail.tpl	(revision 17431)
+++ branches/version-2/data/Smarty/templates/default/detail.tpl	(revision 18007)
@@ -11,5 +11,5 @@
  * of the License, or (at your option) any later version.
  *
- * This program is distributed in the hope that it will be useful,
+ * This program is～ distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@@ -77,5 +77,5 @@
       <!--アイコン-->
       <!--{if count($arrProduct.product_flag) > 0}-->
-      <ul>
+      <ul class="status_icon">
         <!--{section name=flg loop=$arrProduct.product_flag|count_characters}-->
         <!--{if $arrProduct.product_flag[flg] == "1"}-->
@@ -120,14 +120,16 @@
 
       <!--★ポイント★-->
-      <div><span class="price">ポイント：
-        <!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
-          <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->
-        <!--{else}-->
-          <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->
+      <!--{if $smarty.const.USE_POINT === true}-->
+        <div><span class="price">ポイント：
+          <!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
             <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->
           <!--{else}-->
-            <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->〜<!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->
-          <!--{/if}-->
-        <!--{/if}-->Pt</span></div>
+            <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->
+              <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->
+            <!--{else}-->
+              <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->〜<!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->
+            <!--{/if}-->
+          <!--{/if}-->Pt</span></div>
+      <!--{/if}-->
 
       <!--{* 関連カテゴリ *}-->
@@ -147,4 +149,5 @@
         <input type="hidden" name="mode" value="cart" />
         <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" />
+        <input type="hidden" name="favorite_product_id" value="" />
         <!--{if $tpl_classcat_find1}-->
         <dl>
@@ -194,4 +197,14 @@
         <!--{if $tpl_stock_find}-->
         <p class="btn">
+
+        <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1 && $tpl_login === true}-->
+            <!--{assign var=add_favorite value="add_favorite`$product_id`"}-->
+            <!--{if $arrErr[$add_favorite]}--><div class="attention"><!--{$arrErr[$add_favorite]}--></div><!--{/if}-->
+            <!--{if !$arrProduct.favorite_count}-->
+                <a href="javascript:fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|escape}-->');" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/add_favolite_product_on.gif','add_favolite_product');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/add_favolite_product.gif','add_favolite_product');">
+                    <img src="<!--{$TPL_DIR}-->img/products/add_favolite_product.gif" width="115" height="20" alt="お気に入りに追加" name="add_favolite_product" id="add_favolite_product" />
+                </a>
+            <!--{/if}-->
+        <!--{/if}-->
           <!--★カゴに入れる★-->
           <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart');">
@@ -261,5 +274,5 @@
 
     <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}-->
-    <!--★新規コメントを書き込む★-->
+      <!--★新規コメントを書き込む★-->
       <a href="./review.php"
          onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','580','580'); return false;"
@@ -286,19 +299,19 @@
 
   <!--{if $arrTrackbackView == "ON"}-->
-  <!--▼トラックバックここから-->
-  <div id="trackbackarea">
-    <h2><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック" /></h2>
-    <h3>この商品のトラックバック先URL</h3>
-    <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" />
-
-    <!--{if $arrTrackback}-->
-      <ul>
-      <!--{section name=cnt loop=$arrTrackback}-->
-        <li><strong><!--{$arrTrackback[cnt].create_date|sfDispDBDate:false}-->　<a href="<!--{$arrTrackback[cnt].url}-->" target="_blank"><!--{$arrTrackback[cnt].title|escape}--></a> from <!--{$arrTrackback[cnt].blog_name|escape}--></strong>
-          <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li>
-      <!--{/section}-->
-      </ul>
-    <!--{/if}-->
-  <!--▲トラックバックここまで-->
+    <!--▼トラックバックここから-->
+    <div id="trackbackarea">
+      <h2><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック" /></h2>
+      <h3>この商品のトラックバック先URL</h3>
+      <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" />
+
+      <!--{if $arrTrackback}-->
+        <ul>
+        <!--{section name=cnt loop=$arrTrackback}-->
+          <li><strong><!--{$arrTrackback[cnt].create_date|sfDispDBDate:false}-->　<a href="<!--{$arrTrackback[cnt].url}-->" target="_blank"><!--{$arrTrackback[cnt].title|escape}--></a> from <!--{$arrTrackback[cnt].blog_name|escape}--></strong>
+            <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li>
+        <!--{/section}-->
+        </ul>
+      <!--{/if}-->
+    <!--▲トラックバックここまで-->
   </div>
   <!--{/if}-->
@@ -316,12 +329,12 @@
       <!-- 左列 -->
       <div class="whoboughtleft">
-      <!--{if $arrRecommend[cnt].main_list_image != ""}-->
-        <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}-->
-      <!--{else}-->
-        <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
-      <!--{/if}-->
+        <!--{if $arrRecommend[cnt].main_list_image != ""}-->
+          <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}-->
+        <!--{else}-->
+          <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
+        <!--{/if}-->
 
         <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->">
-         <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" />
+          <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" />
         </a>
 
@@ -331,9 +344,9 @@
 
         <p>価格<span class="mini">(税込)</span>：<span class="price">
-        <!--{if $price02_min == $price02_max}-->
-          <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
-        <!--{else}-->
-          <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
-        <!--{/if}-->円</span></p>
+          <!--{if $price02_min == $price02_max}-->
+            <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
+          <!--{else}-->
+            <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
+          <!--{/if}-->円</span></p>
         <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p>
       </div>
@@ -347,5 +360,4 @@
       <!-- 右列 -->
       <div class="whoboughtright">
-        <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->">
         <!--{if $arrRecommend[cnt].main_list_image != ""}-->
           <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}-->
@@ -353,6 +365,8 @@
           <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
         <!--{/if}-->
+        <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->">
           <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" />
         </a>
+
         <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}-->
         <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}-->
@@ -361,9 +375,9 @@
         <p>価格<span class="mini">(税込)</span>：<span class="price">
 
-        <!--{if $price02_min == $price02_max}-->
-          <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
-        <!--{else}-->
-          <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
-        <!--{/if}-->円</span></p>
+         <!--{if $price02_min == $price02_max}-->
+           <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
+         <!--{else}-->
+           <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
+         <!--{/if}-->円</span></p>
         <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p>
       </div>
Index: branches/version-2/data/Smarty/templates/default/mail_templates/order_mail.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/mail_templates/order_mail.tpl	(revision 16612)
+++ branches/version-2/data/Smarty/templates/default/mail_templates/order_mail.tpl	(revision 18007)
@@ -70,5 +70,5 @@
 ===============================================================
 合　計 ￥ <!--{$arrOrder.payment_total|number_format|default:0}-->
-<!--{if $arrOrder.customer_id}-->
+<!--{if $arrOrder.customer_id && $smarty.const.USE_POINT === true}-->
 ===============================================================
 <!--{* ご注文前のポイント {$tpl_user_point} pt *}-->
Index: branches/version-2/data/Smarty/templates/default/frontparts/form_personal_input.tpl
===================================================================
--- branches/version-2/data/Smarty/templates/default/frontparts/form_personal_input.tpl	(revision 17636)
+++ branches/version-2/data/Smarty/templates/default/frontparts/form_personal_input.tpl	(revision 18007)
@@ -186,5 +186,5 @@
     <!--{/if}-->
     <input type="password" name="password" value="<!--{$arrForm.password|escape}-->" maxlength="<!--{$smarty.const.PASSWORD_LEN2}-->" style="<!--{$arrErr.password|sfGetErrorColor}-->" size="15" class="box120" />
-    <p><em>半角英数字4〜10文字でお願いします。（記号不可）</em></p>
+    <p><em>半角英数字<!--{$smarty.const.PASSWORD_LEN1}-->〜<!--{$smarty.const.PASSWORD_LEN2}-->文字でお願いします。（記号不可）</em></p>
     <input type="password" name="password02" value="<!--{$arrForm.password02|escape}-->" maxlength="<!--{$smarty.const.PASSWORD_LEN2}-->" style="<!--{$arrErr.password02|sfGetErrorColor}-->" size="15" class="box120" />
     <p><em>確認のために2度入力してください。</em></p>
