Index: /branches/dev/html/mobile/shopping/index.php
===================================================================
--- /branches/dev/html/mobile/shopping/index.php	(revision 12657)
+++ /branches/dev/html/mobile/shopping/index.php	(revision 12658)
@@ -408,49 +408,4 @@
 	}
 	break;
-        }
-        
-        //--¡¡²¾ÅÐÏ¿¤È´°Î»²èÌÌ
-        if ($_POST["mode2"] == "complete") {
-            $objPage->uniqid = lfRegistData ($objPage->arrForm, $arrRegistColumn, $arrRejectRegistColumn);
-
-            // ¶õ¥á¡¼¥ë¤ò¼õ¿®ºÑ¤ß¤Î¾ì¹ç¤Ï¤¹¤°¤ËËÜÅÐÏ¿´°Î»¤Ë¤¹¤ë¡£
-//            if (isset($_SESSION['mobile']['kara_mail_from'])) {
-//                header("Location:" . gfAddSessionId(MOBILE_URL_DIR . "regist/index.php?mode=regist&id=" . $objPage->uniqid));
-//                exit;
-//            }
-
-            $objPage->tpl_mainpage = 'shopping/complete.tpl';
-            $objPage->tpl_title = '¤ªµÒÍÍ¾ðÊóÆþÎÏ(´°Î»¥Ú¡¼¥¸)';
-
-            /*sfMobileSetExtSessionId('id', $objPage->uniqid, 'regist/index.php');
-
-            //¡¡²¾ÅÐÏ¿´°Î»¥á¡¼¥ëÁ÷¿®
-            $objPage->CONF = $CONF;
-            $objPage->to_name01 = $_POST['name01'];
-            $objPage->to_name02 = $_POST['name02'];
-            $objMailText = new SC_MobileView();
-            $objMailText->assignobj($objPage);
-            $subject = sfMakesubject('¤ªµÒÍÍ¾ðÊó¤Î¤´³ÎÇ§');
-            $toCustomerMail = $objMailText->fetch("mail_templates/customer_mail.tpl");
-            $objMail = new GC_SendMail();
-            $objMail->setItem(
-                                ''                                  //¡¡°¸Àè
-                                , $subject                          //¡¡¥µ¥Ö¥¸¥§¥¯¥È
-                                , $toCustomerMail                   //¡¡ËÜÊ¸
-                                , $CONF["email03"]                  //¡¡ÇÛÁ÷¸µ¥¢¥É¥ì¥¹
-                                , $CONF["shop_name"]                //¡¡ÇÛÁ÷¸µ¡¡Ì¾Á°
-                                , $CONF["email03"]                  //¡¡reply_to
-                                , $CONF["email04"]                  //¡¡return_path
-                                , $CONF["email04"]                  //  Errors_to
-                                , $CONF["email01"]                  //  Bcc
-                                                                );
-            // °¸Àè¤ÎÀßÄê
-            $name = $_POST["name01"] . $_POST["name02"] ." ÍÍ";
-            $objMail->setTo($_POST["email"], $name);
-            $objMail->sendMail();
-*/
-            // ´°Î»¥Ú¡¼¥¸¤Ë°ÜÆ°¤µ¤»¤ë¡£
-            header("Location:" . gfAddSessionId("./complete.php"));
-            exit;
         }
     }
@@ -570,4 +525,27 @@
 }
 
+// ¼õÃí°ì»þ¥Æ¡¼¥Ö¥ë¤Î¤ªÆÏ¤±Àè¤ò¥³¥Ô¡¼¤¹¤ë
+function lfCopyDeliv($uniqid, $arrData) {
+	$objQuery = new SC_Query();
+	
+	// ÊÌ¤Î¤ªÆÏ¤±Àè¤ò»ØÄê¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢ÇÛÁ÷Àè¤ËÅÐÏ¿½»½ê¤ò¥³¥Ô¡¼¤¹¤ë¡£
+	if($arrData["deliv_check"] != "1") {
+		$sqlval['deliv_name01'] = $arrData['order_name01'];
+		$sqlval['deliv_name02'] = $arrData['order_name02'];
+		$sqlval['deliv_kana01'] = $arrData['order_kana01'];
+		$sqlval['deliv_kana02'] = $arrData['order_kana02'];
+		$sqlval['deliv_pref'] = $arrData['order_pref'];
+		$sqlval['deliv_zip01'] = $arrData['order_zip01'];
+		$sqlval['deliv_zip02'] = $arrData['order_zip02'];
+		$sqlval['deliv_addr01'] = $arrData['order_addr01'];
+		$sqlval['deliv_addr02'] = $arrData['order_addr02'];
+		$sqlval['deliv_tel01'] = $arrData['order_tel01'];
+		$sqlval['deliv_tel02'] = $arrData['order_tel02'];
+		$sqlval['deliv_tel03'] = $arrData['order_tel03'];
+		$where = "order_temp_id = ?";
+		$objQuery->update("dtb_order_temp", $sqlval, $where, array($uniqid));
+	}
+}
+
 //-----------------------------NONMEMBER´Ø¿ô·²¢§------------------------------------------------------------------
 //----¡¡¼èÆÀÊ¸»úÎó¤ÎÊÑ´¹
