Index: /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit.php
===================================================================
--- /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit.php	(revision 15418)
+++ /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit.php	(revision 15418)
@@ -0,0 +1,126 @@
+<?php
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+require_once(MODULE_PATH . "mdl_zeus/mdl_zeus.inc");
+
+class LC_Page {
+	function LC_Page() {
+		/** É¬¤º»ØÄê¤¹¤ë **/
+		$this->tpl_mainpage = MODULE_PATH . 'mdl_paygent/paygent_credit.tpl';		// ¥á¥¤¥ó¥Æ¥ó¥×¥ì¡¼¥È
+		/*
+		 session_start»þ¤Îno-cache¥Ø¥Ã¥À¡¼¤òÍÞÀ©¤¹¤ë¤³¤È¤Ç
+		 ¡ÖÌá¤ë¡×¥Ü¥¿¥ó»ÈÍÑ»þ¤ÎÍ­¸ú´ü¸ÂÀÚ¤ìÉ½¼¨¤òÍÞÀ©¤¹¤ë¡£
+		 private-no-expire:¥¯¥é¥¤¥¢¥ó¥È¤Î¥­¥ã¥Ã¥·¥å¤òµö²Ä¤¹¤ë¡£
+		*/
+		session_cache_limiter('private-no-expire');		
+	}
+}
+
+$objPage = new LC_Page();
+$objView = new SC_SiteView();
+$objCampaignSess = new SC_CampaignSession();
+$objSiteInfo = $objView->objSiteInfo;
+$arrInfo = $objSiteInfo->data;
+
+if (GC_MobileUserAgent::isMobile()) {
+	sfDispSiteError(FREE_ERROR_MSG, "", false, "¥¯¥ì¥¸¥Ã¥È·èºÑ¤Ï¡¢¤´»ÈÍÑ¤Îµ¡¼ï¤Ë¤ÏÂÐ±þ¤·¤Æ¤ª¤ê¤Þ¤»¤ó¡£", true);
+	exit;
+}
+
+// ¥Ñ¥é¥á¡¼¥¿´ÉÍý¥¯¥é¥¹
+$objFormParam = new SC_FormParam();
+// ¥Ñ¥é¥á¡¼¥¿¾ðÊó¤Î½é´ü²½
+lfInitParam();
+// POSTÃÍ¤Î¼èÆÀ
+$objFormParam->setParam($_POST);
+
+// ¥«¡¼¥È½¸·×½èÍý
+$objPage = sfTotalCart($objPage, $objCartSess, $arrInfo);
+
+// °ì»þ¼õÃí¥Æ¡¼¥Ö¥ë¤ÎÆÉ¹þ
+$arrData = sfGetOrderTemp($uniqid);
+
+// ¥«¡¼¥È½¸·×¤ò¸µ¤ËºÇ½ª·×»»
+$arrData = sfTotalConfirm($arrData, $objPage, $objCartSess, $arrInfo);
+
+switch($_POST['mode']) {
+// Á°¤Î¥Ú¡¼¥¸¤ËÌá¤ë
+case 'return':
+	// Àµ¾ï¤Ê¿ä°Ü¤Ç¤¢¤ë¤³¤È¤òµ­Ï¿¤·¤Æ¤ª¤¯
+	$objSiteSess->setRegistFlag();
+	header("Location: " . URL_SHOP_CONFIRM);
+	exit;
+	break;
+// ¼¡¤Ø
+case 'next':
+	// ÆþÎÏÃÍ¤ÎÊÑ´¹
+	$objFormParam->convParam();
+	$objPage->arrErr = lfCheckError($arrRet);
+	// ÆþÎÏ¥¨¥é¡¼¤Ê¤·¤Î¾ì¹ç
+	if(count($objPage->arrErr) == 0) {
+
+		
+		// ÆþÎÏ¥Ç¡¼¥¿¤Î¼èÆÀ¤ò¹Ô¤¦
+    	$arrInput = $objFormParam->getHashArray();
+		sfPostPaymentData($arrInput);
+    	
+    	// ¥¯¥ì¥¸¥Ã¥ÈÅÅÊ¸Á÷¿®
+		//$arrRet = sfSendPaygentCredit($arrData, $arrInput, $uniqid);		
+				
+		// À®¸ù
+		if($arrRet['payment_id'] != "") {
+            // Àµ¾ï¤ËÅÐÏ¿¤µ¤ì¤¿¤³¤È¤òµ­Ï¿¤·¤Æ¤ª¤¯
+            $objSiteSess->setRegistFlag();
+            header("Location: " . URL_SHOP_COMPLETE);
+		} else {
+			// ¼ºÇÔ
+			$objPage->tpl_error = "Ç§¾Ú¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£¤ª¼ê¿ô¤Ç¤¹¤¬ÆþÎÏÆâÍÆ¤ò¤´³ÎÇ§¤¯¤À¤µ¤¤¡£";
+		}
+	}
+	break;
+}
+
+$objDate = new SC_Date();
+$objDate->setStartYear(RELEASE_YEAR);
+$objDate->setEndYear(RELEASE_YEAR + CREDIT_ADD_YEAR);
+$objPage->arrYear = $objDate->getZeroYear();
+$objPage->arrMonth = $objDate->getZeroMonth();
+
+// ¶¦ÄÌ¤ÎÉ½¼¨½àÈ÷
+$objPage = sfZeusDisp($objPage, $payment_id);
+
+// »ÙÊ§²ó¿ô
+$objPage->arrPaymentClass = $arrPaymentClass;
+$objPage->arrForm = $objFormParam->getFormParamList();
+$objView->assignobj($objPage);
+// ¥Õ¥ì¡¼¥à¤òÁªÂò(¥­¥ã¥ó¥Ú¡¼¥ó¥Ú¡¼¥¸¤«¤éÁ«°Ü¤Ê¤éÊÑ¹¹)
+$objCampaignSess->pageView($objView);
+//-------------------------------------------------------------------------------------------------------
+/* ¥Ñ¥é¥á¡¼¥¿¾ðÊó¤Î½é´ü²½ */
+function lfInitParam() {
+	global $objFormParam;
+	$objFormParam->addParam("»ÙÊ§²ó¿ô", "payment_class", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK"));
+	$objFormParam->addParam("¥«¡¼¥ÉÈÖ¹æ1", "card_no01", CREDIT_NO_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK"));
+	$objFormParam->addParam("¥«¡¼¥ÉÈÖ¹æ2", "card_no02", CREDIT_NO_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK"));
+	$objFormParam->addParam("¥«¡¼¥ÉÈÖ¹æ3", "card_no03", CREDIT_NO_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK"));
+	$objFormParam->addParam("¥«¡¼¥ÉÈÖ¹æ4", "card_no04", CREDIT_NO_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK"));
+	$objFormParam->addParam("¥«¡¼¥É´ü¸ÂÇ¯", "card_year", 2, "n", array("EXIST_CHECK", "NUM_COUNT_CHECK", "NUM_CHECK"));
+	$objFormParam->addParam("¥«¡¼¥É´ü¸Â·î", "card_month", 2, "n", array("EXIST_CHECK", "NUM_COUNT_CHECK", "NUM_CHECK"));
+	$objFormParam->addParam("À«", "card_name01", STEXT_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "ALPHA_CHECK"));
+	$objFormParam->addParam("Ì¾", "card_name02", STEXT_LEN, "KVa", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "ALPHA_CHECK"));
+}
+
+/* ÆþÎÏÆâÍÆ¤Î¥Á¥§¥Ã¥¯ */
+function lfCheckError() {
+	global $objFormParam;
+	// ÆþÎÏ¥Ç¡¼¥¿¤òÅÏ¤¹¡£
+	$arrRet =  $objFormParam->getHashArray();
+	$objErr = new SC_CheckError($arrRet);
+	$objErr->arrErr = $objFormParam->checkError();
+	
+	return $objErr->arrErr;
+}
+?>
Index: /branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.php
===================================================================
--- /branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.php	(revision 15418)
+++ /branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.php	(revision 15418)
@@ -0,0 +1,262 @@
+<?php
+/**
+ * 
+ * @copyright    2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ * @version CVS: $Id: 1.0 2006-06-04 06:38:01Z kakinaka $ 
+ * @link        http://www.lockon.co.jp/
+ *
+ */
+require_once(MODULE_PATH . "mdl_zeus/mdl_zeus.inc");
+
+//¥Ú¡¼¥¸´ÉÍý¥¯¥é¥¹
+class LC_Page {
+    //¥³¥ó¥¹¥È¥é¥¯¥¿
+    function LC_Page() {
+        //¥á¥¤¥ó¥Æ¥ó¥×¥ì¡¼¥È¤Î»ØÄê
+        $this->tpl_mainpage = MODULE_PATH . 'mdl_zero/mdl_zero.tpl';
+        $this->tpl_subtitle = '¥¼¥í·èºÑ¥â¥¸¥å¡¼¥ë';
+    }
+}
+$objPage = new LC_Page();
+$objView = new SC_AdminView();
+$objQuery = new SC_Query();
+
+// ¥¯¥ì¥¸¥Ã¥È¥Á¥§¥Ã¥¯
+lfZeroCheck();
+
+// Ç§¾Ú³ÎÇ§
+$objSess = new SC_Session();
+sfIsSuccess($objSess);
+
+// ¥Ñ¥é¥á¡¼¥¿´ÉÍý¥¯¥é¥¹
+$objFormParam = new SC_FormParam();
+$objFormParam = lfInitParam($objFormParam);
+// POSTÃÍ¤Î¼èÆÀ
+$objFormParam->setParam($_POST);
+
+// ÈÆÍÑ¹àÌÜ¤òÄÉ²Ã(É¬¿Ü¡ª¡ª)
+sfAlterMemo();
+
+switch($_POST['mode']) {
+case 'edit':
+    // ÆþÎÏ¥¨¥é¡¼È½Äê
+    $objPage->arrErr = lfCheckError();
+
+    // ¥¨¥é¡¼¤Ê¤·¤Î¾ì¹ç¤Ë¤Ï¥Ç¡¼¥¿¤ò¹¹¿·    
+    if(count($objPage->arrErr) == 0) {
+        // ¥Ç¡¼¥¿¹¹¿·
+        lfUpdPaymentDB();
+        
+        // javascript¼Â¹Ô
+        $objPage->tpl_onload = 'alert("ÅÐÏ¿´°Î»¤·¤Þ¤·¤¿¡£\n´ðËÜ¾ðÊó¡ä»ÙÊ§ÊýË¡ÀßÄê¤è¤ê¾ÜºÙÀßÄê¤ò¤·¤Æ¤¯¤À¤µ¤¤¡£"); window.close();';
+    }
+    break;
+case 'module_del':
+    // ÈÆÍÑ¹àÌÜ¤ÎÂ¸ºß¥Á¥§¥Ã¥¯
+    if(sfColumnExists("dtb_payment", "memo01")){
+        // ¥Ç¡¼¥¿¤Îºï½ü¥Õ¥é¥°¤ò¤¿¤Æ¤ë
+        $objQuery->query("UPDATE dtb_payment SET del_flg = 1 WHERE module_id = ?", array(MDL_ZERO_ID));
+    }
+    break;
+default:
+    // ¥Ç¡¼¥¿¤Î¥í¡¼¥É
+    lfLoadData();    
+    break;
+}
+
+$objPage->arrForm = $objFormParam->getFormParamList();
+
+$objView->assignobj($objPage);                    //ÊÑ¿ô¤ò¥Æ¥ó¥×¥ì¡¼¥È¤Ë¥¢¥µ¥¤¥ó¤¹¤ë
+$objView->display($objPage->tpl_mainpage);        //¥Æ¥ó¥×¥ì¡¼¥È¤Î½ÐÎÏ
+//-------------------------------------------------------------------------------------------------------
+/* ¥Ñ¥é¥á¡¼¥¿¾ðÊó¤Î½é´ü²½ */
+function lfInitParam($objFormParam) {
+    $objFormParam->addParam("PCÈÇ", "pc", INT_LEN, "n");
+    $objFormParam->addParam("²ÃÌÁÅ¹¥³¡¼¥É", "pc_send", SEND_LEN, "KVa", array("MAX_LENGTH_CHECK", "SPTAB_CHECK"));
+    $objFormParam->addParam("ÈÖÁÈ¥³¡¼¥É ", "pc_clientip", CLIENTIP_LEN, "KVa", array("MAX_LENGTH_CHECK", "NUM_CHECK"));
+
+    $objFormParam->addParam("·ÈÂÓÈÇ", "mobile", INT_LEN, "n");
+    $objFormParam->addParam("²ÃÌÁÅ¹¥³¡¼¥É", "mobile_send", SEND_LEN, "KVa", array("MAX_LENGTH_CHECK", "SPTAB_CHECK"));
+    $objFormParam->addParam("ÈÖÁÈ¥³¡¼¥É ", "mobile_clientip", CLIENTIP_LEN, "KVa", array("MAX_LENGTH_CHECK", "NUM_CHECK"));
+    
+    return $objFormParam;
+}
+
+// ¥¨¥é¡¼¥Á¥§¥Ã¥¯¤ò¹Ô¤¦
+function lfCheckError(){
+    global $objFormParam;
+    
+    $arrErr = $objFormParam->checkError();
+    
+    if($_POST["pc"]){
+        if(empty($_POST["pc_send"])) $arrErr["pc_send"] = "¢¨ ²ÃÌÁÅ¹¥³¡¼¥É ¤¬ÆþÎÏ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£<br>";
+        if(empty($_POST["pc_clientip"])) $arrErr["pc_clientip"] = "¢¨ ÈÖÁÈ¥³¡¼¥É ¤¬ÆþÎÏ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£<br>";
+    }
+
+    if($_POST["mobile"]){
+        if(empty($_POST["mobile_send"])) $arrErr["mobile_send"] = "¢¨ ²ÃÌÁÅ¹¥³¡¼¥É ¤¬ÆþÎÏ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£<br>";
+        if(empty($_POST["mobile_clientip"])) $arrErr["mobile_clientip"] = "¢¨ ÈÖÁÈ¥³¡¼¥É ¤¬ÆþÎÏ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£<br>";
+    }
+    
+    // ÀÜÂ³¥Á¥§¥Ã¥¯¤ò¹Ô¤¦
+    if(count($arrErr) == 0) $arrErr = lfChkConnect();
+    
+    return $arrErr;
+}
+
+// ÀÜÂ³¥Á¥§¥Ã¥¯¤ò¹Ô¤¦
+function lfChkConnect(){
+    $arrRet = array();
+    
+    // PCÈÇ¤ÎÀÜÂ³³ÎÇ§
+    if($_POST["pc"]){
+        // Á÷¿®¥Ç¡¼¥¿À¸À®
+        $arrSendData = array(
+            'clientip' => $_POST["pc_clientip"],    // ÈÖÁÈ¥³¡¼¥É
+            'custom' => SEND_PARAM_CUSTOM,            // yes¸ÇÄê
+            'send' => $_POST["pc_send"],            // ²ÃÌÁÅ¹¥³¡¼¥É
+            'money' => 0                            // ¶â³Û
+        );
+/*
+        // ¥Ç¡¼¥¿Á÷¿®
+        $arrResponse = sfPostPaymentData(SEND_PARAM_PC_URL, $arrSendData, false);
+        
+        // ¥¨¥é¡¼¤¬¤¢¤ë¤«¥Á¥§¥Ã¥¯¤¹¤ë
+        if(!ereg("^<HTML>",$arrResponse )){
+            $arrRet["pc_clientip"] = "ÆþÎÏ¥Ç¡¼¥¿¤¬Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó<br>";
+        }
+*/
+    }
+
+    // ·ÈÂÓÈÇ¤ÎÀÜÂ³³ÎÇ§
+    if($_POST["mobile"]){
+        // Á÷¿®¥Ç¡¼¥¿À¸À®
+        $arrSendData = array(
+            'clientip' => $_POST["mobile_clientip"],    // ÈÖÁÈ¥³¡¼¥É
+            'act' => SEND_PARAM_ACT,                    // imode¸ÇÄê
+            'money' => 0                                // ¶â³Û
+        );
+/*        
+        // ¥Ç¡¼¥¿Á÷¿®
+        $arrResponse = sfPostPaymentData(SEND_PARAM_MOBILE_URL, $arrSendData, false);
+        
+        // ¥¨¥é¡¼¤¬¤¢¤ë¤«¥Á¥§¥Ã¥¯¤¹¤ë
+        if(!ereg("^<HTML>",$arrResponse )){
+            $arrRet["mobile_clientip"] = "ÆþÎÏ¥Ç¡¼¥¿¤¬Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó<br>";
+        }
+*/
+    }
+    
+    return $arrRet;    
+}
+
+// ÅÐÏ¿¥Ç¡¼¥¿¤òÆÉ¤ß¹þ¤à
+function lfLoadData(){
+    global $objFormParam;
+    
+    //¥Ç¡¼¥¿¤ò¼èÆÀ
+    $arrRet = lfGetPaymentDB(" AND del_flg = '0'");
+    
+    // ÃÍ¤ò¥»¥Ã¥È
+    $objFormParam->setParam($arrRet[0]);
+
+    // ²èÌÌÉ½¼¨ÍÑ¤Ë¥Ç¡¼¥¿¤òÊÑ´¹
+    $arrDisp = array();
+    $arrDisp = $arrRet[0];
+    if (!empty($arrDisp["pc_send"])) $arrDisp["pc"] = 1;
+    if (!empty($arrDisp["mobile_send"])) $arrDisp["mobile"] = 1;
+    $objFormParam->setParam($arrDisp);
+}
+
+// DB¤«¤é¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ë
+function lfGetPaymentDB($where = "", $arrWhereVal = array()){
+    global $objQuery;
+    
+    $arrVal = array(MDL_ZEUS_ID);
+    $arrVal = array_merge($arrVal, $arrWhereVal);
+    
+    $arrRet = array();
+    $sql = "SELECT 
+                module_id, 
+                memo01 as pc_send, 
+                memo02 as pc_clientip,
+                memo04 as mobile_send, 
+                memo05 as mobile_clientip
+            FROM dtb_payment WHERE module_id = ? " . $where;
+    $arrRet = $objQuery->getall($sql, $arrVal);
+
+    return $arrRet;
+}
+
+
+// ¥Ç¡¼¥¿¤Î¹¹¿·½èÍý
+function lfUpdPaymentDB(){
+    global $objQuery;
+    global $objSess;
+    $arrData = array();
+
+    // del_flg¤òºï½ü¤Ë¤·¤Æ¤ª¤¯
+    $del_sql = "UPDATE dtb_payment SET del_flg = 1 WHERE module_id = ? ";
+    $arrDel = array(MDL_ZEUS_ID);
+    $objQuery->query($del_sql, $arrDel);
+
+    // PCÍÑ¥Ç¡¼¥¿ÅÐÏ¿
+    if($_POST["pc"]){
+		$arrData["payment_method"] = "Zero¥¯¥ì¥¸¥Ã¥È";
+		$arrData["fix"] = 3;
+		$arrData["creator_id"] = $objSess->member_id;
+		$arrData["update_date"] = "now()";
+		$arrData["module_id"] = MDL_ZEUS_ID;
+		$arrData["module_path"] = MODULE_PATH . "mdl_zeus/zeus_credit.php";
+		$arrData["memo01"] = $_POST["pc_send"];
+		$arrData["memo02"] = $_POST["pc_clientip"];
+		$arrData["memo03"] = ZERO_CREDIT_ID;
+		$arrData["del_flg"] = "0";
+    }
+    
+    // ·ÈÂÓÍÑ¥Ç¡¼¥¿ÅÐÏ¿
+    if($_POST["mobile"]){
+		$arrData["payment_method"] = "Zero¥¯¥ì¥¸¥Ã¥È";
+		$arrData["fix"] = 3;
+		$arrData["creator_id"] = $objSess->member_id;
+		$arrData["update_date"] = "now()";
+		$arrData["module_id"] = MDL_ZEUS_ID;
+		$arrData["module_path"] = MODULE_PATH . "mdl_zeus/zeus_credit.php";
+		$arrData["memo03"] = ZERO_CREDIT_ID;
+		$arrData["memo04"] = $_POST["mobile_send"];
+		$arrData["memo05"] = $_POST["mobile_clientip"];
+		$arrData["del_flg"] = "0";
+    }
+    
+    // ¹¹¿·¥Ç¡¼¥¿¤¬¤¢¤ì¤Ð¹¹¿·¤¹¤ë¡£
+    if(count($arrData) > 0){
+	    // ¥é¥ó¥¯¤ÎºÇÂçÃÍ¤ò¼èÆÀ¤¹¤ë
+	    $max_rank = $objQuery->getone("SELECT max(rank) FROM dtb_payment");
+	    
+	    // »ÙÊ§ÊýË¡¥Ç¡¼¥¿¤ò¼èÆÀ
+	    $arrPaymentData = lfGetPaymentDB();
+	    
+	    // ¥Ç¡¼¥¿¤¬Â¸ºß¤·¤Æ¤¤¤ì¤ÐUPDATE¡¢Ìµ¤±¤ì¤ÐINSERT
+	    if(count($arrPaymentData) > 0){
+            $objQuery->update("dtb_payment", array("memo01"=>"","memo02"=>"","memo03"=>"","memo04"=>"","memo05"=>""), " module_id = '" . MDL_ZEUS_ID . "'");
+	        $objQuery->update("dtb_payment", $arrData, " module_id = '" . MDL_ZEUS_ID . "'");
+	    }else{
+	        $arrData["rank"] = $max_rank + 1;
+	        $objQuery->insert("dtb_payment", $arrData);
+	    }
+    }
+}
+
+
+function lfZeroCheck(){
+    if(!empty($_GET["clientip"])){
+        global $objPage;
+        global $objView;
+        global $objQuery;
+        require_once(MODULE_PATH . "mdl_zero/recv.php");
+        exit();
+    }
+}
+
+
+?>
Index: /branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.inc
===================================================================
--- /branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.inc	(revision 15418)
+++ /branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.inc	(revision 15418)
@@ -0,0 +1,67 @@
+<?php
+/**
+ * 
+ * @copyright	2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ * @version	CVS: $Id: mdl_epsilon.inc 7162 2006-11-18 09:53:33Z kakinaka $
+ * @link		http://www.lockon.co.jp/
+ *
+ */
+require_once(DATA_PATH . "module/Request.php");
+
+/**** ¢§Äê¿ôÀë¸À *********************************************************************************************/
+
+define("MDL_ZEUS_ID", 10);
+
+// ¥¯¥ì¥¸¥Ã¥ÈÊ¬³ä²ó¿ô
+$arrPaymentClass = array(
+	'1' => '°ì³çÊ§¤¤',
+);
+
+define("ZERO_PC", 1);        // dtb_payment ¤Î¶èÊ¬ÍÑ
+define("ZERO_MOBILE", 2);    // dtb_payment ¤Î¶èÊ¬ÍÑ
+define("ZERO_CREDIT_ID", 1);      // dtb_payment ¤Î¶èÊ¬ÍÑ
+
+// Á÷¿®¥Ñ¥é¥á¡¼¥¿
+define ("SEND_PARAM_CUSTOM", "yes");
+define ("SEND_PARAM_ACT", "imode");
+define ("SEND_PARAM_SEND", "jpall");
+define ("SEND_PARAM_PC_URL", "https://credit.zeroweb.ne.jp/cgi-bin/order.cgi?orders");
+define ("SEND_PARAM_MOBILE_URL", "https://credit.zeroweb.ne.jp/cgi-bin/order.cgi");
+define ("SEND_PARAM_DELIMITER", "_");                           // sendid¤ÎÊ¬³äÊ¸»ú
+
+// Ê¸»ú¿ôÀ©¸Â
+define ("CLIENTIP_LEN", 5);
+define ("SEND_LEN", 20);
+
+
+/**************************************************************************************************************
+ * ´Ø¿ôÌ¾	¡§sfPostPaymentData
+ * ½èÍýÆâÍÆ	¡§·èºÑ¥Ç¡¼¥¿Á÷¿®½èÍý
+ * °ú¿ô1	¡§
+ * °ú¿ô2	¡§
+ * °ú¿ô3	¡§
+ * Ìá¤êÃÍ	¡§¼èÆÀ·ë²Ì
+ **************************************************************************************************************/
+function sfPostPaymentData($arrData){
+	
+	sfPrintR($arrData);
+	//Success_order
+	return $arrVal;
+}
+/**************************************************************************************************************
+ * ´Ø¿ôÌ¾	¡§sfZeusDisp
+ * ½èÍýÆâÍÆ	¡§¶¦ÄÌ¤ÎÉ½¼¨½èÍý
+ * °ú¿ô1	¡§
+ * °ú¿ô2	¡§
+ * °ú¿ô3	¡§
+ * Ìá¤êÃÍ	¡§¼èÆÀ·ë²Ì
+ **************************************************************************************************************/
+function sfZeusDisp($objPage, $payment_id) {
+	$objQuery = new SC_Query();
+	// »ÙÊ§¤¤ÊýË¡¤ÎÀâÌÀ²èÁü¤ò¼èÆÀ¤¹¤ë¡£
+	$arrRet = $objQuery->select("payment_method, payment_image", "dtb_payment", "payment_id = ?", array($payment_id));
+	$objPage->tpl_payment_method = $arrRet[0]['payment_method'];
+	$objPage->tpl_payment_image = $arrRet[0]['payment_image'];
+	return $objPage;
+}
+?>
Index: /branches/feature-module-zeus/data/downloads/module/mdl_zeus/card_mobile.tpl
===================================================================
--- /branches/feature-module-zeus/data/downloads/module/mdl_zeus/card_mobile.tpl	(revision 15418)
+++ /branches/feature-module-zeus/data/downloads/module/mdl_zeus/card_mobile.tpl	(revision 15418)
@@ -0,0 +1,24 @@
+<!--{*
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+*}-->
+<center>¥¯¥ì¥¸¥Ã¥È·èºÑ</center>
+
+<hr>
+<br>
+<form method="post" action="<!--{$order_url|escape}-->">
+	<!--{foreach key=key item=item from=$arrSendData}-->
+	<input type="hidden" name="<!--{$key}-->" value="<!--{$item}-->">
+	<!--{/foreach}-->
+	<center><input type="submit" value="¥¯¥ì¥¸¥Ã¥È·èºÑ¤Ë¿Ê¤à"></center>
+</form>
+
+<br>
+<hr>
+
+<!-- ¢§¥Õ¥Ã¥¿¡¼ ¤³¤³¤«¤é -->
+<!--{include file='footer.tpl'}-->
+<!-- ¢¥¥Õ¥Ã¥¿¡¼ ¤³¤³¤Þ¤Ç -->
Index: /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit.tpl
===================================================================
--- /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit.tpl	(revision 15418)
+++ /branches/feature-module-zeus/data/downloads/module/mdl_zeus/zeus_credit.tpl	(revision 15418)
@@ -0,0 +1,190 @@
+<script type="text/javascript">
+<!--
+function next(now, next) {
+	if (now.value.length >= now.getAttribute('maxlength')) {
+	next.focus();
+	}
+}
+//-->
+</script>
+
+<!--¢§CONTENTS-->
+<table width="760" border="0" cellspacing="0" cellpadding="0" summary=" ">
+	<tr>
+		<td align="center" bgcolor="#ffffff">
+		<!--¢§MAIN ONTENTS-->
+		<!--¹ØÆþ¼êÂ³¤­¤ÎÎ®¤ì-->
+		<table width="700" border="0" cellspacing="0" cellpadding="0" summary=" ">
+			<tr>
+				<td><img src="/img/shopping/flow03.gif" width="700" height="36" alt="¹ØÆþ¼êÂ³¤­¤ÎÎ®¤ì"></td>
+
+			</tr>
+			<tr><td height="15"></td></tr>
+		</table>
+		<!--¹ØÆþ¼êÂ³¤­¤ÎÎ®¤ì-->
+		
+		<!--¢§MAIN CONTENTS-->				
+				<table width="666" border="0" cellspacing="0" cellpadding="0" summary=" ">
+					<tr>
+						<td colspan="3"><img src="/img/contents/contents_title_top.gif" width="666" height="7" alt=""></td>
+					</tr>
+					<tr>
+						<td background="/img/contents/contents_title_left_bg.gif"><img src="/img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+						<td bgcolor="#636469" width="638" class="fs16n"><strong><span class="white"><!--{$tpl_payment_method}--></span><strong></td>
+						<td background="/img/contents/contents_title_right_bg.gif"><img src="/img/common/_.gif" width="18" height="1" alt=""></td>
+					</tr>
+					<tr>
+						<td colspan="3"><img src="/img/contents/contents_title_bottom.gif" width="666" height="7" alt=""></td>
+					</tr>
+					<tr><td height="15"></td></tr>
+				</table>
+
+				<table width="666" border="0" cellspacing="0" cellpadding="0" summary=" ">
+					<tr>
+						<td bgcolor="#ffffff">
+						
+						<!--{if $tpl_error != ""}-->
+						<!-- ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸ -->
+						<table width="666" border="0" cellspacing="0" cellpadding="0" summary=" ">
+							<tr>
+								<td bgcolor="#cccccc">
+								<table width="666" border="0" cellspacing="1" cellpadding="10" summary=" ">
+									<tr>
+										<td width="666" class="fs12" bgcolor="#ffffff">
+										<span class="redst"><!--{$tpl_error}--></span>
+										</td>
+									</tr>
+								</table>
+							</tr>
+							<tr><td height="15"></td></tr>
+						</table>
+						<!--{/if}-->
+						
+						<table width="666" border="0" cellspacing="0" cellpadding="0" summary=" ">
+						<form name="form1" id="form1" method="post" action="./load_payment_module.php" autocomplete="off">
+						<input type="hidden" name="mode" value="next">
+						<input type="hidden" name="uniqid" value="">
+							<tr><td height="5" class="fs12"></td></tr>
+							<tr>
+								<td bgcolor="#cccccc">
+								<table width="666" border="0" cellspacing="1" cellpadding="10" summary=" ">
+									<!--{if $tpl_payment_image != ""}-->
+									<tr>
+										<td width="170" class="fs12" bgcolor="#f3f3f3">¤´ÍøÍÑ¤¤¤¿¤À¤±¤ë¥«¡¼¥É¤Î¼ïÎà</td>
+										<td width="453" bgcolor="#ffffff">
+										<img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$tpl_payment_image}-->">
+										</td>
+									</tr>
+									<!--{/if}-->
+									<tr>
+										<td class="fs12" bgcolor="#f3f3f3">»ÙÊ§²ó¿ô</td>
+										<!--{assign var=key1 value="payment_class"}-->
+										<td  bgcolor="#ffffff" class="fs12">
+										<span class="red"><!--{$arrErr[$key1]}--></span>
+										<select name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|escape}-->" maxlength="<!--{$arrForm[$key1].length}-->" style="<!--{$arrErr[$key1]|sfGetErrorColor}-->" >
+										<!--{html_options options=$arrPaymentClass selected=$arrForm[$key1].value}-->
+										</select>
+										</td>
+									</tr>
+									<tr>
+										<td class="fs12" bgcolor="#f3f3f3">¥«¡¼¥ÉÈÖ¹æ</td>
+										<td class="fs12" bgcolor="#ffffff">
+										<table border="0" 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="fs12">
+												<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="ime-mode: disabled; <!--{$arrErr[$key1]|sfGetErrorColor}-->"  size="6" onkeyup="next(this, this.form.<!--{$key2}-->)" >&nbsp;-&nbsp;
+												<input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|escape}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="ime-mode: disabled; <!--{$arrErr[$key2]|sfGetErrorColor}-->"  size="6" onkeyup="next(this, this.form.<!--{$key3}-->)" >&nbsp;-&nbsp;
+												<input type="text" name="<!--{$key3}-->" value="<!--{$arrForm[$key3].value|escape}-->" maxlength="<!--{$arrForm[$key3].length}-->" style="ime-mode: disabled; <!--{$arrErr[$key3]|sfGetErrorColor}-->"  size="6" onkeyup="next(this, this.form.<!--{$key4}-->)" >&nbsp;-&nbsp;
+												<input type="text" name="<!--{$key4}-->" value="<!--{$arrForm[$key4].value|escape}-->" maxlength="<!--{$arrForm[$key4].length}-->" style="ime-mode: disabled; <!--{$arrErr[$key4]|sfGetErrorColor}-->"  size="6">
+												</td>
+											</tr>
+											<tr><td height="5"></td></tr>
+											<tr>
+												<td class="fs10"><span class="orange">¤´ËÜ¿ÍÌ¾µÁ¤Î¥«¡¼¥É¤ò¤´»ÈÍÑ¤¯¤À¤µ¤¤¡£</span><br>
+												È¾³ÑÆþÎÏ¡ÊÎã¡§1234-5678-9012-3456¡Ë</td>
+											</tr>
+										</table>
+										</td>
+									</tr>
+									<tr>
+										<td class="fs12" bgcolor="#f3f3f3">Í­¸ú´ü¸Â</td>
+										<!--{assign var=key1 value="card_month"}-->
+										<!--{assign var=key2 value="card_year"}-->
+										<td  bgcolor="#ffffff" class="fs12">
+										<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 class="fs12" bgcolor="#f3f3f3">¥«¡¼¥ÉÌ¾µÁ¡Ê¥í¡¼¥Þ»ú»áÌ¾¡Ë</td>
+										<td bgcolor="#ffffff">
+										<table border="0" cellspacing="0" cellpadding="0" summary=" ">
+											<tr>
+												<!--{assign var=key2 value="card_name01"}-->
+												<!--{assign var=key1 value="card_name02"}-->								
+												<td class="fs12">
+												<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="fs10">È¾³ÑÆþÎÏ¡ÊÎã¡§TARO YAMADA¡Ë</td>
+											</tr>
+										</table>
+										</td>
+									</tr>
+								</table>
+								</td>
+							</tr>
+						</table>
+						
+						<table width="666" border="0" cellspacing="0" cellpadding="0" summary=" ">
+							<tr><td height="5"></td></tr>
+							<tr>
+								<td align="center" bgcolor="#f7f5f4">
+								<table width="666" border="0" cellspacing="0" cellpadding="6" summary=" ">
+									<tr>
+										<td class="fs12st" align="center">°Ê¾å¤ÎÆâÍÆ¤Ç´Ö°ã¤¤¤Ê¤±¤ì¤Ð¡¢²¼µ­¡ÖÃíÊ¸´°Î»¥Ú¡¼¥¸¤Ø¡×¥Ü¥¿¥ó¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£<br>
+										<span class="orange">¢¨²èÌÌ¤¬ÀÚ¤êÂØ¤ë¤Þ¤Ç¾¯¡¹»þ´Ö¤¬¤«¤«¤ë¾ì¹ç¤¬¤´¤¶¤¤¤Þ¤¹¤¬¡¢¤½¤Î¤Þ¤Þ¤ªÂÔ¤Á¤¯¤À¤µ¤¤¡£</span></td>
+									</tr>
+									<tr>
+										<td align="center" height="40" bgcolor="#f7f5f4">
+											<a href="#" onclick="document.form2.submit(); return false;" onmouseover="chgImgImageSubmit('/img/common/b_back_on.gif',back03)" onmouseout="chgImgImageSubmit('/img/common/b_back.gif',back03)"><img src="/img/common/b_back.gif" width="150" height="30" alt="Ìá¤ë" border="0" name="back03" id="back03"/></a><img src="/img/_.gif" width="12" height="" alt="" />
+											<input type="image" onmouseover="chgImgImageSubmit('/img/common/b_next_on.gif',this)" onmouseout="chgImgImageSubmit('/img/common/b_next.gif',this)" src="/img/common/b_next.gif" width="150" height="30" alt="¼¡¤Ø" border="0" name="next" id="next" />
+										</td>
+									</tr>
+								</table>
+
+								</td>
+							</tr>
+						</table>
+						</td>
+					</tr>
+				</table>
+				</form>
+				<form name="form2" id="form2" method="post" action="./load_payment_module.php" autocomplete="off">
+				<input type="hidden" name="mode" value="return">			
+				</form>
+				<!--¢¥MAIN CONTENTS-->
+		</td>
+	</tr>
+
+</table>
+<!--¢¥CONTENTS-->
Index: /branches/feature-module-zeus/data/downloads/module/mdl_zeus/card.php
===================================================================
--- /branches/feature-module-zeus/data/downloads/module/mdl_zeus/card.php	(revision 15418)
+++ /branches/feature-module-zeus/data/downloads/module/mdl_zeus/card.php	(revision 15418)
@@ -0,0 +1,131 @@
+<?php
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+
+require_once(MODULE_PATH . "mdl_zero/mdl_zero.inc");
+
+class LC_Page {
+	function LC_Page() {
+        $this->tpl_mainpage = MODULE_PATH . 'mdl_zero/card_mobile.tpl';
+		/*
+		 session_start»þ¤Îno-cache¥Ø¥Ã¥À¡¼¤òÍÞÀ©¤¹¤ë¤³¤È¤Ç
+		 ¡ÖÌá¤ë¡×¥Ü¥¿¥ó»ÈÍÑ»þ¤ÎÍ­¸ú´ü¸ÂÀÚ¤ìÉ½¼¨¤òÍÞÀ©¤¹¤ë¡£
+		 private-no-expire:¥¯¥é¥¤¥¢¥ó¥È¤Î¥­¥ã¥Ã¥·¥å¤òµö²Ä¤¹¤ë¡£
+		*/
+		session_cache_limiter('private-no-expire');		
+	} 
+}
+
+$objPage = new LC_Page();
+$objView = new SC_MobileView();
+$objSiteSess = new SC_SiteSession();
+$objCartSess = new SC_CartSession();
+$objCampaignSess = new SC_CampaignSession();
+$objSiteInfo = $objView->objSiteInfo;
+$arrInfo = $objSiteInfo->data;
+
+// ¥æ¡¼¥¶¥æ¥Ë¡¼¥¯ID¤Î¼èÆÀ¤È¹ØÆþ¾õÂÖ¤ÎÀµÅöÀ­¤ò¥Á¥§¥Ã¥¯
+$uniqid = sfCheckNormalAccess($objSiteSess, $objCartSess);
+
+// ¥«¡¼¥È½¸·×½èÍý
+$objPage = sfTotalCart($objPage, $objCartSess, $arrInfo);
+
+// °ì»þ¼õÃí¥Æ¡¼¥Ö¥ë¤ÎÆÉ¹þ
+$arrData = sfGetOrderTemp($uniqid);
+
+// ¥«¡¼¥È½¸·×¤ò¸µ¤ËºÇ½ª·×»»
+$arrData = sfTotalConfirm($arrData, $objPage, $objCartSess, $arrInfo);
+
+// »ÙÊ§¤¤¾ðÊó¤ò¼èÆÀ
+$arrPayment = $objQuery->getall("SELECT module_id, memo01, memo02, memo03, memo04, memo05, memo06, memo07, memo08, memo09, memo10 FROM dtb_payment WHERE payment_id = ? ", array($arrData["payment_id"]));
+
+// ¥Ç¡¼¥¿Á÷¿®ÀèCGI ·ÈÂÓÃ¼Ëö¤Î¾ì¹ç¤Ï ·ÈÂÓÍÑ¤ËÈô¤Ð¤¹
+if(GC_MobileUserAgent::isMobile()) {
+    $objPage = lfSendMobileCredit($arrData, $arrPayment, $objPage);
+}else{
+    lfSendPcCredit($arrData, $arrPayment);
+}
+
+$objPage = lfSendMobileCredit($arrData, $arrPayment, $objPage);
+
+$objView->assignobj($objPage);
+$objView->display(SITE_FRAME);
+
+//---------------------------------------------------------------------------------------------------------------------------------------------------------
+
+// ¥Ç¡¼¥¿Á÷¿®½èÍý(PC)
+function lfSendPcCredit($arrData, $arrPayment){
+    global $objCartSess;
+    global $objSiteSess;
+ 
+	// Á÷¿®¥Ç¡¼¥¿À¸À®
+	$arrSendData = array(
+		'clientip' => $arrPayment[0]["memo02"],						                                // ÈÖÁÈ¥³¡¼¥É
+		'custom' => SEND_PARAM_CUSTOM ,										                        // yes¸ÇÄê
+		'send' => SEND_PARAM_SEND,	                                                                // jpall¸ÇÄê
+		'money' => $arrData["payment_total"],							                            // ¶â³Û
+		'usrtel' => $arrData["order_tel01"] . $arrData["order_tel02"] . $arrData["order_tel03"],	// ÅÅÏÃÈÖ¹æ
+		'usrmail' => $arrData["order_email"],					                                    // ¥á¡¼¥ë¥¢¥É¥ì¥¹
+		'sendid' => $arrData["order_temp_id"] . SEND_PARAM_DELIMITER . $arrData["payment_id"],      // ¥ª¡¼¥À¡¼TEMPID , payment_id
+		'sendpoint' => ECCUBE_PAYMENT	    									                    // EC-CUBE
+	);
+    
+	// ¥»¥Ã¥·¥ç¥ó¥«¡¼¥ÈÆâ¤Î¾¦ÉÊ¤òºï½ü¤¹¤ë¡£
+	$objCartSess->delAllProducts();
+	// ÃíÊ¸°ì»þID¤ò²ò½ü¤¹¤ë¡£
+	$objSiteSess->unsetUniqId();
+    
+    $order_url = SEND_PARAM_PC_URL;
+    $html = '';
+    $html .= '<body onload="document.form1.submit();">';
+    $html .= '<form name="form1" id="form1" method="post" action="' . $order_url . '">';
+    foreach($arrSendData as $key => $val){
+        $html .= '	<input type="hidden" name="' . $key . '" value="' . $val . '">';
+    }
+    $html .= '	</form>';
+    $html .= '	</body>';
+//    $html .= "<script type='text/javascript'>document.form1.submit();</script>";
+    
+    echo $html;
+    exit();
+}
+
+// ¥Ç¡¼¥¿Á÷¿®½èÍý(MOBILE)
+function lfSendMobileCredit($arrData, $arrPayment, $objPage){
+    global $objCartSess;
+    global $objSiteSess;
+ 
+	// Èó²ñ°÷¤Î¤È¤­¤Ï user_id ¤Ë not_member¤ÈÁ÷¤ë
+	($arrData["customer_id"] == 0) ? $user_id = "not_member" : $user_id = $arrData["customer_id"];	
+	
+	// Á÷¿®¥Ç¡¼¥¿À¸À®
+	$arrSendData = array(
+		'clientip' => $arrPayment[0]["memo05"],						                                // ÈÖÁÈ¥³¡¼¥É
+		'act' => SEND_PARAM_ACT ,										                            // imode¸ÇÄê
+		'send' => SEND_PARAM_SEND,	                                                                // jpall¸ÇÄê
+		'money' => $arrData["payment_total"],						                    	        // ¶â³Û
+		'usrtel' => $arrData["order_tel01"] . $arrData["order_tel02"] . $arrData["order_tel03"],	// ÅÅÏÃÈÖ¹æ
+		'usrmail' => $arrData["order_email"],					                                    // ¥á¡¼¥ë¥¢¥É¥ì¥¹
+        'sendid' => $arrData["order_temp_id"] . SEND_PARAM_DELIMITER . $arrData["payment_id"],		                // ¥ª¡¼¥À¡¼TEMPID , payment_id
+		'sendpoint' => ECCUBE_PAYMENT,	    									                    // EC-CUBE
+		'siteurl' => SITE_URL . "mobile/",	    							                        		    // Ìá¤êÀèURL
+		'sitestr' => "TOP¤ØÌá¤ë"                                						        	// Ìá¤êÀè¥ê¥ó¥¯Ì¾
+	);
+    
+	// ¥»¥Ã¥·¥ç¥ó¥«¡¼¥ÈÆâ¤Î¾¦ÉÊ¤òºï½ü¤¹¤ë¡£
+	$objCartSess->delAllProducts();
+	// ÃíÊ¸°ì»þID¤ò²ò½ü¤¹¤ë¡£
+	$objSiteSess->unsetUniqId();
+    
+    // ¥Ç¡¼¥¿Á÷¿®ÀèCGI ·ÈÂÓÃ¼Ëö¤Î¾ì¹ç¤Ï ·ÈÂÓÍÑ¤ËÈô¤Ð¤¹
+    $objPage->order_url = SEND_PARAM_MOBILE_URL;
+    $objPage->arrSendData = $arrSendData;
+    
+    return $objPage;
+}
+
+
+?>
Index: /branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.tpl
===================================================================
--- /branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.tpl	(revision 15418)
+++ /branches/feature-module-zeus/data/downloads/module/mdl_zeus/mdl_zeus.tpl	(revision 15418)
@@ -0,0 +1,239 @@
+<!--{*
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+*}-->
+<!--¡¡-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
+
+<head>
+<meta http-equiv="content-type" content="application/xhtml+xml; charset=<!--{$smarty.const.CHAR_CODE}-->" />
+<meta http-equiv="content-script-type" content="text/javascript" />
+<meta http-equiv="content-style-type" content="text/css" />
+<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->admin/css/contents.css" type="text/css" media="all" />
+<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/css.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/admin.js"></script>
+<!--{include file='css/contents.tpl'}-->
+<title><!--{$tpl_subtitle}--></title>
+<script type="text/javascript">
+<!--
+self.moveTo(20,20);self.focus();
+
+function lfnChangeEnable(obj) {
+	
+	var name = obj.name;
+	var checked = obj.checked;
+	
+	var send = name+"_send";
+	var clientip = name+"_clientip";
+	
+	
+	if(name = 'pc'){
+		document.form1[send].disabled = !checked;
+		document.form1[clientip].disabled = !checked;
+		
+		if(checked){
+			if(document.form1[send].style.backgroundColor == "#f0f0f0") document.form1[send].style.backgroundColor = "";
+			if(document.form1[clientip].style.backgroundColor == "#f0f0f0") document.form1[clientip].style.backgroundColor = "";
+		}else{
+			document.form1[send].style.backgroundColor = "#f0f0f0";
+			document.form1[clientip].style.backgroundColor = "#f0f0f0";
+		}
+	}
+
+}
+
+function win_open(URL){
+	var WIN;
+	WIN = window.open(URL);
+	WIN.focus();
+}
+//-->
+</script>
+</head>
+
+<body bgcolor="#ffffff" text="#666666" link="#007bb7" vlink="#007bb7" alink="#cc0000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload='lfnChangeEnable(document.form1.pc);lfnChangeEnable(document.form1.mobile); <!--{$tpl_onload}-->'>
+<noscript>
+<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->admin/css/common.css" type="text/css" />
+</noscript>
+
+<div align="center">
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
+<table width="500" border="0" cellspacing="0" cellpadding="0" summary=" ">
+<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
+<input type="hidden" name="mode" value="edit">
+	<tr valign="top">
+		<td class="mainbg">
+			<!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
+			<table width="500" border="0" cellspacing="0" cellpadding="0" summary=" ">
+				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+				<tr>
+					<td align="center">
+						<table width="470" border="0" cellspacing="0" cellpadding="0" summary=" ">
+							<tr><td height="14"></td></tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="470" height="14" alt=""></td>
+							</tr>
+							<tr>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+								<td bgcolor="#cccccc" >
+									<table width="442" border="0" cellspacing="0" cellpadding="0" summary=" ">
+										<tr>
+											<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="442" height="7" alt=""></td>
+										</tr>
+										<tr>
+											<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+											<td bgcolor="#636469" width="402" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë--><!--{$tpl_subtitle}--></span></td>
+											<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+										</tr>
+										<tr>
+											<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="442" height="7" alt=""></td>
+										</tr>
+										<tr>
+											<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="442" height="10" alt=""></td>
+										</tr>
+									</table>
+
+									<table width="442" border="0" cellspacing="1" cellpadding="8" summary=" ">
+										<tr class="fs12n">
+											<td bgcolor="#ffffff">
+												¥¼¥í·èºÑ¥â¥¸¥å¡¼¥ë¤ò¤´ÍøÍÑÄº¤¯°Ù¤Ë¤Ï¡¢¥æ¡¼¥¶ÍÍ¤´¼«¿È¤Ç
+												³ô¼°²ñ¼Ò¥¼¥íÍÍ¤È¤´·ÀÌó¤ò¹Ô¤Ã¤Æ¤¤¤¿¤À¤¯É¬Í×¤¬¤¢¤ê¤Þ¤¹¡£ <br/>
+												¤ª¿½¤·¹þ¤ß¤Ë¤Ä¤­¤Þ¤·¤Æ¤Ï¡¢²¼µ­¤Î¥Ú¡¼¥¸¤«¤é¡¢¤ª¿½¤·¹þ¤ß¤ò¹Ô¤Ã¤Æ²¼¤µ¤¤¡£<br/><br/>
+												<a href="#" onClick="win_open('http://www.zeroweb.co.jp/')" > ¡ä¡ä ¥¼¥í·èºÑ¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ</a><br/>
+												<a href="#" onClick="win_open('http://wiki.ec-cube.net/')" > ¡ä¡ä ¥¼¥í·èºÑ¥â¥¸¥å¡¼¥ëÀßÄê¥Þ¥Ë¥å¥¢¥ë</a>
+											</td>
+										</tr>
+									</table>
+									
+									<table width="442" border="0" cellspacing="0" cellpadding="0" summary=" ">
+										<tr><td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="442" height="10" alt=""></td></tr>
+									</table>
+
+									<table width="442" border="0" cellspacing="1" cellpadding="8" summary=" ">
+										<tr class="fs12n"><!--{assign var=key value="pc"}-->
+											<td bgcolor="#f3f3f3" colspan="2"><input type="checkbox" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" value="1" id="<!--{$key}-->" onClick="lfnChangeEnable(this);" <!--{if $arrForm[$key].value != ""}-->checked<!--{/if}-->><label for="<!--{$key}-->">PCÈÇ</label></td>
+										</tr>
+										<tr class="fs12n">
+											<td width="" bgcolor="#f3f3f3">²ÃÌÁÅ¹¥³¡¼¥É<span class="red"> ¢¨</span></td>
+											<td width="300" bgcolor="#ffffff">
+											<!--{assign var=key value="pc_send"}-->
+											<span class="red12"><!--{$arrErr[$key]}--></span>
+											<input type="text" name="<!--{$key}-->" style="ime-mode:disabled; <!--{$arrErr[$key]|sfGetErrorColor}-->" value="<!--{$arrForm[$key].value}-->" class="box10" maxlength="<!--{$arrForm[$key].length}-->">
+											</td>
+										</tr>
+										<tr class="fs12n">
+											<td width="" bgcolor="#f3f3f3">ÈÖÁÈ¥³¡¼¥É<span class="red"> ¢¨</span></td>
+											<td width="300" bgcolor="#ffffff">
+											<!--{assign var=key value="pc_clientip"}-->
+											<span class="red12"><!--{$arrErr[$key]}--></span>
+											<input type="text" name="<!--{$key}-->" style="ime-mode:disabled; <!--{$arrErr[$key]|sfGetErrorColor}-->" value="<!--{$arrForm[$key].value}-->" class="box10" maxlength="<!--{$arrForm[$key].length}-->">
+											</td>
+										</tr>
+										<tr class="fs12n">
+											<td width="" bgcolor="#f3f3f3">ÀÜÂ³ÀèURL</td>
+											<td width="300" bgcolor="#ffffff">
+												<!--{$smarty.const.SEND_PARAM_PC_URL}-->
+											</td>
+										</tr>
+										<!--{assign var=key value="pc_service"}-->
+										<!--{if $arrErr[$key] != ""}-->
+										<tr class="fs12n">
+											<td bgcolor="#ffffff" colspan=2>
+											<span class="red12"><!--{$arrErr[$key]}--></span>
+											</td>
+										</tr>
+										<!--{/if}-->
+									</table>
+									
+									<table width="442" border="0" cellspacing="0" cellpadding="0" summary=" ">
+										<tr><td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="442" height="10" alt=""></td></tr>
+									</table>
+
+									<table width="442" border="0" cellspacing="1" cellpadding="8" summary=" ">
+										<tr class="fs12n"><!--{assign var=key value="mobile"}-->
+											<td bgcolor="#f3f3f3" colspan="2"><input type="checkbox" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" value="1" id="<!--{$key}-->" onClick="lfnChangeEnable(this);" <!--{if $arrForm[$key].value != ""}-->checked<!--{/if}-->><label for="<!--{$key}-->">·ÈÂÓÈÇ</label></td>
+										</tr>
+										<tr class="fs12n">
+											<td width="" bgcolor="#f3f3f3">²ÃÌÁÅ¹¥³¡¼¥É<span class="red"> ¢¨</span></td>
+											<td width="300" bgcolor="#ffffff">
+											<!--{assign var=key value="mobile_send"}-->
+											<span class="red12"><!--{$arrErr[$key]}--></span>
+											<input type="text" name="<!--{$key}-->" style="ime-mode:disabled; <!--{$arrErr[$key]|sfGetErrorColor}-->" value="<!--{$arrForm[$key].value}-->" class="box10" maxlength="<!--{$arrForm[$key].length}-->">
+											</td>
+										</tr>
+										<tr class="fs12n">
+											<td width="" bgcolor="#f3f3f3">ÈÖÁÈ¥³¡¼¥É<span class="red"> ¢¨</span></td>
+											<td width="300" bgcolor="#ffffff">
+											<!--{assign var=key value="mobile_clientip"}-->
+											<span class="red12"><!--{$arrErr[$key]}--></span>
+											<input type="text" name="<!--{$key}-->" style="ime-mode:disabled; <!--{$arrErr[$key]|sfGetErrorColor}-->" value="<!--{$arrForm[$key].value}-->" class="box10" maxlength="<!--{$arrForm[$key].length}-->">
+											</td>
+										</tr>
+										<tr class="fs12n">
+											<td width="" bgcolor="#f3f3f3">ÀÜÂ³ÀèURL</td>
+											<td width="300" bgcolor="#ffffff">
+												<!--{$smarty.const.SEND_PARAM_MOBILE_URL}-->
+											</td>
+										</tr>
+										<!--{assign var=key value="mobile_service"}-->
+										<!--{if $arrErr[$key] != ""}-->
+										<tr class="fs12n">
+											<td bgcolor="#ffffff" colspan=2>
+											<span class="red12"><!--{$arrErr[$key]}--></span>
+											</td>
+										</tr>
+										<!--{/if}-->
+									</table>
+
+									<table width="442" border="0" cellspacing="0" cellpadding="0" summary=" ">
+										<tr>
+											<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+											<td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="440" height="7" alt=""></td>
+											<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+										</tr>
+										<tr>
+											<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+											<td bgcolor="#e9e7de" align="center">
+											<table border="0" cellspacing="0" cellpadding="0" summary=" ">
+												<tr>
+													<td><input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="¤³¤ÎÆâÍÆ¤ÇÅÐÏ¿¤¹¤ë" border="0" name="subm" onClick="document.body.style.cursor = 'wait';"></td>
+												</tr>
+											</table>
+											</td>
+											<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+										</tr>
+										<tr>
+											<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="442" height="8" alt=""></td>
+										</tr>
+									</table>
+								</td>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+							</tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="470" height="14" alt=""></td>
+							</tr>
+							<tr><td height="30"></td></tr>
+						</table>
+					</td>
+				</tr>
+				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+			</table>
+			<!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
+		</td>
+	</tr>
+</form>
+</table>
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
+</div>
+
+</body>
+</html>
+
+
