Index: branches/version-2_5-dev/data/Smarty/templates/admin/system/plugin.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/admin/system/plugin.tpl	(revision 19661)
+++ branches/version-2_5-dev/data/Smarty/templates/admin/system/plugin.tpl	(revision 19661)
@@ -0,0 +1,56 @@
+<form name="form1" id="form1" method="post" action="?">
+<input type="hidden" name="mode" value="" />
+<input type="hidden" name="keyname" value="" />
+<div id="system" class="contents-main">
+  <div class="paging">
+    <!--▼ページ送り-->
+    <!--{$tpl_strnavi}-->
+    <!--▲ページ送り-->
+  </div>
+  
+  <!--▼メンバー一覧ここから-->
+  <table class="list">
+    <tr>
+      <th>名前</th>
+      <th>パス</th>
+      <th>有効/無効</th>
+      <th>設定</th>
+    </tr>
+    <!--{section name=data loop=$plugins}-->
+    <!--▼メンバー<!--{$smarty.section.data.iteration}-->-->
+    <tr>
+      <td><!--{$plugins[data].plugin_name|escape}--></td>
+      <td><!--{$plugins[data].plugin_name|escape}--></td>
+      <td>
+        <!--{if $plugins[data].create_date == null }-->
+        <input type="hidden" name="plugin_name" value="<!--{$plugins[data].plugin_name}-->" />
+           <input type="button" name="install" value="install" onclick="fnModeSubmit('install','','');" />
+        <!--{else}-->
+          <!--{if $plugins[data].enable == 1}-->
+          <input type="button" name="disable" value="disable" onclick="fnModeSubmit('disable')" />
+          <!--{else}-->
+          <input type="button" name="enable" value="enable" onclick="fnModeSubmit('enable');" /> 
+          <!--{/if}-->
+          <input type="button" name="uninstall" value="uninstall" onclick="fnModeSubmit('uninstall');" />
+        <!--{/if}-->
+      </td>
+      
+      <td>
+      <!--{if $plugins[data].create_date != null && $plugins[data].enable == 1}-->
+        <input type="button" name="preference" value="preference" onclick="" />
+        <!--{/if}-->
+      </td>
+      
+    </tr>
+    <!--▲メンバー<!--{$smarty.section.data.iteration}-->-->
+    <!--{/section}-->
+  </table>
+
+  <div class="paging">
+    <!--▼ページ送り-->
+    <!--{$tpl_strnavi}-->
+    <!--▲ページ送り-->
+  </div>
+
+</div>
+</form>
Index: branches/version-2_5-dev/data/Smarty/templates/admin/system/subnavi.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/admin/system/subnavi.tpl	(revision 18873)
+++ branches/version-2_5-dev/data/Smarty/templates/admin/system/subnavi.tpl	(revision 19661)
@@ -28,4 +28,5 @@
 <li<!--{if $tpl_subno == 'masterdata'}--> class="on"<!--{/if}--> id="navi-system-masterdata"><a href="<!--{$smarty.const.URL_DIR}-->admin/system/masterdata.php"><span>マスタデータ管理</span></a></li>
 <li<!--{if $tpl_subno == 'system'}--> class="on"<!--{/if}--> id="navi-system-system"><a href="<!--{$smarty.const.URL_DIR}-->admin/system/system.php"><span>システム情報</span></a></li>
+<li<!--{if $tpl_subno == 'plugin'}--> class="on"<!--{/if}--> id="navi-system-plugin"><a href="<!--{$smarty.const.URL_DIR}-->admin/system/plugin.php"><span>プラグイン管理</span></a></li>
 <li<!--{if $tpl_mainno == 'system' && $tpl_subno == 'log'}--> class="on"<!--{/if}--> id="navi-system-log"><a href="<!--{$smarty.const.URL_DIR}-->admin/system/log.php"><span>ログ表示</span></a></li>
 </ul>
Index: branches/version-2_5-dev/data/Smarty/templates/default/sphone/site_main.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/sphone/site_main.tpl	(revision 19661)
+++ branches/version-2_5-dev/data/Smarty/templates/default/sphone/site_main.tpl	(revision 19661)
@@ -0,0 +1,50 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 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.
+ *}-->
+<body>
+
+<!--{$GLOBAL_ERR}-->
+<noscript>
+  <p>JavaScript を有効にしてご利用下さい.</p>
+</noscript>
+
+<a name="top" id="top"></a>
+
+<!--▼MAIN-->
+<!--{include file=$tpl_mainpage}-->
+<!--▲MAIN-->
+
+<!--{* ▼FOOTER *}-->
+<!--{if $arrPageLayout.footer_chk != 2}-->
+<!--{include file= './footer.tpl'}-->
+<!--{/if}-->
+<!--{* ▲FOOTER *}-->
+
+</body>
+
+<!--{if "/\/top.tpl$/"|preg_match:$tpl_mainpage}-->
+<!--{else}-->
+<script type="text/javascript" language="JavaScript">
+//<![CDATA[
+setTopButton("<!--{$smarty.const.SPHONE_SSL_URL}-->");
+//]]>
+<!--{/if}-->
+</script>
Index: branches/version-2_5-dev/data/Smarty/templates/default/sphone/list.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/sphone/list.tpl	(revision 19661)
+++ branches/version-2_5-dev/data/Smarty/templates/default/sphone/list.tpl	(revision 19661)
@@ -0,0 +1,286 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 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.
+ *}-->
+<script type="text/javascript">//<![CDATA[
+// 規格2に選択肢を割り当てる。
+function fnSetClassCategories(form, classcat_id2_selected) {
+    sele1 = form.classcategory_id1;
+    sele2 = form.classcategory_id2;
+    product_id = form.product_id.value;
+
+    if (sele1) {
+        if (sele2) {
+            // 規格2の選択肢をクリア
+            count = sele2.options.length;
+            for(i = count; i >= 0; i--) {
+                sele2.options[i] = null;
+            }
+            
+            // 規格2に選択肢を割り当てる
+            classcats = productsClassCategories[product_id][sele1.value];
+            i = 0;
+            for (var classcat_id2_key in classcats) {
+                sele2.options[i] = new Option(classcats[classcat_id2_key].name, classcat_id2_key);
+                if (classcat_id2_key == classcat_id2_selected) {
+                    sele2.options[i].selected = true;
+                }
+                i++;
+            }
+        }
+        fnCheckStock(form);
+    }
+}
+// 並び順を変更
+function fnChangeOrderby(orderby) {
+    fnSetVal('orderby', orderby);
+    fnSetVal('pageno', 1);
+    fnSubmit();
+}
+// 表示件数を変更
+function fnChangeDispNumber(dispNumber) {
+    fnSetVal('disp_number', dispNumber);
+    fnSetVal('pageno', 1);
+    fnSubmit();
+}
+// カゴに入れる
+function fnInCart(productForm) {
+    var product_id = productForm["product_id"].value;
+    fnChangeAction("?#product" + product_id);
+    if (productForm["classcategory_id1"]) {
+        fnSetVal("classcategory_id1", productForm["classcategory_id1"].value);
+    }
+    if (productForm["classcategory_id2"]) {
+        fnSetVal("classcategory_id2", productForm["classcategory_id2"].value);
+    }
+    fnSetVal("quantity", productForm["quantity"].value);
+    fnSetVal("product_id", productForm["product_id"].value);
+    fnSetVal("product_class_id", productForm["product_class_id"].value);
+    fnSetVal("product_type", productForm["product_type"].value);
+    fnSubmit();
+}
+function fnCheckStock(form) {
+    product_id = form.product_id.value;
+    classcat_id1 = form.classcategory_id1.value;
+    classcat_id2 = form.classcategory_id2 ? form.classcategory_id2.value : 0;
+    classcat2 = productsClassCategories[product_id][classcat_id1][classcat_id2];
+    
+    // 在庫(品切れ)
+    eleDefault = document.getElementById('cartbtn_default_' + product_id);
+    eleDynamic = document.getElementById('cartbtn_dynamic_' + product_id);
+    if (
+           classcat2
+        && classcat2.stock_find === false
+    ) {
+        eleDefault.style.display = 'none';
+        eleDynamic.innerHTML = '申し訳ございませんが、只今品切れ中です。';
+    } else {
+        eleDefault.style.display = '';
+        eleDynamic.innerHTML = '';
+    }
+    
+    // 販売価格
+    eleDefault = document.getElementById('price02_default_' + product_id);
+    eleDynamic = document.getElementById('price02_dynamic_' + product_id);
+    if (
+           classcat2
+        && typeof classcat2.price02 != 'undefined'
+        && String(classcat2.price02).length >= 1
+    ) {
+        eleDefault.style.display = 'none';
+        eleDynamic.innerHTML = classcat2.price02;
+    } else {
+        eleDefault.style.display = '';
+        eleDynamic.innerHTML = '';
+    }
+    // 商品規格
+    eleDynamic = document.getElementById('product_class_id' + product_id);
+    if (
+           classcat2
+        && typeof classcat2.product_class_id != 'undefined'
+        && String(classcat2.product_class_id).length >= 1
+    ) {
+        eleDynamic.value = classcat2.product_class_id;
+    } else {
+        eleDynamic.value = ''
+    }
+    // 商品種別
+    eleDynamic = document.getElementById('product_type' + product_id);
+    if (
+           classcat2
+        && typeof classcat2.product_type != 'undefined'
+        && String(classcat2.product_type).length >= 1
+    ) {
+        eleDynamic.value = classcat2.product_type;
+    } else {
+        eleDynamic.value = ''
+    }
+}
+//]]>
+</script>
+
+<!--▼CONTENTS-->
+<div id="undercolumn" class="product product_list">
+    <form name="form1" id="form1" method="get" action="?">
+        <input type="hidden" name="mode" value="<!--{$mode|escape}-->" />
+        <!--{* ▼検索条件 *}-->
+        <input type="hidden" name="category_id" value="<!--{$arrSearchData.category_id|escape}-->" />
+        <input type="hidden" name="maker_id" value="<!--{$arrSearchData.maker_id|escape}-->" />
+        <input type="hidden" name="name" value="<!--{$arrSearchData.name|escape}-->" />
+        <!--{* ▲検索条件 *}-->
+        <!--{* ▼ページナビ関連 *}-->
+        <input type="hidden" name="orderby" value="<!--{$orderby|escape}-->" />
+        <input type="hidden" name="disp_number" value="<!--{$disp_number|escape}-->" />
+        <input type="hidden" name="pageno" value="<!--{$tpl_pageno|escape}-->" />
+        <!--{* ▲ページナビ関連 *}-->
+        <!--{* ▼注文関連 *}-->
+        <input type="hidden" name="product_id" value="" />
+        <input type="hidden" name="classcategory_id1" value="" />
+        <input type="hidden" name="classcategory_id2" value="" />
+        <input type="hidden" name="product_class_id" value="" />
+        <input type="hidden" name="product_type" value="" />
+        <input type="hidden" name="quantity" value="" />
+        <!--{* ▲注文関連 *}-->
+        <input type="hidden" name="rnd" value="<!--{$tpl_rnd|escape}-->" />
+    </form>
+    
+    <!--★タイトル★-->
+    <h2 class="title"><!--{$tpl_subtitle|escape}--></h2>
+    
+    <!--▼検索条件-->
+    <!--{if $tpl_subtitle == "検索結果"}-->
+        <ul class="pagecondarea">
+            <li><strong>商品カテゴリ：</strong><!--{$arrSearch.category|escape}--></li>
+        <!--{if $arrSearch.maker|strlen >= 1}--><li><strong>メーカー：</strong><!--{$arrSearch.maker|escape}--></li><!--{/if}-->
+            <li><strong>商品名：</strong><!--{$arrSearch.name|escape}--></li>
+        </ul>
+    <!--{/if}-->
+    <!--▲検索条件-->
+
+    <!--▼ページナビ(本文)-->
+    <!--{capture name=page_navi_body}-->
+        <div class="pagenumberarea">
+            <div class="change">
+                <!--{if $orderby != 'price'}-->
+                    <a href="javascript:fnChangeOrderby('price');">価格順</a>
+                <!--{else}-->
+                    <strong>価格順</strong>
+                <!--{/if}-->
+                <!--{if $orderby != "date"}-->
+                        <a href="javascript:fnChangeOrderby('date');">新着順</a>
+                <!--{else}-->
+                    <strong>新着順</strong>
+                <!--{/if}-->
+            </div>
+            <div class="navi"><!--{$tpl_strnavi}--></div>
+        </div>
+    <!--{/capture}-->
+    <!--▲ページナビ(本文)-->
+
+    <!--{foreach from=$arrProducts item=arrProduct name=arrProducts}-->
+
+        <!--{if $smarty.foreach.arrProducts.first}-->
+            <!--▼件数-->
+            <div>
+                <span class="pagenumber"><!--{$tpl_linemax}--></span>件の商品
+                
+                <select name="disp_number" onchange="javascript:fnChangeDispNumber(this.value);">
+                    <!--{foreach from=$arrPRODUCTLISTMAX item="dispnum" key="num"}-->
+                        <!--{if $num == $disp_number}-->
+                        <option value="<!--{$num}-->" selected="selected" ><!--{$dispnum}--></option>
+                        <!--{else}-->
+                        <option value="<!--{$num}-->" ><!--{$dispnum}--></option>
+                        <!--{/if}-->
+                    <!--{/foreach}-->
+                </select>
+            </div>
+            <!--▲件数-->
+            
+            <!--▼ページナビ(上部)-->
+            <form name="page_navi_top" id="page_navi_top" action="?">
+                <!--{if $tpl_linemax > 0}--><!--{$smarty.capture.page_navi_body|smarty:nodefaults}--><!--{/if}-->
+            </form>
+            <!--▲ページナビ(上部)-->
+        <!--{/if}-->
+
+        <!--{assign var=id value=$arrProduct.product_id}-->
+        <!--{assign var=arrErr value=$arrProduct.arrErr}-->
+        <!--▼商品-->
+        <div class="listarea">
+        <a name="product<!--{$id|escape}-->" />
+            <div class="listphoto">
+                <!--★画像★-->
+                <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id|escape:url}-->" class="over"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URL|sfTrimURL}-->/<!--{$arrProduct.main_list_image|sfNoImageMainList|escape}-->" alt="<!--{$arrProduct.name|escape}-->" class="picture" /></a>
+            </div>
+            
+            <div class="listrightblock">
+                <!--▼商品ステータス-->
+                <!--{if count($productStatus[$id]) > 0}-->
+                    <ul class="status_icon">
+                        <!--{foreach from=$productStatus[$id] item=status}--> 
+                            <li>
+                                <img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="65" height="17" alt="<!--{$arrSTATUS[$status]}-->"/>
+                            </li>
+                        <!--{/foreach}-->
+                    </ul>
+                <!--{/if}-->
+                <!--▲商品ステータス-->
+                
+                <!--★商品名★-->
+                <h3>
+                    <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id|escape:url}-->" name="product<!--{$arrProduct.product_id}-->"><!--{$arrProduct.name|escape}--></a>
+                </h3>
+                
+                <!--★コメント★-->
+                <p class="listcomment"><!--{$arrProduct.main_list_comment|escape|nl2br}--></p>
+                
+                <p>
+                    <span class="pricebox sale_price">
+                        <span class="mini">税込</span>：
+                        <span class="price">
+                            <span id="price02_default_<!--{$id}-->">
+                                <!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
+                                    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
+                                <!--{else}-->
+                                    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->～<!--{$arrProduct.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
+                                <!--{/if}-->
+                            </span><span id="price02_dynamic_<!--{$id}-->"></span>
+                            円</span>
+                    </span>
+                </p>
+
+            </div>
+        </div>
+        <!--▲商品-->
+
+        <!--{if $smarty.foreach.arrProducts.last}-->
+            <!--▼ページナビ(下部)-->
+            <form name="page_navi_bottom" id="page_navi_bottom" action="?">
+                <!--{if $tpl_linemax > 0}--><!--{$smarty.capture.page_navi_body|smarty:nodefaults}--><!--{/if}-->
+            </form>
+            <!--▲ページナビ(下部)-->
+        <!--{/if}-->
+
+    <!--{foreachelse}-->
+        <!--{include file="frontparts/search_zero.tpl"}-->
+    <!--{/foreach}-->
+
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/default/sphone/footer.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/sphone/footer.tpl	(revision 19661)
+++ branches/version-2_5-dev/data/Smarty/templates/default/sphone/footer.tpl	(revision 19661)
@@ -0,0 +1,66 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 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.
+ *}-->
+
+<!--▼ BEGIN PAGETOP-->
+<div id="pagetop">
+<a href="#top">↑このページのトップへ</a>
+</div>
+<!--▲ END PAGETOP-->
+
+<!--▼ BEGIN FOOTER-->
+<div id="footer">
+<div id="footer-info">
+<ul id="footer-menu">
+<li>
+<a href="<!--{$smarty.const.SPHONE_SSL_URL|sfTrimURL}-->/cart/index.php">かごを見る</a>
+</li>
+<li>
+<a href="<!--{$smarty.const.SPHONE_SSL_URL|sfTrimURL}-->/mypage/login.php">マイページ</a>
+</li>
+<li>
+<a href="<!--{$smarty.const.SPHONE_SSL_URL|sfTrimURL}-->/entry/kiyaku.php">会員登録</a>
+</li>
+
+<!--{php}-->
+$tmp = $this->get_template_vars('tpl_mainpage');
+if(preg_match("/top\.tpl$/", $tmp))
+$this->assign('isTop', 1);
+<!--{/php}-->
+<!--{if $isTop ne 1}-->
+<li>
+<a href="<!--{$smarty.const.SPHONE_SITE_URL|sfTrimURL}-->">TOPページへ</a>
+</li>
+<!--{/if}-->
+
+</ul>
+<ul id="footer-navi">
+<li><a href="<!--{$smarty.const.SPHONE_SITE_URL}-->contact/index.php">お問合せ</a></li>
+<li><a href="<!--{$smarty.const.SPHONE_SITE_URL}-->guide/privacy.php">プライバシーポリシー</a></li>
+<li class="end"><a href="<!--{$smarty.const.SPHONE_SITE_URL}-->abouts/index.php">店舗情報</a></li>
+<li class="end"><a href="<!--{$smarty.const.SPHONE_SITE_URL}-->order/index.php">特定商取引法に基づく表記</a></li>
+</ul>
+
+<div id="copyright">(C) <!--{$arrSiteInfo.shop_name|escape}-->.</div>
+
+</div>
+</div>
+<!--▲ END FOOTER-->
Index: branches/version-2_5-dev/data/Smarty/templates/default/sphone/site_frame.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/sphone/site_frame.tpl	(revision 19661)
+++ branches/version-2_5-dev/data/Smarty/templates/default/sphone/site_frame.tpl	(revision 19661)
@@ -0,0 +1,60 @@
+<!--{printXMLDeclaration}--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 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.
+ *}-->
+
+<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=<!--{$smarty.const.CHAR_CODE}-->" />
+
+<meta name="viewport" content="width=320,maximum-scale=1.0,user-scalable=no">
+<meta name="format-detection" content="telephone=no">
+<meta http-equiv="Content-Script-Type" content="text/javascript" />
+<meta http-equiv="Content-Style-Type" content="text/css" />
+<!--{* 共通CSS *}-->
+<link rel="stylesheet" media="only screen" href="<!--{$smarty.const.SPHONE_URL_DIR}-->sphone/user_data/packages/default/css/import.css" type="text/css" /> 
+
+<script type="text/javascript" src="<!--{$smarty.const.SPHONE_URL_DIR}-->sphone/user_data/packages/default/js/barbutton.js"></script>
+<script type="text/javascript" src="<!--{$smarty.const.SPHONE_URL_DIR}-->sphone/user_data/packages/default/js/category.js"></script>
+<script type="text/javascript" src="<!--{$smarty.const.SPHONE_URL_DIR}-->sphone/user_data/packages/default/js/news.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>
+<title><!--{$arrSiteInfo.shop_name|escape}--><!--{if $tpl_subtitle|strlen >= 1}--> / <!--{$tpl_subtitle|escape}--><!--{elseif $tpl_title|strlen >= 1}--> / <!--{$tpl_title|escape}--><!--{/if}--></title>
+<!--{if $arrPageLayout.author|strlen >= 1}-->
+    <meta name="author" content="<!--{$arrPageLayout.author|escape}-->" />
+<!--{/if}-->
+<!--{if $arrPageLayout.description|strlen >= 1}-->
+    <meta name="description" content="<!--{$arrPageLayout.description|escape}-->" />
+<!--{/if}-->
+<!--{if $arrPageLayout.keyword|strlen >= 1}-->
+    <meta name="keywords" content="<!--{$arrPageLayout.keyword|escape}-->" />
+<!--{/if}-->
+<!--{* iPhone用アイコン画像 *}-->
+<link rel="apple-touch-icon" href="<!--{$smarty.const.SPHONE_URL_DIR}-->sphone/apple-touch-icon.png" />
+
+</head>
+
+<!-- ▼BODY部 スタート -->
+<!--{include file='./site_main.tpl'}-->
+<!-- ▲BODY部 エンド -->
+
+</html>
Index: branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/news.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/news.tpl	(revision 19661)
+++ branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/news.tpl	(revision 19661)
@@ -0,0 +1,67 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 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.
+ *}-->
+<!--{assign var=mypage value="`$smarty.const.SPHONE_URL_DIR`mypage/index.php"}-->
+<!--{if $smarty.server.PHP_SELF != $mypage}-->
+
+<!--{if $arrNews}-->
+<div id="block-news" class="block-center">
+<div class="create-box">
+
+<!--{section name=data loop=$arrNews max=3}-->
+<div class="anews">
+<span><!--{$arrNews[data].news_date_disp|date_format:"%m.%d"}--></span>&nbsp;
+<!--{if $arrNews[data].news_url}--><a href="<!--{$arrNews[data].news_url|escape}-->"><!--{/if}-->
+<!--{$arrNews[data].news_title|escape}-->
+<!--{if $arrNews[data].news_url}--></a><!--{/if}-->
+</div>
+<!--{/section}-->
+
+</div>
+</div>
+
+<script type="text/javascript" language="JavaScript">
+//<![CDATA[
+initNews(); //カテゴリーリストの初期化
+//]]>
+</script>
+<!--{/if}-->
+
+
+<!--{elseif $smarty.server.PHP_SELF == $mypage}-->
+
+<!--{if $arrMemberNews}-->
+<h3>お知らせ</h3>
+<div id="block-news-mypage">
+
+<!--{section name=data loop=$arrMemberNews max=3}-->
+<div class=" ">
+<span><!--{$arrMemberNews[data].news_date_disp|date_format:"%m.%d"}--></span>&nbsp;
+<!--{if $arrMemberNews[data].news_url}--><a href="<!--{$arrMemberNews[data].news_url|escape}-->"><!--{/if}-->
+<!--{$arrMemberNews[data].news_title|escape}-->
+<!--{if $arrMemberNews[data].news_url}--></a><!--{/if}-->
+</div>
+<!--{/section}-->
+
+</div>
+<!--{/if}-->
+
+<!--{/if}-->
Index: branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/category.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/category.tpl	(revision 19661)
+++ branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/category.tpl	(revision 19661)
@@ -0,0 +1,82 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 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.
+ *}-->
+<!--商品カテゴリーここから-->
+<h2 id="title-category" class="title-side">商品カテゴリ</h2>
+<div id="block-category" class="block-side">
+  <div class="create-box">
+
+    <ul id="categorytree">
+    <!--{assign var=preLev value=1}-->
+    <!--{assign var=firstdone value=0}-->
+    <!--{section name=cnt loop=$arrTree}-->
+      <!--{* カテゴリ表示・非表示切り替え *}-->
+      <!--{if $arrTree[cnt].view_flg != "2"}-->
+        <!--{* 表示フラグがTRUEなら表示 *}-->
+        <!--{* <!--{if $arrTree[cnt].display == 1}--> *}-->
+        <!--{assign var=level value=`$arrTree[cnt].level`}-->
+        <!--{* level2以下なら表示（level指定可能） *}-->
+        <!--{if $level <= 2 || $arrTree[cnt].display == 1}-->
+        <!--{assign var=levdiff value=`$level-$preLev`}-->
+          <!--{if $levdiff > 0}-->
+              <ul>
+          <!--{elseif $levdiff == 0 && $firstdone == 1}-->
+              </li>
+          <!--{elseif $levdiff < 0}-->
+            <!--{section name=d loop=`$levdiff*-1`}-->
+                </li>
+              </ul>
+            <!--{/section}-->
+            </li>
+          <!--{/if}-->
+          
+          <li class="level<!--{$level}--><!--{if in_array($arrTree[cnt].category_id, $tpl_category_id) }--> onmark<!--{/if}-->"><span class="category_header"></span><span class="category_body"><a href="<!--{$smarty.const.SPHONE_URL_DIR}-->products/list.php?category_id=<!--{$arrTree[cnt].category_id}-->"<!--{if in_array($arrTree[cnt].category_id, $tpl_category_id) }--> class="onlink"<!--{/if}-->><!--{$arrTree[cnt].category_name|escape}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a></span>
+            <!--{if $firstdone == 0}--><!--{assign var=firstdone value=1}--><!--{/if}-->
+            <!--{assign var=preLev value=`$level`}-->
+            <!--{/if}-->
+            <!--{* セクションの最後に閉じタグを追加 *}-->
+            <!--{if $smarty.section.cnt.last}-->
+                <!--{if $preLev-1 > 0 }-->
+                    <!--{section name=d loop=`$preLev-1`}-->
+                        </li>
+                    </ul>
+            <!--{/section}-->
+            </li>
+          <!--{else}-->
+            </li>
+          <!--{/if}-->
+        <!--{/if}-->
+      <!--{/if}-->
+    <!--{/section}-->
+    </ul>
+
+  </div>
+</div>
+
+<!--{if $arrTree|@count > 0}-->
+<script type="text/javascript" language="JavaScript">
+//<![CDATA[
+initCategoryList(); //カテゴリーリストの初期化
+//]]>
+</script>
+<!--{/if}-->
+
+<!--商品カテゴリーここまで-->
Index: branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/best5.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/best5.tpl	(revision 19661)
+++ branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/best5.tpl	(revision 19661)
@@ -0,0 +1,74 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 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.
+ *}-->
+<!--{if count($arrBestProducts) > 0}-->
+<div id="recomendarea" class="bloc_outer">
+    <h2><img src="<!--{$TPL_DIR}-->img/bloc/best5/title_icon.gif" width="20" height="20" alt="*" class="title_icon" />
+        おすすめ商品</h2>
+    <!--{section name=cnt loop=$arrBestProducts step=2}-->
+    <div class="recomendblock">
+        <div class="recomendleft">
+
+            <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[cnt].product_id|escape:url}-->">
+                <img src="<!--{$smarty.const.SPHONE_URL_DIR}-->resize_image.php?image=<!--{$arrBestProducts[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=80&amp;height=80" alt="<!--{$arrBestProducts[cnt].name|escape}-->" /></a>
+            
+            <div class="recomendrightblock">
+                <h3>
+                    <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[cnt].product_id|escape:url}-->"><!--{$arrBestProducts[cnt].name|escape}--></a>
+                </h3>
+
+                <!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}-->
+                <!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}-->
+
+                <p class="sale_price"><span class="mini">(税込)</span>：
+                    <span class="price"><!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
+                </p>
+
+                <p class="mini comment"><!--{$arrBestProducts[cnt].comment|escape|nl2br}--></p>
+            </div>
+        </div>
+        
+        <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1`}-->
+        <!--{if $arrBestProducts[$cnt2]|count > 0}-->
+        <div class="recomendright">
+            <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[$cnt2].product_id|escape:url}-->">
+                <img src="<!--{$smarty.const.SPHONE_URL_DIR}-->resize_image.php?image=<!--{$arrBestProducts[$cnt2].main_list_image|sfNoImageMainList|escape}-->&amp;width=80&amp;height=80" alt="<!--{$arrBestProducts[$cnt2].name|escape}-->" /></a>
+
+            <div class="recomendrightblock">
+                <h3>
+                <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrBestProducts[$cnt2].product_id|escape:url}-->"><!--{$arrBestProducts[$cnt2].name|escape}--></a>
+                </h3>
+
+                <!--{assign var=price01 value=`$arrBestProducts[$cnt2].price01_min`}-->
+                <!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}-->
+
+                <p class="sale_price"><span class="mini">(税込)</span>：
+                    <span class="price"><!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
+                </p>
+
+                <p class="mini comment"><!--{$arrBestProducts[$cnt2].comment|escape|nl2br}--></p>
+            </div>
+        </div>
+        <!--{/if}-->
+    </div>
+    <!--{/section}-->
+</div>
+<!--{/if}-->
Index: branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/login.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/login.tpl	(revision 19661)
+++ branches/version-2_5-dev/data/Smarty/templates/default/sphone/bloc/login.tpl	(revision 19661)
@@ -0,0 +1,34 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 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="block-login" class="block-side">
+  <div class="create-box">
+    <!--{if $tpl_login}-->
+      <a href="<!--{$smarty.const.SPHONE_SSL_URL|sfTrimURL}-->/mypage/login.php" class="spbtn">マイページ</a>
+    <!--{else}-->
+      <a href="<!--{$smarty.const.SPHONE_SSL_URL|sfTrimURL}-->/entry/kiyaku.php" class="spbtn">会員登録</a>
+      <a href="<!--{$smarty.const.SPHONE_SSL_URL|sfTrimURL}-->/mypage/login.php" class="spbtn">ログイン</a>
+    <!--{/if}-->
+    <!--ログインフォーム-->
+  </div>
+</div>
+<!--▲ログインここまで-->
Index: branches/version-2_5-dev/data/Smarty/templates/default/sphone/detail.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/sphone/detail.tpl	(revision 19661)
+++ branches/version-2_5-dev/data/Smarty/templates/default/sphone/detail.tpl	(revision 19661)
@@ -0,0 +1,526 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 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.
+ *}-->
+<script type="text/javascript" src="<!--{$TPL_DIR}-->jquery.fancybox/jquery.mousewheel-3.0.2.pack.js"></script>
+<script type="text/javascript" src="<!--{$TPL_DIR}-->jquery.fancybox/jquery.fancybox-1.3.1.pack.js"></script>
+<link rel="stylesheet" href="<!--{$TPL_DIR}-->jquery.fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />
+<script type="text/javascript">//<![CDATA[
+// 規格2に選択肢を割り当てる。
+function fnSetClassCategories(form, classcat_id2_selected) {
+    sele1 = form.classcategory_id1;
+    sele2 = form.classcategory_id2;
+
+    if (sele1) {
+        if (sele2) {
+            // 規格2の選択肢をクリア
+            count = sele2.options.length;
+            for(i = count; i >= 0; i--) {
+                sele2.options[i] = null;
+            }
+
+            // 規格2に選択肢を割り当てる
+            classcats = classCategories[sele1.value];
+            i = 0;
+            for (var classcat_id2_key in classcats) {
+                sele2.options[i] = new Option(classcats[classcat_id2_key].name, classcat_id2_key);
+                if (classcat_id2_key == classcat_id2_selected) {
+                    sele2.options[i].selected = true;
+                }
+                i++;
+            }
+        }
+        fnCheckStock(form);
+    }
+}
+function fnCheckStock(form) {
+    classcat_id1 = form.classcategory_id1.value;
+    classcat_id2 = form.classcategory_id2 ? form.classcategory_id2.value : 0;
+    classcat2 = classCategories[classcat_id1][classcat_id2];
+
+    // 商品コード
+    eleDefault = document.getElementById('product_code_default');
+    eleDynamic = document.getElementById('product_code_dynamic');
+    if (
+           classcat2
+        && typeof classcat2.product_code != 'undefined'
+    ) {
+        eleDefault.style.display = 'none';
+        eleDynamic.innerHTML = classcat2.product_code;
+    } else {
+        eleDefault.style.display = '';
+        eleDynamic.innerHTML = '';
+    }
+
+    // 在庫(品切れ)
+    eleDefault = document.getElementById('cartbtn_default');
+    eleDynamic = document.getElementById('cartbtn_dynamic');
+    if (
+           classcat2
+        && classcat2.stock_find === false
+    ) {
+        eleDefault.style.display = 'none';
+        eleDynamic.innerHTML = '申し訳ございませんが、只今品切れ中です。';
+    } else {
+        eleDefault.style.display = '';
+        eleDynamic.innerHTML = '';
+    }
+
+    // 通常価格
+    eleDefault = document.getElementById('price01_default');
+    eleDynamic = document.getElementById('price01_dynamic');
+    if (eleDefault && eleDynamic) {
+        if (
+               classcat2
+            && typeof classcat2.price01 != 'undefined'
+            && String(classcat2.price01).length >= 1
+        ) {
+            eleDefault.style.display = 'none';
+            eleDynamic.innerHTML = classcat2.price01;
+        } else {
+            eleDefault.style.display = '';
+            eleDynamic.innerHTML = '';
+        }
+    }
+
+    // 販売価格
+    eleDefault = document.getElementById('price02_default');
+    eleDynamic = document.getElementById('price02_dynamic');
+    if (
+           classcat2
+        && typeof classcat2.price02 != 'undefined'
+        && String(classcat2.price02).length >= 1
+    ) {
+        eleDefault.style.display = 'none';
+        eleDynamic.innerHTML = classcat2.price02;
+    } else {
+        eleDefault.style.display = '';
+        eleDynamic.innerHTML = '';
+    }
+
+    // ポイント
+    eleDefault = document.getElementById('point_default');
+    eleDynamic = document.getElementById('point_dynamic');
+    if (
+           classcat2
+        && typeof classcat2.point != 'undefined'
+        && String(classcat2.point).length >= 1
+    ) {
+        eleDefault.style.display = 'none';
+        eleDynamic.innerHTML = classcat2.point;
+    } else {
+        eleDefault.style.display = '';
+        eleDynamic.innerHTML = '';
+    }
+    // 商品規格
+    eleDynamic = document.getElementById('product_class_id');
+    if (
+           classcat2
+        && typeof classcat2.product_class_id != 'undefined'
+        && String(classcat2.product_class_id).length >= 1
+    ) {
+        eleDynamic.value = classcat2.product_class_id;
+    } else {
+        eleDynamic.value = ''
+    }
+    // 商品種別
+    eleDynamic = document.getElementById('product_type');
+    if (
+           classcat2
+        && typeof classcat2.product_type != 'undefined'
+        && String(classcat2.product_type).length >= 1
+    ) {
+        eleDynamic.value = classcat2.product_type;
+    } else {
+        eleDynamic.value = ''
+    }
+}
+$(document).ready(function() {
+    $("a.expansion").fancybox({
+    });
+});
+//]]>
+</script>
+
+<!--▼CONTENTS-->
+<div id="undercolumn" class="product product_detail">
+
+    <!--★タイトル★-->
+    <h2 class="title"><!--{$tpl_subtitle|escape}--></h2>
+
+    <div id="detailarea">
+        <div id="detailphotoblock">
+
+            <!--{assign var=key value="main_image"}-->
+
+            <!--★画像★-->
+            <a
+                <!--{if $arrProduct.main_large_image|strlen >= 1}-->
+                    href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrProduct.main_large_image|escape}-->"
+                    class="expansion"
+                    onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion_on.gif','expansion01');"
+                    onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion.gif','expansion01');"
+                    target="_blank"
+                <!--{/if}-->
+            >
+                <img src="<!--{$arrFile[$key].filepath|escape}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|escape}-->" class="picture" /><br />
+                <!--★拡大する★-->
+                <!--{if $arrProduct.main_large_image|strlen >= 1}-->
+                    <img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" name="expansion01" id="expansion01" />
+                <!--{/if}-->
+            </a>
+        </div>
+
+        <div id="detailrightblock">
+            <!--▼商品ステータス-->
+            <!--{assign var=ps value=$productStatus[$smarty.get.product_id]}-->
+            <!--{if count($ps) > 0}-->
+                <ul class="status_icon">
+                    <!--{foreach from=$ps item=status}-->
+                    <li>
+                        <img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="65" height="17" alt="<!--{$arrSTATUS[$status]}-->" id="icon<!--{$status}-->" />
+                    </li>
+                    <!--{/foreach}-->
+                </ul>
+            <!--{/if}-->
+            <!--▲商品ステータス-->
+
+            <!--★ダウンロード販売★-->
+            <!--{if $arrProduct.down == 2}-->
+                <div><font color="red">本商品はダウンロード販売となります。<br /> 購入後はMYページの購入履歴からダウンロード可能です。</font></div><br />
+            <!--{/if}-->
+
+            <table>
+                <tr>
+                    <th colspan="2">
+                        <!--★商品名★-->
+                        <h2><!--{$arrProduct.name|escape}--></h2>
+                    </th>
+                </tr>
+                <tr>
+                    <th>
+                        <!--★販売価格★-->
+                        <div class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span></div>
+                    </th>
+                    <td>
+                        <span class="price">
+                            <span id="price02_default">
+                                <!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
+                                    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
+                                <!--{else}-->
+                                    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->～<!--{$arrProduct.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
+                                <!--{/if}-->
+                            </span><span id="price02_dynamic"></span>
+                            円
+                        </span>
+                    </td>
+                </tr>
+                <!--★通常価格★-->
+                <!--{if $arrProduct.price01_max > 0}-->
+                <tr>
+                    <th>
+                        <div class="normal_price">
+                        <!--{$smarty.const.NORMAL_PRICE_TITLE}-->：
+                        </div>
+                    </th>
+                    <td>
+                        <span class="price">
+                            <span id="price01_default">
+                                <!--{if $arrProduct.price01_min == $arrProduct.price01_max}-->
+                                    <!--{$arrProduct.price01_min|number_format}-->
+                                <!--{else}-->
+                                    <!--{$arrProduct.price01_min|number_format}-->～<!--{$arrProduct.price01_max|number_format}-->
+                                <!--{/if}-->
+                            </span><span id="price01_dynamic"></span>
+                            円
+                        </span>
+                    </td>
+                </tr>    
+                <!--{/if}-->
+
+            
+                <!--★ポイント★-->
+                <!--{if $smarty.const.USE_POINT !== false}-->
+                <tr>
+                    <th>
+                        <span class="price">ポイント：</span>
+                    </th>
+                    <td>
+                        <span id="point_default">
+                            <!--{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}-->
+                                    <!--{$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}-->
+                            </span><span id="point_dynamic">
+                            Pt
+                        </span>
+                    </td>
+                </tr>
+                <!--{/if}-->
+
+                <!--▼メーカーURL-->
+                <!--{if $arrProduct.comment1|strlen >= 1}-->
+                <tr>
+                    <th>
+                        <span class="comment1">メーカーURL：
+                    </th>
+                    <td>
+                            <a href="<!--{$arrProduct.comment1|escape}-->">
+                                <!--{$arrProduct.comment1|escape}--></a>
+                    </td>
+                </tr>
+                <!--{/if}-->
+                <!--▲メーカーURL-->
+
+                <!--★関連カテゴリ★-->
+                <tr>
+                    <th>
+                        <div class="relative_cat">関連カテゴリ：</div>
+                    </th>
+                    <td>
+                        <!--{section name=r loop=$arrRelativeCat}-->
+                        <p>
+                            <!--{section name=s loop=$arrRelativeCat[r]}-->
+                            <a href="<!--{$smarty.const.SPHONE_URL_DIR}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a>
+                            <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}-->
+                            <!--{/section}-->
+                        </p>
+                        <!--{/section}-->
+                    </td>
+                </tr>
+                <tr>
+                    <td colspan="2">
+                            <!--★詳細メインコメント★-->
+                            <div class="main_comment"><!--{$arrProduct.main_comment|nl2br_html}--></div>
+                    </td>
+                </tr>
+            </table>
+
+            <!--▼買い物かご-->
+            <form name="form1" id="form1" method="post" action="?">
+                <input type="hidden" name="mode" value="cart" />
+                <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" />
+                <input type="hidden" name="product_class_id" value="<!--{$tpl_product_class_id}-->" id="product_class_id" />
+                <input type="hidden" name="product_type" value="<!--{$tpl_product_type}-->" id="product_type" />
+                <input type="hidden" name="favorite_product_id" value="" />
+
+                <!--{if $tpl_stock_find}-->
+                    <dl>
+                        <!--{if $tpl_classcat_find1}-->
+                            <!--▼規格1-->
+                            <dt><!--{$tpl_class_name1|escape}--></dt>
+                            <dd>
+                                <select name="classcategory_id1"
+                                    style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->"
+                                    onchange="fnSetClassCategories(this.form);"
+                                >
+                                    <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}-->
+                                </select>
+                                <!--{if $arrErr.classcategory_id1 != ""}-->
+                                    <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span>
+                                <!--{/if}-->
+                            </dd>
+                            <!--▲規格1-->
+                        <!--{/if}-->
+
+                        <!--{if $tpl_classcat_find2}-->
+                            <!--▼規格2-->
+                            <dt><!--{$tpl_class_name2|escape}--></dt>
+                            <dd>
+                                <select name="classcategory_id2"
+                                    style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"
+                                    onchange="fnCheckStock(this.form);"
+                                >
+                                </select>
+                                <!--{if $arrErr.classcategory_id2 != ""}-->
+                                    <br /><span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span>
+                                <!--{/if}-->
+                            </dd>
+                            <!--▲規格2-->
+                        <!--{/if}-->
+
+                        <dt>数量</dt>
+                        <dd>
+                            <input type="text" name="quantity" class="box54" value="<!--{$arrForm.quantity.value|default:1}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" />
+                            <!--{if $arrErr.quantity != ""}-->
+                                <br /><span class="attention"><!--{$arrErr.quantity}--></span>
+                            <!--{/if}-->
+                        </dd>
+                    </dl>
+                <!--{/if}-->
+
+                <div class="btn">
+                    <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1 && $tpl_login === true}-->
+                        <div>
+                            <!--{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>
+                            <!--{else}-->
+                                <img src="<!--{$TPL_DIR}-->img/products/add_favolite_product_on.gif" width="115" height="20" alt="お気に入り登録済" name="add_favolite_product" id="add_favolite_product" />
+                            <!--{/if}-->
+                        </div>
+                    <!--{/if}-->
+
+                    <!--{if $tpl_stock_find}-->
+                        <div id="cartbtn_default">
+                            <!--★カゴに入れる★-->
+                            <div>
+                                <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');" class="spbtn spbtn-agree">
+                                    カゴに入れる
+                                </a>
+                            </div>
+                            <!--{if 'sfGMODetailDisplay'|function_exists}--><!--{* GMOワンクリック *}-->
+                                <!--{'sfGMODetailDisplay'|call_user_func}-->
+                            <!--{/if}-->
+                        </div>
+                        <div class="attention" id="cartbtn_dynamic"></div>
+                    <!--{else}-->
+                        <div class="attention">申し訳ございませんが、只今品切れ中です。</div>
+                    <!--{/if}-->
+                </div>
+            </form>
+            <!--▲買い物かご-->
+
+        </div>
+    </div>
+    <!--{* オペビルダー用 *}-->
+    <!--{if "sfViewDetailOpe"|function_exists === TRUE}-->
+        <!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/detail_ope_view.tpl}-->
+    <!--{/if}-->
+    <!--詳細ここまで-->
+
+    <!--▼サブコメント-->
+    <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
+        <!--{assign var=key value="sub_title`$smarty.section.cnt.index+1`"}-->
+        <!--{if $arrProduct[$key] != ""}-->
+            <div class="subarea">
+                <h3><!--★サブタイトル★--><!--{$arrProduct[$key]|escape}--></h3>
+                <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.index+1`"}-->
+
+                <div class="subtext"><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br_html}--></div>
+
+                <!--▼サブ画像-->
+                <!--{assign var=key value="sub_image`$smarty.section.cnt.index+1`"}-->
+                <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.index+1`"}-->
+                <!--{if $arrProduct[$key]|strlen >= 1}-->
+                    <div class="subphotoimg">
+                        <a
+                            <!--{if $arrProduct[$lkey]|strlen >= 1}-->
+                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrProduct[$lkey]|escape}-->"
+                                class="expansion"
+                                onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion_on.gif', 'expansion_<!--{$lkey|escape}-->');"
+                                onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion.gif', 'expansion_<!--{$lkey|escape}-->');"
+                                target="_blank"
+                            <!--{/if}-->
+                        >
+                            <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|escape}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" /><br />
+                            <!--{if $arrProduct[$lkey]|strlen >= 1}-->
+                                <img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" id="expansion_<!--{$lkey|escape}-->" />
+                            <!--{/if}-->
+                        </a>
+                    </div>
+                <!--{/if}-->
+                <!--▲サブ画像-->
+            </div>
+        <!--{/if}-->
+    <!--{/section}-->
+    <!--▲サブコメント-->
+
+    <!--▼関連商品-->
+    <!--{if $arrRecommend}-->
+        <div id="whoboughtarea">
+            <h2>その他のオススメ商品(関連商品)</h2>
+            <div class="whoboughtblock">
+
+            <!--{section name=cnt loop=$arrRecommend}-->
+                <!--{if ($smarty.section.cnt.index % 2) == 0}-->
+                <!--{if $arrRecommend[cnt].product_id}-->
+                <!-- 左列 -->
+                <div class="whoboughtleft">
+
+                    <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->">
+                        <img src="<!--{$smarty.const.SPHONE_URL_DIR}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a>
+
+                    <div class="whoboughtrightblock">
+                        <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}-->
+                        <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}-->
+                        <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3>
+
+                        <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><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>
+                        <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p>
+                    </div>
+                </div>
+                <!-- 左列 -->
+                <!--{/if}-->
+                <!--{/if}-->
+
+                <!--{if ($smarty.section.cnt.index % 2) != 0}-->
+                <!--{* assign var=nextCnt value=$smarty.section.cnt.index+1 *}-->
+                <!--{if $arrRecommend[cnt].product_id}-->
+                <!-- 右列 -->
+                <div class="whoboughtright">
+
+                    <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->">
+                        <img src="<!--{$smarty.const.SPHONE_URL_DIR}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a>
+
+                    <div class="whoboughtrightblock">
+                        <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}-->
+                        <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}-->
+                        <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3>
+
+                        <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><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>
+                        <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p>
+                    </div>
+                </div>
+                <!-- 右列 -->
+            <!--{/if}-->
+            <!--{/if}-->
+
+            <!--{if $smarty.section.cnt.last}-->
+            </div>
+            <!--{/if}-->
+        <!--{/section}-->
+        </div>
+    <!--{/if}-->
+    <!--▲関連商品-->
+
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/default/sphone/top.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/sphone/top.tpl	(revision 19661)
+++ branches/version-2_5-dev/data/Smarty/templates/default/sphone/top.tpl	(revision 19661)
@@ -0,0 +1,55 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 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="topbox">
+<!--{* ▼ロゴ ここから *}-->
+<div id="header">
+<h1>
+    <a href="<!--{$smarty.const.SPHONE_SSL_URL}-->">
+      <em><!--{$arrSiteInfo.shop_name|escape}-->/<!--{$tpl_title|escape}--></em></a>
+  </h1>
+</div>
+<!--{* ▲ロゴ ここまで *}-->
+
+<!--{* ヘッダメニュー *}-->
+<div id="headmenu">
+
+<!--{* 検索 *}-->
+<div id="searchbar">
+<form method="get" action="<!--{$smarty.const.SPHONE_SITE_URL}-->products/list.php">
+<input type="text" name="name" maxlength="50" value="<!--{$smarty.get.name|escape}-->" placeholder="商品検索" ><input type="submit" name="search" value="検索">
+</form>
+<!--{* searchmenu *}--></div>
+<!--{* headmenu *}--></div>
+<!--{* topbox *}--></div>
+
+<!--{* 新着情報 *}-->
+<!--{include_php file=`$smarty.const.SPHONE_HTML_PATH`/frontparts/bloc/news.php}-->
+
+<!--{* ログイン *}-->
+<!--{include_php file=`$smarty.const.SPHONE_HTML_PATH`/frontparts/bloc/login.php}-->
+
+<!--{* おすすめ商品 *}-->
+<!--{include_php file=`$smarty.const.SPHONE_HTML_PATH`/frontparts/bloc/best5.php}-->
+
+<!-- ▼メニュー ここから -->
+<!--{include_php file=`$smarty.const.SPHONE_HTML_PATH`/frontparts/bloc/category.php}-->
