Index: branches/version-2_5-dev/data/mtb_constants_init.php
===================================================================
--- branches/version-2_5-dev/data/mtb_constants_init.php	(revision 19711)
+++ branches/version-2_5-dev/data/mtb_constants_init.php	(revision 19713)
@@ -611,3 +611,25 @@
 /** 端末種別: 管理画面 */
 define('DEVICE_TYPE_ADMIN', 99);
+/** 配置ID 未使用 */
+define('TARGET_ID_UNUSED', 0);
+/** 配置ID: LeftNavi */
+define('TARGET_ID_LEFT', 1);
+/** 配置ID: MainHead */
+define('TARGET_ID_MAIN_HEAD', 2);
+/** 配置ID: RightNavi */
+define('TARGET_ID_RIGHT', 3);
+/** 配置ID: MainFoot */
+define('TARGET_ID_MAIN_FOOT', 4);
+/** 配置ID: TopNavi */
+define('TARGET_ID_TOP', 5);
+/** 配置ID: BottomNavi */
+define('TARGET_ID_BOTTOM', 6);
+/** 配置ID: HeadNavi */
+define('TARGET_ID_HEAD', 7);
+/** 配置ID: HeadTopNavi */
+define('TARGET_ID_HEAD_TOP', 8);
+/** 配置ID: FooterBottomNavi */
+define('TARGET_ID_FOOTER_BOTTOM', 9);
+/** 配置ID: HeaderInternalNavi */
+define('TARGET_ID_HEADER_INTERNAL', 10);
 ?>
Index: branches/version-2_5-dev/data/class/SC_SmartphoneUserAgent.php
===================================================================
--- branches/version-2_5-dev/data/class/SC_SmartphoneUserAgent.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/SC_SmartphoneUserAgent.php	(revision 19713)
@@ -86,6 +86,6 @@
 
         $url = SC_Utils_Ex::sfIsHTTPS()
-            ? SPHONE_SSL_URL
-            : SPHONE_SITE_URL
+            ? SMARTPHONE_SSL_URL
+            : SMARTPHONE_SITE_URL
         ;
 
Index: branches/version-2_5-dev/data/class/pages/LC_Page_Index.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/LC_Page_Index.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/LC_Page_Index.php	(revision 19713)
@@ -74,7 +74,4 @@
      */
     function action() {
-        // レイアウトデザインを取得
-        $layout = new SC_Helper_PageLayout_Ex();
-        $layout->sfGetPageLayout($this, false, "index.php");
         $this->tpl_title = '';
     }
Index: branches/version-2_5-dev/data/class/pages/order/LC_Page_Order.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/order/LC_Page_Order.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/order/LC_Page_Order.php	(revision 19713)
@@ -73,8 +73,4 @@
         $layout = new SC_Helper_PageLayout_Ex();
         $objDb = new SC_Helper_DB_Ex();
-
-        // レイアウトデザインを取得
-        $layout->sfGetPageLayout($this, false, DEF_LAYOUT);
-        $this->arrRet = $objDb->sfGetBasisData();
     }
 
Index: branches/version-2_5-dev/data/class/pages/LC_Page.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/LC_Page.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/LC_Page.php	(revision 19713)
@@ -73,6 +73,6 @@
     var $transactionid;
 
-    /** テンプレート名 */
-    var $template;
+    /** メインテンプレート名 */
+    var $template = SITE_FRAME;
 
     // }}}
@@ -89,16 +89,15 @@
 
         $this->tpl_authority = $_SESSION['authority'];
-        // XXX すべてのページで宣言するべき
-        $layout = new SC_Helper_PageLayout_Ex();
-        $layout->sfGetPageLayout($this, false);
-
-        $this->template = SITE_FRAME;
 
         // ディスプレイクラス生成
         $this->objDisplay = new SC_Display();
 
+        $layout = new SC_Helper_PageLayout_Ex();
+        $layout->sfGetPageLayout($this, false, $_SERVER['PHP_SELF'],
+                                 $this->objDisplay->detectDevice());
+
         // プラグインクラス生成
-        // $this->objPlugin = new SC_Helper_Plugin_Ex();
-        // $this->objPlugin->preProcess($this);
+        $this->objPlugin = new SC_Helper_Plugin_Ex();
+        $this->objPlugin->preProcess($this);
     }
 
@@ -123,6 +122,7 @@
      */
     function sendResponse() {
+
         // post-prosess処理(暫定的)
-        //$this->objPlugin->process($this);
+        $this->objPlugin->process($this);
 
         $this->objDisplay->prepare($this);
Index: branches/version-2_5-dev/data/class/pages/preview/LC_Page_Preview.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/preview/LC_Page_Preview.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/preview/LC_Page_Preview.php	(revision 19713)
@@ -59,5 +59,5 @@
 
         if (isset($_SESSION['preview']) && $_SESSION['preview'] === "ON") {
-            // レイアウトデザインを取得
+            // プレビュー用のレイアウトデザインを取得
             $objLayout = new SC_Helper_PageLayout_Ex();
             $objLayout->sfGetPageLayout($this, true);
Index: branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_RefusalComplete.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_RefusalComplete.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_RefusalComplete.php	(revision 19713)
@@ -78,8 +78,4 @@
         $this->CustomerPoint = $objCustomer->getvalue('point');
 
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, "mypage/index.php");
-
         //$objView->assignobj($this);
         //$objView->display(SITE_FRAME);
Index: branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_ChangeComplete.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_ChangeComplete.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_ChangeComplete.php	(revision 19713)
@@ -71,8 +71,4 @@
         //$objView = new SC_SiteView();
         $objCustomer = new SC_Customer();
-
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, "mypage/index.php");
 
         //ログイン判定
Index: branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Favorite.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Favorite.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Favorite.php	(revision 19713)
@@ -82,8 +82,4 @@
         // 退会判定用情報の取得
         $this->tpl_login = $objCustomer->isLoginSuccess();
-
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, "mypage/index.php");
 
         // ログインチェック
Index: branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage.php	(revision 19713)
@@ -83,8 +83,4 @@
         // 退会判定用情報の取得
         $this->tpl_login = $objCustomer->isLoginSuccess();
-
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, "mypage/index.php");
 
         // ログインチェック
Index: branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_History.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_History.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_History.php	(revision 19713)
@@ -79,8 +79,4 @@
         $objDb = new SC_Helper_DB_Ex();
 
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, "mypage/index.php");
-
         // FIXME 他の画面と同様のバリデーションを行なう
         if (!SC_Utils_Ex::sfIsInt($_GET['order_id'])) {
Index: branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Refusal.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Refusal.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Refusal.php	(revision 19713)
@@ -88,9 +88,4 @@
         }
 
-
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, "mypage/index.php");
-
         if (!isset($_POST['mode'])) $_POST['mode'] = "";
 
Index: branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Delivery.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Delivery.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Delivery.php	(revision 19713)
@@ -94,8 +94,4 @@
         //}
 
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, "mypage/index.php");
-
         $mode = isset($_POST['mode']) ? $_POST['mode'] : '';
         $customerId = $objCustomer->getValue('customer_id');
Index: branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Change.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Change.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_Change.php	(revision 19713)
@@ -92,8 +92,4 @@
         $objCustomer = new SC_Customer();
         $this->tpl_login = $objCustomer->isLoginSuccess();
-
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, "mypage/index.php");
 
         // 生年月日選択肢の取得
Index: branches/version-2_5-dev/data/class/pages/unsupported/LC_Page_Unsupported.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/unsupported/LC_Page_Unsupported.php	(revision 18701)
+++ branches/version-2_5-dev/data/class/pages/unsupported/LC_Page_Unsupported.php	(revision 19713)
@@ -55,8 +55,4 @@
         $objView = new SC_MobileView();
 
-        // レイアウトデザインを取得
-        //$objHelper = new SC_Helper_PageLayout_Ex();
-        //$objHelper->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         $objView->assignobj($this);
         $objView->display($this->tpl_mainpage);
Index: branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Bloc.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Bloc.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Bloc.php	(revision 19713)
@@ -66,4 +66,6 @@
      * Page のアクション.
      *
+     * FIXME テンプレートパスの取得方法を要修正
+     *
      * @return void
      */
@@ -71,25 +73,32 @@
         $this->objLayout = new SC_Helper_PageLayout_Ex();
         $package_path = USER_TEMPLATE_PATH . "/" . TEMPLATE_NAME . "/";
-        
+
         // 認証可否の判定
         $objSess = new SC_Session();
         SC_Utils_Ex::sfIsSuccess($objSess);
 
+        // ページIDを取得
+        if (isset($_REQUEST['bloc_id']) && is_numeric($_REQUEST['bloc_id'])) {
+            $bloc_id = $_REQUEST['bloc_id'];
+        } else {
+            $bloc_id = 1;
+        }
+        $this->bloc_id = $bloc_id;
+
+        // 端末種別IDを取得
+        if (isset($_REQUEST['device_type_id'])
+            && is_numeric($_REQUEST['device_type_id'])) {
+            $device_type_id = $_REQUEST['device_type_id'];
+        } else {
+            $device_type_id = DEVICE_TYPE_PC;
+        }
+
         // ブロック一覧を取得
-        $this->arrBlocList = $this->lfgetBlocData();
-
-        // ブロックIDを取得
-        if (isset($_POST['bloc_id'])) {
-            $bloc_id = $_POST['bloc_id'];
-        }else if (isset($_GET['bloc_id'])) {
-            $bloc_id = $_GET['bloc_id'];
-        }else{
-            $bloc_id = '';
-        }
-        $this->bloc_id = $bloc_id;
+        $this->arrBlocList = $this->lfgetBlocData("device_type_id = ?", array($device_type_id));
 
         // bloc_id が指定されている場合にはブロックデータの取得
         if ($bloc_id != '') {
-            $arrBlocData = $this->lfgetBlocData(" bloc_id = ? " , array($bloc_id));
+            $arrBlocData = $this->lfGetBlocData("bloc_id = ? AND device_type_id = ?",
+                                                array($bloc_id, $device_type_id));
 
             // ユーザー作成ブロックが存在する場合
@@ -101,5 +110,5 @@
                 $arrBlocData[0]['tpl_path'] = TEMPLATE_DIR . $arrBlocData[0]['tpl_path'];
             }
-            
+
             // テンプレートファイルの読み込み
             $arrBlocData[0]['tpl_data'] = file_get_contents($arrBlocData[0]['tpl_path']);
@@ -114,11 +123,11 @@
 
         if (!isset($_POST['mode'])) $_POST['mode'] = "";
-                
+
         switch($_POST['mode']) {
         case 'preview':
             // プレビューファイル作成
             $prev_path = USER_INC_PATH . 'preview/bloc_preview.tpl';
-            // ディレクトリの作成            
-            SC_Utils::sfMakeDir($prev_path);            
+            // ディレクトリの作成
+            SC_Utils::sfMakeDir($prev_path);
             $fp = fopen($prev_path,"w");
             fwrite($fp, $_POST['bloc_html']); // FIXME いきなり POST はちょっと...
@@ -132,7 +141,7 @@
             $this->arrBlocData['filename'] = $_POST['filename'];
             $this->text_row = $_POST['html_area_row'];
-        	break;
+            break;
         case 'confirm':
-        	$this->preview = "off";
+            $this->preview = "off";
             // エラーチェック
             $this->arrErr = $this->lfErrorCheck($_POST);
@@ -148,18 +157,20 @@
                     unlink($old_bloc_path);
                 }
-				
+
                 // ファイル作成
                 $new_bloc_path = $package_path . BLOC_DIR . $_POST['filename'] . ".tpl";
-               	// ディレクトリの作成            
-            	SC_Utils::sfMakeDir($new_bloc_path);
+                // ディレクトリの作成
+                SC_Utils::sfMakeDir($new_bloc_path);
                 $fp = fopen($new_bloc_path,"w");
                 fwrite($fp, $_POST['bloc_html']); // FIXME いきなり POST はちょっと...
                 fclose($fp);
 
-                $arrBlocData = $this->lfgetBlocData(" filename = ? " , array($_POST['filename']));
+                $arrBlocData = $this->lfGetBlocData("filename = ? AND device_type_id = ?",
+                                                    array($_POST['filename'], $device_type_id));
 
                 $bloc_id = $arrBlocData[0]['bloc_id'];
                 $this->objDisplay->redirect($this->getLocation("./bloc.php",
                                             array("bloc_id" => $bloc_id,
+                                                  "device_type_id" => $device_type_id,
                                                   "msg" => "on")));
                 exit;
@@ -168,8 +179,8 @@
                 $this->arrBlocData = $_POST;
             }
-        	break;
+            break;
         case 'delete':
-        	$this->preview = "off";
-        	 // DBへデータを更新する
+            $this->preview = "off";
+             // DBへデータを更新する
             $objQuery = new SC_Query();     // DB操作オブジェクト
             $sql = "";                      // データ更新SQL生成用
@@ -183,12 +194,12 @@
             if ($_POST['bloc_id'] !== '') {
                 // SQL生成
-                $sql = " DELETE FROM dtb_bloc WHERE bloc_id = ?";
+                $sql = " DELETE FROM dtb_bloc WHERE bloc_id = ? AND device_type_id = ?";
                 // SQL実行
-                $ret = $objQuery->query($sql,array($_POST['bloc_id']));
+                $ret = $objQuery->query($sql,array($_POST['bloc_id'], $device_type_id));
 
                 // ページに配置されているデータも削除する
-                $sql = "DELETE FROM dtb_blocposition WHERE bloc_id = ?";
+                $sql = "DELETE FROM dtb_blocposition WHERE bloc_id = ? AND device_type_id = ?";
                 // SQL実行
-                $ret = $objQuery->query($sql,array($_POST['bloc_id']));
+                $ret = $objQuery->query($sql,array($_POST['bloc_id'], $device_type_id));
 
                 // ファイルの削除
@@ -198,13 +209,14 @@
                 }
             }
-            $this->objDisplay->redirect($this->getLocation("./bloc.php"));
+            $this->objDisplay->redirect($this->getLocation("./bloc.php",
+                                                           array("device_type_id" => $device_type_id)));
             exit;
-        	break;
+            break;
         default:
-        	if(isset($_POST['mode'])) {
-        	   GC_Utils::gfPrintLog("MODEエラー：".$_POST['mode']);
-        	}
-        	break;
-        }        
+            if(isset($_POST['mode'])) {
+               GC_Utils::gfPrintLog("MODEエラー：".$_POST['mode']);
+            }
+            break;
+        }
     }
 
@@ -225,32 +237,8 @@
      * @return array ブロック情報
      */
-    function lfgetBlocData($where = '', $arrVal = ''){
-        $objQuery = new SC_Query();		// DB操作オブジェクト
-        $sql = "";						// データ取得SQL生成用
-        $arrRet = array();				// データ取得用
-
-        // SQL生成
-        $sql = " SELECT ";
-        $sql .= "	bloc_id";
-        $sql .= "	,bloc_name";
-        $sql .= "	,tpl_path";
-        $sql .= "	,filename";
-        $sql .= " 	,create_date";
-        $sql .= " 	,update_date";
-        $sql .= " 	,php_path";
-        $sql .= " 	,del_flg";
-        $sql .= " FROM ";
-        $sql .= " 	dtb_bloc";
-
-        // where句の指定があれば追加
-        if ($where != '') {
-            $sql .= " WHERE " . $where;
-        }
-
-        $sql .= " ORDER BY 	bloc_id";
-
-        $arrRet = $objQuery->getAll($sql, $arrVal);
-
-        return $arrRet;
+    function lfgetBlocData($where = '', $arrVal = array()){
+        $objQuery =& SC_Query::getSingletonInstance();
+        $objQuery->setOrder("bloc_id");
+        return $objQuery->select("*", "dtb_bloc", $where, $arrVal);
     }
 
@@ -262,9 +250,9 @@
      */
     function lfEntryBlocData($arrData){
-        $objQuery = new SC_Query();		// DB操作オブジェクト
-        $sql = "";						// データ更新SQL生成用
-        $ret = ""; 						// データ更新結果格納用
-        $arrUpdData = array();			// 更新データ生成用
-        $arrChk = array();				// 排他チェック用
+        $objQuery = new SC_Query();     // DB操作オブジェクト
+        $sql = "";                      // データ更新SQL生成用
+        $ret = "";                      // データ更新結果格納用
+        $arrUpdData = array();          // 更新データ生成用
+        $arrChk = array();              // 排他チェック用
 
         // 更新データ生成
@@ -273,17 +261,18 @@
         // データが存在しているかチェックを行う
         if($arrData['bloc_id'] !== ''){
-            $arrChk = $this->lfgetBlocData("bloc_id = ?", array($arrData['bloc_id']));
-        }
-
-
-        }
+            $arrChk = $this->lfgetBlocData("bloc_id = ? AND device_type_id = ?",
+                                           array($arrData['bloc_id'], $arrData['device_type_id']));
+        }
+
         // bloc_id が空 若しくは データが存在していない場合にはINSERTを行う
         if ($arrData['bloc_id'] === '' or !isset($arrChk[0])) {
             // SQL生成
+            // FIXME device_type_id ごとの連番にする
             $arrUpdData['bloc_id'] = $objQuery->nextVal('dtb_bloc_bloc_id');
             $arrUpdData['create_date'] = "now()";
             $ret = $objQuery->insert('dtb_bloc', $arrUpdData);
         } else {
-            $ret = $objQuery->update('dtb_bloc', $arrUpdData, 'bloc_id = ?', array($arrData['bloc_id']));
+            $ret = $objQuery->update('dtb_bloc', $arrUpdData, 'bloc_id = ? AND device_type_id = ?',
+                                     array($arrData['bloc_id'], $arrData['device_type_id']));
         }
         return $ret;
Index: branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design.php	(revision 19713)
@@ -24,7 +24,4 @@
 // {{{ requires
 require_once(CLASS_PATH . "pages/admin/LC_Page_Admin.php");
-
-/** ターゲットID 未使用 */
-define('TARGET_ID_UNUSED', 0);
 
 /**
@@ -53,4 +50,6 @@
         $this->tpl_mainno = "design";
         $this->tpl_subtitle = 'レイアウト編集';
+        $masterData = new SC_DB_MasterData_Ex();
+        $this->arrTarget = $masterData->getMasterData("mtb_target");
     }
 
@@ -68,9 +67,11 @@
      * Page のアクション.
      *
+     * TODO パラメータの数値チェック
+     *
      * @return void
      */
     function action() {
-        $objSess = new SC_Session();
         $objLayout = new SC_Helper_PageLayout_Ex();
+        $objQuery =& SC_Query::getSingletonInstance();
 
         // 認証可否の判定
@@ -79,35 +80,31 @@
 
         // ページIDを取得
-        if (isset($_GET['page_id'])) {
-            $page_id = $_GET['page_id'];
-        }else if (isset($_POST['page_id'])){
-            $page_id = $_POST['page_id'];
+        if (isset($_REQUEST['page_id']) && is_numeric($_REQUEST['page_id'])) {
+            $page_id = $_REQUEST['page_id'];
+        } else {
+            $page_id = 1;
+        }
+        // 端末種別IDを取得
+        if (isset($_REQUEST['device_type_id'])
+            && is_numeric($_REQUEST['device_type_id'])) {
+            $device_type_id = $_REQUEST['device_type_id'];
+        } else {
+            $device_type_id = DEVICE_TYPE_PC;
+        }
+
+        // 編集可能ページを取得
+        $this->arrEditPage = $objLayout->lfGetPageData("page_id <> 0 AND device_type_id = ?", array($device_type_id));
+
+        // レイアウト情報を取得
+        $arrBlocPos = $objLayout->lfGetNaviData($page_id, $device_type_id);
+
+        // データの存在チェックを行う
+        $arrPageData = $objLayout->lfGetPageData("page_id = ? AND device_type_id = ?", array($page_id, $device_type_id));
+
+        if (count($arrPageData) <= 0) {
+            $this->exists_page = 0;
         }else{
-            $page_id = 1;
-        }
-
-        // 編集可能ページを取得
-        $this->arrEditPage = $objLayout->lfgetPageData();
-
-        // ブロック配置用データを取得
-        $sel   = ", pos.target_id, pos.bloc_id, pos.bloc_row ,pos.anywhere";
-        $from  = ", dtb_blocposition AS pos";
-        $where = " where ";
-        $where .= "( pos.anywhere = 1 OR (lay.device_type_id = ? AND lay.page_id = ? AND ";
-        $where .= "lay.page_id = pos.page_id AND exists (select bloc_id from dtb_bloc as blc where pos.bloc_id = blc.bloc_id) )) ORDER BY lay.page_id,pos.target_id, pos.bloc_row, pos.bloc_id ";
-        //        $where .= "((lay.page_id = ? AND ";
-        //        $where .= "lay.page_id = pos.page_id AND exists (select bloc_id from dtb_bloc as blc where pos.bloc_id = blc.bloc_id) )) ORDER BY lay.page_id,pos.target_id, pos.bloc_row, pos.bloc_id ";
-
-        $arrData = array($_GET['device_type_id'], $page_id);
-        $arrBlocPos = $this->lfgetLayoutData($sel, $from, $where, $arrData );
-
-        // データの存在チェックを行う
-        $arrPageData = $objLayout->lfgetPageData("page_id = ?", array($page_id));
-        if (count($arrPageData) <= 0) {
-            $exists_page = 0;
-        }else{
-            $exists_page = 1;
-        }
-        $this->exists_page = $exists_page;
+            $this->exists_page = 1;
+        }
 
         // メッセージ表示
@@ -117,61 +114,61 @@
 
         // ブロックを取得
-        $arrBloc = $this->lfgetBlocData();
+        $arrBloc = $objQuery->select("*", "dtb_bloc", "device_type_id = ?", array($device_type_id));
 
         if (!isset($_POST['mode'])) $_POST['mode'] = "";
 
+        switch ($_POST['mode']) {
         // 新規ブロック作成
-        if ($_POST['mode'] == 'new_bloc') {
+        case 'new_bloc':
             $this->objDisplay->redirect($this->getLocation("./bloc.php"));
             exit;
-        }
+            break;
 
         // 新規ページ作成
-        if ($_POST['mode'] == 'new_page') {
+        case 'new_page':
             $this->objDisplay->redirect($this->getLocation("./main_edit.php"));
             exit;
-        }
-
-        // データ登録処理
-        if ($_POST['mode'] == 'confirm' or $_POST['mode'] == 'preview') {
+            break;
+
+        case 'confirm':
+        case 'preview':
             $page_id = $_POST['page_id'];
             if ($_POST['mode'] == 'preview') {
                 $page_id = '0';
             }
-            $masterData = new SC_DB_MasterData_Ex();
-            $arrTarget = $masterData->getMasterData("mtb_target");
 
             // 更新用にデータを整える
             $arrUpdBlocData = array();
-            $arrTargetFlip = array_flip($arrTarget);
-
-            $upd_cnt = 1;
-            $arrUpdData[$upd_cnt]['page_id'] = $page_id;
+
+            // delete実行
+            $arrRet = $objQuery->delete("dtb_blocposition",
+                                        "page_id = ? AND device_type_id = ?",
+                                        array($page_id, $device_type_id));
+
+            $arrTargetFlip = array_flip($this->arrTarget);
 
             // POSTのデータを使いやすいように修正
-            for($upd_cnt = 1; $upd_cnt <= $_POST['bloc_cnt']; $upd_cnt++){
+            for ($upd_cnt = 1; $upd_cnt <= $_POST['bloc_cnt']; $upd_cnt++) {
                 if (!isset($_POST['id_'.$upd_cnt])) {
                     break;
                 }
-                $arrUpdBlocData[$upd_cnt]['name']       = $_POST['name_'.$upd_cnt];                         // ブロック名称
-                $arrUpdBlocData[$upd_cnt]['id']         = $_POST['id_'.$upd_cnt];                           // ブロックID
-                $arrUpdBlocData[$upd_cnt]['target_id']  = $arrTargetFlip[$_POST['target_id_'.$upd_cnt]];    // ターゲットID
-                $arrUpdBlocData[$upd_cnt]['top']        = $_POST['top_'.$upd_cnt];                          // TOP座標
-                $arrUpdBlocData[$upd_cnt]['anywhere']   = $_POST['anywhere_'.$upd_cnt];                     // 全ページ適用か
-                $arrUpdBlocData[$upd_cnt]['update_url'] = $_SERVER['HTTP_REFERER'];                         // 更新URL
-
-            }
-
-            // データの更新を行う
-            $objQuery = new SC_Query();     // DB操作オブジェクト
-            $arrRet = array();              // データ取得用
-
-            // delete実行
-            $del_sql = "";
-            $del_sql .= "DELETE FROM dtb_blocposition WHERE page_id = ? ";
-            $arrRet = $objQuery->query($del_sql,array($page_id));
+
+                // ブロック名称
+                $arrUpdBlocData[$upd_cnt]['name']       = $_POST['name_'.$upd_cnt];
+                // ブロックID
+                $arrUpdBlocData[$upd_cnt]['id']         = $_POST['id_'.$upd_cnt];
+                // ターゲットID
+                $arrUpdBlocData[$upd_cnt]['target_id']  = $arrTargetFlip[$_POST['target_id_'.$upd_cnt]];
+                // TOP座標
+                $arrUpdBlocData[$upd_cnt]['top']        = $_POST['top_'.$upd_cnt];
+                // 全ページ適用か
+                $arrUpdBlocData[$upd_cnt]['anywhere']   = $_POST['anywhere_'.$upd_cnt];
+                // 更新URL
+                $arrUpdBlocData[$upd_cnt]['update_url'] = $_SERVER['HTTP_REFERER'];
+            }
+
 
             // ブロックの順序を取得し、更新を行う
-            foreach($arrUpdBlocData as $key => $val){
+            foreach ($arrUpdBlocData as $key => $val) {
                 if ($arrUpdBlocData[$key]['target_id'] == TARGET_ID_UNUSED) {
                     continue;
@@ -179,43 +176,30 @@
 
                 // ブロックの順序を取得
-                $bloc_row = $this->lfGetRowID($arrUpdBlocData, $val);
-                $arrUpdBlocData[$key]['bloc_row'] = $bloc_row;
-                $arrUpdBlocData[$key]['page_id']    =  $page_id;    // ページID
-
-                // insert文生成
-                $ins_sql = "";
-                $ins_sql .= "INSERT INTO dtb_blocposition ";
-                $ins_sql .= " values ( ";
-                $ins_sql .= "   ?  ";           // ページID
-                $ins_sql .= "   ,? ";           // ターゲットID
-                $ins_sql .= "   ,? ";           // ブロックID
-                $ins_sql .= "   ,? ";           // ブロックの並び順序
-                $ins_sql .= "   ,(SELECT filename FROM dtb_bloc WHERE bloc_id = ?) ";           // ファイル名称
-                $ins_sql .= "   ,? ";           // 全ページフラグ
-                $ins_sql .= "   )  ";
+                $arrUpdBlocData[$key]['bloc_row'] = $this->lfGetRowID($arrUpdBlocData, $val);
 
                 // insertデータ生成
-                $arrInsData = array($page_id,
-                    $arrUpdBlocData[$key]['target_id'],
-                    $arrUpdBlocData[$key]['id'],
-                    $arrUpdBlocData[$key]['bloc_row'],
-                    $arrUpdBlocData[$key]['id'],
-                    $arrUpdBlocData[$key]['anywhere'] ? 1 : 0
-                );
-                $count = $objQuery->getOne("SELECT COUNT(*) FROM dtb_blocposition WHERE anywhere = 1 AND bloc_id = ?",array($arrUpdBlocData[$key]['id']));
-
-                if($arrUpdBlocData[$key]['anywhere'] == 1){
-                    $count = $objQuery->getOne("SELECT COUNT(*) FROM dtb_blocposition WHERE anywhere = 1 AND bloc_id = ?",array($arrUpdBlocData[$key]['id']));
-                    if($count != 0){
+                $arrInsData = array('device_type_id' => $device_type_id,
+                                    'page_id' => $page_id,
+                                    'target_id' => $arrUpdBlocData[$key]['target_id'],
+                                    'bloc_id' => $arrUpdBlocData[$key]['id'],
+                                    'bloc_row' => $arrUpdBlocData[$key]['bloc_row'],
+                                    'anywhere' => $arrUpdBlocData[$key]['anywhere'] ? 1 : 0);
+                $count = $objQuery->getOne("SELECT COUNT(*) FROM dtb_blocposition WHERE anywhere = 1 AND bloc_id = ? AND device_type_id = ?",
+                                           array($arrUpdBlocData[$key]['id'], $device_type_id));
+
+                if ($arrUpdBlocData[$key]['anywhere'] == 1) {
+                    $count = $objQuery->getOne("SELECT COUNT(*) FROM dtb_blocposition WHERE anywhere = 1 AND bloc_id = ? AND device_type_id = ?",
+                                               array($arrUpdBlocData[$key]['id'], $device_type_id));
+                    if ($count != 0) {
                         continue;
-                    }else{
                     }
-                }else{
-                    if($count > 0){
-                        $objQuery->query("DELETE FROM dtb_blocposition WHERE anywhere = 1 AND bloc_id = ?",array($arrUpdBlocData[$key]['id']));
+                } else {
+                    if ($count > 0) {
+                        $objQuery->query("DELETE FROM dtb_blocposition WHERE anywhere = 1 AND bloc_id = ? AND device_type_id = ?",
+                                         array($arrUpdBlocData[$key]['id'], $device_type_id));
                     }
                 }
                 // SQL実行
-                $arrRet = $objQuery->query($ins_sql,$arrInsData);
+                $arrRet = $objQuery->insert("dtb_blocposition", $arrInsData);
             }
 
@@ -233,18 +217,23 @@
                 exit;
 
-            }else{
+            } else {
                 $this->objDisplay->redirect($this->getLocation(DIR_INDEX_URL,
-                array("page_id" => $page_id,
-                                                  "msg" => "on")));
+                                                               array("device_type_id" => $device_type_id, "page_id" => $page_id, "msg" => "on")));
                 exit;
 
             }
-        }
-
-        // データ削除処理 ベースデータでなければファイルを削除
-        if ($_POST['mode'] == 'delete' and  !$objLayout->lfCheckBaseData($page_id)) {
-            $objLayout->lfDelPageData($page_id);
-            $this->objDisplay->redirect($this->getLocation(DIR_INDEX_URL));
-            exit;
+        break;
+
+        // データ削除処理
+        case 'delete':
+            //ベースデータでなければファイルを削除
+            if (!$objLayout->lfCheckBaseData($page_id, $device_type_id)) {
+                $objLayout->lfDelPageData($page_id, $device_type_id);
+                $this->objDisplay->redirect($this->getLocation(DIR_INDEX_URL));
+                exit;
+            }
+        break;
+
+        default:
         }
 
@@ -257,8 +246,6 @@
                 $tpl_arrBloc = $this->lfSetBlocData($arrBloc, $val, $tpl_arrBloc, $cnt);
                 $cnt++;
-            }else{
-            }
-        }
-
+            }
+        }
         // 未使用のブロックデータを追加
         foreach($arrBloc as $key => $val){
@@ -267,5 +254,4 @@
                 $tpl_arrBloc = $this->lfSetBlocData($arrBloc, $val, $tpl_arrBloc, $cnt);
                 $cnt++;
-            }else{
             }
         }
@@ -276,5 +262,5 @@
 
         // ページ名称を取得
-        $arrPageData = $objLayout->lfgetPageData(' page_id = ?', array($page_id));
+        $arrPageData = $objLayout->lfGetPageData('page_id = ? AND device_type_id = ?', array($page_id, $device_type_id));
         $this->arrPageData = $arrPageData[0];
 
@@ -301,101 +287,15 @@
 
     /**
-     * 編集可能なページ情報を取得する.
-     *
-     * @param string $sel Select句文
-     * @param string $where Where句文
-     * @param array $arrVa Where句の絞込条件値
-     * @return array ページレイアウト情報の配列
-     */
-    function lfgetLayoutData($sel = '' , $from = '', $where = '', $arrVal = ''){
-        $objQuery = new SC_Query();     // DB操作オブジェクト
-        $sql = "";                      // データ取得SQL生成用
-        $arrRet = array();              // データ取得用
-
-        // SQL生成
-
-        $sql = "";
-        $sql .= " select ";
-        $sql .= "     lay.page_id ";
-        $sql .= "     ,lay.page_name ";
-        $sql .= "     ,lay.url ";
-        $sql .= "     ,lay.author ";
-        $sql .= "     ,lay.description ";
-        $sql .= "     ,lay.keyword ";
-        $sql .= "     ,lay.update_url ";
-        $sql .= "     ,lay.create_date ";
-        $sql .= "     ,lay.update_date ";
-
-        // Select句の指定があれば追加
-        if ($sel != '') {
-            $sql .= $sel;
-        }
-
-        $sql .= " from dtb_pagelayout AS lay ";
-        // From句の指定があれば追加
-        if ($from != '') {
-            $sql .= $from;
-        }
-
-        // where句の指定があれば追加
-        if ($where != '') {
-            $sql .= $where;
-        }else{
-            $sql .= " ORDER BY lay.page_id ";
-        }
-
-        $arrRet = $objQuery->getAll($sql, $arrVal);
-
-        return $arrRet;
-    }
-
-    /**
-     * ブロック情報を取得する.
-     *
-     * @param string $where Where句文
-     * @param array $arrVal Where句の絞込条件値
-     * @return array ブロック情報の配列
-     */
-    function lfgetBlocData($where = '', $arrVal = ''){
-        $objQuery = new SC_Query();     // DB操作オブジェクト
-        $sql = "";                      // データ取得SQL生成用
-        $arrRet = array();              // データ取得用
-
-        // SQL生成
-        $sql = "";
-        $sql .= " SELECT ";
-        $sql .= "   bloc_id";
-        $sql .= "   ,bloc_name";
-        $sql .= "   ,tpl_path";
-        $sql .= "   ,filename";
-        $sql .= "   ,update_date";
-        $sql .= " FROM ";
-        $sql .= "   dtb_bloc";
-
-        // where句の指定があれば追加
-        if ($where != '') {
-            $sql .= " WHERE " . $where;
-        }
-
-        $sql .= " ORDER BY  bloc_id";
-
-        $arrRet = $objQuery->getAll($sql, $arrVal);
-
-        return $arrRet;
-    }
-
-    /**
      * ブロック情報の配列を生成する.
      *
      * @param array $arrBloc Bloc情報
      * @param array $tpl_arrBloc データをセットする配列
+     * @param array $val DBから取得したブロック情報
      * @param integer $cnt 配列番号
      * @return array データをセットした配列
      */
     function lfSetBlocData($arrBloc, $val, $tpl_arrBloc, $cnt) {
-        $masterData = new SC_DB_MasterData_Ex();
-        $arrTarget = $masterData->getMasterData("mtb_target");
-
-        $tpl_arrBloc[$cnt]['target_id'] = $arrTarget[$val['target_id']];
+
+        $tpl_arrBloc[$cnt]['target_id'] = $this->arrTarget[$val['target_id']];
         $tpl_arrBloc[$cnt]['bloc_id'] = $val['bloc_id'];
         $tpl_arrBloc[$cnt]['bloc_row'] =
@@ -457,4 +357,6 @@
     /**
      * プレビューするデータを DB に保存する.
+     *
+     * FIXME
      *
      * @param array $arrPageData ページ情報の配列
@@ -500,5 +402,5 @@
         // 更新データの取得
         $sql = "select page_id,page_name, header_chk, footer_chk from dtb_pagelayout where page_id = ? OR page_id = (SELECT page_id FROM dtb_blocposition WHERE anywhere = 1)" ;
-        
+
         $ret = $objQuery->getAll($sql, array($arrPageData[0]['page_id']));
 
@@ -523,5 +425,5 @@
         ,$filename
 //      ,$ret[0]['anywhere']
-         
+
         );
 
Index: branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_CSS.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_CSS.php	(revision 19670)
+++ branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_CSS.php	(revision 19713)
@@ -65,4 +65,6 @@
     /**
      * Page のアクション.
+     *
+     * FIXME css ファイルの取得方法を要修正
      *
      * @return void
Index: branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Header.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Header.php	(revision 19670)
+++ branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Header.php	(revision 19713)
@@ -65,4 +65,6 @@
     /**
      * Page のアクション.
+     *
+     * FIXME テンプレートの取得方法を要修正
      *
      * @return void
Index: branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_MainEdit.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_MainEdit.php	(revision 19670)
+++ branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_MainEdit.php	(revision 19713)
@@ -76,17 +76,24 @@
         SC_Utils_Ex::sfIsSuccess($objSess);
 
+        // ページIDを取得
+        if (isset($_REQUEST['page_id']) && is_numeric($_REQUEST['page_id'])) {
+            $page_id = $_REQUEST['page_id'];
+        } else {
+            $page_id = 1;
+        }
+
+        $this->page_id = $page_id;
+
+        // 端末種別IDを取得
+        if (isset($_REQUEST['device_type_id'])
+            && is_numeric($_REQUEST['device_type_id'])) {
+            $device_type_id = $_REQUEST['device_type_id'];
+        } else {
+            $device_type_id = DEVICE_TYPE_PC;
+        }
+
         // ページ一覧を取得
-        $this->arrPageList = $this->objLayout->lfgetPageData();
-        
-        // ブロックIDを取得
-        if (isset($_POST['page_id'])) {
-            $page_id = $_POST['page_id'];
-        }else if (isset($_GET['page_id'])){
-            $page_id = $_GET['page_id'];
-        }else{
-            $page_id = '';
-        }
-
-        $this->page_id = $page_id;
+        $this->arrPageList = $this->objLayout->lfgetPageData("page_id <> 0 AND device_type_id = ?",
+                                                             array($device_type_id));
 
         // メッセージ表示
@@ -101,20 +108,21 @@
 
         if (!isset($_POST['mode'])) $_POST['mode'] = "";
-        
-        // プレビュー処理
-        if ($_POST['mode'] == 'preview') {
-            $this->lfPreviewPageData($page_id);
-            exit;
-        }
-
-        // データ登録処理
-        if ($_POST['mode'] == 'confirm') {
+
+        switch ($_POST['mode']) {
+            case 'preview':
+                $this->lfPreviewPageData($page_id);
+                exit;
+                break;
+
+        case 'delete':
+            if (!$this->objLayout->lfCheckBaseData($page_id)) {
+                $this->lfDeletePageData($page_id);
+                exit;
+            }
+            break;
+
+        case 'confirm':
             $this->lfConfirmPageData($page_id);
-        }
-
-        // データ削除処理 ベースデータでなければファイルを削除
-        if ($_POST['mode'] == 'delete' and !$this->objLayout->lfCheckBaseData($page_id)) {
-            $this->lfDeletePageData($page_id);
-            exit;
+        default:
         }
     }
@@ -133,9 +141,11 @@
      *
      * @param integer $page_id ページID
+     * @param integer $device_type_id 端末種別ID
      * @param object $objView ビューオブジェクト
      * @return void
      */
-    function lfGetPageData($page_id, $objView){
-        $arrPageData = $this->objLayout->lfgetPageData(" page_id = ? " , array($page_id));
+    function lfGetPageData($page_id, $device_type_id, $objView){
+        $arrPageData = $this->objLayout->lfGetPageData("page_id = ? AND device_type_id = ?",
+                                                       array($page_id, $device_type_id));
 
         if (strlen($arrPageData[0]['filename']) == 0) {
@@ -147,4 +157,5 @@
         }
 
+        // FIXME
         // テンプレートファイルが存在していれば読み込む
         $tpl_file =  USER_TEMPLATE_PATH . "/" . TEMPLATE_NAME . "/" . $arrPageData[0]['filename'] . ".tpl";
@@ -170,7 +181,8 @@
      *
      * @param integer $page_id ページID
-     * @return void
-     */
-    function lfPreviewPageData($page_id){
+     * @param integer $device_type_id 端末種別ID
+     * @return void
+     */
+    function lfPreviewPageData($page_id, $device_type_id) {
 
         $page_id_old = $page_id;
@@ -184,5 +196,6 @@
         $tmpPost['tpl_dir'] = USER_PATH . "templates/preview/";
         
-        $arrPreData = $this->objLayout->lfgetPageData("page_id = ?" , array($page_id));
+        $arrPreData = $this->objLayout->lfGetPageData("page_id = ? AND device_type_id = ?",
+                                                      array($page_id, $device_type_id));
         
         // tplファイルの削除 (XXX: 処理の意図が不明。存在していると都合が悪いファイル?)
@@ -234,7 +247,8 @@
      *
      * @param integer $page_id ページID
-     * @return void
-     */
-    function lfConfirmPageData($page_id){
+     * @param integer $device_type_id 端末種別ID
+     * @return void
+     */
+    function lfConfirmPageData($page_id, $device_type_id) {
         // エラーチェック
         $this->arrErr = $this->lfErrorCheck($_POST);
@@ -246,9 +260,10 @@
 
             // ベースデータでなければファイルを削除し、PHPファイルを作成する
-            if (!$this->objLayout->lfCheckBaseData($page_id)) {
+            if (!$this->objLayout->lfCheckBaseData($page_id, $device_type_id)) {
                 // PHPファイル作成
                 $this->lfCreatePHPFile($_POST['url']);
             }
 
+            // FIXME
             // TPLファイル作成
             $cre_tpl = USER_TEMPLATE_PATH . "/" . TEMPLATE_NAME . "/" . basename($_POST['url']) . '.tpl';
@@ -258,9 +273,10 @@
             if ($page_id == '') {
                 // ページIDを取得する
-                $arrPageData = $this->objLayout->lfgetPageData(" url = ? AND page_id <> 0" , array(USER_DIR . $_POST['url'] . '.php'));
+                $arrPageData = $this->objLayout->lfGetPageData("url = ? AND page_id <> 0" , array(USER_DIR . $_POST['url'] . '.php'));
                 $page_id = $arrPageData[0]['page_id'];
             }
             $this->objDisplay->redirect($this->getLocation("./main_edit.php",
                                     array("page_id" => $page_id,
+                                          "device_type_id" => $device_type_id,
                                           "msg"     => "on")));
             exit;
@@ -281,5 +297,5 @@
      * @return void
      */
-    function lfEntryPageData($arrData){
+    function lfEntryPageData($arrData, $device_type_id){
         $objQuery = new SC_Query();
         $arrChk = array();          // 排他チェック用
@@ -290,10 +306,13 @@
         // データが存在しているかチェックを行う
         if($arrData['page_id'] !== ''){
-            $arrChk = $this->objLayout->lfgetPageData("page_id = ?", array($arrData['page_id']));
+            $arrChk = $this->objLayout->lfgetPageData("page_id = ? AND device_type_id = ?",
+                                                      array($arrData['page_id'], $device_type_id));
         }
 
         // page_id が空 若しくは データが存在していない場合にはINSERTを行う
         if ($arrData['page_id'] === '' or !isset($arrChk[0])) {
+            // FIXME device_type_id ごとの連番にする
             $sqlval['page_id'] = $objQuery->nextVal('dtb_pagelayout_page_id');
+            $sqlval['device_type_id'] = $device_type_id;
             $sqlval['create_date'] = 'now()';
             $objQuery->insert('dtb_pagelayout', $sqlval);
@@ -301,5 +320,6 @@
         // データが存在してる場合にはアップデートを行う
         else {
-            $objQuery->update('dtb_pagelayout', $sqlval, 'page_id = ?', array($arrData['page_id']));
+            $objQuery->update('dtb_pagelayout', $sqlval, 'page_id = ? AND device_type_id = ?',
+                              array($arrData['page_id'], $device_type_id));
         }
     }
@@ -342,7 +362,8 @@
      * @return void
      */
-    function lfDeletePageData($page_id){
-        $this->objLayout->lfDelPageData($_POST['page_id']);
-        $this->objDisplay->redirect($this->getLocation("./main_edit.php"));
+    function lfDeletePageData($page_id, $device_type_id){
+        $this->objLayout->lfDelPageData($page_id, $device_type_id);
+        $this->objDisplay->redirect($this->getLocation("./main_edit.php",
+                                                       array("device_type_id" => $device_type_id)));
     }
 
@@ -357,5 +378,5 @@
         $objErr->doFunc(array("名称", "page_name", STEXT_LEN), array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK"));
         $objErr->doFunc(array("URL", "url", STEXT_LEN), array("EXIST_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK"));
-        
+
         // URLチェック
         $okUrl = true;
@@ -371,5 +392,5 @@
             $objErr->arrErr['url'] = "※ URLを正しく入力してください。<br />";
         }
-        
+
         // 同一のURLが存在している場合にはエラー
         $params = array();
Index: branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php	(revision 19670)
+++ branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php	(revision 19713)
@@ -85,4 +85,6 @@
     /**
      * Page のアクション.
+     *
+     * FIXME ロジックを見直し
      *
      * @return void
Index: branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Up_Down.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Up_Down.php	(revision 19670)
+++ branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Up_Down.php	(revision 19713)
@@ -68,4 +68,6 @@
     /**
      * Page のアクション.
+     *
+     * FIXME ロジックを見直し
      *
      * @return void
Index: branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact_Complete.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact_Complete.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact_Complete.php	(revision 19713)
@@ -65,7 +65,5 @@
      */
     function action() {
-        // レイアウトデザインを取得
-        $layout = new SC_Helper_PageLayout_Ex();
-        $layout->sfGetPageLayout($this, false, DEF_LAYOUT);
+        // do nothing...
     }
 
Index: branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact.php	(revision 19713)
@@ -98,8 +98,4 @@
 
         $this->arrData = isset($_SESSION['customer']) ? $_SESSION['customer'] : "";
-
-        // レイアウトデザインを取得
-        $layout = new SC_Helper_PageLayout_Ex();
-        $layout->sfGetPageLayout($this, false, DEF_LAYOUT);
 
         if (!isset($_POST['mode'])) $_POST['mode'] = "";
Index: branches/version-2_5-dev/data/class/pages/regist/LC_Page_Regist_Complete.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/regist/LC_Page_Regist_Complete.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/regist/LC_Page_Regist_Complete.php	(revision 19713)
@@ -70,8 +70,4 @@
         $objQuery = new SC_Query();
         $objCampaignSess = new SC_CampaignSession();
-
-        // レイアウトデザインを取得
-        $helper = new SC_Helper_PageLayout_Ex();
-        $helper->sfGetPageLayout($this, false, DEF_LAYOUT);
     }
 
Index: branches/version-2_5-dev/data/class/pages/abouts/LC_Page_Abouts.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/abouts/LC_Page_Abouts.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/abouts/LC_Page_Abouts.php	(revision 19713)
@@ -68,8 +68,4 @@
      */
     function action() {
-        // レイアウトデザインを取得
-        $layout = new SC_Helper_PageLayout_Ex();
-        $layout->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         $this->objSiteInfo = new SC_SiteInfo();
         $this->objSiteInfo->data['pref'] =
Index: branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Charge.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Charge.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Charge.php	(revision 19713)
@@ -70,8 +70,4 @@
      */
     function mobileProcess() {
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         $objView = new SC_MobileView();
         $objView->assignobj($this);
Index: branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_About.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_About.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_About.php	(revision 19713)
@@ -70,8 +70,4 @@
      */
     function mobileProcess() {
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         $objView = new SC_MobileView();
         $objView->assignobj($this);
Index: branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Order.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Order.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Order.php	(revision 19713)
@@ -82,8 +82,4 @@
                 break;
         }
-
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
         $this->arrRet = $objDb->sfGetBasisData();
 
Index: branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Kiyaku.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Kiyaku.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Kiyaku.php	(revision 19713)
@@ -70,8 +70,4 @@
      */
     function mobileProcess() {
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         // 利用規約を取得する。
         $this->lfGetKiyaku(intval(@$_GET['page']), $this);
Index: branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Privacy.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Privacy.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Privacy.php	(revision 19713)
@@ -70,8 +70,4 @@
      */
     function mobileProcess() {
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         $objView = new SC_MobileView();
         $objView->assignobj($this);
Index: branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide.php	(revision 19713)
@@ -70,8 +70,4 @@
      */
     function mobileProcess() {
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         $objView = new SC_MobileView();
         $objView->assignobj($this);
Index: branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Usage.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Usage.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/guide/LC_Page_Guide_Usage.php	(revision 19713)
@@ -80,8 +80,4 @@
         }
 
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         $objView = new SC_MobileView();
         $objView->assignobj($this);
Index: branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry.php	(revision 19713)
@@ -181,8 +181,4 @@
             SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);
         }
-
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
 
         //---- 登録用カラム配列
@@ -393,8 +389,4 @@
         }
 
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         //---- 登録用カラム配列
         $arrRegistColumn = array(
Index: branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_Complete.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_Complete.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_Complete.php	(revision 19713)
@@ -79,8 +79,4 @@
             SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true);
         }
-
-        // レイアウトデザインを取得
-        $layout = new SC_Helper_PageLayout_Ex();
-        $layout->sfGetPageLayout($this, false, DEF_LAYOUT);
     }
 
@@ -110,7 +106,5 @@
      */
     function mobileAction() {
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
+        // do nothing...
     }
 
Index: branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_Kiyaku.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_Kiyaku.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_Kiyaku.php	(revision 19713)
@@ -66,8 +66,4 @@
         $objCustomer = new SC_Customer();
 
-        // レイアウトデザインを取得
-        $layout = new SC_Helper_PageLayout_Ex();
-        $layout->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         // 規約内容の取得
         $objQuery = new SC_Query();
@@ -113,8 +109,4 @@
         $next = $offset;
 
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         // 規約内容の取得
         $objQuery = new SC_Query();
Index: branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_CategoryList.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_CategoryList.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_CategoryList.php	(revision 19713)
@@ -96,8 +96,4 @@
         //$objView = new SC_MobileView();
 
-        // レイアウトデザインを取得
-        $objLayout = new SC_Helper_PageLayout_Ex();
-        $objLayout->sfGetPageLayout($this, false, DEF_LAYOUT);
-
         // カテゴリー情報を取得する。
         $this->lfGetCategories(@$_GET['category_id'], true, $this);
Index: branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php	(revision 19713)
@@ -136,8 +136,4 @@
             $this->arrSearch['name'] = $this->arrSearchData['name'];
         }
-
-        // レイアウトデザインを取得
-        $layout = new SC_Helper_PageLayout_Ex();
-        $layout->sfGetPageLayout($this, false, "products/list.php");
 
         foreach ($this->arrProducts as $arrProduct) {
Index: branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php	(revision 19713)
@@ -97,8 +97,4 @@
         $objDb = new SC_Helper_DB_Ex();
 
-        // レイアウトデザインを取得
-        $helper = new SC_Helper_PageLayout_Ex();
-        $helper->sfGetPageLayout($this, false, "products/detail.php");
-
         // ログイン中のユーザが商品をお気に入りにいれる処理
         if ($objCustomer->isLoginSuccess() === true && strlen($_POST['mode']) > 0 && $_POST['mode'] == "add_favorite" && strlen($_POST['favorite_product_id']) > 0 ) {
Index: branches/version-2_5-dev/data/class/SC_Initial.php
===================================================================
--- branches/version-2_5-dev/data/class/SC_Initial.php	(revision 19670)
+++ branches/version-2_5-dev/data/class/SC_Initial.php	(revision 19713)
@@ -63,5 +63,5 @@
 
     /**
-     * 初期設定ファイルを読み込む.
+     * 初期設定ファイルを読み込み, パスの設定を行う.
      *
      * @access protected
@@ -71,4 +71,18 @@
 
         require_once(realpath(dirname( __FILE__)) ."/../install.php");
+
+        define('MOBILE_DIR', 'mobile/');
+        define('MOBILE_HTML_PATH', HTML_PATH . MOBILE_DIR);
+        define('MOBILE_SITE_URL', SITE_URL . MOBILE_DIR);
+        define('MOBILE_SSL_URL', SSL_URL . MOBILE_DIR);
+        define('MOBILE_URL_DIR', URL_DIR . MOBILE_DIR);
+
+        define('SMARTPHONE_DIR', 'sphone/');
+        define('SMARTPHONE_HTML_PATH', HTML_PATH . SMARTPHONE_DIR);
+        define('SMARTPHONE_SITE_URL', SITE_URL . SMARTPHONE_DIR);
+        define('SMARTPHONE_SSL_URL', SSL_URL . SMARTPHONE_DIR);
+        define('SMARTPHONE_URL_DIR', URL_DIR . SMARTPHONE_DIR);
+
+        define('ADMIN_DIR', 'admin/'); // TODO
     }
 
@@ -220,4 +234,8 @@
             if (!file_exists(MOBILE_COMPILE_DIR)) {
                 mkdir(MOBILE_COMPILE_DIR);
+            }
+
+            if (!file_exists(SMARTPHONE_COMPILE_DIR)) {
+                mkdir(SMARTPHONE_COMPILE_DIR);
             }
 
Index: branches/version-2_5-dev/data/class/helper/SC_Helper_PageLayout.php
===================================================================
--- branches/version-2_5-dev/data/class/helper/SC_Helper_PageLayout.php	(revision 19711)
+++ branches/version-2_5-dev/data/class/helper/SC_Helper_PageLayout.php	(revision 19713)
@@ -39,10 +39,11 @@
      * LC_Page オブジェクトにページのレイアウト情報をセットする.
      *
-     * @param LC_Page $objPage ページ情報
+     * @param LC_Page $objPage ページ情報のインスタンス
      * @param boolean $preview プレビュー表示の場合 true
-     * @param string $url ページのURL
+     * @param string $url ページのURL($_SERVER['PHP_SELF'] の情報)
+     * @param integer $device_type_id 端末種別ID
      * @return void
      */
-    function sfGetPageLayout(&$objPage, $preview = false, $url = ""){
+    function sfGetPageLayout(&$objPage, $preview = false, $url = "", $device_type_id = DEVICE_TYPE_PC) {
         $debug_message = "";
         $arrPageLayout = array();
@@ -50,76 +51,54 @@
         // 現在のURLの取得
         if ($preview === false) {
-            if ($url == "") {
-                $url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
-            }
-            
-            $url = preg_replace('|^http://[^/]+' . preg_quote(URL_DIR) . '|', '', $url);
+            $url = preg_replace('|^' . preg_quote(URL_DIR) . '|', '', $url);
+
             // URLを元にページデザインを取得
-            $arrPageData = $this->lfgetPageData("url = ? AND page_id <> 0" , array($url));
+            $arrPageData = $this->lfGetPageData("device_type_id = ? AND url = ? AND page_id <> 0" , array($device_type_id, $url));
         } else {
-            $arrPageData = $this->lfgetPageData("page_id = 0");
-            $objPage->tpl_mainpage = USER_PATH . "templates/preview/"
-                . TEMPLATE_NAME . "/" . $arrPageData[0]['filename'] . ".tpl";
-        }
-
-        if (!empty($arrPageData[0])) {
-            foreach($arrPageData[0] as $key => $val) {
-                $debug_message.= "arrPageData[$key]：" . $val . "\n";
-            }
-        }
-        
-        $debug_message.= "TEMPLATE_NAME：".TEMPLATE_NAME . "\n";
-        
+            // TODO
+            $arrPageData = $this->lfGetPageData("device_type_id = ? AND page_id = 0", array($device_type_id));
+            $objPage->tpl_mainpage = $this->getTemplatePath($device_type_id, true) 
+                . "preview/" . $arrPageData[0]['filename'] . ".tpl";
+        }
+
+        $arrPageLayout = $arrPageData[0];
+
         // tpl_mainpageの設定なし、又はトップページの場合
         if (!isset($objPage->tpl_mainpage) || $url == "index.php") {
             // ユーザテンプレートのパスを取得
-            $user_tpl =  HTML_PATH . USER_DIR . USER_PACKAGE_DIR . TEMPLATE_NAME . "/" . $arrPageData[0]['filename'] . ".tpl";
-            $debug_message.= "ユーザテンプレートチェック：".$user_tpl."\n";
-            
+            $user_tpl =  $this->getTemplatePath($device_type_id, true)
+                . $arrPageLayout['filename'] . ".tpl";
+
             // ユーザテンプレートの存在チェック
             if (is_file($user_tpl)) {
                 $objPage->tpl_mainpage = $user_tpl;
-                $debug_message.= "tpl_mainpage：ユーザーテンプレート\n";
+            }
             // 存在しない場合は指定テンプレートを使用
-            } else {
-                $objPage->tpl_mainpage = TEMPLATE_DIR . $arrPageData[0]['filename'] . ".tpl";
-                $debug_message.= "tpl_mainpage：標準テンプレート\n";
-            }
-        } else {
-            $debug_message.= "tpl_mainpage：設定あり" . "\n";
-        }
-        
-        $debug_message.= "tpl_mainpage：" . $objPage->tpl_mainpage . "\n";
+            else {
+                $objPage->tpl_mainpage = $this->getTemplatePath($device_type_id)
+                    . $arrPageLayout['filename'] . ".tpl";
+            }
+        }
 
         // ページタイトルを設定
         if (!isset($objPage->tpl_title)) {
-            $objPage->tpl_title = $arrPageData[0]['page_name'];
-        }
-
-        $arrPageLayout = $arrPageData[0];
+            $objPage->tpl_title = $arrPageLayout['page_name'];
+        }
 
         // 全ナビデータを取得する
-        $arrNavi = $this->lfGetNaviData($arrPageLayout['page_id']);
-
-        $arrPageLayout['LeftNavi']  = $this->lfGetNavi($arrNavi,1);    // LEFT NAVI
-        $arrPageLayout['MainHead']  = $this->lfGetNavi($arrNavi,2);    // メイン上部
-        $arrPageLayout['RightNavi'] = $this->lfGetNavi($arrNavi,3);    // RIGHT NAVI
-        $arrPageLayout['MainFoot']  = $this->lfGetNavi($arrNavi,4);    // メイン下部
-        $arrPageLayout['TopNavi'] = $this->lfGetNavi($arrNavi,5); //上部
-        $arrPageLayout['BottomNavi'] = $this->lfGetNavi($arrNavi,6); //下部
-        $arrPageLayout['HeadNavi'] = $this->lfGetNavi($arrNavi,7); //上部
-        $arrPageLayout['HeaderTopNavi'] = $this->lfGetNavi($arrNavi,8); //上部
-        $arrPageLayout['FooterBottomNavi'] = $this->lfGetNavi($arrNavi,9); //下部
-        $arrPageLayout['HeaderInternalNavi'] = $this->lfGetNavi($arrNavi,10); //ヘッダ中
-        
-        
-        GC_Utils::gfDebugLog($arrPageLayout);
-        
+        $arrNavi = $this->lfGetNaviData($arrPageLayout['page_id'], $device_type_id);
+        $masterData = new SC_DB_MasterData();
+        $arrTarget = $masterData->getMasterData("mtb_target");
+
+        foreach (array_keys($arrTarget) as $key) {
+            if (TARGET_ID_UNUSED != $key) {
+                $arrPageLayout[$arrTarget[$key]]
+                    = $this->lfGetNavi($arrNavi, $key, $device_type_id);
+            }
+        }
         $objPage->arrPageLayout = $arrPageLayout;
-        
+
         // カラム数を取得する
         $objPage->tpl_column_num = $this->lfGetColumnNum($arrPageLayout);
-
-        GC_Utils::gfDebugLog($debug_message);
     }
 
@@ -131,37 +110,8 @@
      * @return array ページ情報を格納した配列
      */
-    function lfgetPageData($where = 'page_id <> 0', $where_vals = array()) {
-                
-        $objQuery = new SC_Query;       // DB操作オブジェクト
-        $arrRet = array();              // データ取得用
-
-        // 取得するカラム
-        $col  = " page_id";             // ページID
-        $col .= " ,page_name";          // 名称
-        $col .= " ,url";                // URL
-        $col .= " ,php_dir";            // php保存先ディレクトリ
-        $col .= " ,tpl_dir";            // tpl保存先ディレクトリ
-        $col .= " ,filename";           // ファイル名称
-        $col .= " ,header_chk ";        // ヘッダー使用FLG
-        $col .= " ,footer_chk ";        // フッター使用FLG
-        $col .= " ,edit_flg ";          // 編集可能FLG
-        $col .= " ,author";             // authorタグ
-        $col .= " ,description";        // descriptionタグ
-        $col .= " ,keyword";            // keywordタグ
-        $col .= " ,update_url";         // 更新URL
-        $col .= " ,create_date";        // データ作成日
-        $col .= " ,update_date";        // データ更新日
-        
-        // 取得するテーブル
-        $table = "dtb_pagelayout";
-        
-        // 並び変え
+    function lfGetPageData($where = 'page_id <> 0', $arrVal = array()) {
+        $objQuery =& SC_Query::getSingletonInstance();
         $objQuery->setOrder('page_id');
-        
-        // SQL実行
-        $arrRet = $objQuery->select($col, $table, $where, $where_vals);
-        
-        // 結果を返す
-        return $arrRet;
+        return $objQuery->select("*", "dtb_pagelayout", $where, $arrVal);
     }
 
@@ -169,28 +119,20 @@
      * ナビ情報を取得する.
      *
-     * @param string $url ページのURL
+     * @param integer $page_id ページID
+     * @param integer $device_type_id 端末種別ID
      * @return array ナビ情報の配列
      */
-    function lfGetNaviData($page_id){
-        $objQuery = new SC_Query;		// DB操作オブジェクト
-
-        // 取得するカラム
-        $col = "target_id, bloc_name, tpl_path, php_path,anywhere";
-        
-        // 取得するテーブル
-        $table = "dtb_blocposition AS pos INNER JOIN dtb_bloc AS bloc ON bloc.bloc_id = pos.bloc_id";
-        
-        // where文生成
-        $where = "anywhere = 1 OR page_id = ?";
-        $where_vals[] = $page_id;
-
-        // 並び変え
+    function lfGetNaviData($page_id, $device_type_id = DEVICE_TYPE_PC) {
+        $objQuery =& SC_Query::getSingletonInstance();
+        $table = <<< __EOF__
+            dtb_blocposition AS pos
+       JOIN dtb_bloc AS bloc
+         ON bloc.bloc_id = pos.bloc_id
+        AND bloc.device_type_id = pos.device_type_id
+__EOF__;
+        $where = "bloc.device_type_id = ? AND (anywhere = 1 OR pos.page_id = ?)";
         $objQuery->setOrder('target_id, bloc_row');
-        
-        // SQL実行
-        $arrRet = $objQuery->select($col, $table, $where, $where_vals);
-        
-        // 結果を返す
-        return $arrRet;
+        return $objQuery->select("*", $table, $where,
+                                 array($device_type_id, $page_id));
     }
 
@@ -199,26 +141,26 @@
      *
      * @param array $arrNavi ナビ情報の配列
-     * @param integer|string $target_id ターゲットID
+     * @param integer $target_id ターゲットID
+     * @param integer $device_type_id 端末種別ID
      * @return array ブロック情報の配列
      */
-    function lfGetNavi($arrNavi, $target_id) {
+    function lfGetNavi($arrNavi, $target_id, $device_type_id = DEVICE_TYPE_PC) {
         $arrRet = array();
-        if(is_array($arrNavi)) {
-            foreach($arrNavi as $key => $val){
+        if (is_array($arrNavi)) {
+            foreach ($arrNavi as $key => $val) {
                 // 指定された箇所と同じデータだけを取得する
-                if ($target_id == $val['target_id'] ){
+                if ($target_id == $val['target_id'] ) {
                     if ($val['php_path'] != '') {
                         $arrNavi[$key]['php_path'] = HTML_PATH . $val['php_path'];
-                    }else{
-                        $user_block_path = USER_TEMPLATE_PATH . TEMPLATE_NAME . "/" . $val['tpl_path'];
-                        if(is_file($user_block_path)) {
+                    } else {
+                        $user_block_path = $this->getTemplatePath($device_type_id, true) .  "/" . $val['tpl_path'];
+                        if (is_file($user_block_path)) {
                             $arrNavi[$key]['tpl_path'] = $user_block_path;
                         } else {
-                            $arrNavi[$key]['tpl_path'] = TEMPLATE_DIR . $val['tpl_path'];
+                            $arrNavi[$key]['tpl_path'] = $this->getTemplatePath($device_type_id) . $val['tpl_path'];
                         }
                     }
-                    
                     // phpから呼び出されるか、tplファイルが存在する場合
-                    if($val['php_path'] != '' || is_file($arrNavi[$key]['tpl_path'])) {
+                    if ($val['php_path'] != '' || is_file($arrNavi[$key]['tpl_path'])) {
                         $arrRet[] = $arrNavi[$key];
                     } else {
@@ -233,5 +175,5 @@
     /**
      * カラム数を取得する.
-     * 
+     *
      * @param array $arrPageLayout レイアウト情報の配列
      * @return integer $col_num カラム数
@@ -244,5 +186,5 @@
         // RIGHT NAVI
         if (count($arrPageLayout['RightNavi']) > 0) $col_num++;
-        
+
         return $col_num;
     }
@@ -251,10 +193,10 @@
      * ページ情報を削除する.
      *
-     * @param integer|string $page_id ページID
+     * @param integer $page_id ページID
+     * @param integer $device_type_id 端末種別ID
      * @return integer 削除数
      */
-    function lfDelPageData($page_id){
-        $objQuery = new SC_Query;		// DB操作オブジェクト
-        $ret = "";                  // 結果格納用
+    function lfDelPageData($page_id, $device_type_id = DEVICE_TYPE_PC) {
+        $objQuery =& SC_Query::getSingletonInstance();
         $arrDelData = array();      // 抽出データ用
 
@@ -262,7 +204,7 @@
         if ($page_id != '') {
 
-            $arrPageData = $this->lfgetPageData(" page_id = ? " , array($page_id));
+            $arrPageData = $this->lfGetPageData("page_id = ? AND device_type_id = ?" , array($page_id, $device_type_id));
             // SQL実行
-            $ret = $objQuery->delete("dtb_pagelayout", "page_id = ?", array($page_id));
+            $ret = $objQuery->delete("dtb_pagelayout", "page_id = ? AND device_type_id = ?", array($page_id, $device_type_id));
 
             // ファイルの削除
@@ -278,5 +220,5 @@
      * @return void // TODO boolean にするべき?
      */
-    function lfDelFile($arrData){
+    function lfDelFile($arrData) {
         // ファイルディレクトリ取得
         $del_php = HTML_PATH . $arrData['php_dir'] . $arrData['filename'] . ".php";
@@ -284,10 +226,10 @@
 
         // phpファイルの削除
-        if (file_exists($del_php)){
+        if (file_exists($del_php)) {
             unlink($del_php);
         }
 
         // tplファイルの削除
-        if (file_exists($del_tpl)){
+        if (file_exists($del_tpl)) {
             unlink($del_tpl);
         }
@@ -297,21 +239,50 @@
      * データがベースデータかどうか.
      *
-     * @param integer|string $data ページID
+     * @param integer $page_id ページID
+     * @param integer $device_type_id 端末種別ID
      * @return boolean ベースデータの場合 true
      */
-    function lfCheckBaseData($data){
-        $ret = false;
-
-        if ($data == 0) {
-            return $ret;
-        }
-
-        $arrChkData = $this->lfgetPageData("page_id = ?", array($data));
-
-        if ($arrChkData[0]['edit_flg'] == 2){
-            $ret = true;
-        }
-
-        return $ret;
+    function lfCheckBaseData($page_id, $device_type_id) {
+        $result = false;
+
+        if ($page_id == 0) {
+            return $result;
+        }
+
+        $arrChkData = $this->lfgetPageData("page_id = ? AND device_type_id = ?",
+                                           array($page_id, $device_type_id));
+
+        if ($arrChkData[0]['edit_flg'] == 2) {
+            $result = true;
+        }
+
+        return $result;
+    }
+
+    /**
+     * テンプレートのパスを取得する.
+     */
+    function getTemplatePath($device_type_id = DEVICE_TYPE_PC, $isUser = false) {
+        $templateName = "";
+        switch ($device_type_id) {
+        case DEVICE_TYPE_MOBILE:
+            $dir = MOBILE_TEMPLATE_DIR;
+            $templateName = MOBILE_TEMPLATE_NAME;
+            break;
+
+        case DEVICE_TYPE_SMARTPHONE:
+            $dir = SMARTPHONE_TEMPLATE_DIR;
+            $templateName = SMARTPHONE_TEMPLATE_NAME;
+            break;
+
+        case DEVICE_TYPE_PC:
+        default:
+            $dir = TEMPLATE_DIR;
+            $templateName = TEMPLATE_NAME;
+        }
+        if ($isUser) {
+            $dir = USER_TEMPLATE_DIR . $templateName . "/";
+        }
+        return $dir;
     }
 }
Index: branches/version-2_5-dev/data/Smarty/templates/admin/design/index.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/admin/design/index.tpl	(revision 19712)
+++ branches/version-2_5-dev/data/Smarty/templates/admin/design/index.tpl	(revision 19713)
@@ -32,8 +32,8 @@
             <tr>
                 <!-- ★☆★ HEADタグ内テーブル ☆★☆ -->
-                <td colspan="3" id="HeadNavi" class="ui-sortable">
-                    <!--{assign var="firstflg" value=false}-->
-                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
-                        <!--{if $item.target_id == "HeadNavi"}-->
+                <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_HEAD]}-->" class="ui-sortable">
+                    <!--{assign var="firstflg" value=false}-->
+                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
+                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_HEAD]}-->
                             <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->">
                                 <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" />
@@ -55,8 +55,8 @@
             <tr>
                 <!-- ★☆★ ヘッダより上部ナビテーブル ☆★☆ -->
-                <td colspan="3" id="HeaderTopNavi" class="ui-sortable">
-                    <!--{assign var="firstflg" value=false}-->
-                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
-                        <!--{if $item.target_id == "HeaderTopNavi"}-->
+                <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_HEADER_TOP]}-->" class="ui-sortable">
+                    <!--{assign var="firstflg" value=false}-->
+                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
+                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_HEAD]}-->
                             <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->">
                                 <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" />
@@ -76,8 +76,8 @@
                 <!-- ★☆★ ヘッダ内部ナビテーブル ☆★☆ -->
                 <th id="layout-header">ヘッダー部</th>
-                <td colspan="2" id="HeaderInternalNavi" class="ui-sortable">
-                    <!--{assign var="firstflg" value=false}-->
-                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
-                        <!--{if $item.target_id == "HeaderInternalNavi"}-->
+                <td colspan="2" id="<!--{$arrTarget[$smarty.const.TARGET_ID_HEADER_INTERNAL]}-->" class="ui-sortable">
+                    <!--{assign var="firstflg" value=false}-->
+                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
+                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_HEADER_INTERNAL]}-->
                             <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->">
                                 <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" />
@@ -96,8 +96,8 @@
             <tr>
                 <!-- ★☆★ 上部ナビテーブル ☆★☆ -->
-                <td colspan="3" id="TopNavi" class="ui-sortable">
-                    <!--{assign var="firstflg" value=false}-->
-                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
-                        <!--{if $item.target_id == "TopNavi"}-->
+                <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_TOP]}-->" class="ui-sortable">
+                    <!--{assign var="firstflg" value=false}-->
+                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
+                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_TOP]}-->
                             <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->">
                                 <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" />
@@ -116,8 +116,8 @@
             <tr>
                 <!--{* 左ナビテーブルここから *}-->
-                <td rowspan="3" id="LeftNavi" class="ui-sortable">
-                    <!--{assign var="firstflg" value=false}-->
-                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
-                        <!--{if $item.target_id == "LeftNavi"}-->
+                <td rowspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_LEFT]}-->" class="ui-sortable">
+                    <!--{assign var="firstflg" value=false}-->
+                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
+                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_LEFT]}-->
                             <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->">
                                 <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" />
@@ -134,8 +134,8 @@
                 <!--{* 左ナビテーブルここまで *}-->
                 <!--{* メイン上部テーブルここから *}-->
-                <td id="MainHead" class="ui-sortable">
-                    <!--{assign var="firstflg" value=false}-->
-                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
-                        <!--{if $item.target_id == "MainHead"}-->
+                <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}-->" class="ui-sortable">
+                    <!--{assign var="firstflg" value=false}-->
+                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
+                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}-->
                             <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->">
                                 <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" />
@@ -152,8 +152,8 @@
                 <!--{* メイン上部テーブルここまで *}-->
                 <!--{* 右ナビここから *}-->
-                <td rowspan="3" id="RightNavi" class="ui-sortable">
-                    <!--{assign var="firstflg" value=false}-->
-                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
-                        <!--{if $item.target_id == "RightNavi"}-->
+                <td rowspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_RIGHT]}-->" class="ui-sortable">
+                    <!--{assign var="firstflg" value=false}-->
+                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
+                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_RIGHT]}-->
                             <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->">
                                 <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" />
@@ -177,8 +177,8 @@
             <!--{* メイン下部ここから *}-->
             <tr>
-                <td id="MainFoot" class="ui-sortable">
-                    <!--{assign var="firstflg" value=false}-->
-                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
-                        <!--{if $item.target_id == "MainFoot"}-->
+                <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}-->" class="ui-sortable">
+                    <!--{assign var="firstflg" value=false}-->
+                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
+                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}-->
                             <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->">
                                 <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" />
@@ -197,8 +197,8 @@
             <!--{* メイン下部ここまで *}-->
                  <!-- ★☆★ 下部ナビテーブル ☆★☆ -->
-                <td colspan="3" id="BottomNavi" class="ui-sortable">
-                    <!--{assign var="firstflg" value=false}-->
-                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
-                        <!--{if $item.target_id == "BottomNavi"}-->
+                <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_BOTTOM]}-->" class="ui-sortable">
+                    <!--{assign var="firstflg" value=false}-->
+                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
+                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_BOTTOM]}-->
                             <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->">
                                 <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" />
@@ -220,8 +220,8 @@
             <tr>
                 <!-- ★☆★ フッタより下部ナビテーブル ☆★☆ -->
-                <td colspan="3" id="FooterBottomNavi" class="ui-sortable">
-                    <!--{assign var="firstflg" value=false}-->
-                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
-                        <!--{if $item.target_id == "FooterBottomNavi"}-->
+                <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_FOOTER_BOTTOM]}-->" class="ui-sortable">
+                    <!--{assign var="firstflg" value=false}-->
+                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
+                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_FOOTER_BOTTOM]}-->
                             <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->">
                                 <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" />
@@ -253,8 +253,8 @@
             </tr>
             <tr>
-                <td id="Unused" class="ui-sortable" style="width: 145px;">
-                    <!--{assign var="firstflg" value=false}-->
-                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
-                        <!--{if $item.target_id == "Unused"}-->
+                <td id="<!--{$arrTarget[$smarty.const.TARGET_ID_UNUSED]}-->" class="ui-sortable" style="width: 145px;">
+                    <!--{assign var="firstflg" value=false}-->
+                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}-->
+                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_UNUSED]}-->
                             <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->">
                                 <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" />
@@ -291,9 +291,9 @@
             </td>
             <td>
-                <a href="?page_id=<!--{$item.page_id}-->" ><strong>編集</strong></a>
+                <a href="?page_id=<!--{$item.page_id}-->&amp;device_type_id=<!--{$item.device_type_id}-->" ><strong>編集</strong></a>
             </td>
             <td>
                 <!--{if $item.filename|strlen >= 1}-->
-                    <a href="main_edit.php?page_id=<!--{$item.page_id}-->">編集</a>
+                    <a href="main_edit.php?page_id=<!--{$item.page_id}-->&amp;device_type_id=<!--{$item.device_type_id}-->">編集</a>
                 <!--{/if}-->
             </td>
Index: branches/version-2_5-dev/data/Smarty/templates/admin/design/subnavi.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/admin/design/subnavi.tpl	(revision 19711)
+++ branches/version-2_5-dev/data/Smarty/templates/admin/design/subnavi.tpl	(revision 19713)
@@ -47,11 +47,11 @@
   <li><a><span>スマートフォン</span></a>
     <ul class="level2">
-      <li<!--{if $tpl_subno == 'layout'}--> class="on"<!--{/if}--> id="navi-design-layout"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/<!--{$smarty.const.DIR_INDEX_URL}-->?device_type_id=<!--{$smarty.const.DEVICE_TYPE_MOBILE}-->"><span>レイアウト設定</span></a></li>
-      <li<!--{if $tpl_subno == 'main_edit'}--> class="on"<!--{/if}--> id="navi-design-main"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/main_edit.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_MOBILE}-->"><span>ページ詳細設定</span></a></li>
-      <li<!--{if $tpl_subno == 'bloc'}--> class="on"<!--{/if}--> id="navi-design-bloc"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/bloc.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_MOBILE}-->"><span>ブロック編集</span></a></li>
-      <li<!--{if $tpl_subno == 'header'}--> class="on"<!--{/if}--> id="navi-design-header"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/header.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_MOBILE}-->"><span>ﾍｯﾀﾞｰ/ﾌｯﾀｰ設定</span></a></li>
-      <li<!--{if $tpl_subno == 'css'}--> class="on"<!--{/if}--> id="navi-design-css"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/css.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_MOBILE}-->"><span>CSS編集</span></a></li>
-      <li<!--{if $tpl_subno == 'template'}--> class="on"<!--{/if}--> id="navi-design-template"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/template.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_MOBILE}-->"><span>テンプレート設定</span></a></li>
-      <li<!--{if $tpl_subno == 'up_down'}--> class="on"<!--{/if}--> id="navi-design-add"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/up_down.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_MOBILE}-->"><span>テンプレート追加</span></a></li>
+      <li<!--{if $tpl_subno == 'layout'}--> class="on"<!--{/if}--> id="navi-design-layout"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/<!--{$smarty.const.DIR_INDEX_URL}-->?device_type_id=<!--{$smarty.const.DEVICE_TYPE_SMARTPHONE}-->"><span>レイアウト設定</span></a></li>
+      <li<!--{if $tpl_subno == 'main_edit'}--> class="on"<!--{/if}--> id="navi-design-main"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/main_edit.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_SMARTPHONE}-->"><span>ページ詳細設定</span></a></li>
+      <li<!--{if $tpl_subno == 'bloc'}--> class="on"<!--{/if}--> id="navi-design-bloc"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/bloc.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_SMARTPHONE}-->"><span>ブロック編集</span></a></li>
+      <li<!--{if $tpl_subno == 'header'}--> class="on"<!--{/if}--> id="navi-design-header"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/header.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_SMARTPHONE}-->"><span>ﾍｯﾀﾞｰ/ﾌｯﾀｰ設定</span></a></li>
+      <li<!--{if $tpl_subno == 'css'}--> class="on"<!--{/if}--> id="navi-design-css"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/css.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_SMARTPHONE}-->"><span>CSS編集</span></a></li>
+      <li<!--{if $tpl_subno == 'template'}--> class="on"<!--{/if}--> id="navi-design-template"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/template.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_SMARTPHONE}-->"><span>テンプレート設定</span></a></li>
+      <li<!--{if $tpl_subno == 'up_down'}--> class="on"<!--{/if}--> id="navi-design-add"><a href="<!--{$smarty.const.URL_DIR}-->admin/design/up_down.php?device_type_id=<!--{$smarty.const.DEVICE_TYPE_SMARTPHONE}-->"><span>テンプレート追加</span></a></li>
     </ul>
   </li>
Index: branches/version-2_5-dev/data/Smarty/templates/admin/design/main_edit.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/admin/design/main_edit.tpl	(revision 18873)
+++ branches/version-2_5-dev/data/Smarty/templates/admin/design/main_edit.tpl	(revision 19713)
@@ -107,9 +107,9 @@
       </td>
       <td>
-        <a href="./<!--{$smarty.const.DIR_INDEX_URL}-->?page_id=<!--{$item.page_id}-->" >編集</a>
+        <a href="./<!--{$smarty.const.DIR_INDEX_URL}-->?page_id=<!--{$item.page_id}-->&amp;device_type_id=<!--{$item.device_type_id}-->" >編集</a>
       </td>
       <td>
         <!--{if $item.filename|strlen >= 1}-->
-          <a href="?page_id=<!--{$item.page_id}-->"><strong>編集</strong></a>
+          <a href="?page_id=<!--{$item.page_id}-->&amp;device_type_id=<!--{$item.device_type_id}-->"><strong>編集</strong></a>
         <!--{/if}-->
       </td>
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/order/index.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/order/index.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/order/index.tpl	(revision 19713)
@@ -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.
+ *}-->
+<!--▼CONTENTS-->
+<div id="undercolumn">
+  <div id="undercolumn_order">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <table summary="特定商取引に関する法律に基づく表記">
+      <tr>
+        <th>販売業者</th>
+        <td><!--{$arrRet.law_company|escape}--></td>
+      </tr>
+      <tr>
+        <th>運営責任者</th>
+        <td><!--{$arrRet.law_manager|escape}--></td>
+      </tr>
+      <tr>
+        <th>住所</th>
+        <td>〒<!--{$arrRet.law_zip01|escape}-->-<!--{$arrRet.law_zip02|escape}--><br /><!--{$arrPref[$arrRet.law_pref]|escape}--><!--{$arrRet.law_addr01|escape}--><!--{$arrRet.law_addr02|escape}--></td>
+      </tr>
+      <tr>
+        <th>電話番号</th>
+        <td><!--{$arrRet.law_tel01|escape}-->-<!--{$arrRet.law_tel02|escape}-->-<!--{$arrRet.law_tel03|escape}--></td>
+      </tr>
+      <tr>
+        <th>FAX番号</th>
+        <td><!--{$arrRet.law_fax01|escape}-->-<!--{$arrRet.law_fax02|escape}-->-<!--{$arrRet.law_fax03|escape}--></td>
+      </tr>
+      <tr>
+        <th>メールアドレス</th>
+        <td><a href="mailto:<!--{$arrRet.law_email|escape:'hex'}-->"><!--{$arrRet.law_email|escape:'hexentity'}--></a></td>
+      </tr>
+      <tr>
+        <th>URL</th>
+        <td><a href="<!--{$arrRet.law_url|escape}-->"><!--{$arrRet.law_url|escape}--></a></td>
+      </tr>
+      <tr>
+        <th>商品以外の必要代金</th>
+        <td><!--{$arrRet.law_term01|escape|nl2br}--></td>
+      </tr>
+      <tr>
+        <th>注文方法</th>
+        <td><!--{$arrRet.law_term02|escape|nl2br}--></td>
+      </tr>
+      <tr>
+        <th>支払方法</th>
+        <td><!--{$arrRet.law_term03|escape|nl2br}--></td>
+      </tr>
+      <tr>
+        <th>支払期限</th>
+        <td><!--{$arrRet.law_term04|escape|nl2br}--></td>
+      </tr>
+      <tr>
+        <th>引渡し時期</th>
+        <td><!--{$arrRet.law_term05|escape|nl2br}--></td>
+      </tr>
+      <tr>
+        <th>返品・交換について</th>
+        <td><!--{$arrRet.law_term06|escape|nl2br}--></td>
+      </tr>
+    </table>
+  </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/site_frame.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/site_frame.tpl	(revision 19670)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/site_frame.tpl	(revision 19713)
@@ -31,12 +31,14 @@
 <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" /> 
+<link rel="stylesheet" media="only screen" href="<!--{$TPL_DIR}-->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>
+<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/navi.js"></script>
+<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/win_op.js"></script>
+<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/site.js"></script>
+<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="<!--{$TPL_DIR}-->js/barbutton.js"></script>
+<script type="text/javascript" src="<!--{$TPL_DIR}-->js/category.js"></script>
+<script type="text/javascript" src="<!--{$TPL_DIR}-->js/news.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}-->
@@ -50,5 +52,5 @@
 <!--{/if}-->
 <!--{* iPhone用アイコン画像 *}-->
-<link rel="apple-touch-icon" href="<!--{$smarty.const.SPHONE_URL_DIR}-->sphone/apple-touch-icon.png" />
+<link rel="apple-touch-icon" href="<!--{$smarty.const.SMARTPHONE_URL_DIR}-->sphone/apple-touch-icon.png" />
 
 </head>
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal_confirm.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal_confirm.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal_confirm.tpl	(revision 19713)
@@ -0,0 +1,45 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<div id="mypagecolumn">
+  <h2 class="title"><!--{$tpl_title|escape}--></h2>
+  <!--{include file=$tpl_navi}-->
+  <form name="form1" method="post" action="?">
+  <input type="hidden" name="mode" value="complete" />
+  <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
+  <div id="mycontentsarea">
+    <h3><!--{$tpl_subtitle|escape}--></h3>
+    <div id="completetext">
+      <p>退会手続きを実行してもよろしいでしょうか？</p>
+      <div class="tblareabtn">
+        <a href="./refusal.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_refuse_not_on.gif','refuse_not');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_refuse_not.gif','refuse_not');"><img src="<!--{$TPL_DIR}-->img/button/btn_refuse_not.gif" width="180" height="30" alt="いいえ、退会しません" name="refuse_not" id="refuse_not" /></a>&nbsp;
+        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_refuse_do_on.gif',this);" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_refuse_do.gif',this);" src="<!--{$TPL_DIR}-->img/button/btn_refuse_do.gif" class="box180" alt="はい、退会します" name="refuse_do" id="refuse_do" />
+      </div>
+
+      <p class="mini"><em>※退会手続きが完了した時点で、現在保存されている購入履歴や、お届け先等の情報はすべてなくなりますのでご注意ください。</em></p>
+    </div>
+  </div>
+  </form>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/favorite.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/favorite.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/favorite.tpl	(revision 19713)
@@ -0,0 +1,87 @@
+<!--{*
+/*
+ * 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="mypagecolumn">
+  <h2 class="title"><!--{$tpl_title|escape}--></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><!--{$tpl_subtitle|escape}--></h3>
+
+<!--{if $tpl_linemax > 0}-->
+
+    <p><!--{$tpl_linemax}-->件のお気に入りがあります。</p>
+    <div class="paging">
+      <!--▼ページナビ-->
+      <!--{$tpl_strnavi}-->
+      <!--▲ページナビ-->
+    </div>
+
+    <form name="form1" id="form1" method="post" action="?">
+    <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}-->
+      <!--{assign var=product_id value="`$arrFavorite[cnt].product_id`"}-->
+      <tr>
+       <td><a href="javascript:fnModeSubmit('delete_favorite','product_id','<!--{$product_id|escape}-->');">削除</a></td>
+       <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id|escape:url}-->"><img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrFavorite[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65"></a></td>
+       <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id|escape:url}-->"><!--{$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|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
+          <!--{else}-->
+            <!--{$arrFavorite[cnt].price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->～<!--{$arrFavorite[cnt].price02_max|sfCalcIncTax:$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_5-dev/data/Smarty/templates/sphone/mypage/history.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/history.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/history.tpl	(revision 19713)
@@ -0,0 +1,196 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<div id="mypagecolumn">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <!--{include file=$tpl_navi}-->
+    <div id="mycontentsarea">
+        <h3><!--{$tpl_subtitle|escape}--></h3>
+        <p class="myconditionarea">
+        <strong>購入日時：&nbsp;</strong><!--{$arrDisp.create_date|sfDispDBDate}--><br />
+        <strong>注文番号：&nbsp;</strong><!--{$arrDisp.order_id}--><br />
+        <strong>お支払い方法：&nbsp;</strong><!--{$arrPayment[$arrDisp.payment_id]|escape}-->
+        <!--{if $arrDisp.deliv_time_id != ""}--><br />
+        <strong>お届け時間：&nbsp;</strong><!--{$arrDelivTime[$arrDisp.deliv_time_id]|escape}-->
+        <!--{/if}-->
+        <!--{if $arrDisp.deliv_date != ""}--><br />
+        <strong>お届け日：&nbsp;</strong><!--{$arrDisp.deliv_date|escape}-->
+        <!--{/if}-->
+        </p>
+
+        <!--{* (開発者向けレビュー)
+        <form action="order.php" method="post">
+            <input type="hidden" name="order_id" value="<!--{$arrDisp.order_id}-->">
+            <input type="submit" name="submit" value="再注文">
+        </form>
+        *}-->
+
+        <table summary="購入商品詳細">
+            <tr>
+                <th>商品コード</th>
+                <th>商品名</th>
+                <th>商品種別</th>
+                <th>単価</th>
+                <th>数量</th>
+                <th>小計</th>
+            </tr>
+            <!--{foreach from=$tpl_arrOrderDetail item=orderDetail}-->
+                <tr>
+                    <td><!--{$orderDetail.product_code|escape}--></td>
+                    <td><a<!--{if $orderDetail.enable}--> href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$orderDetail.product_id|escape:url}-->"<!--{/if}-->><!--{$orderDetail.product_name|escape}--></a></td>
+                    <td>
+                    <!--{ if $orderDetail.product_type_id == PRODUCT_TYPE_DOWNLOAD}-->
+                        <!--{ if $orderDetail.price == "0" || ( $orderDetail.status >= "4" && $orderDetail.effective == "1" )}-->
+                            <a target="_self" href="<!--{$smarty.const.URL_DIR}-->mypage/download.php?order_id=<!--{$arrDisp.order_id}-->&product_id=<!--{$orderDetail.product_id}-->&product_class_id=<!--{$orderDetail.product_class_id}-->">ダウンロード</a>
+                        <!--{ elseif $orderDetail.payment_date == "" || $orderDetail.status < "4"}-->
+                            ダウンロード商品<BR />（入金確認中）
+                        <!--{ elseif $orderDetail.effective != "1"}-->
+                            ダウンロード商品<BR />（期限切れ）
+                        <!--{ /if }-->
+                    <!--{ else if $orderDetail.product_type_id == PRODUCT_TYPE_NORMAL}-->
+                            通常商品
+                    <!--{ /if }-->
+                    </td>
+                    <!--{assign var=price value=`$orderDetail.price`}-->
+                    <!--{assign var=quantity value=`$orderDetail.quantity`}-->
+                    <td class="pricetd"><!--{$price|escape|number_format}-->円</td>
+                    <td><!--{$quantity|escape}--></td>
+                    <td class="pricetd"><!--{$price|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|sfMultiply:$quantity|number_format}-->円</td>
+                </tr>
+            <!--{/foreach}-->
+            <tr>
+                <th colspan="5" class="resulttd">小計</th>
+                <td class="pricetd"><!--{$arrDisp.subtotal|number_format}-->円</td>
+            </tr>
+            <!--{assign var=point_discount value="`$arrDisp.use_point*$smarty.const.POINT_VALUE`"}-->
+            <!--{if $point_discount > 0}-->
+            <tr>
+                <th colspan="5" class="resulttd">ポイント値引き</th>
+                <td class="pricetd"><!--{$point_discount|number_format}-->円</td>
+            </tr>
+            <!--{/if}-->
+            <!--{assign var=key value="discount"}-->
+            <!--{if $arrDisp[$key] != "" && $arrDisp[$key] > 0}-->
+            <tr>
+                <th colspan="5" class="resulttd">値引き</th>
+                <td class="pricetd"><!--{$arrDisp[$key]|number_format}-->円</td>
+            </tr>
+            <!--{/if}-->
+            <tr>
+                <th colspan="5" class="resulttd">送料</th>
+                <td class="pricetd"><!--{assign var=key value="deliv_fee"}--><!--{$arrDisp[$key]|escape|number_format}-->円</td>
+            </tr>
+            <tr>
+                <th colspan="5" class="resulttd">手数料</th>
+                <!--{assign var=key value="charge"}-->
+                <td class="pricetd"><!--{$arrDisp[$key]|escape|number_format}-->円</td>
+            </tr>
+            <tr>
+                <th colspan="5" class="resulttd">合計</th>
+                <td class="pricetd"><em><!--{$arrDisp.payment_total|number_format}-->円</em></td>
+            </tr>
+        </table>
+
+        <!-- 使用ポイントここから -->
+        <!--{if $smarty.const.USE_POINT !== false}-->
+            <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}-->
+        <!-- 使用ポイントここまで -->
+
+        <table summary="お届け先" class="delivname">
+            <thead>
+                <tr>
+                    <th colspan="5">▼お届け先</th>
+                </tr>
+            </thead>
+            <tbody>
+                <tr>
+                    <th>お名前</th>
+                    <!--{assign var=key1 value="deliv_name01"}-->
+                    <!--{assign var=key2 value="deliv_name02"}-->
+                    <td><!--{$arrDisp[$key1]|escape}-->&nbsp;<!--{$arrDisp[$key2]|escape}--></td>
+                </tr>
+                <tr>
+                    <th>お名前(フリガナ)</th>
+                    <!--{assign var=key1 value="deliv_kana01"}-->
+                    <!--{assign var=key2 value="deliv_kana02"}-->
+                    <td><!--{$arrDisp[$key1]|escape}-->&nbsp;<!--{$arrDisp[$key2]|escape}--></td>
+                </tr>
+                <tr>
+                    <th>郵便番号</th>
+                    <!--{assign var=key1 value="deliv_zip01"}-->
+                    <!--{assign var=key2 value="deliv_zip02"}-->
+                    <td>〒<!--{$arrDisp[$key1]}-->-<!--{$arrDisp[$key2]}--></td>
+                </tr>
+                <tr>
+                    <th>住所</th>
+                    <!--{assign var=pref value=`$arrDisp.deliv_pref`}-->
+                    <!--{assign var=key value="deliv_addr01"}-->
+                    <td><!--{$arrPref[$pref]}--><!--{$arrDisp[$key]|escape}--><!--{assign var=key value="deliv_addr02"}--><!--{$arrDisp[$key]|escape}--></td>
+                </tr>
+                <tr>
+                    <th>電話番号</th>
+                    <!--{assign var=key1 value="deliv_tel01"}-->
+                    <!--{assign var=key2 value="deliv_tel02"}-->
+                    <!--{assign var=key3 value="deliv_tel03"}-->
+                    <td><!--{$arrDisp[$key1]}-->-<!--{$arrDisp[$key2]}-->-<!--{$arrDisp[$key3]}--></td>
+                </tr>
+            </tbody>
+        </table>
+
+        <br />
+
+        <h3>メール配信履歴一覧</h3>
+        <table>
+            <tr>
+                <th>処理日</th>
+                <th>通知メール</th>
+                <th>件名</th>
+            </tr>
+            <!--{section name=cnt loop=$arrMailHistory}-->
+            <tr class="center">
+                <td><!--{$arrMailHistory[cnt].send_date|sfDispDBDate|escape}--></td>
+                <!--{assign var=key value="`$arrMailHistory[cnt].template_id`"}-->
+                <td><!--{$arrMAILTEMPLATE[$key]|escape}--></td>
+                <td><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="win02('./mail_view.php?send_id=<!--{$arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$arrMailHistory[cnt].subject|escape}--></a></td>
+            </tr>
+            <!--{/section}-->
+        </table>
+
+        <div class="tblareabtn">
+            <a href="./<!--{$smarty.const.DIR_INDEX_URL}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_back_on.gif','change');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_back.gif','change');"><img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30" alt="戻る" name="change" id="change" /></a>
+        </div>
+
+    </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal.tpl	(revision 19713)
@@ -0,0 +1,44 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<div id="mypagecolumn">
+  <h2 class="title"><!--{$tpl_title|escape}--></h2>
+  <!--{include file=$tpl_navi}-->
+  <div id="mycontentsarea">
+    <h3><!--{$tpl_subtitle|escape}--></h3>
+    <form name="form1" method="post" action="?">
+      <input type="hidden" name="mode" value="confirm" />
+      <div id="completetext">
+        会員を退会された場合には、現在保存されている購入履歴や、お届け先などの情報は、すべて削除されますがよろしいでしょうか？
+
+        <div class="tblareabtn">
+          <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_refuse_on.gif',this);" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_refuse.gif',this);" src="<!--{$TPL_DIR}-->img/button/btn_refuse.gif" class="box180" alt="会員退会を行う" name="refusal" id="refusal" />
+        </div>
+
+        <p class="mini"><em>※退会手続きが完了した時点で、現在保存されている購入履歴や、お届け先等の情報はすべてなくなりますのでご注意ください。</em></p>
+      </div>
+    </form>
+  </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/change_confirm.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/change_confirm.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/change_confirm.tpl	(revision 19713)
@@ -0,0 +1,117 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<div id="mypagecolumn">
+  <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <!--{include file=$tpl_navi}-->
+    <div id="mycontentsarea">
+    <h3><!--{$tpl_subtitle|escape}--></h3>
+    <p>下記の内容で送信してもよろしいでしょうか？<br />
+      よろしければ、一番下の「会員登録完了へ」ボタンをクリックしてください。</p>
+
+
+    <form name="form1" id="form1" method="post" action="?">
+      <input type="hidden" name="mode" value="complete" />
+      <input type="hidden" name="customer_id" value="<!--{$arrForm.customer_id|escape}-->" />
+      <!--{foreach from=$arrForm key=key item=item}-->
+        <!--{if $key ne "mode" && $key ne "subm"}-->
+        <input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->" />
+        <!--{/if}-->
+      <!--{/foreach}-->
+      <table summary=" " class="delivname">
+        <tr>
+          <th>お名前<span class="attention">※</span></th>
+          <td><!--{$arrForm.name01|escape}-->　<!--{$arrForm.name02|escape}--></td>
+        </tr>
+        <tr>
+          <th>お名前(フリガナ)<span class="attention">※</span></th>
+          <td><!--{$arrForm.kana01|escape}-->　<!--{$arrForm.kana02|escape}--></td>
+        </tr>
+        <tr>
+          <th>郵便番号<span class="attention">※</span></th>
+          <td><!--{$arrForm.zip01}-->-<!--{$arrForm.zip02}--></td>
+        </tr>
+        <tr>
+          <th>住所<span class="attention">※</span></th>
+          <td><!--{$arrPref[$arrForm.pref]}--><!--{$arrForm.addr01|escape}--><!--{$arrForm.addr02|escape}--></td>
+        </tr>
+        <tr>
+          <th>電話番号<span class="attention">※</span></th>
+          <td><!--{$arrForm.tel01|escape}-->-<!--{$arrForm.tel02}-->-<!--{$arrForm.tel03}--></td>
+        </tr>
+        <tr>
+          <th>FAX</th>
+          <td><!--{if strlen($arrForm.fax01) > 0}--><!--{$arrForm.fax01}-->-<!--{$arrForm.fax02}-->-<!--{$arrForm.fax03}--><!--{else}-->未登録<!--{/if}--></td>
+        </tr>
+        <tr>
+          <th>メールアドレス<span class="attention">※</span></th>
+          <td><a href="<!--{$arrForm.email|escape:'hex'}-->"><!--{$arrForm.email|escape:'hexentity'}--></a></td>
+        </tr>
+        <tr>
+          <th>携帯メールアドレス</th>
+          <td>
+            <!--{if strlen($arrForm.email_mobile) > 0}-->
+            <a href="<!--{$arrForm.email_mobile|escape:'hex'}-->"><!--{$arrForm.email_mobile|escape:'hexentity'}--></a>
+            <!--{else}-->
+            未登録
+            <!--{/if}-->
+          </td>
+        </tr>
+        <tr>
+          <th>性別<span class="attention">※</span></th>
+          <td><!--{$arrSex[$arrForm.sex]}--></td>
+        </tr>
+        <tr>
+          <th>職業</th>
+          <td><!--{$arrJob[$arrForm.job]|escape|default:"未登録"}--></td>
+        </tr>
+        <tr>
+          <th>生年月日</th>
+          <td><!--{if strlen($arrForm.year) > 0 && strlen($arrForm.month) > 0 && strlen($arrForm.day) > 0}--><!--{$arrForm.year|escape}-->年<!--{$arrForm.month|escape}-->月<!--{$arrForm.day|escape}-->日<!--{else}-->未登録<!--{/if}--></td>
+        </tr>
+        <tr>
+          <th>希望するパスワード<br />
+          </th>
+          <td><!--{$passlen}--></td>
+        </tr>
+        <tr>
+          <th>パスワードを忘れた時のヒント<span class="attention">※</span></th>
+          <td>質問：&nbsp;<!--{$arrReminder[$arrForm.reminder]|escape}--><br />
+              答え：&nbsp;<!--{$arrForm.reminder_answer|escape}--></td>
+        </tr>
+        <tr>
+          <th>メールマガジン送付について<span class="attention">※</span></th>
+          <td><!--{$arrMAILMAGATYPE[$arrForm.mailmaga_flg]}--></td>
+        </tr>
+      </table>
+
+      <div class="tblareabtn">
+        <a href="?" onclick="fnModeSubmit('return', '', ''); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_back_on.gif','back');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_back.gif','back');"><img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30" alt="戻る" name="back" id="back" /></a>
+        &nbsp;
+       <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_send_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_send.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_send.gif" class="box150" alt="送信" name="complete" id="complete" />
+      </div>
+    </form>
+  </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/delivery.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/delivery.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/delivery.tpl	(revision 19713)
@@ -0,0 +1,77 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<div id="mypagecolumn">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+<!--{include file=$tpl_navi}-->
+    <div id="mycontentsarea">
+        <h3><!--{$tpl_subtitle|escape}--></h3>
+        <p>登録住所以外への住所へ送付される場合等にご利用いただくことができます。</p>
+        <p>※最大<!--{$smarty.const.DELIV_ADDR_MAX|escape}-->件まで登録できます。</p>
+
+        <!--{if $tpl_linemax < $smarty.const.DELIV_ADDR_MAX}-->
+          <!--{* 退会時非表示 *}-->
+          <!--{if $tpl_login}-->
+            <p class="addbtn">
+                <a href="<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php" onclick="win03('./delivery_addr.php','delivadd','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_add_address_on.gif','newadress');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_add_address.gif','newadress');" target="_blank"><img src="<!--{$TPL_DIR}-->img/button/btn_add_address.gif" width="160" height="22" alt="新しいお届け先を追加" border="0" name="newadress" /></a>
+            </p>
+          <!--{/if}-->
+        <!--{/if}-->
+
+        <!--{if $tpl_linemax > 0}-->
+        <form name="form1" method="post" action="?" >
+            <input type="hidden" name="mode" value="" />
+            <input type="hidden" name="other_deliv_id" value="" />
+            <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" />
+
+            <table summary="お届け先">
+                <tr>
+                    <th colspan="5">▼お届け先</th>
+                </tr>
+                <!--{section name=cnt loop=$arrOtherDeliv}-->
+                    <!--{assign var=OtherPref value="`$arrOtherDeliv[cnt].pref`"}-->
+                    <tr>
+                        <td class="centertd"><!--{$smarty.section.cnt.iteration}--></td>
+                        <td><label for="add<!--{$smarty.section.cnt.iteration}-->">お届け先住所</label></td>
+                        <td>
+                            〒<!--{$arrOtherDeliv[cnt].zip01}-->-<!--{$arrOtherDeliv[cnt].zip02}--><br />
+                            <!--{$arrPref[$OtherPref]|escape}--><!--{$arrOtherDeliv[cnt].addr01|escape}--><!--{$arrOtherDeliv[cnt].addr02|escape}--><br />
+                            <!--{$arrOtherDeliv[cnt].name01|escape}-->&nbsp;<!--{$arrOtherDeliv[cnt].name02|escape}-->
+                        </td>
+                        <td class="centertd">
+                            <a href="./delivery_addr.php" onclick="win02('./delivery_addr.php?other_deliv_id=<!--{$arrOtherDeliv[cnt].other_deliv_id}-->','deliv_disp','600','640'); return false;">変更</a>
+                        </td>
+                        <td class="centertd">
+                            <a href="<!--{$smarty.server.PHP_SELF}-->" onclick="fnModeSubmit('delete','other_deliv_id','<!--{$arrOtherDeliv[cnt].other_deliv_id}-->'); return false;">削除</a>
+                        </td>
+                    </tr>
+                <!--{/section}-->
+            </table>
+        </form>
+        <!--{else}-->
+        <p class="delivempty"><strong>新しいお届け先はありません。</strong></p>
+        <!--{/if}-->
+    </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/change.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/change.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/change.tpl	(revision 19713)
@@ -0,0 +1,49 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<div id="mypagecolumn">
+  <h2 class="title"><!--{$tpl_title|escape}--></h2>
+<!--{include file=$tpl_navi}-->
+<div id="mycontentsarea">
+  <h3><!--{$tpl_subtitle|escape}--></h3>
+  <p>下記項目にご入力ください。「<span class="attention">※</span>」印は入力必須項目です。<br />
+    入力後、一番下の「確認ページへ」ボタンをクリックしてください。</p>
+
+  <form name="form1" id="form1" method="post" action="?">
+  <input type="hidden" name="mode" value="confirm" />
+  <input type="hidden" name="customer_id" value="<!--{$arrForm.customer_id|escape}-->" />
+    <table summary="会員登録内容変更 " class="delivname">
+      <!--{include file="`$smarty.const.TEMPLATE_DIR`frontparts/form_personal_input.tpl" flgFields=3 emailMobile=true prefix=""}-->
+    </table>
+    <!--{if 'sfGMOMypageDisplay'|function_exists}-->
+      <!--{'sfGMOMypageDisplay'|call_user_func}-->
+    <!--{/if}-->
+    <div class="tblareabtn">
+      <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_confirm_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_confirm.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_confirm.gif" class="box150" alt="確認ページへ" name="refusal" id="refusal" />
+    </div>
+  </form>
+</div>
+
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/index.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/index.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/index.tpl	(revision 19713)
@@ -0,0 +1,72 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<div id="mypagecolumn">
+  <h2 class="title"><!--{$tpl_title|escape}--></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><!--{$tpl_subtitle|escape}--></h3>
+
+<!--{if $tpl_linemax > 0}-->
+
+    <p><!--{$tpl_linemax}-->件の購入履歴があります。</p>
+    <div>
+      <!--▼ページナビ-->
+      <!--{$tpl_strnavi}-->
+      <!--▲ページナビ-->
+    </div>
+
+    <table summary="購入履歴">
+      <tr>
+        <th>購入日時</th>
+        <th>注文番号</th>
+        <th>お支払い方法</th>
+        <th>合計金額</th>
+        <th>詳細</th>
+      </tr>
+      <!--{section name=cnt loop=$arrOrder}-->
+      <tr>
+       <td><!--{$arrOrder[cnt].create_date|sfDispDBDate}--></td>
+       <td><!--{$arrOrder[cnt].order_id}--></td>
+       <!--{assign var=payment_id value="`$arrOrder[cnt].payment_id`"}-->
+       <td><!--{$arrPayment[$payment_id]|escape}--></td>
+       <td class="pricetd"><!--{$arrOrder[cnt].payment_total|number_format}-->円</td>
+       <td class="centertd"><a href="<!--{$smarty.const.URL_DIR}-->mypage/history.php?order_id=<!--{$arrOrder[cnt].order_id}-->">詳細</a></td>
+     </tr>
+     <!--{/section}-->
+    </table>
+
+    <!--{else}-->
+    <p>購入履歴はありません。</p>
+    <!--{/if}-->
+    </form>
+  </div>
+</div>
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/login.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/login.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/login.tpl	(revision 19713)
@@ -0,0 +1,78 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<div id="under02column">
+  <div id="under02column_login">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <form name="login_mypage" id="login_mypage" method="post" action="./login_check.php" onsubmit="return fnCheckLogin('login_mypage')">
+    <input type="hidden" name="mode" value="login" />
+   <div class="loginarea">
+     <p><img src="<!--{$TPL_DIR}-->img/title/tit_sub_member.gif" width="202" height="16" alt="会員登録がお済みのお客様" /></p>
+     <p class="inputtext">会員の方は、登録時に入力されたメールアドレスとパスワードでログインしてください。</p>
+       <div class="inputbox">
+       <!--{assign var=key value="mypage_login_email"}-->
+       <span class="attention"><!--{$arrErr[$key]}--></span>
+       <p>メールアドレス:&nbsp;
+         <input type="text" name="<!--{$key}-->"
+                value="<!--{$tpl_login_email|escape}-->"
+                maxlength="<!--{$arrForm[$key].length}-->"
+                style="<!--{$arrErr[$key]|sfGetErrorColor}-->; ime-mode: disabled;"
+                size="40" class="box300" />
+       </p>
+       <p class="mini">
+         <!--{assign var=key value="mypage_login_memory"}-->
+         <input type="checkbox" name="<!--{$key}-->" value="1" <!--{$tpl_login_memory|sfGetChecked:1}--> id="login_memory" />
+         <label for="login_memory">会員メールアドレスをコンピューターに記憶させる</label>
+       </p>
+       <p class="passwd">
+         <!--{assign var=key value="mypage_login_pass"}-->
+         <span class="attention"><!--{$arrErr[$key]}--></span>
+         パスワード:&nbsp;
+         <input type="password" name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="40" class="box300" />
+       </p>
+     </div>
+     <div class="tblareabtn">
+      <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_login_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_login.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_login.gif" alt="ログイン" name="log" id="log" class="box140" />
+     </div>
+     <p class="inputtext02">
+       パスワードを忘れた方は<a href="<!--{$smarty.const.SSL_URL|sfTrimURL}-->/forgot/<!--{$smarty.const.DIR_INDEX_URL}-->" onclick="win01('<!--{$smarty.const.SSL_URL|sfTrimURL}-->/forgot/<!--{$smarty.const.DIR_INDEX_URL}-->','forget','600','460'); return false;" target="_blank">こちら</a>からパスワードの再発行を行ってください。<br />
+      メールアドレスを忘れた方は、お手数ですが、<a href="<!--{$smarty.const.URL_DIR}-->contact/<!--{$smarty.const.DIR_INDEX_URL}-->">お問い合わせページ</a>からお問い合わせください。
+     </p>
+  </div>
+  <div class="loginarea">
+    <p>
+      <img src="<!--{$TPL_DIR}-->img/title/tit_sub_guest.gif" width="247" height="16" alt="まだ会員登録されていないお客様" />
+    </p>
+    <p class="inputtext">会員登録をすると便利なMyページをご利用いただけます。<br />
+      また、ログインするだけで、毎回お名前や住所などを入力することなくスムーズにお買い物をお楽しみいただけます。
+    </p>
+    <div class="inputbox02">
+      <a href="<!--{$smarty.const.URL_DIR}-->entry/kiyaku.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_entry_on.gif','b_gotoentry');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_entry.gif','b_gotoentry');">
+        <img src="<!--{$TPL_DIR}-->img/button/btn_entry.gif" width="130" height="30" alt="会員登録をする" border="0" name="b_gotoentry" /></a>
+    </div>
+  </div>
+</form>
+</div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/error.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/error.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/error.tpl	(revision 19713)
@@ -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.
+ */
+*}-->
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_header.tpl" subtitle="エラー"}-->
+
+<div id="compbox">
+<span class="red"><!--{$tpl_error}--></span><br />
+</div>
+
+<div class="button">
+<a href="javascript:window.close()" onmouseOver="chgImg('<!--{$TPL_DIR}-->img/button/btn_close_on.gif','close');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_close.gif','close');"><img src="<!--{$TPL_DIR}-->img/button/btn_close.gif" width="129" height="32" alt="閉じる" name="close" id="close" /></a>
+</div>
+
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_footer.tpl"}-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal_complete.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal_complete.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/refusal_complete.tpl	(revision 19713)
@@ -0,0 +1,40 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<div id="mypagecolumn">
+  <h2 class="title"><!--{$tpl_title|escape}--></h2>
+  <!--{include file = $tpl_navi}-->
+  <div id="mycontentsarea">
+    <h3><!--{$tpl_subtitle|escape}--></h3>
+    <div id="completetext">
+      <p class="changetext">退会手続きが完了いたしました。<br />
+        MYページをご利用いただき誠にありがとうございました。<br />
+        またのご利用を心よりお待ち申し上げます。<br />
+      <!--{$arrSiteInfo.company_name|escape}--><br />
+      TEL：<!--{$arrSiteInfo.tel01}-->-<!--{$arrSiteInfo.tel02}-->-<!--{$arrSiteInfo.tel03}--> <!--{if $arrSiteInfo.business_hour != ""}-->（受付時間/<!--{$arrSiteInfo.business_hour}-->）<!--{/if}--><br />
+      E-mail：<a href="mailto:<!--{$arrSiteInfo.email02|escape:'hex'}-->"><!--{$arrSiteInfo.email02|escape:'hexentity'}--></a></p>
+    </div>
+  </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/mail_view.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/mail_view.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/mail_view.tpl	(revision 19713)
@@ -0,0 +1,14 @@
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_header.tpl" subtitle="MYページ/メール履歴詳細"}-->
+
+<table class="form">
+  <tr>
+    <th>件名</th>
+    <td><!--{$tpl_subject|escape}--></td>
+  </tr>
+  <tr>
+    <th>本文</th>
+    <td><!--{$tpl_body|escape|nl2br}--></td>
+  </tr>
+</table>
+
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_footer.tpl"}-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/change_complete.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/change_complete.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/change_complete.tpl	(revision 19713)
@@ -0,0 +1,41 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<div id="mypagecolumn">
+  <h2 class="title"><!--{$tpl_title|escape}--></h2>
+  <!--{include file=$tpl_navi}-->
+  <div id="mycontentsarea">
+    <h3><!--{$tpl_subtitle|escape}--></h3>
+
+    <div id="completetext">
+      <p class="changetext">会員登録内容の変更が完了いたしました。<br />
+        今後ともご愛顧賜りますようよろしくお願い申し上げます。</p>
+    </div>
+
+    <div class="tblareabtn">
+      <a href="<!--{$smarty.const.URL_SITE_TOP}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage_on.gif','fortop');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage.gif','fortop');"><img src="<!--{$TPL_DIR}-->img/button/btn_toppage.gif" width="150" height="30" alt="トップページへ" name="fortop" id="fortop" /></a>
+    </div>
+  </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/delivery_addr.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/delivery_addr.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/delivery_addr.tpl	(revision 19713)
@@ -0,0 +1,46 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_header.tpl" subtitle="新しいお届け先の追加・変更"}-->
+
+<div id="windowarea">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <p>下記項目にご入力ください。「<span class="attention">※</span>」印は入力必須項目です。</p>
+    <p>入力後、一番下の「登録する」ボタンをクリックしてください。</p>
+
+    <form name="form1" id="form1" method="post" action="?">
+        <input type="hidden" name="mode" value="edit" />
+        <input type="hidden" name="other_deliv_id" value="<!--{$smarty.session.other_deliv_id}-->" />
+        <input type="hidden" name="ParentPage" value="<!--{$ParentPage}-->" />
+
+        <table summary="お届け先登録">
+            <!--{include file="`$smarty.const.TEMPLATE_DIR`frontparts/form_personal_input.tpl" flgFields=1 emailMobile=false prefix=""}-->
+        </table>
+
+        <div class="btn">
+            <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_add_address_complete_on.gif',this);" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_add_address_complete.gif',this);" src="<!--{$TPL_DIR}-->img/button/btn_add_address_complete.gif" class="box150" alt="登録する" name="register" id="register" />
+        </div>
+    </form>
+</div>
+
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_footer.tpl"}-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/navi.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/navi.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/navi.tpl	(revision 19713)
@@ -0,0 +1,75 @@
+<!--{*
+/*
+ * 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="mynavarea">
+    <!--{strip}-->
+        <ul class="button_like">
+        
+          <!--{if $tpl_login}-->
+            <!--{* 会員状態 *}-->
+            <li><a href="./<!--{$smarty.const.DIR_INDEX_URL}-->" class="<!--{if $tpl_mypageno == 'index'}--> selected<!--{/if}-->">
+                購入履歴一覧</a></li>
+            <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1}-->
+                <li><a href="favorite.php" class="<!--{if $tpl_mypageno == 'favorite'}--> selected<!--{/if}-->">
+                    お気に入り一覧</a></li>
+            <!--{/if}-->
+            <li><a href="change.php" class="<!--{if $tpl_mypageno == 'change'}--> selected<!--{/if}-->">
+                会員登録内容変更</a></li>
+            <li><a href="delivery.php" class="<!--{if $tpl_mypageno == 'delivery'}--> selected<!--{/if}-->">
+                お届け先追加・変更</a></li>
+            <li><a href="refusal.php" class="<!--{if $tpl_mypageno == 'refusal'}--> selected<!--{/if}-->">
+                退会手続き</a></li>
+          <!--{else}-->
+
+          <!--{* 退会状態 *}-->
+            <li><a href="<!--{$smarty.const.URL_SITE_TOP}-->" class="<!--{if $tpl_mypageno == 'index'}--> selected<!--{/if}-->">
+                購入履歴一覧</a></li>
+            <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1}-->
+                <li><a href="<!--{$smarty.const.URL_SITE_TOP}-->" class="<!--{if $tpl_mypageno == 'favorite'}--> selected<!--{/if}-->">
+                    お気に入り一覧</a></li>
+            <!--{/if}-->
+            <li><a href="<!--{$smarty.const.URL_SITE_TOP}-->" class="<!--{if $tpl_mypageno == 'change'}--> selected<!--{/if}-->">
+                会員登録内容変更</a></li>
+            <li><a href="<!--{$smarty.const.URL_SITE_TOP}-->" class="<!--{if $tpl_mypageno == 'delivery'}--> selected<!--{/if}-->">
+                お届け先追加・変更</a></li>
+            <li><a href="<!--{$smarty.const.URL_SITE_TOP}-->" class="<!--{if $tpl_mypageno == 'refusal'}--> selected<!--{/if}-->">
+                退会手続き</a></li>
+          <!--{/if}-->
+
+        </ul>
+        
+        <!--▼現在のポイント-->
+        <!--{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}-->
+        <!--▲現在のポイント-->
+    <!--{/strip}-->
+</div>
+<!--▲NAVI-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/convenience.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/convenience.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/convenience.tpl	(revision 19713)
@@ -0,0 +1,110 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<table width="780" cellspacing="0" cellpadding="0" summary=" ">
+	<tr>
+		<td bgcolor="#cccccc"><img src="../img/_.gif" width="1" height="18" alt="" /></td>
+		<td bgcolor="#ffffff" colspan="3"><img src="../img/_.gif" width="778" height="1" alt="" /></td>
+
+		<td bgcolor="#cccccc"><img src="../img/_.gif" width="1" height="18" alt="" /></td>		
+	</tr>
+	<tr>
+		<td bgcolor="#cccccc"><img src="../img/_.gif" width="1" height="10" alt="" /></td>
+		<td bgcolor="#ffffff"><img src="../img/_.gif" width="10" height="1" alt="" /></td>
+		<td><img src="../img/shopping/flow06.gif" width="758" height="78" alt="お買い物の流れ" /></td>
+		<td bgcolor="#ffffff"><img src="../img/_.gif" width="10" height="1" alt="" /></td>
+		<td bgcolor="#cccccc"><img src="../img/_.gif" width="1" height="10" alt="" /></td>		
+	</tr>
+</table>
+
+<table width="780" cellspacing="0" cellpadding="0" summary=" ">
+	<tr>
+		<td bgcolor="#cccccc" width="1"><img src="../img/_.gif" width="1" height="10" alt="" /></td>
+		<td bgcolor="#ffffff" width="9"><img src="../img/_.gif" width="39" height="1" alt="" /></td>
+		<td bgcolor="#ffffff" align="left"> 
+		<!--▼MAIN CONTENTS-->
+		<table cellspacing="0" cellpadding="0" summary=" " id="containerfull">
+			<tr><td height="20"></td></tr>
+			<tr valign="top">
+				<!--▼CONTENTS-->
+
+				<td>
+				<div id="maintitle"><img src="../img/shopping/conveni_title.jpg" width="700" height="40" alt="コンビニ決済" /></div>
+				<div class="fs12n" id="comment01">下記から、お支払いするコンビニをご選択くださいませ。<br />
+				選択後、一番下の「ご注文完了ページへ」ボタンをクリックしてください。</div>
+				<form name="form1" id="form1" method="post" action="?">
+				<input type="hidden" name="mode" value="complete">
+				<input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
+				<span class="red12st"><!--{$arrErr.convenience}--></span>
+				<table cellspacing="1" cellpadding="8" summary=" " id="frame">
+					<tr class="fs12n">
+						<td id="select">選択</td>
+						<td id="payment">コンビニの種類</td>
+					</tr>
+					<!--{foreach key=key item=item from=$arrCONVENIENCE}-->
+					<tr>
+						<td id="select_c"><input type="radio" name="convenience" value="<!--{$key}-->" style="<!--{$arrErr.convenience|sfGetErrorColor}-->"></td>
+						<td class="fs12n" id="payment_c"><!--{$item|escape}--></td>
+					</tr>
+					<!--{/foreach}-->
+				</table>
+				<div class="red12" id="comment02">※「ご注文完了ページへ」をクリック後、完了ページが表示されるまでお待ちください。</div>
+				<div id="button">
+				<!--「戻る」「登録」-->
+				<a href="?" onmouseover="chgImg('/img/button/back03_on.gif','back03')" onmouseout="chgImg('/img/button/back03.gif','back03')" onclick="fnModeSubmit('return', '', ''); return false;" /><img src="/img/button/back03.gif" width="110" height="30" alt="戻る" border="0" name="back03" id="back03" ></a><img src="../img/_.gif" width="20" height="" alt="" /><input type="image" onmouseover="chgImgImageSubmit('../img/shopping/complete_on.gif',this)" onmouseout="chgImgImageSubmit('../img/shopping/complete.gif',this)" src="../img/shopping/complete.gif" width="170" height="30" alt="ご注文完了ページへ" border="0" name="complete" id="complete" />
+				</div>
+				</form>
+				
+				<table cellspacing="0" cellpadding="0" summary=" " id="verisign">
+					<tr>
+						<td><script src=https://seal.verisign.com/getseal?host_name=secure.tokado.jp&size=S&use_flash=YES&use_transparent=NO&lang=ja></script></td>
+						<td><img src="../img/_.gif" width="10" height="1" alt="" /></td>
+						<td class="fs10">インターネットショッピングでは、通信の安全性を確保するセキュリティモードを設定しています。「暗号化(SSL)」を選択すると、送受信するデータが暗号化され、漏洩の危険性が低くなります。また、日本ベリサイン社によって通信サーバが認証されるため、なりすましなどによるID・パスワードの盗用の可能性も低減できます。</td>
+					</tr>
+
+				</table>
+				</td>
+				<!--▲ONTENTS-->	
+			</tr>
+		</table>
+		<!--▲MAIN CONTENTS-->
+		</td>
+		<td bgcolor="#ffffff" width="10"><img src="../img/_.gif" width="39" height="1" alt="" /></td>
+		<td bgcolor="#cccccc" width="1"><img src="../img/_.gif" width="1" height="10" alt="" />
+<!-- EBiS start -->
+<script type="text/javascript">
+if ( location.protocol == 'http:' ){ 
+	strServerName = 'http://daikoku.ebis.ne.jp'; 
+} else { 
+	strServerName = 'https://secure2.ebis.ne.jp/ver3';
+}
+cid = 'tqYg3k6U'; pid = 'shopping_card'; m1id=''; a1id=''; o1id=''; o2id=''; o3id=''; o4id=''; o5id='';
+document.write("<scr" + "ipt type=\"text\/javascript\" src=\"" + strServerName + "\/ebis_tag.php?cid=" + cid + "&pid=" + pid + "&m1id=" + m1id + "&a1id=" + a1id + "&o1id=" + o1id + "&o2id=" + o2id + "&o3id=" + o3id + "&o4id=" + o4id + "&o5id=" + o5id + "\"><\/scr" + "ipt>");
+</script>
+<!-- EBiS end -->
+		</td>
+
+	</tr>
+</table>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/confirm.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/confirm.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/confirm.tpl	(revision 19713)
@@ -0,0 +1,266 @@
+<!--{*
+ * 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[
+    var send = true;
+
+    function fnCheckSubmit() {
+        if(send) {
+            send = false;
+            return true;
+        } else {
+            alert("只今、処理中です。しばらくお待ち下さい。");
+            return false;
+        }
+    }
+
+    $(document).ready(function() {
+        $("a.expansion").fancybox({
+        });
+    });
+//]]></script>
+
+<!--▼CONTENTS-->
+<div id="under02column">
+    <div id="under02column_shopping">
+        <p class="flowarea"><img src="<!--{$TPL_DIR}-->img/picture/img_flow_03.gif" width="700" height="36" alt="購入手続きの流れ" /></p>
+        <h2 class="title"><!--{$tpl_title|escape}--></h2>
+
+        <p>下記ご注文内容で送信してもよろしいでしょうか？<br />
+            よろしければ、「<!--{if $payment_type != ""}-->次へ<!--{else}-->ご注文完了ページへ<!--{/if}-->」ボタンをクリックしてください。</p>
+
+        <form name="form1" id="form1" method="post" action="?">
+            <input type="hidden" name="mode" value="confirm" />
+            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
+
+            <div class="tblareabtn">
+                <a href="./payment.php" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back_on.gif',back03)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back.gif',back03)"><img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30" alt="戻る" border="0" name="back03-top" id="back03-top" /></a>&nbsp;
+                <!--{if $payment_type != ""}-->
+                <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_next.gif" alt="次へ" class="box150" name="next-top" id="next-top" />
+                <!--{else}-->
+                <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_order_complete_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_order_complete.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_order_complete.gif" alt="ご注文完了ページへ" class="box150" name="next-top" id="next-top" />                <!--{/if}-->
+            </div>
+
+            <table summary="ご注文内容確認">
+                <tr>
+                    <th>商品写真</th>
+                    <th>商品名</th>
+                    <th>単価</th>
+                    <th>数量</th>
+                    <th>小計</th>
+                </tr>
+                <!--{foreach from=$cartItems item=item}-->
+                <tr>
+                    <td class="phototd">
+                        <a
+                            <!--{if $item.productsClass.main_image|strlen >= 1}-->
+                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$item.productsClass.main_image|sfNoImageMainList|escape}-->"
+                                class="expansion"
+                                target="_blank"
+                            <!--{/if}-->
+                        >
+                            <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|escape}-->" /></a>
+                    </td>
+                    <td>
+                        <ul>
+                            <li><strong><!--{$item.productsClass.name|escape}--></strong></li>
+                            <!--{if $item.productsClass.classcategory_name1 != ""}-->
+                            <li><!--{$item.productsClass.class_name1}-->：<!--{$item.productsClass.classcategory_name1}--></li>
+                            <!--{/if}-->
+                            <!--{if $item.productsClass.classcategory_name2 != ""}-->
+                            <li><!--{$item.productsClass.class_name2}-->：<!--{$item.productsClass.classcategory_name2}--></li>
+                            <!--{/if}-->
+                        </ul>
+                 </td>
+                 <td class="pricetd">
+                 <!--{if $item.productsClass.price02 != ""}-->
+                     <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
+                 <!--{else}-->
+                     <!--{$item.productsClass.price01|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
+                 <!--{/if}-->
+                 </td>
+                 <td><!--{$item.quantity|number_format}--></td>
+                 <td class="pricetd"><!--{$item.total_inctax|number_format}-->円</td>
+             </tr>
+             <!--{/foreach}-->
+                <tr>
+                    <th colspan="4" class="resulttd">小計</th>
+                    <td class="pricetd"><!--{$tpl_total_inctax[$cartKey]|number_format}-->円</td>
+                </tr>
+                <!--{if $smarty.const.USE_POINT !== false}-->
+                    <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>
+                    <td class="pricetd"><!--{$arrData.deliv_fee|number_format}-->円</td>
+                </tr>
+                <tr>
+                    <th colspan="4" class="resulttd">手数料</th>
+                    <td class="pricetd"><!--{$arrData.charge|number_format}-->円</td>
+                </tr>
+                <tr>
+                    <th colspan="4" class="resulttd">合計</th>
+                    <td class="pricetd"><em><!--{$arrData.payment_total|number_format}-->円</em></td>
+                </tr>
+            </table>
+
+            <!--{* ログイン済みの会員のみ *}-->
+            <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
+                <table summary="ポイント確認" class="delivname">
+                    <tr>
+                        <th>ご注文前のポイント</th>
+                        <td><!--{$tpl_user_point|number_format|default:0}-->Pt</td>
+                    </tr>
+                    <tr>
+                        <th>ご使用ポイント</th>
+                        <td>-<!--{$arrData.use_point|number_format|default:0}-->Pt</td>
+                    </tr>
+                    <!--{if $arrData.birth_point > 0}-->
+                    <tr>
+                        <th>お誕生月ポイント</th>
+                        <td>+<!--{$arrData.birth_point|number_format|default:0}-->Pt</td>
+                    </tr>
+                    <!--{/if}-->
+                    <tr>
+                        <th>今回加算予定のポイント</th>
+                        <td>+<!--{$arrData.add_point|number_format|default:0}-->Pt</td>
+                    </tr>
+                    <tr>
+                    <!--{assign var=total_point value=`$tpl_user_point-$arrData.use_point+$arrData.add_point`}-->
+                        <th>加算後のポイント</th>
+                        <td><!--{$total_point|number_format}-->Pt</td>
+                    </tr>
+                </table>
+            <!--{/if}-->
+            <!--{* ログイン済みの会員のみ *}-->
+
+            <!--お届け先ここから-->
+            <!--{* 販売方法判定（ダウンロード販売のみの場合はお届け先を表示しない） *}-->
+            <!--{if $cartdown != "2"}-->
+            <table summary="お届け先確認" class="delivname">
+                <thead>
+                    <tr>
+                        <th colspan="2">▼お届け先</th>
+                    </tr>
+                </thead>
+                <tbody>
+                    <!--{* 別のお届け先が選択されている場合 *}-->
+                    <!--{if $arrData.deliv_check >= 1}-->
+                        <tr>
+                            <th>お名前</th>
+                            <td><!--{$arrData.deliv_name01|escape}--> <!--{$arrData.deliv_name02|escape}--></td>
+                        </tr>
+                        <tr>
+                            <th>お名前(フリガナ)</th>
+                            <td><!--{$arrData.deliv_kana01|escape}--> <!--{$arrData.deliv_kana02|escape}--></td>
+                        </tr>
+                        <tr>
+                            <th>郵便番号</th>
+                            <td>〒<!--{$arrData.deliv_zip01|escape}-->-<!--{$arrData.deliv_zip02|escape}--></td>
+                        </tr>
+                        <tr>
+                            <th>住所</th>
+                            <td><!--{$arrPref[$arrData.deliv_pref]}--><!--{$arrData.deliv_addr01|escape}--><!--{$arrData.deliv_addr02|escape}--></td>
+                        </tr>
+                        <tr>
+                            <th>電話番号</th>
+                            <td><!--{$arrData.deliv_tel01}-->-<!--{$arrData.deliv_tel02}-->-<!--{$arrData.deliv_tel03}--></td>
+                        </tr>
+                    <!--{else}-->
+                        <tr>
+                            <th>お名前</th>
+                            <td><!--{$arrData.order_name01|escape}--> <!--{$arrData.order_name02|escape}--></td>
+                        </tr>
+                        <tr>
+                            <th>お名前(フリガナ)</th>
+                            <td><!--{$arrData.order_kana01|escape}--> <!--{$arrData.order_kana02|escape}--></td>
+                        </tr>
+                        <tr>
+                            <th>郵便番号</th>
+                            <td>〒<!--{$arrData.order_zip01|escape}-->-<!--{$arrData.order_zip02|escape}--></td>
+                        </tr>
+                        <tr>
+                            <th>住所</th>
+                            <td><!--{$arrPref[$arrData.order_pref]}--><!--{$arrData.order_addr01|escape}--><!--{$arrData.order_addr02|escape}--></td>
+                        </tr>
+                        <tr>
+                            <th>電話番号</th>
+                            <td><!--{$arrData.order_tel01}-->-<!--{$arrData.order_tel02}-->-<!--{$arrData.order_tel03}--></td>
+                        </tr>
+                    <!--{/if}-->
+                </tbody>
+            </table>
+            <!--{/if}-->
+            <!--お届け先ここまで-->
+
+            <table summary="お支払方法・お届け日時の指定・その他お問い合わせ" class="delivname">
+                <thead>
+                <tr>
+                    <th colspan="2">▼お支払方法・お届け日時の指定・その他お問い合わせ</th>
+                </tr>
+                </thead>
+                <tbody>
+                <tr>
+                    <th>お支払方法</th>
+                    <td><!--{$arrData.payment_method|escape}--></td>
+                </tr>
+                <!--{* 販売方法判定（ダウンロード販売のみの場合はお届け日、時間を表示しない） *}-->
+                <!--{if $cartdown != "2"}-->
+                <tr>
+                    <th>お届け日</th>
+                    <td><!--{$arrData.deliv_date|escape|default:"指定なし"}--></td>
+                </tr>
+                <tr>
+                    <th>お届け時間</th>
+                    <td><!--{$arrData.deliv_time|escape|default:"指定なし"}--></td>
+                </tr>
+                <!--{/if}-->
+                <tr>
+                    <th>その他お問い合わせ</th>
+                    <td><!--{$arrData.message|escape|nl2br}--></td>
+                </tr>
+                </tbody>
+            </table>
+
+            <!--{if 'sfTSPrintOrderBox'|function_exists}-->
+                <!--{'sfTSPrintOrderBox'|call_user_func}-->
+            <!--{/if}-->
+
+            <div class="tblareabtn">
+                <a href="./payment.php" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back_on.gif',back03)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back.gif',back03)"><img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30" alt="戻る" border="0" name="back03" id="back03" /></a>&nbsp;
+                <!--{if $payment_type != ""}-->
+                <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_next.gif" alt="次へ" class="box150" name="next" id="next" />
+                <!--{else}-->
+                <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_order_complete_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_order_complete.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_order_complete.gif" alt="ご注文完了ページへ" class="box150" name="next" id="next" />
+                <!--{/if}-->
+            </div>
+        </form>
+    </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/payment.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/payment.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/payment.tpl	(revision 19713)
@@ -0,0 +1,136 @@
+<!--{*
+ * 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.
+ *}-->
+<!--▼CONTENTS-->
+<div id="under02column">
+    <div id="under02column_shopping">
+        <p class="flowarea">
+            <img src="<!--{$TPL_DIR}-->img/picture/img_flow_02.gif" width="700" height="36" alt="購入手続きの流れ" />
+        </p>
+        <h2 class="title"><!--{$tpl_title|escape}--></h2>
+
+        <form name="form1" id="form1" method="post" action="?">
+            <input type="hidden" name="mode" value="confirm" />
+            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
+            <div class="payarea">
+                <h3>お支払方法の指定</h3>
+                <p>お支払方法をご選択ください。</p>
+
+                <!--{assign var=key value="payment_id"}-->
+                <!--{if $arrErr[$key] != ""}-->
+                <p class="attention"><!--{$arrErr[$key]}--></p>
+                <!--{/if}-->
+                <table summary="お支払方法選択">
+                    <tr>
+                        <th>選択</th>
+                        <th colspan="<!--{if !$img_show}-->2<!--{else}-->3<!--{/if}-->">お支払方法</th>
+                    </tr>
+                    <!--{section name=cnt loop=$arrPayment}-->
+                    <tr>
+                        <td class="centertd"><input type="radio" id="pay_<!--{$smarty.section.cnt.iteration}-->" name="<!--{$key}-->" onclick="fnSetDelivTime('payment','<!--{$key}-->','deliv_time_id');" value="<!--{$arrPayment[cnt].payment_id}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" <!--{$arrPayment[cnt].payment_id|sfGetChecked:$arrForm[$key].value}--> />
+                        </td>
+                        <td>
+                            <label for="pay_<!--{$smarty.section.cnt.iteration}-->"><!--{$arrPayment[cnt].payment_method|escape}--><!--{if $arrPayment[cnt].note != ""}--><!--{/if}--></label>
+                        </td>
+                        <!--{if $img_show}-->
+                            <td>
+                                <!--{if $arrPayment[cnt].payment_image != ""}-->
+                                    <img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrPayment[cnt].payment_image}-->" />
+                                <!--{/if}-->
+                            </td>
+                        <!--{/if}-->
+                    </tr>
+                    <!--{/section}-->
+                </table>
+            </div>
+
+            <!--{if $cartdown != 2}-->
+            <div class="payarea02">
+                <h3>お届け時間の指定</h3>
+                <p>ご希望の方は、お届け時間を選択してください。</p>
+                <div>
+                    <!--★お届け日★-->
+                    <!--{assign var=key value="deliv_date"}-->
+                    <span class="attention"><!--{$arrErr[$key]}--></span>
+                    <em>お届け日：</em>
+                    <!--{if !$arrDelivDate}-->
+                        ご指定頂けません。
+                    <!--{else}-->
+                        <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+                            <option value="" selected="">指定なし</option>
+                            <!--{html_options options=$arrDelivDate selected=$arrForm[$key].value}-->
+                        </select>
+                    <!--{/if}-->
+                    <!--★お届け時間★-->
+                    <!--{assign var=key value="deliv_time_id"}-->
+                    <span class="attention"><!--{$arrErr[$key]}--></span>
+                    <em>お届け時間：</em>
+                    <select name="<!--{$key}-->" id="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+                        <option value="" selected="">指定なし</option>
+                        <!--{html_options options=$arrDelivTime selected=$arrForm[$key].value}-->
+                    </select>
+                 </div>
+            </div>
+            <!--{/if}-->
+
+            <div class="payarea02">
+                <h3>その他お問い合わせ</h3>
+                <p>その他お問い合わせ事項がございましたら、こちらにご入力ください。</p>
+                <div>
+                    <!--★その他お問い合わせ事項★-->
+                    <!--{assign var=key value="message"}-->
+                    <span class="attention"><!--{$arrErr[$key]}--></span>
+                    <textarea name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" cols="80" rows="8" class="area660" wrap="head"><!--{$arrForm[$key].value|escape}--></textarea>
+                    <span class="attention"> (<!--{$smarty.const.LTEXT_LEN}-->文字まで)</span>
+                </div>
+            </div>
+
+            <!-- ▼ポイント使用 ここから -->
+            <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
+                <div class="pointarea">
+                    <h3>ポイント使用の指定</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"}-->
+
+                             <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>
+            <!--{/if}-->
+            <!-- ▲ポイント使用 ここまで -->
+
+            <div class="tblareabtn">
+                <a href="<!--{$tpl_back_url|escape}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_back_on.gif','back03')" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_back.gif','back03')">
+                    <img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30" alt="戻る" border="0" name="back03" id="back03" /></a>&nbsp;
+                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_next.gif" class="box150" alt="次へ" name="next" id="next" />
+            </div>
+        </form>
+    </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/nonmember_input.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/nonmember_input.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/nonmember_input.tpl	(revision 19713)
@@ -0,0 +1,250 @@
+<!--{*
+ * 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.
+ *}-->
+<!--▼CONTENTS-->
+<div id="under02column">
+  <div id="under02column_customer">
+    <p class="flowarea"><img src="<!--{$TPL_DIR}-->img/picture/img_flow_01.gif" width="700" height="36" alt="購入手続きの流れ" /></p>
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+
+    <p>下記項目にご入力ください。「<span class="attention">※</span>」印は入力必須項目です。<br />
+      入力後、一番下の「確認ページへ」ボタンをクリックしてください。</p>
+    <form name="form1" id="form1" method="post" action="?">
+      <input type="hidden" name="mode" value="nonmember_confirm" />
+      <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
+      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+      <table summary=" ">
+        <tr>
+          <th>お名前<span class="attention">※</span></th>
+          <td>
+            <!--{assign var=key1 value="order_name01"}-->
+            <!--{assign var=key2 value="order_name02"}-->
+            <span class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+            姓&nbsp;<input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box120" />&nbsp;
+            名&nbsp;<input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box120" />
+          </td>
+        </tr>
+        <tr>
+          <th>お名前(フリガナ)<span class="attention">※</span></th>
+          <td>
+            <!--{assign var=key1 value="order_kana01"}-->
+            <!--{assign var=key2 value="order_kana02"}-->
+            <span class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+            セイ&nbsp;<input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box120" />&nbsp;
+            メイ&nbsp;<input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box120" />
+          </td>
+        </tr>
+        <tr>
+          <th>郵便番号<span class="attention">※</span></th>
+          <td>
+            <!--{assign var=key1 value="order_zip01"}-->
+            <!--{assign var=key2 value="order_zip02"}-->
+            <span class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+            <p>〒&nbsp;<input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->"  size="6" class="box60" />&nbsp;-&nbsp;  <input type="text"  name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box60" />　
+              <a href="http://search.post.japanpost.jp/zipcode/" target="_blank"><span class="fs12">郵便番号検索</span></a></p>
+
+            <p class="zipimg"><a href="<!--{$smarty.const.URL_DIR}-->address/<!--{$smarty.const.DIR_INDEX_URL}-->" onclick="fnCallAddress('<!--{$smarty.const.URL_INPUT_ZIP}-->', 'order_zip01', 'order_zip02', 'order_pref', 'order_addr01'); return false;" target="_blank"><img src="<!--{$TPL_DIR}-->img/button/btn_address_input.gif" width="86" height="20" alt="住所自動入力" /></a>
+               <span class="mini">&nbsp;郵便番号を入力後、クリックしてください。</span></p>
+          </td>
+        </tr>
+        <tr>
+          <th>住所<span class="attention">※</span></th>
+          <td>
+            <!--{assign var=key value="order_pref"}-->
+            <span class="attention"><!--{$arrErr.order_pref}--><!--{$arrErr.order_addr01}--><!--{$arrErr.order_addr02}--></span>
+            <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+              <option value="">都道府県を選択</option>
+              <!--{html_options options=$arrPref selected=$arrForm[$key].value}-->
+            </select>
+            <p class="mini">
+              <!--{assign var=key value="order_addr01"}-->
+              <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" size="40" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box380" /><br />
+              <!--{$smarty.const.SAMPLE_ADDRESS1}--></p>
+            <p class="mini">
+              <!--{assign var=key value="order_addr02"}-->
+              <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" size="40"  maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box380" /><br />
+              <!--{$smarty.const.SAMPLE_ADDRESS2}--></p>
+            <p class="mini"><em>住所は2つに分けてご記入ください。マンション名は必ず記入してください。</em></p></td>
+        </tr>
+        <tr>
+          <th>電話番号<span class="attention">※</span></th>
+          <td>
+            <!--{assign var=key1 value="order_tel01"}-->
+            <!--{assign var=key2 value="order_tel02"}-->
+            <!--{assign var=key3 value="order_tel03"}-->
+            <span class="attention"><!--{$arrErr[$key1]}--></span>
+            <span class="attention"><!--{$arrErr[$key2]}--></span>
+            <span class="attention"><!--{$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="box60" /> -
+            <input type="text" name="<!--{$arrForm[$key2].keyname}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box60" /> -
+            <input type="text" name="<!--{$arrForm[$key3].keyname}-->" value="<!--{$arrForm[$key3].value|escape}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" size="6" class="box60" />
+          </td>
+        </tr>
+        <tr>
+          <th>FAX</th>
+          <td>
+            <!--{assign var=key1 value="order_fax01"}-->
+            <!--{assign var=key2 value="order_fax02"}-->
+            <!--{assign var=key3 value="order_fax03"}-->
+            <span class="attention"><!--{$arrErr[$key1]}--></span>
+            <span class="attention"><!--{$arrErr[$key2]}--></span>
+            <span class="attention"><!--{$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="box60" /> -
+            <input type="text" name="<!--{$arrForm[$key2].keyname}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box60" /> -
+            <input type="text" name="<!--{$arrForm[$key3].keyname}-->" value="<!--{$arrForm[$key3].value|escape}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" size="6" class="box60" />
+          </td>
+        </tr>
+        <tr>
+          <th>メールアドレス<span class="attention">※</span></th>
+          <td>
+            <!--{assign var=key value="order_email"}-->
+            <span class="attention"><!--{$arrErr[$key]}--></span>
+            <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="40" class="box380" /><br />
+            <!--{assign var=key value="order_email02"}-->
+            <span class="attention"><!--{$arrErr[$key]}--></span>
+            <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="40" class="box380" /><br />
+            <p class="mini"><em>確認のため2度入力してください。</em></p>
+          </td>
+        </tr>
+        <tr>
+          <th>性別<span class="attention">※</span></th>
+          <td>
+            <!--{assign var=key value="order_sex"}-->
+            <span class="attention"><!--{$arrErr[$key]}--></span>
+            <!--{if $arrErr[$key]}-->
+              <!--{assign var=err value="background-color: `$smarty.const.ERR_COLOR`"}-->
+            <!--{/if}-->
+            <!--{html_radios name="$key" options=$arrSex selected=$arrForm[$key].value style="$err"}-->
+          </td>
+        </tr>
+        <tr>
+          <th>職業</th>
+          <td>
+            <!--{assign var=key value="order_job"}-->
+            <!--{if $arrErr[$key]}-->
+              <!--{assign var=err value="background-color: `$smarty.const.ERR_COLOR`"}-->
+            <!--{/if}-->
+            <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+              <option value="">選択して下さい</option>
+              <!--{html_options options=$arrJob selected=$arrForm[$key].value}-->
+            </select>
+          </td>
+        </tr>
+        <tr>
+          <th>生年月日</th>
+          <td>
+            <!--{assign var=errBirth value="`$arrErr.year``$arrErr.month``$arrErr.day`"}-->
+            <span class="attention"><!--{$errBirth}--></span>
+            <select name="year" style="<!--{$errBirth|sfGetErrorColor}-->">
+              <!--{html_options options=$arrYear selected=$arrForm.year.value|default:''}-->
+            </select>年
+            <select name="month" style="<!--{$errBirth|sfGetErrorColor}-->">
+              <!--{html_options options=$arrMonth selected=$arrForm.month.value|default:''}-->
+            </select>月
+            <select name="day" style="<!--{$errBirth|sfGetErrorColor}-->">
+              <!--{html_options options=$arrDay selected=$arrForm.day.value|default:''}-->
+            </select>日
+          </td>
+        </tr>
+        <tr>
+          <th colspan="2">
+          <!--{assign var=key value="deliv_check"}-->
+          <input type="checkbox" name="<!--{$key}-->" value="1" onclick="fnCheckInputDeliv();" <!--{$arrForm[$key].value|sfGetChecked:1}--> id="deliv_label" />
+          <label for="deliv_label"><em>お届け先を指定</em>　※上記に入力された住所と同一の場合は省略可能です。</label>
+          </th>
+        </tr>
+        <tr>
+          <th>お名前<span class="attention">※</span></th>
+          <td>
+            <!--{assign var=key1 value="deliv_name01"}-->
+            <!--{assign var=key2 value="deliv_name02"}-->
+            <span class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+            姓&nbsp;<input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box120" />&nbsp;
+            名&nbsp;<input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box120" />
+          </td>
+        </tr>
+        <tr>
+          <th>お名前(フリガナ)<span class="attention">※</span></th>
+          <td>
+            <!--{assign var=key1 value="deliv_kana01"}-->
+            <!--{assign var=key2 value="deliv_kana02"}-->
+            <span class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+            セイ&nbsp;<input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="15" class="box120" />&nbsp;
+            メイ&nbsp;<input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="15" class="box120" />
+          </td>
+        </tr>
+        <tr>
+          <th>郵便番号<span class="attention">※</span></th>
+          <td>
+           <!--{assign var=key1 value="deliv_zip01"}-->
+           <!--{assign var=key2 value="deliv_zip02"}-->
+            <span class="attention"><!--{$arrErr[$key1]}--><!--{$arrErr[$key2]}--></span>
+            <p>〒&nbsp;<input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->"  size="6" class="box60" />&nbsp;-&nbsp;  <input type="text"  name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box60" />　
+              <a href="http://search.post.japanpost.jp/zipcode/" target="_blank"><span class="fs12">郵便番号検索</span></a></p>
+
+            <p class="zipimg"><a href="<!--{$smarty.const.URL_DIR}-->address/<!--{$smarty.const.DIR_INDEX_URL}-->" onclick="fnCallAddress('<!--{$smarty.const.URL_INPUT_ZIP}-->', 'deliv_zip01', 'deliv_zip02', 'deliv_pref', 'deliv_addr01'); return false;" target="_blank"><img src="<!--{$TPL_DIR}-->img/button/btn_address_input.gif" width="86" height="20" alt="住所自動入力" /></a>
+              <span class="mini">&nbsp;郵便番号を入力後、クリックしてください。</span></p>
+          </td>
+        </tr>
+        <tr>
+          <th>住所<span class="attention">※</span></th>
+          <td>
+            <!--{assign var=key value="deliv_pref"}-->
+            <span class="attention"><!--{$arrErr.deliv_pref}--><!--{$arrErr.deliv_addr01}--><!--{$arrErr.deliv_addr02}--></span>
+            <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+              <option value="">都道府県を選択</option>
+              <!--{html_options options=$arrPref selected=$arrForm[$key].value}-->
+            </select>
+            <p class="mini">
+              <!--{assign var=key value="deliv_addr01"}-->
+              <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" size="40" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box380" /><br />
+              <!--{$smarty.const.SAMPLE_ADDRESS1}--></p>
+            <p class="mini">
+              <!--{assign var=key value="deliv_addr02"}-->
+              <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" size="40"  maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box380" /><br />
+              <!--{$smarty.const.SAMPLE_ADDRESS2}--></p>
+            <p class="mini"><em>住所は2つに分けてご記入ください。マンション名は必ず記入してください。</em></p>
+
+          </td>
+        </tr>
+        <tr>
+          <th>電話番号<span class="attention">※</span></th>
+          <td>
+            <!--{assign var=key1 value="deliv_tel01"}-->
+            <!--{assign var=key2 value="deliv_tel02"}-->
+            <!--{assign var=key3 value="deliv_tel03"}-->
+            <span class="attention"><!--{$arrErr[$key1]}--></span>
+            <span class="attention"><!--{$arrErr[$key2]}--></span>
+            <span class="attention"><!--{$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="box60" /> -
+            <input type="text" name="<!--{$arrForm[$key2].keyname}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" class="box60" /> -
+            <input type="text" name="<!--{$arrForm[$key3].keyname}-->" value="<!--{$arrForm[$key3].value|escape}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->" size="6" class="box60" />
+          </td>
+        </tr>
+      </table>
+
+      <div class="tblareabtn">
+       <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_next.gif" class="box150" alt="次へ" name="next" id="next" />
+      </div>
+    </form>
+  </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/deliv.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/deliv.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/deliv.tpl	(revision 19713)
@@ -0,0 +1,101 @@
+<!--{*
+ * 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.
+ *}-->
+<!--▼CONTENTS-->
+<div id="under02column">
+    <div id="under02column_shopping">
+        <p class="flowarea">
+            <img src="<!--{$TPL_DIR}-->img/picture/img_flow_01.gif" width="700" height="36" alt="購入手続きの流れ" />
+        </p>
+        <h2 class="title"><!--{$tpl_title|escape}--></h2>
+
+        <p>下記一覧よりお届け先住所を選択して、「選択したお届け先に送る」ボタンをクリックしてください。</p>
+        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
+            <p>一覧にご希望の住所が無い場合は、「新しいお届け先を追加する」より追加登録してください。</p>
+        <!--{/if}-->
+        <p>※最大<!--{$smarty.const.DELIV_ADDR_MAX|escape}-->件まで登録できます。</p>
+
+        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
+            <p class="addbtn">
+                <a href="<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php" onclick="win02('<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php?page=<!--{$smarty.server.PHP_SELF|escape}-->','new_deiv','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_add_address_on.gif','addition');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_add_address.gif','addition');"><img src="<!--{$TPL_DIR}-->img/button/btn_add_address.gif" width="160" height="22" alt="新しいお届け先を追加する" name="addition" id="addition" /></a>
+            </p>
+        <!--{/if}-->
+        <form name="form1" id="form1" method="post" action="?">
+            <input type="hidden" name="mode" value="customer_addr" />
+            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
+            <input type="hidden" name="other_deliv_id" value="" />
+            <!--{if $arrErr.deli != ""}-->
+                <p class="attention"><!--{$arrErr.deli}--></p>
+            <!--{/if}-->
+            <table summary="お届け先の指定">
+                <tr>
+                    <th>選択</th>
+                    <th>住所種類</th>
+                    <th>お届け先</th>
+                    <th>変更</th>
+                    <th>削除</th>
+                </tr>
+                <!--{section name=cnt loop=$arrAddr}-->
+                <tr>
+                     <td class="centertd">
+                         <!--{if $smarty.section.cnt.first}-->
+                            <input type="radio" name="deliv_check" id="chk_id_<!--{$smarty.section.cnt.iteration}-->" value="-1" <!--{if $arrForm.deliv_check.value == "" || $arrForm.deliv_check.value == -1}--> checked="checked"<!--{/if}--> />
+                         <!--{else}-->
+                            <input type="radio" name="deliv_check" id="chk_id_<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrAddr[cnt].other_deliv_id}-->"<!--{if $arrForm.deliv_check.value == $arrAddr[cnt].other_deliv_id}--> checked="checked"<!--{/if}--> />
+                         <!--{/if}-->
+                    </td>
+                    <td>
+                        <label for="chk_id_<!--{$smarty.section.cnt.iteration}-->">
+                            <!--{if $smarty.section.cnt.first}-->
+                                会員登録住所
+                            <!--{else}-->
+                                追加登録住所
+                            <!--{/if}-->
+                        </label>
+                    </td>
+                    <td>
+                        <!--{assign var=key value=$arrAddr[cnt].pref}-->
+                        <!--{$arrPref[$key]}--><!--{$arrAddr[cnt].addr01|escape}--><!--{$arrAddr[cnt].addr02|escape}--><br />
+                        <!--{$arrAddr[cnt].name01|escape}--> <!--{$arrAddr[cnt].name02|escape}-->
+                    </td>
+                    <td class="centertd">
+                        <!--{if !$smarty.section.cnt.first}-->
+                            <a href="<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php" onclick="win02('<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php?page=<!--{$smarty.server.PHP_SELF|escape}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->','new_deiv','600','640'); return false;">変更</a>
+                        <!--{/if}-->
+                    </td>
+                    <td class="centertd">
+                        <!--{if !$smarty.section.cnt.first}-->
+                            <a href="?" onclick="fnModeSubmit('delete', 'other_deliv_id', '<!--{$arrAddr[cnt].other_deliv_id}-->'); return false">削除</a>
+                        <!--{/if}-->
+                    </td>
+                </tr>
+            <!--{/section}-->
+        </table>
+
+            <div class="tblareabtn">
+                <a href="<!--{$smarty.const.URL_CART_TOP}-->" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back_on.gif',back03)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back.gif',back03)">
+                    <img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30" alt="戻る" border="0" name="back03" id="back03" /></a>
+                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_address_select_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_address_select.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_address_select.gif" alt="選択したお届け先に送る" class="box190" name="send_button" id="send_button" />
+            </div>
+        </form>
+    </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/index.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/index.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/index.tpl	(revision 19713)
@@ -0,0 +1,79 @@
+<!--{*
+ * 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.
+ *}-->
+<!--▼CONTENTS-->
+<div id="under02column">
+  <div id="under02column_login">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <form name="member_form" id="member_form" method="post" action="./deliv.php" onsubmit="return fnCheckLogin('member_form')">
+   <div class="loginarea">
+     <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+     <p><img src="<!--{$TPL_DIR}-->img/title/tit_sub_member.gif" width="202" height="16" alt="会員登録がお済みのお客様" /></p>
+     <p class="inputtext">会員の方は、登録時に入力されたメールアドレスとパスワードでログインしてください。</p>
+       <input type="hidden" name="mode" value="login" />
+       <div class="inputbox">
+       <!--{assign var=key value="login_email"}--><span class="attention"><!--{$arrErr[$key]}--></span>
+       <p>メールアドレス:&nbsp;
+         <input type="text" name="<!--{$key}-->"
+                value="<!--{$tpl_login_email|escape}-->"
+                maxlength="<!--{$arrForm[$key].length}-->"
+                style="<!--{$arrErr[$key]|sfGetErrorColor}-->; ime-mode: disabled;"
+                size="40" class="box300" />
+       </p>
+       <p class="mini">
+         <input type="checkbox" name="login_memory" value="1" <!--{$tpl_login_memory|sfGetChecked:1}--> id="login_memory" />
+         <label for="login_memory">会員メールアドレスをコンピューターに記憶させる</label>
+       </p>
+       <p class="passwd">
+         <!--{assign var=key value="login_pass"}--><span class="attention"><!--{$arrErr[$key]}--></span>
+         パスワード:&nbsp;
+         <input type="password" name="<!--{$key}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="40" class="box300" />
+       </p>
+     </div>
+     <div class="tblareabtn">
+      <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_login_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_login.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_login.gif" alt="ログイン" name="log" id="log" class="box140" />
+     </div>
+     <p class="inputtext02">
+       パスワードを忘れた方は<a href="<!--{$smarty.const.SSL_URL|sfTrimURL}-->/forgot/<!--{$smarty.const.DIR_INDEX_URL}-->" onclick="win01('<!--{$smarty.const.SSL_URL|sfTrimURL}-->/forgot/<!--{$smarty.const.DIR_INDEX_URL}-->','forget','600','460'); return false;" target="_blank">こちら</a>からパスワードの再発行を行ってください。<br />
+      メールアドレスを忘れた方は、お手数ですが、<a href="<!--{$smarty.const.URL_DIR}-->contact/<!--{$smarty.const.DIR_INDEX_URL}-->">お問い合わせページ</a>からお問い合わせください。
+     </p>
+   </div>
+    </form>
+    <form name="member_form2" id="member_form2" method="post" action="?">
+      <input type="hidden" name="mode" value="nonmember" />
+      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+    <div class="loginarea">
+    <p>
+      <img src="<!--{$TPL_DIR}-->img/title/tit_sub_guest.gif" width="247" height="16" alt="まだ会員登録されていないお客様" />
+    </p>
+    <p class="inputtext">会員登録をすると便利なMyページをご利用いただけます。<br />
+      また、ログインするだけで、毎回お名前や住所などを入力することなくスムーズにお買い物をお楽しみいただけます。
+    </p>
+    <div class="inputbox02">
+      <a href="<!--{$smarty.const.URL_DIR}-->entry/kiyaku.php" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_entry_on.gif','b_gotoentry');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_entry.gif','b_gotoentry');">
+        <img src="<!--{$TPL_DIR}-->img/button/btn_entry.gif" width="130" height="30" alt="会員登録をする" border="0" name="b_gotoentry" /></a>
+      <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_buystep_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_buystep.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_buystep.gif" class="box130"  alt="購入手続きへ" name="buystep" id="buystep" />
+    </div>
+  </div>
+</form>
+</div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/complete.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/complete.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/complete.tpl	(revision 19713)
@@ -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.
+ *}-->
+<!--▼CONTENTS-->
+<div id="under02column">
+  <div id="under02column_shopping">
+    <p class="flowarea">
+      <img src="<!--{$TPL_DIR}-->img/picture/img_flow_04.gif" width="700" height="36" alt="購入手続きの流れ" />
+    </p>
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+
+    <!-- ▼その他決済情報を表示する場合は表示 -->
+    <!--{if $arrOther.title.value }-->
+    <p><em>■<!--{$arrOther.title.name}-->情報</em><br />
+        <!--{foreach key=key item=item from=$arrOther}-->
+        <!--{if $key != "title"}-->
+          <!--{if $item.name != ""}-->
+            <!--{$item.name}-->：
+          <!--{/if}-->
+            <!--{$item.value|nl2br}--><br />
+        <!--{/if}-->
+        <!--{/foreach}-->
+    </p>
+     <!--{/if}-->
+     <!-- ▲コンビに決済の場合には表示 -->
+
+    <div id="completetext">
+      <em><!--{$arrInfo.shop_name|escape}-->の商品をご購入いただき、ありがとうございました。</em>
+
+      <p>ただいま、ご注文の確認メールをお送りさせていただきました。<br />
+        万一、ご確認メールが届かない場合は、トラブルの可能性もありますので大変お手数ではございますがもう一度お問い合わせいただくか、お電話にてお問い合わせくださいませ。<br />
+        今後ともご愛顧賜りますようよろしくお願い申し上げます。</p>
+
+      <p><!--{$arrInfo.shop_name|escape}--><br />
+        TEL：<!--{$arrInfo.tel01}-->-<!--{$arrInfo.tel02}-->-<!--{$arrInfo.tel03}--> <!--{if $arrInfo.business_hour != ""}-->（受付時間/<!--{$arrInfo.business_hour}-->）<!--{/if}--><br />
+        E-mail：<a href="mailto:<!--{$arrInfo.email02|escape:'hex'}-->"><!--{$arrInfo.email02|escape:'hexentity'}--></a></p>
+    </div>
+
+    <div class="tblareabtn">
+      <!--{if $is_campaign}-->
+        <a href="<!--{$smarty.const.CAMPAIGN_URL}--><!--{$campaign_dir}-->/<!--{$smarty.const.DIR_INDEX_URL}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage_on.gif','b_toppage');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage.gif','b_toppage');"><img src="<!--{$TPL_DIR}-->img/button/btn_toppage.gif" width="150" height="30" alt="トップページへ" border="0" name="b_toppage" /></a>
+      <!--{else}-->
+        <a href="<!--{$smarty.const.URL_SITE_TOP}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage_on.gif','b_toppage');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage.gif','b_toppage');"><img src="<!--{$TPL_DIR}-->img/button/btn_toppage.gif" width="150" height="30" alt="トップページへ" border="0" name="b_toppage" /></a>
+      <!--{/if}-->
+    </div>
+  </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/card.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/card.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/card.tpl	(revision 19713)
@@ -0,0 +1,199 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<table width="780" cellspacing="0" cellpadding="0" summary=" ">
+	<tr>
+		<td bgcolor="#cccccc"><img src="../img/_.gif" width="1" height="18" alt="" /></td>
+		<td bgcolor="#ffffff" colspan="3"><img src="../img/_.gif" width="778" height="1" alt="" /></td>
+
+		<td bgcolor="#cccccc"><img src="../img/_.gif" width="1" height="18" alt="" /></td>		
+	</tr>
+	<tr>
+		<td bgcolor="#cccccc"><img src="../img/_.gif" width="1" height="10" alt="" /></td>
+		<td bgcolor="#ffffff"><img src="../img/_.gif" width="10" height="1" alt="" /></td>
+		<td><img src="../img/shopping/flow04.gif" width="758" height="78" alt="お買い物の流れ" /></td>
+		<td bgcolor="#ffffff"><img src="../img/_.gif" width="10" height="1" alt="" /></td>
+		<td bgcolor="#cccccc"><img src="../img/_.gif" width="1" height="10" alt="" /></td>		
+	</tr>
+</table>
+
+<table width="780" cellspacing="0" cellpadding="0" summary=" ">
+	<tr>
+		<td bgcolor="#cccccc" width="1"><img src="../img/_.gif" width="1" height="10" alt="" /></td>
+		<td bgcolor="#ffffff" width="9"><img src="../img/_.gif" width="39" height="1" alt="" /></td>
+		<td bgcolor="#ffffff" align="left"> 
+		<!--▼MAIN CONTENTS-->
+		<table cellspacing="0" cellpadding="0" summary=" " id="containerfull">
+			<tr><td height="20"></td></tr>
+			<tr valign="top">
+				<!--▼CONTENTS-->
+
+				<td>
+				<div id="maintitle"><img src="../img/shopping/card_title.jpg" width="700" height="40" alt="クレジットカード決済" /></div>
+				<div class="fs12n" id="comment01">下記項目にクレジットカード情報をご入力くださいませ。<br />
+				入力後、一番下の「ご注文完了ページへ」ボタンをクリックしてください。</div>
+				<form name="form1" id="form1" method="post" action="?">
+				<input type="hidden" name="mode" value="regist">
+				<input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
+				<span class="redst"><!--{$tpl_error}--></span>
+				<table cellspacing="1" cellpadding="8" summary=" " id="frame">
+					<tr>
+						<td class="fs12n" id="left">ご利用可能なカードの種類</td>
+
+						<td id="right"><img src="../img/shopping/card.gif" width="399" height="52" alt="ご利用可能なカードの種類" /></td>
+					</tr>
+					<tr>
+						<td class="fs12n" id="left">カード番号</td>
+						<td id="right">
+						<table cellspacing="0" cellpadding="0" summary=" ">
+							<tr>
+								<!--{assign var=key1 value="card_no01"}-->
+								<!--{assign var=key2 value="card_no02"}-->
+								<!--{assign var=key3 value="card_no03"}-->
+								<!--{assign var=key4 value="card_no04"}-->
+								<td class="fs12n">
+								<span class="red"><!--{$arrErr[$key1]}--></span>
+								<span class="red"><!--{$arrErr[$key2]}--></span>
+								<span class="red"><!--{$arrErr[$key3]}--></span>
+								<span class="red"><!--{$arrErr[$key4]}--></span>
+								<input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->"  size="6">&nbsp;-&nbsp;
+								<input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6">&nbsp;-&nbsp;
+								<input type="text" name="<!--{$key3}-->" value="<!--{$arrForm[$key3].value|escape}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="<!--{$arrErr[$key3]|sfGetErrorColor}-->"  size="6">&nbsp;-&nbsp;
+								<input type="text" name="<!--{$key4}-->" value="<!--{$arrForm[$key4].value|escape}-->" maxlength="<!--{$arrForm[$key4].length}-->" style="<!--{$arrErr[$key4]|sfGetErrorColor}-->"  size="6">
+								</td>
+							</tr>
+							<tr><td height="5"></td></tr>
+							<tr>
+								<td class="fs12n">ご本人名義のカードをご使用ください。<br>
+								半角入力&nbsp;例：1234-5678-9012-3456</td>
+							</tr>
+						</table>
+
+						</td>
+					</tr>
+					<tr>
+						<td class="fs12n" id="left">有効期限</td>
+						<td id="right">
+						<table cellspacing="0" cellpadding="0" summary=" ">
+							<tr>
+								<!--{assign var=key1 value="card_month"}-->
+								<!--{assign var=key2 value="card_year"}-->
+								<td class="fs12n">
+								<span class="red"><!--{$arrErr[$key1]}--></span>
+								<span class="red"><!--{$arrErr[$key2]}--></span>
+								<select name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" >
+								<option value="">--</option>
+								<!--{html_options options=$arrMonth selected=$arrForm[$key1].value}-->
+								</select>月/
+								<select name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" >
+								<option value="">--</option>
+								<!--{html_options options=$arrYear selected=$arrForm[$key2].value}-->
+								</select>年</td>
+							</tr>
+							<tr><td height="5"></td></tr>
+
+							<tr>
+								<td class="fs12n">カード上は月/年と記述しています。</td>
+							</tr>
+						</table>
+						</td>
+					</tr>
+					<tr>
+						<td class="fs12n" id="left">ローマ字氏名</td>
+
+						<td id="right">
+						<table cellspacing="0" cellpadding="0" summary=" ">
+							<tr>
+								<!--{assign var=key2 value="card_name01"}-->
+								<!--{assign var=key1 value="card_name02"}-->								
+								<td class="fs12n">
+								<span class="red"><!--{$arrErr[$key1]}--></span>
+								<span class="red"><!--{$arrErr[$key2]}--></span>
+								名&nbsp;<input type="text" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" size="20" class="bo20">&nbsp;&nbsp;姓&nbsp;
+								<input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="20" class="bo20"></td>
+							</tr>
+							<tr><td height="5"></td></tr>
+							<tr>
+								<td class="fs12n">半角英字入力　例：TARO YAMADA</td>
+							</tr>
+						</table>
+						</td>
+					</tr>
+					<tr>
+						<td class="fs12n" id="left">お支払い方法</td>
+
+						<td id="right">
+						<table cellspacing="0" cellpadding="0" summary=" ">
+							<tr>
+								<!--{assign var=key value="jpo_info"}-->								
+								<td class="fs12n">
+								<select name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" >
+								<!--{html_options options=$arrJPO_INFO selected=$arrForm[$key].value}-->
+								</select></td>
+							</tr>
+						</table>
+						</td>
+					</tr>
+					
+				</table>
+				<div class="red12" id="comment02">※「ご注文完了ページへ」をクリック後、完了ページが表示されるまでお待ちください。</div>
+				<div id="button">
+				<!--「戻る」「登録」-->
+				<a href="?" onmouseover="chgImg('/img/button/back03_on.gif','back03')" onmouseout="chgImg('/img/button/back03.gif','back03')" onclick="history.back(); return false;" /><img src="/img/button/back03.gif" width="110" height="30" alt="戻る" border="0" name="back03" id="back03" ></a><img src="../img/_.gif" width="12" height="" alt="" />
+				<input type="image" onmouseover="chgImgImageSubmit('../img/shopping/complete_on.gif',this)" onmouseout="chgImgImageSubmit('../img/shopping/complete.gif',this)" src="../img/shopping/complete.gif" width="170" height="30" alt="ご注文完了ページへ" border="0" name="complete" id="complete" />
+				</div>
+				</form>
+				
+				<table cellspacing="0" cellpadding="0" summary=" " id="verisign">
+					<tr>
+						<td><script src=https://seal.verisign.com/getseal?host_name=secure.tokado.jp&size=S&use_flash=YES&use_transparent=NO&lang=ja></script></td>
+						<td><img src="../img/_.gif" width="10" height="1" alt="" /></td>
+						<td class="fs10">インターネットショッピングでは、通信の安全性を確保するセキュリティモードを設定しています。「暗号化(SSL)」を選択すると、送受信するデータが暗号化され、漏洩の危険性が低くなります。また、日本ベリサイン社によって通信サーバが認証されるため、なりすましなどによるID・パスワードの盗用の可能性も低減できます。</td>
+					</tr>
+
+				</table>
+				</td>
+				<!--▲ONTENTS-->	
+			</tr>
+		</table>
+		<!--▲MAIN CONTENTS-->
+		</td>
+		<td bgcolor="#ffffff" width="10"><img src="../img/_.gif" width="39" height="1" alt="" /></td>
+		<td bgcolor="#cccccc" width="1"><img src="../img/_.gif" width="1" height="10" alt="" />
+<!-- EBiS start -->
+<script type="text/javascript">
+if ( location.protocol == 'http:' ){ 
+	strServerName = 'http://daikoku.ebis.ne.jp'; 
+} else { 
+	strServerName = 'https://secure2.ebis.ne.jp/ver3';
+}
+cid = 'tqYg3k6U'; pid = 'shopping_card'; m1id=''; a1id=''; o1id=''; o2id=''; o3id=''; o4id=''; o5id='';
+document.write("<scr" + "ipt type=\"text\/javascript\" src=\"" + strServerName + "\/ebis_tag.php?cid=" + cid + "&pid=" + pid + "&m1id=" + m1id + "&a1id=" + a1id + "&o1id=" + o1id + "&o2id=" + o2id + "&o3id=" + o3id + "&o4id=" + o4id + "&o5id=" + o5id + "\"><\/scr" + "ipt>");
+</script>
+<!-- EBiS end -->
+		</td>
+
+	</tr>
+</table>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/cart/index.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/cart/index.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/cart/index.tpl	(revision 19713)
@@ -0,0 +1,174 @@
+<!--{*
+ * 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[
+    $(document).ready(function() {
+        $("a.expansion").fancybox({
+        });
+    });
+//]]></script>
+
+<!--▼CONTENTS-->
+<div id="under02column">
+    <div id="under02column_cart">
+        <h2 class="title"><!--{$tpl_title|escape}--></h2>
+        <!--{if $smarty.const.USE_POINT !== false || count($arrProductsClass) > 0}-->
+            <p class="totalmoneyarea">
+                <!--★ポイント案内★-->
+                <!--{if $smarty.const.USE_POINT !== false}-->
+                    <!--{if $tpl_login}-->
+                        <!--{$tpl_name|escape}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br />
+                    <!--{else}-->
+                        ポイント制度をご利用になられる場合は、会員登録後ログインしていだだきますようお願い致します。<br />
+                    <!--{/if}-->
+                    ポイントは商品購入時に1pt＝<!--{$smarty.const.POINT_VALUE}-->円として使用することができます。<br />
+                <!--{/if}-->
+                
+                <!--{* カゴの中に商品がある場合にのみ表示 *}-->
+                <!--{if count($arrProductsClass) > 0 }-->
+                    <!--{* FIXME $key は未定義 *}-->
+                    お買い上げ商品の合計金額は「<em><!--{$tpl_total_inctax[$key]|number_format}-->円</em>」です。
+                    <!--{if $arrInfo.free_rule > 0}-->
+                        <!--{if $arrData.deliv_fee > 0}-->
+                            <!--{* FIXME $key は未定義 *}-->
+                            あと「<em><!--{$tpl_deliv_free[$key]|number_format}-->円</em>」で送料無料です！！
+                        <!--{else}-->
+                            現在、「<em>送料無料</em>」です！！
+                        <!--{/if}-->
+                    <!--{/if}-->
+                <!--{/if}-->
+            </p>
+        <!--{/if}-->
+
+    <!--{if strlen($tpl_error) != 0}-->
+        <p class="attention"><!--{$tpl_error|escape}--></p>
+    <!--{/if}-->
+
+    <!--{if strlen($tpl_message) != 0}-->
+        <p class="attention"><!--{$tpl_message|escape|nl2br}--></p>
+    <!--{/if}-->
+
+    <!--{if count($cartItems) > 0}-->
+
+    <!--{foreach from=$cartKeys item=key}-->
+        <form name="form1" id="form1" method="post" action="?">
+            <!--{if 'sfGMOCartDisplay'|function_exists}-->
+                <!--{'sfGMOCartDisplay'|call_user_func}-->
+            <!--{/if}-->
+
+            <input type="hidden" name="mode" value="confirm" />
+            <input type="hidden" name="cart_no" value="" />
+            <input type="hidden" name="cartKey" value="<!--{$key}-->" />
+            <table summary="商品情報">
+                <tr>
+                    <th>削除</th>
+                    <th>商品写真</th>
+                    <th>商品名</th>
+                    <th>単価</th>
+                    <th>数量</th>
+                    <th>小計</th>
+                </tr>
+                <!--{foreach from=$cartItems[$key] item=item}-->
+                    <tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->">
+                        <td><a href="?" onclick="fnModeSubmit('delete', 'cart_no', '<!--{$item.cart_no}-->'); return false;">削除</a>
+                        </td>
+                        <td class="phototd">
+                        <a
+                            <!--{if $item.productsClass.main_image|strlen >= 1}-->
+                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$item.productsClass.main_image|sfNoImageMainList|escape}-->"
+                                class="expansion"
+                                target="_blank"
+                            <!--{/if}-->
+                        >
+                            <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|escape}-->" /></a>
+                        </td>
+                        <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|escape}--></strong><br />
+                            <!--{if $item.productsClass.classcategory_name1 != ""}-->
+                                <!--{$item.productsClass.class_name1}-->：<!--{$item.productsClass.classcategory_name1}--><br />
+                            <!--{/if}-->
+                            <!--{if $item.productsClass.classcategory_name2 != ""}-->
+                                <!--{$item.productsClass.class_name2}-->：<!--{$item.productsClass.classcategory_name2}-->
+                            <!--{/if}-->
+                        </td>
+                        <td class="pricetd">
+                        <!--{if $item.productsClass.price02 != ""}-->
+                            <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
+                        <!--{else}-->
+                            <!--{$item.productsClass.price01|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
+                        <!--{/if}-->
+                        </td>
+                        <td id="quantity"><!--{$item.quantity}-->
+                            <ul id="quantity_level">
+                                <li><a href="?" onclick="fnModeSubmit('up','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/button/btn_plus.gif" width="16" height="16" alt="＋" /></a></li>
+                                <li><a href="?" onclick="fnModeSubmit('down','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/button/btn_minus.gif" width="16" height="16" alt="-" /></a></li>
+                            </ul>
+                        </td>
+                        <td class="pricetd"><!--{$item.total_inctax|number_format}-->円</td>
+                     </tr>
+                 <!--{/foreach}-->
+                 <tr>
+                     <th colspan="5" class="resulttd">小計</th>
+                     <td class="pricetd"><!--{$tpl_total_inctax[$key]|number_format}-->円</td>
+                 </tr>
+                 <tr>
+                     <th colspan="5" class="resulttd">合計</th>
+                     <td class="pricetd"><em><!--{$arrData.total-$arrData.deliv_fee|number_format}-->円</em></td>
+                 </tr>
+                 <!--{if $smarty.const.USE_POINT !== false}-->
+                     <!--{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>
+            <div class="tblareabtn">
+                <!--{if strlen($tpl_error) == 0}-->
+                    <p>上記内容でよろしければ「購入手続きへ」ボタンをクリックしてください。</p>
+                <!--{/if}-->
+
+                <p>
+                    <!--{if $tpl_prev_url != ""}-->
+                        <a href="<!--{$tpl_prev_url}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_back_on.gif','back');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_back.gif','back');">
+                            <img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30" alt="買い物を続ける" name="back" id="back" /></a>&nbsp;&nbsp;
+                    <!--{/if}-->
+                    <!--{if strlen($tpl_error) == 0}-->
+                        <input type="hidden" name="cartKey" value="<!--{$key}-->" />
+                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_buystep_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_buystep.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_buystep.gif" width="130" height="30" alt="購入手続きへ" name="confirm" />
+                    <!--{/if}-->
+                 </p>
+            </div>
+        </form>
+    <!--{/foreach}-->
+    <!--{else}-->
+        <p class="empty"><em>※ 現在カート内に商品はございません。</em></p>
+    <!--{/if}-->
+    </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/contact/index.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/contact/index.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/contact/index.tpl	(revision 19713)
@@ -0,0 +1,201 @@
+<!--{*
+ * 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.
+ *}-->
+<!--▼CONTENTS-->
+<div id="undercolumn">
+  <div id="undercolumn_contact">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    
+    <p>お問い合わせはメールにて承っています。<br />
+    内容によっては回答をさしあげるのにお時間をいただくこともございます。また、土日、祝祭日、年末年始、夏期休暇期間は翌営業日以降の対応となりますのでご了承ください。</p>
+    
+    <p class="mini"><em>※ご注文に関するお問い合わせには、必ず「ご注文番号」と「お名前」をご記入の上、メールくださいますようお願いいたします。</em></p>
+    
+    <form name="form1" method="post" action="?">
+    <input type="hidden" name="mode" value="confirm" />
+    
+    <table summary="お問い合わせ">
+      <tr>
+        <th>お名前<span class="attention">※</span></th>
+        <td>
+          <span class="attention"><!--{$arrErr.name01}--><!--{$arrErr.name02}--></span>
+          姓&nbsp;<input type="text"
+                         class="box120"
+                         name="name01"
+                         value="<!--{$arrForm.name01|default:$arrData.name01|escape}-->"
+                         maxlength="<!--{$smarty.const.STEXT_LEN}-->"
+                         style="<!--{$arrErr.name01|sfGetErrorColor}-->" />　
+          名&nbsp;<input type="text" class="box120" name="name02"
+                         value="<!--{$arrForm.name02|default:$arrData.name02|escape}-->"
+                         maxlength="<!--{$smarty.const.STEXT_LEN}-->"
+                         style="<!--{$arrErr.name02|sfGetErrorColor}-->" />
+        </td>
+      </tr>
+      <tr>
+        <th>お名前(フリガナ)<span class="attention">※</span></th>
+        <td>
+          <span class="attention"><!--{$arrErr.kana01}--><!--{$arrErr.kana02}--></span>
+          セイ&nbsp;<input type="text"
+                           class="box120"
+                           name="kana01"
+                           value="<!--{$arrForm.kana01|default:$arrData.kana01|escape}-->"
+                           maxlength="<!--{$smarty.const.STEXT_LEN}-->"
+                           style="<!--{$arrErr.kana01|sfGetErrorColor}-->" />　
+          メイ&nbsp;<input type="text"
+                           class="box120"
+                           name="kana02"
+                           value="<!--{$arrForm.kana02|default:$arrData.kana02|escape}-->"
+                           maxlength="<!--{$smarty.const.STEXT_LEN}-->"
+                           style="<!--{$arrErr.kana02|sfGetErrorColor}-->" />
+        </td>
+      </tr>
+      <tr>
+        <th>郵便番号</th>
+        <td>
+          <span class="attention"><!--{$arrErr.zip01}--><!--{$arrErr.zip02}--></span>
+          <p>
+            〒&nbsp;
+            <input type="text"
+                   name="zip01"
+                   class="box60"
+                   value="<!--{$arrForm.zip01|default:$arrData.zip01|escape}-->"
+                   maxlength="<!--{$smarty.const.ZIP01_LEN}-->"
+                   style="<!--{$arrErr.zip01|sfGetErrorColor}-->" />&nbsp;-&nbsp;
+            <input type="text"
+                   name="zip02"
+                   class="box60"
+                   value="<!--{$arrForm.zip02|default:$arrData.zip02|escape}-->"
+                   maxlength="<!--{$smarty.const.ZIP02_LEN}-->"
+                   style="<!--{$arrErr.zip02|sfGetErrorColor}-->" />　
+            <a href="http://search.post.japanpost.jp/zipcode/" target="_blank"><span class="fs12">郵便番号検索</span></a>
+          </p>
+          <p class="zipimg">
+            <a href="javascript:fnCallAddress('<!--{$smarty.const.URL_INPUT_ZIP}-->', 'zip01', 'zip02', 'pref', 'addr01');">
+              <img src="<!--{$TPL_DIR}-->img/button/btn_address_input.gif" width="86" height="20" alt="住所自動入力" /></a>
+            <span class="mini">&nbsp;郵便番号を入力後、クリックしてください。</span>
+          </p>
+        </td>
+      </tr>
+      <tr>
+        <th>住所</th>
+        <td>
+          <span class="attention"><!--{$arrErr.pref}--><!--{$arrErr.addr01}--><!--{$arrErr.addr02}--></span>
+          
+          <select name="pref" style="<!--{$arrErr.pref|sfGetErrorColor}-->">
+          <option value="">都道府県を選択</option>
+          <!--{html_options options=$arrPref selected=$arrForm.pref|default:$arrData.pref|escape}-->
+          </select>
+          
+          <p class="mini">
+            <input type="text"
+                   class="box380"
+                   name="addr01"
+                   value="<!--{$arrForm.addr01|default:$arrData.addr01|escape}-->"
+                   style="<!--{$arrErr.addr01|sfGetErrorColor}-->" /><br />
+            <!--{$smarty.const.SAMPLE_ADDRESS1}-->
+          </p>
+          
+          <p class="mini">
+            <input type="text"
+                   class="box380"
+                   name="addr02"
+                   value="<!--{$arrForm.addr02|default:$arrData.addr02|escape}-->"
+                   style="<!--{$arrErr.addr02|sfGetErrorColor}-->" /><br />
+            <!--{$smarty.const.SAMPLE_ADDRESS2}-->
+          </p>
+          
+          <p class="mini"><em>住所は2つに分けてご記入ください。マンション名は必ず記入してください。</em></p>
+        </td>
+      </tr>
+      <tr>
+        <th>電話番号</th>
+        <td>
+          <span class="attention"><!--{$arrErr.tel01}--><!--{$arrErr.tel02}--><!--{$arrErr.tel03}--></span>
+          <input type="text" 
+                 class="box60"
+                 name="tel01"
+                 value="<!--{$arrForm.tel01|default:$arrData.tel01|escape}-->"
+                 maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"
+                 style="<!--{$arrErr.tel01|sfGetErrorColor}-->" />&nbsp;-&nbsp;
+          <input type="text" 
+                 class="box60"
+                 name="tel02"
+                 value="<!--{$arrForm.tel02|default:$arrData.tel02|escape}-->"
+                 maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"
+                 style="<!--{$arrErr.tel02|sfGetErrorColor}-->" />&nbsp;-&nbsp;
+          <input type="text" 
+                 class="box60"
+                 name="tel03"
+                 value="<!--{$arrForm.tel03|default:$arrData.tel03|escape}-->"
+                 maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"
+                 style="<!--{$arrErr.tel03|sfGetErrorColor}-->" />
+        </td>
+      </tr>
+      <tr>
+        <th>メールアドレス<span class="attention">※</span></th>
+        <td>
+          <span class="attention"><!--{$arrErr.email}--><!--{$arrErr.email02}--></span>
+          <input type="text"
+                 class="box380"
+                 name="email"
+                 value="<!--{$arrForm.email|default:$arrData.email|escape}-->"
+                 maxlength="<!--{$smarty.const.MTEXT_LEN}-->"
+                 style="<!--{$arrErr.email|sfGetErrorColor}-->" /><br />
+          <!--{* ログインしていれば入力済みにする *}-->
+          <!--{if $smarty.server.REQUEST_METHOD != 'POST' && $smarty.session.customer}-->
+          <!--{assign var=email02 value=$arrData.email}-->
+          <!--{/if}-->
+          <input type="text"
+                 class="box380"
+                 name="email02"
+                 value="<!--{$arrForm.email02|escape}-->"
+                 maxlength="<!--{$smarty.const.MTEXT_LEN}-->"
+                 style="<!--{$arrErr.email02|sfGetErrorColor}-->" /><br />
+          <p class="mini"><em>確認のため2度入力してください。</em></p>
+        </td>
+      </tr>        
+      <tr>
+        <th>お問い合わせ内容<span class="attention">※</span><br />
+        <span class="mini">（全角<!--{$smarty.const.MLTEXT_LEN}-->字以下）</span></th>
+        <td>
+          <span class="attention"><!--{$arrErr.contents}--></span>
+          <textarea name="contents"
+                    class="area380"
+                    cols="60"
+                    rows="20"
+                    style="<!--{$arrErr.contents|sfGetErrorColor}-->"><!--{$arrForm.contents|escape}--></textarea>
+        </td>
+      </tr>
+    </table>
+    
+    <div class="tblareabtn">
+      <input type="image"
+             onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_confirm_on.gif', this)"
+             onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_confirm.gif', this)"
+             src="<!--{$TPL_DIR}-->img/button/btn_confirm.gif"
+             style="width:150px; height=30px;"
+             alt="確認ページへ"
+             name="confirm" />
+    </div>
+    </form>
+  </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/contact/complete.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/contact/complete.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/contact/complete.tpl	(revision 19713)
@@ -0,0 +1,47 @@
+<!--{*
+ * 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.
+ *}-->
+<!--▼CONTENTS-->
+<div id="undercolumn">
+  <div id="undercolumn_contact">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <div id="completetext">
+      お問い合わせ内容の送信が完了いたしました。<br />
+      万一、ご回答メールが届かない場合は、トラブルの可能性もありますので大変お手数ではございますがもう一度お問い合わせいただくか、お電話にてお問い合わせください。<br />
+      今後ともご愛顧賜りますようよろしくお願い申し上げます。
+    <p><!--{$arrSiteInfo.company_name|escape}--><br />
+      TEL：<!--{$arrSiteInfo.tel01}-->-<!--{$arrSiteInfo.tel02}-->-<!--{$arrSiteInfo.tel03}-->
+       <!--{if $arrSiteInfo.business_hour != ""}-->
+      (受付時間/<!--{$arrSiteInfo.business_hour}-->)
+       <!--{/if}--><br />
+      E-mail：<a href="mailto:<!--{$arrSiteInfo.email02|escape:'hex'}-->"><!--{$arrSiteInfo.email02|escape:'hexentity'}--></a></p>
+    </div>
+    <div class="tblareabtn">
+    <!--{if $is_campaign}-->
+      <a href="<!--{$smarty.const.CAMPAIGN_URL}--><!--{$campaign_dir}-->/<!--{$smarty.const.DIR_INDEX_URL}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage_on.gif','b_toppage');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage.gif','b_toppage');"><img src="<!--{$TPL_DIR}-->img/button/btn_toppage.gif" width="150" height="30" alt="トップページへ" border="0" name="b_toppage" id="b_toppage" /></a>
+
+    <!--{else}-->
+
+      <a href="<!--{$smarty.const.URL_SITE_TOP}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage_on.gif','b_toppage');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage.gif','b_toppage');"><img src="<!--{$TPL_DIR}-->img/button/btn_toppage.gif" width="150" height="30" alt="トップページへ" border="0" name="b_toppage" id="b_toppage" /></a>
+    <!--{/if}-->
+    </div>
+  </div>
+</div>
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/contact/confirm.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/contact/confirm.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/contact/confirm.tpl	(revision 19713)
@@ -0,0 +1,89 @@
+<!--{*
+ * 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="undercolumn">
+  <div id="undercolumn_contact">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <p>下記入力内容で送信してもよろしいでしょうか？<br />
+      よろしければ、一番下の「送信」ボタンをクリックしてください。</p>
+    <form name="form1" id="form1" method="post" action="?">
+      <input type="hidden" name="mode" value="complete" />
+      <!--{foreach key=key item=item from=$arrForm}-->
+        <!--{if $key ne 'mode'}-->
+      <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" />
+        <!--{/if}-->
+      <!--{/foreach}-->
+      <table summary="お問い合わせ内容確認">
+        <tr>
+          <th>お名前<span class="attention">※</span></th>
+          <td><!--{$arrForm.name01|escape}-->　<!--{$arrForm.name02|escape}--></td>
+        </tr>
+        <tr>
+          <th>お名前(フリガナ)<span class="attention">※</span></th>
+          <td><!--{$arrForm.kana01|escape}-->　<!--{$arrForm.kana02|escape}--></td>
+        </tr>
+        <tr>
+          <th>郵便番号</th>
+          <td>
+             <!--{if strlen($arrForm.zip01) > 0 && strlen($arrForm.zip02) > 0}-->
+               〒<!--{$arrForm.zip01|escape}-->-<!--{$arrForm.zip02|escape}-->
+             <!--{/if}-->
+          </td>
+        </tr>
+        <tr>
+          <th>住所</th>
+          <td><!--{$arrPref[$arrForm.pref]}--><!--{$arrForm.addr01|escape}--><!--{$arrForm.addr02|escape}--></td>
+        </tr>
+        <tr>
+          <th>電話番号</th>
+          <td>
+            <!--{if strlen($arrForm.tel01) > 0 && strlen($arrForm.tel02) > 0 && strlen($arrForm.tel03) > 0}-->
+              <!--{$arrForm.tel01|escape}-->-<!--{$arrForm.tel02|escape}-->-<!--{$arrForm.tel03|escape}-->
+            <!--{/if}-->
+          </td>
+        </tr>
+        <tr>
+          <th>メールアドレス<span class="attention">※</span></th>
+          <td><a href="mailto:<!--{$arrForm.email|escape:'hex'}-->"><!--{$arrForm.email|escape:'hexentity'}--></a></td>
+        </tr>
+        <tr>
+          <th>お問い合わせ内容<span class="attention">※</span><br />
+             <span class="mini">（全角1000字以下）</span></th>
+          <td><!--{$arrForm.contents|escape|nl2br}--></td>
+        </tr>
+      </table>
+      <div class="tblareabtn">
+      <a href="?"
+         onclick="fnModeSubmit('return', '', ''); return false;"
+         onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_back_on.gif','back02');"
+         onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_back.gif','back02');">
+        <img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30"
+             alt="戻る" name="back02" id="back02" /></a>
+      <input type="image"
+             onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_send_on.gif',this)"
+             onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_send.gif',this)"
+             src="<!--{$TPL_DIR}-->img/button/btn_send.gif" alt="送信" name="send" id="send" class="box150" />
+       </div>
+     </form>
+   </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/footer.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/footer.tpl	(revision 19670)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/footer.tpl	(revision 19713)
@@ -32,11 +32,11 @@
 <ul id="footer-menu">
 <li>
-<a href="<!--{$smarty.const.SPHONE_SSL_URL|sfTrimURL}-->/cart/index.php">かごを見る</a>
+<a href="<!--{$smarty.const.SMARTPHONE_SSL_URL|sfTrimURL}-->/cart/index.php">かごを見る</a>
 </li>
 <li>
-<a href="<!--{$smarty.const.SPHONE_SSL_URL|sfTrimURL}-->/mypage/login.php">マイページ</a>
+<a href="<!--{$smarty.const.SMARTPHONE_SSL_URL|sfTrimURL}-->/mypage/login.php">マイページ</a>
 </li>
 <li>
-<a href="<!--{$smarty.const.SPHONE_SSL_URL|sfTrimURL}-->/entry/kiyaku.php">会員登録</a>
+<a href="<!--{$smarty.const.SMARTPHONE_SSL_URL|sfTrimURL}-->/entry/kiyaku.php">会員登録</a>
 </li>
 
@@ -48,5 +48,5 @@
 <!--{if $isTop ne 1}-->
 <li>
-<a href="<!--{$smarty.const.SPHONE_SITE_URL|sfTrimURL}-->">TOPページへ</a>
+<a href="<!--{$smarty.const.SMARTPHONE_SITE_URL|sfTrimURL}-->">TOPページへ</a>
 </li>
 <!--{/if}-->
@@ -54,8 +54,8 @@
 </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>
+<li><a href="<!--{$smarty.const.SMARTPHONE_SITE_URL}-->contact/index.php">お問合せ</a></li>
+<li><a href="<!--{$smarty.const.SMARTPHONE_SITE_URL}-->guide/privacy.php">プライバシーポリシー</a></li>
+<li class="end"><a href="<!--{$smarty.const.SMARTPHONE_SITE_URL}-->abouts/index.php">店舗情報</a></li>
+<li class="end"><a href="<!--{$smarty.const.SMARTPHONE_SITE_URL}-->order/index.php">特定商取引法に基づく表記</a></li>
 </ul>
 
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/abouts/index.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/abouts/index.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/abouts/index.tpl	(revision 19713)
@@ -0,0 +1,126 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--▼CONTENTS-->
+<!--{assign var=_site value=$arrSiteInfo}-->
+<script type="text/javascript">//<![CDATA[
+$(function() {
+    $("#maps").css({
+        'margin-top': '15px',
+        'margin-left': 'auto',
+        'margin-right': 'auto',
+        'width': '98%',
+        'height': '300px'
+    });
+    var lat = <!--{$_site.latitude}-->
+    var lng = <!--{$_site.longitude}-->
+    if (lat && lng) {
+        var latlng = new google.maps.LatLng(lat, lng);
+        var mapOptions = {zoom: 15,
+                          center: latlng,
+                          mapTypeId: google.maps.MapTypeId.ROADMAP};
+        var map = new google.maps.Map($("#maps").get(0), mapOptions);
+        var marker = new google.maps.Marker({map: map, position: latlng});
+    } else {
+        $("#maps").remove();
+    }
+});
+//]]>
+</script>
+<div id="undercolumn">
+
+  <div id="undercolumn_aboutus">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+
+    <table summary="当サイトについて">
+
+      <!--{if strlen($objSiteInfo->data.shop_name)}-->
+        <tr>
+          <th>店名</th>
+          <td><!--{$objSiteInfo->data.shop_name|escape}--></td>
+        </tr>
+      <!--{/if}-->
+
+      <!--{if strlen($objSiteInfo->data.company_name)}-->
+      <tr>
+        <th>会社名</th>
+        <td><!--{$objSiteInfo->data.company_name|escape}--></td>
+      </tr>
+      <!--{/if}-->
+
+      <!--{if strlen($objSiteInfo->data.zip01)}-->
+      <tr>
+        <th>住所</th>
+        <td>〒<!--{$objSiteInfo->data.zip01|escape}-->-<!--{$objSiteInfo->data.zip02|escape}--><br /><!--{$objSiteInfo->data.pref|escape}--><!--{$objSiteInfo->data.addr01|escape}--><!--{$objSiteInfo->data.addr02|escape}--></td>
+      </tr>
+      <!--{/if}-->
+
+      <!--{if strlen($objSiteInfo->data.tel01)}-->
+      <tr>
+        <th>電話番号</th>
+        <td><!--{$objSiteInfo->data.tel01|escape}-->-<!--{$objSiteInfo->data.tel02|escape}-->-<!--{$objSiteInfo->data.tel03|escape}--></td>
+      </tr>
+      <!--{/if}-->
+
+      <!--{if strlen($objSiteInfo->data.fax01)}-->
+      <tr>
+        <th>FAX番号</th>
+        <td><!--{$objSiteInfo->data.fax01|escape}-->-<!--{$objSiteInfo->data.fax02|escape}-->-<!--{$objSiteInfo->data.fax03|escape}--></td>
+      </tr>
+      <!--{/if}-->
+
+      <!--{if strlen($objSiteInfo->data.email02)}-->
+      <tr>
+        <th>メールアドレス</th>
+        <td><a href="mailto:<!--{$objSiteInfo->data.email02|escape:'hex'}-->"><!--{$objSiteInfo->data.email02|escape:'hexentity'}--></a></td>
+      </tr>
+      <!--{/if}-->
+
+      <!--{if strlen($objSiteInfo->data.business_hour)}-->
+      <tr>
+        <th>営業時間</th>
+        <td><!--{$objSiteInfo->data.business_hour|escape}--></td>
+      </tr>
+      <!--{/if}-->
+
+      <!--{if strlen($objSiteInfo->data.good_traded)}-->
+      <tr>
+        <th>取扱商品</th>
+        <td><!--{$objSiteInfo->data.good_traded|escape|nl2br}--></td>
+      </tr>
+      <!--{/if}-->
+
+      <!--{if strlen($objSiteInfo->data.message)}-->
+      <tr>
+        <th>メッセージ</th>
+        <td><!--{$objSiteInfo->data.message|escape|nl2br}--></td>
+      </tr>
+      <!--{/if}-->
+
+    </table>
+
+    <div id="maps"></div>
+  </div>
+</div>
+<!--▲CONTENTS-->
+
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/regist/complete.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/regist/complete.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/regist/complete.tpl	(revision 19713)
@@ -0,0 +1,42 @@
+<!--{*
+ * 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.
+ *}-->
+<!--▼CONTENTS-->
+<div id="undercolumn">
+  <div id="undercolumn_entry">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <div id="completetext">
+      <em>本登録が完了いたしました。<br />
+        それではショッピングをお楽しみください。</em>
+
+      <p>今後ともご愛顧賜りますようよろしくお願い申し上げます。</p>
+
+      <p><!--{$arrSiteInfo.company_name|escape}--><br />
+        TEL：<!--{$arrSiteInfo.tel01}-->-<!--{$arrSiteInfo.tel02}-->-<!--{$arrSiteInfo.tel03}--> <!--{if $arrSiteInfo.business_hour != ""}-->（受付時間/<!--{$arrSiteInfo.business_hour}-->）<!--{/if}--><br />
+        E-mall：<a href="mailto:<!--{$arrSiteInfo.email02|escape:'hex'}-->"><!--{$arrSiteInfo.email02|escape:'hexentity'}--></a></p>
+
+      <div class="tblareabtn">
+	<a href="<!--{$smarty.const.URL_SITE_TOP}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage_on.gif','b_toppage');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage.gif','b_toppage');"><img src="<!--{$TPL_DIR}-->img/button/btn_toppage.gif" width="150" height="30" alt="トップページへ" border="0" name="b_toppage" /></a>
+      </div>
+    </div>
+  </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/top.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/top.tpl	(revision 19670)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/top.tpl	(revision 19713)
@@ -36,5 +36,5 @@
 <!--{* 検索 *}-->
 <div id="searchbar">
-<form method="get" action="<!--{$smarty.const.SPHONE_SITE_URL}-->products/list.php">
+<form method="get" action="<!--{$smarty.const.SMARTPHONE_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>
@@ -44,12 +44,12 @@
 
 <!--{* 新着情報 *}-->
-<!--{include_php file=`$smarty.const.SPHONE_HTML_PATH`/frontparts/bloc/news.php}-->
+<!--{include_php file=`$smarty.const.SMARTPHONE_HTML_PATH`/frontparts/bloc/news.php}-->
 
 <!--{* ログイン *}-->
-<!--{include_php file=`$smarty.const.SPHONE_HTML_PATH`/frontparts/bloc/login.php}-->
+<!--{include_php file=`$smarty.const.SMARTPHONE_HTML_PATH`/frontparts/bloc/login.php}-->
 
 <!--{* おすすめ商品 *}-->
-<!--{include_php file=`$smarty.const.SPHONE_HTML_PATH`/frontparts/bloc/best5.php}-->
+<!--{include_php file=`$smarty.const.SMARTPHONE_HTML_PATH`/frontparts/bloc/best5.php}-->
 
 <!-- ▼メニュー ここから -->
-<!--{include_php file=`$smarty.const.SPHONE_HTML_PATH`/frontparts/bloc/category.php}-->
+<!--{include_php file=`$smarty.const.SMARTPHONE_HTML_PATH`/frontparts/bloc/category.php}-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/detail.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/detail.tpl	(revision 19680)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/detail.tpl	(revision 19713)
@@ -20,7 +20,7 @@
  * 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" src="<!--{$smarty.const.URL_DIR}-->js/jquery.fancybox/jquery.mousewheel-3.0.2.pack.js"></script>
+<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/jquery.fancybox/jquery.fancybox-1.3.1.pack.js"></script>
+<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->js/jquery.fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />
 <script type="text/javascript">//<![CDATA[
 // 規格2に選択肢を割り当てる。
@@ -304,5 +304,5 @@
                         <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>
+                            <a href="<!--{$smarty.const.SMARTPHONE_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}-->
@@ -467,5 +467,5 @@
 
                     <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>
+                        <img src="<!--{$smarty.const.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">
@@ -494,5 +494,5 @@
 
                     <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>
+                        <img src="<!--{$smarty.const.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">
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/secret.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/secret.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/secret.tpl	(revision 19713)
@@ -0,0 +1,41 @@
+<!--{*
+ * 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.
+ *}-->
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_header.tpl" subtitle="パスワードを忘れた方(確認ページ)"}-->
+
+  <div id="windowarea">
+    <h2>パスワードを忘れた方</h2>
+    <p>ご登録時に入力した下記質問の答えを入力して「次へ」ボタンをクリックしてください。<br />
+      ※下記質問の答えをお忘れになられた場合は、<a href="mailto:<!--{$arrSiteInfo.email02|escape:'hex'}-->"><!--{$arrSiteInfo.email02|escape:'hexentitiy'}--></a>までご連絡ください。</p>
+    <p><span class="attention">※新しくパスワードを発行いたしますので、お忘れになったパスワードはご利用できなくなります。</span></p>
+    <form action="?" method="post" name="form1">
+      <input type="hidden" name="mode" value="secret_check" />
+      <div id="completebox">
+        <p><!--{$Reminder}-->：&nbsp;<!--★答え入力★--><input type="text" name="input_reminder" value="" size="40" class="box300" style="<!--{$errmsg|sfGetErrorColor}-->" /></p>
+        <span class="attention"><!--{$errmsg}--></span>
+      </div>
+      <div class="btn">
+        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_next.gif" alt="次へ" class="box150" name="next" id="next" />
+      </div>
+    </form>
+  </div>
+
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_footer.tpl"}-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/index.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/index.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/index.tpl	(revision 19713)
@@ -0,0 +1,40 @@
+<!--{*
+ * 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.
+ *}-->
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_header.tpl" subtitle="パスワードを忘れた方(入力ページ)"}-->
+
+  <div id="windowarea">
+    <h2>パスワードを忘れた方</h2>
+    <p>ご登録時のメールアドレスを入力して「次へ」ボタンをクリックしてください。<br />
+      <span class="attention">※新しくパスワードを発行いたしますので、お忘れになったパスワードはご利用できなくなります。</span></p>
+    <form action="?" method="post" name="form1">
+      <input type="hidden" name="mode" value="mail_check" />
+      <div id="completebox">
+        <p>メールアドレス：&nbsp;<!--★メールアドレス入力★--><input type="text" name="email" value="<!--{$tpl_login_email|escape}-->" size="40" class="box300" style="<!--{$errmsg|sfGetErrorColor}-->; ime-mode: disabled;" /></p>
+        <span class="attention"><!--{$errmsg}--></span>
+      </div>
+      <div class="btn">
+        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_next.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_next.gif" alt="次へ" class="box150" name="next" id="next" />
+      </div>
+    </form>
+  </div>
+
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_footer.tpl"}-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/complete.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/complete.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/forgot/complete.tpl	(revision 19713)
@@ -0,0 +1,38 @@
+<!--{*
+ * 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.
+ *}-->
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_header.tpl" subtitle="パスワードを忘れた方(完了ページ)"}-->
+
+  <div id="windowarea">
+    <h2 class="title">パスワードを忘れた方</h2>
+    <p>パスワードの発行が完了いたしました。ログインには下記のパスワードをご利用ください。<br />
+    ※下記パスワードは、MYページの「会員登録内容変更」よりご変更いただけます。</p>
+    <form action="?" method="post" name="form1">
+      <div id="completebox">
+        <p><em><!--{$temp_password}--></em></p>
+      </div>
+      <div class="btn">
+        <a href="javascript:window.close()" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_close_on.gif','close');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_close.gif','close');"><img src="<!--{$TPL_DIR}-->img/button/btn_close.gif" width="150" height="30" alt="閉じる" name="close" id="close" /></a>
+      </div>
+    </form>
+  </div>
+
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_footer.tpl"}-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/entry/index.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/entry/index.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/entry/index.tpl	(revision 19713)
@@ -0,0 +1,44 @@
+<!--{*
+ * 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.
+ *}-->
+ <!--▼CONTENTS-->
+<div id="undercolumn">
+    <div id="undercolumn_entry">
+        <h2 class="title"><!--{$tpl_title|escape}--></h2>
+        <!--{if $smarty.const.CUSTOMER_CONFIRM_MAIL}-->
+            <p>ご登録されますと、まずは仮会員となります。<br />
+                入力されたメールアドレスに、ご連絡が届きますので、本会員になった上でお買い物をお楽しみください。</p>
+        <!--{/if}-->
+        <form name="form1" id="form1" method="post" action="?">
+            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+            <input type="hidden" name="mode" value="confirm" />
+
+            <table summary="会員登録フォーム">
+            <!--{include file="`$smarty.const.TEMPLATE_DIR`frontparts/form_personal_input.tpl" flgFields=3 emailMobile=false prefix=""}-->
+            </table>
+
+            <div class="tblareabtn">
+                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_confirm_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_confirm.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_confirm.gif" class="box150" alt="確認ページへ" name="confirm" id="confirm" />
+            </div>
+        </form>
+    </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/entry/complete.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/entry/complete.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/entry/complete.tpl	(revision 19713)
@@ -0,0 +1,47 @@
+<!--{*
+ * 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.
+ *}-->
+<!--▼CONTENTS-->
+<div id="undercolumn">
+  <div id="undercolumn_entry">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <div id="completetext">
+      <em>会員登録の受付が完了いたしました。</em>
+      <p>現在<em>仮会員</em>の状態です。<br />
+        ご入力いただいたメールアドレス宛てに、ご連絡が届いておりますので、本会員登録になった上でお買い物をお楽しみください。<br />
+        今後ともご愛顧賜りますようよろしくお願い申し上げます。</p>
+
+      <p><!--{$arrSiteInfo.company_name|escape}--><br />
+        TEL：<!--{$arrSiteInfo.tel01}-->-<!--{$arrSiteInfo.tel02}-->-<!--{$arrSiteInfo.tel03}--> <!--{if $arrSiteInfo.business_hour != ""}-->（受付時間/<!--{$arrSiteInfo.business_hour}-->）<!--{/if}--><br />
+        E-mail：<a href="mailto:<!--{$arrSiteInfo.email02|escape:'hex'}-->"><!--{$arrSiteInfo.email02|escape:'hexentity'}--></a>
+      </p>
+
+      <div class="tblareabtn">
+        <!--{if $is_campaign}-->
+        <a href="<!--{$smarty.const.URL_SHOP_TOP}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage_on.gif','b_toppage');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage.gif','b_toppage');"><img src="<!--{$TPL_DIR}-->img/button/btn_toppage.gif" width="150" height="30" alt="トップページへ" border="0" name="b_toppage" /></a>
+        <!--{else}-->
+        <a href="<!--{$smarty.const.URL_SITE_TOP}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage_on.gif','b_toppage');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_toppage.gif','b_toppage');"><img src="<!--{$TPL_DIR}-->img/button/btn_toppage.gif" width="150" height="30" alt="トップページへ" border="0" name="b_toppage" /></a>
+        <!--{/if}-->
+      </div>
+    </div>
+  </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/entry/confirm.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/entry/confirm.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/entry/confirm.tpl	(revision 19713)
@@ -0,0 +1,141 @@
+<!--{*
+ * 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.
+ *}-->
+<!--▼CONTENTS-->
+<div id="undercolumn">
+  <div id="undercolumn_entry">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <p>下記の内容で送信してもよろしいでしょうか？<br />
+      よろしければ、一番下の「会員登録完了へ」ボタンをクリックしてください。</p>
+    <form name="form1" id="form1" method="post" action="?">
+      <input type="hidden" name="mode" value="complete">
+      <!--{foreach from=$list_data key=key item=item}-->
+        <input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->" />
+      <!--{/foreach}-->
+        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
+      <table summary="入力内容確認">
+        <tr>
+          <th>お名前<span class="attention">※</span></th>
+          <td>
+            <!--{$list_data.name01|escape}-->&nbsp;
+            <!--{$list_data.name02|escape}-->
+          </td>
+        </tr>
+        <tr>
+          <th>お名前(フリガナ)<span class="attention">※</span></th>
+          <td>
+            <!--{$list_data.kana01|escape}-->&nbsp;
+            <!--{$list_data.kana02|escape}-->
+          </td>
+        </tr>
+        <tr>
+          <th>郵便番号<span class="attention">※</span></th>
+          <td>
+            〒<!--{$list_data.zip01|escape}--> - <!--{$list_data.zip02|escape}-->
+          </td>
+        </tr>
+        <tr>
+          <th>住所<span class="attention">※</span></th>
+          <td>
+            <!--{$arrPref[$list_data.pref]|escape}--><!--{$list_data.addr01|escape}--><!--{$list_data.addr02|escape}-->
+          </td>
+        </tr>
+        <tr>
+          <th>電話番号<span class="attention">※</span></th>
+          <td>
+            <!--{$list_data.tel01|escape}--> - <!--{$list_data.tel02|escape}--> - <!--{$list_data.tel03|escape}-->
+          </td>
+        </tr>
+        <tr>
+          <th>FAX</th>
+          <td>
+            <!--{if strlen($list_data.fax01) > 0 && strlen($list_data.fax02) > 0 && strlen($list_data.fax03) > 0}-->
+              <!--{$list_data.fax01|escape}--> - <!--{$list_data.fax02|escape}--> - <!--{$list_data.fax03|escape}-->
+            <!--{else}-->
+              未登録
+            <!--{/if}-->
+          </td>
+        </tr>
+        <tr>
+          <th>メールアドレス<span class="attention">※</span></th>
+          <td>
+            <a href="mailto:<!--{$list_data.email|escape:'hex'}-->"><!--{$list_data.email|escape:'hexentity'}--></a>
+          </td>
+        </tr>
+        <tr>
+          <th>性別<span class="attention">※</span></th>
+          <td>
+            <!--{if $list_data.sex eq 1}-->
+            男性
+            <!--{else}-->
+            女性
+            <!--{/if}-->
+          </td>
+        </tr>
+        <tr>
+          <th>職業</th>
+          <td><!--{$arrJob[$list_data.job]|escape|default:"未登録"}--></td>
+        </tr>
+        <tr>
+          <th>生年月日</th>
+          <td>
+            <!--{if strlen($list_data.year) > 0 && strlen($list_data.month) > 0 && strlen($list_data.day) > 0}-->
+              <!--{$list_data.year|escape}-->年<!--{$list_data.month|escape}-->月<!--{$list_data.day|escape}-->日
+            <!--{else}-->
+            未登録
+            <!--{/if}-->
+          </td>
+        </tr>
+        <tr>
+          <th>希望するパスワード<span class="attention">※</span><br />
+          </th>
+          <td><!--{$passlen}--></td>
+        </tr>
+        <tr>
+          <th>パスワードを忘れた時のヒント<span class="attention">※</span></th>
+          <td>
+              質問：<!--{$arrReminder[$list_data.reminder]|escape}--><br />
+              答え：<!--{$list_data.reminder_answer|escape}-->
+          </td>
+        </tr>
+        <tr>
+          <th>メールマガジン送付について<span class="attention">※</span></th>
+          <td>
+            <!--{if $list_data.mailmaga_flg eq 1}-->
+            HTMLメール＋テキストメールを受け取る
+            <!--{elseif $list_data.mailmaga_flg eq 2}-->
+            テキストメールを受け取る
+            <!--{else}-->
+            受け取らない
+            <!--{/if}-->
+          </td>
+        </tr>
+      </table>
+
+      <div class="tblareabtn">
+        <a href="?" onclick="fnModeSubmit('return', '', ''); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_back_on.gif','back')" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_back.gif','back')"><img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30" alt="戻る" border="0" name="back" id="back" /></a>&nbsp;
+        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_entry_complete_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_entry_complete.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_entry_complete.gif" class="box150" alt="送信" border="0" name="send" id="send" />
+      </div>
+    </form>
+  </div>
+</div>
+<!--▲CONTENTS-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/entry/kiyaku.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/entry/kiyaku.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/entry/kiyaku.tpl	(revision 19713)
@@ -0,0 +1,44 @@
+<!--{*
+ * 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="undercolumn">
+  <div id="undercolumn_entry">
+    <h2 class="title"><!--{$tpl_title|escape}--></h2>
+    <p><em>【重要】 会員登録をされる前に、下記ご利用規約をよくお読みください。</em><br />
+      規約には、本サービスを使用するに当たってのあなたの権利と義務が規定されております。<br />
+     「規約に同意して会員登録」ボタン をクリックすると、あなたが本規約の全ての条件に同意したことになります。</p>
+    <form name="form1" id="form1" method="post" action="?">
+       <textarea name="textfield" class="area470"  cols="80" rows="30"
+                 readonly="readonly"><!--{$tpl_kiyaku_text}--></textarea>
+       <div class="tblareabtn">
+       <!--{if $is_campaign}-->
+         <a href="javascript:history.back();" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_entry_cannot_on.gif','b_noagree');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_entry_cannot.gif','b_noagree');">
+           <img src="<!--{$TPL_DIR}-->img/button/btn_entry_cannot.gif" width="180" height="30" alt="同意しない" border="0" name="b_noagree" /></a>&nbsp;
+       <!--{else}-->
+         <a href="<!--{$smarty.const.URL_SITE_TOP}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_entry_cannot_on.gif','b_noagree');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_entry_cannot.gif','b_noagree');">
+           <img src="<!--{$TPL_DIR}-->img/button/btn_entry_cannot.gif" width="180" height="30" alt="同意しない" border="0" name="b_noagree" /></a>&nbsp;
+       <!--{/if}-->
+         <a href="<!--{$smarty.const.URL_ENTRY_TOP}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_entry_agree_on.gif','b_agree');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_entry_agree.gif','b_agree');">
+           <img src="<!--{$TPL_DIR}-->img/button/btn_entry_agree.gif" width="180" height="30" alt="規約に同意して会員登録" border="0" name="b_agree" /></a>
+       </div>
+     </form>
+   </div>
+ </div>
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/products/review.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/products/review.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/products/review.tpl	(revision 19713)
@@ -0,0 +1,86 @@
+<!--{*
+/*
+ * 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.
+ */
+*}-->
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_header.tpl" subtitle="お客様の声書き込み（入力ページ）"}-->
+
+  <div id="windowarea">
+    <h2 class="title">お客様の声書き込み</h2>
+    <p class="windowtext">以下の商品について、お客様のご意見、ご感想をどしどしお寄せください。<br />
+      「<span class="attention">※</span>」印は入力必須項目です。<br />
+       ご入力後、一番下の「確認ページへ」ボタンをクリックしてください。</p>
+        <form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
+        <input type="hidden" name="mode" value="confirm" />
+        <input type="hidden" name="product_id" value="<!--{$arrForm.product_id}-->" />
+        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+        <table summary="お客様の声書き込み">
+          <tr>
+            <th>商品名</th>
+            <td><!--{$arrForm.name|escape}--></td>
+          </tr>
+          <tr>
+            <th>投稿者名<span class="attention">※</span></th>
+            <td><span class="attention"><!--{$arrErr.reviewer_name}--></span><input type="text" name="reviewer_name" value="<!--{$arrForm.reviewer_name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr.reviewer_name|sfGetErrorColor}-->" size="40" class="box350" /></td>
+          </tr>
+          <tr>
+            <th>投稿者URL</th>
+            <td><span class="attention"><!--{$arrErr.reviewer_url}--></span><input type="text" name="reviewer_url" value="<!--{$arrForm.reviewer_url|escape}-->" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" style="<!--{$arrErr.reviewer_url|sfGetErrorColor}-->" size="40" class="box350" /></td>
+          </tr>
+          <tr>
+            <th>性別</th>
+            <td>
+              <input type="radio" name="sex" id="man" value="1" <!--{if $arrForm.sex eq 1}--> checked="checked"<!--{/if}--> /><label for="man">男性</label>&nbsp;
+              <input type="radio" name="sex" id="woman" value="2" <!--{if $arrForm.sex eq 2}--> checked="checked"<!--{/if}--> /><label for="woman">女性</label>
+            </td>
+          </tr>
+          <tr>
+            <th>おすすめレベル<span class="attention">※</span></th>
+            <td>
+              <span class="attention"><!--{$arrErr.recommend_level}--></span>
+              <select name="recommend_level" style="<!--{$arrErr.recommend_level|sfGetErrorColor}-->">
+                <option value="" selected="selected">選択してください</option>
+                  <!--{html_options options=$arrRECOMMEND selected=$arrForm.recommend_level}-->
+              </select>
+            </td>
+          </tr>
+          <tr>
+            <th>タイトル<span class="attention">※</span></th>
+            <td>
+              <span class="attention"><!--{$arrErr.title}--></span>
+              <input type="text" name="title" value="<!--{$arrForm.title|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr.title|sfGetErrorColor}-->" size="40" class="box350" />
+            </td>
+          </tr>
+          <tr>
+            <th>コメント<span class="attention">※</span></th>
+            <td>
+              <span class="attention"><!--{$arrErr.comment}--></span>
+              <textarea name="comment" cols="50" rows="10" style="<!--{$arrErr.comment|sfGetErrorColor}-->" class="area350"><!--{$arrForm.comment|escape}--></textarea>
+            </td>
+          </tr>
+        </table>
+        <div class="btn">
+          <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_confirm_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_confirm.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_confirm.gif" class="box150" alt="確認ページへ" name="conf" id="conf" />
+        </div>
+      </form>
+    </div>
+
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_footer.tpl"}-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/products/review_complete.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/products/review_complete.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/products/review_complete.tpl	(revision 19713)
@@ -0,0 +1,36 @@
+<!--{*
+ * 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.
+ *}-->
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_header.tpl" subtitle="お客様の声書き込み（完了ページ）"}-->
+
+  <div id="windowarea">
+    <h2 class="title">お客様の声書き込み</h2>
+    <div id="completebox">
+      <p>登録が完了しました。ご利用ありがとうございました。<br />
+       弊社にて登録内容を確認後、ホームページに反映させていただきます。<br />
+       今しばらくお待ちくださいませ。</p>
+    </div>
+    <div class="btn">
+      <a href="javascript:window.close()" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_close_on.gif','b_close');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_close.gif','b_close');"><img src="<!--{$TPL_DIR}-->img/button/btn_close.gif" width="150" height="30" alt="閉じる" border="0" name="b_close" /></a>
+    </div>
+  </div>
+
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_footer.tpl"}-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/products/review_confirm.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/products/review_confirm.tpl	(revision 19713)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/products/review_confirm.tpl	(revision 19713)
@@ -0,0 +1,71 @@
+<!--{*
+ * 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.
+ *}-->
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_header.tpl" subtitle="お客様の声書き込み（確認ページ）"}-->
+
+  <div id="windowarea">
+    <h2 class="title">お客様の声書き込み</h2>
+    <form name="form1" method="post" action="?">
+      <input type="hidden" name="mode" value="complete" />
+        <!--{foreach from=$arrForm key=key item=item}-->
+        <!--{if $key ne "mode"}-->
+        <input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->" /><!--{/if}-->
+        <!--{/foreach}-->
+        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
+
+        <table summary="お客様の声書き込み">
+          <tr>
+            <th>商品名</th>
+            <td><!--{$arrForm.name|escape}--></td>
+          </tr>
+          <tr>
+            <th>投稿者名<span class="attention">※</span></th>
+            <td><!--{$arrForm.reviewer_name|escape}--></td>
+          </tr>
+          <tr>
+            <th>投稿者URL</th>
+            <td><!--{$arrForm.reviewer_url|escape}--></td>
+          </tr>
+          <tr>
+            <th>性別</th>
+            <td><!--{if $arrForm.sex eq 1 }-->男性<!--{elseif $arrForm.sex eq 2 }-->女性<!--{/if}--></td>
+          </tr>
+          <tr>
+            <th>おすすめレベル<span class="attention">※</span></th>
+            <td><span class="recommend_level"><!--{$arrRECOMMEND[$arrForm.recommend_level]}--></span></td>
+          </tr>
+          <tr>
+            <th>タイトル<span class="attention">※</span></th>
+            <td><!--{$arrForm.title|escape}--></td>
+          </tr>
+          <tr>
+            <th>コメント<span class="attention">※</span></th>
+            <td><!--{$arrForm.comment|escape|nl2br}--></td>
+          </tr>
+        </table>
+        <div class="btn">
+          <input type="image" onclick=" mode.value='return';" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_back.gif" class="box150" alt="戻る"  name="back" id="back" />
+          <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_send_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_send.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_send.gif" class="box150" alt="送信"  name="send" id="send" />
+        </div>
+      </form>
+    </div>
+
+<!--{include file="`$smarty.const.TEMPLATE_DIR`popup_footer.tpl"}-->
Index: branches/version-2_5-dev/data/Smarty/templates/sphone/site_main.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/site_main.tpl	(revision 19670)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/site_main.tpl	(revision 19713)
@@ -45,5 +45,5 @@
 <script type="text/javascript" language="JavaScript">
 //<![CDATA[
-setTopButton("<!--{$smarty.const.SPHONE_SSL_URL}-->");
+//setTopButton("<!--{$smarty.const.SPHONE_SSL_URL}-->");
 //]]>
 <!--{/if}-->
