Changeset 15408


Ignore:
Timestamp:
2007/08/29 17:08:01 (13 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-zeus/data/downloads/module/mdl_zero/mdl_zero.php

    r15120 r15408  
    77 * 
    88 */ 
    9 require_once(MODULE_PATH . "mdl_zero/mdl_zero.inc"); 
     9require_once(MODULE_PATH . "mdl_zeus/mdl_zero.inc"); 
    1010 
    1111//¥Ú¡¼¥¸´ÉÍý¥¯¥é¥¹ 
     
    118118            'money' => 0                            // ¶â³Û 
    119119        ); 
    120          
     120/* 
    121121        // ¥Ç¡¼¥¿Á÷¿® 
    122122        $arrResponse = sfPostPaymentData(SEND_PARAM_PC_URL, $arrSendData, false); 
     
    126126            $arrRet["pc_clientip"] = "ÆþÎϥǡ¼¥¿¤¬Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó<br>"; 
    127127        } 
     128*/ 
    128129    } 
    129130 
     
    136137            'money' => 0                                // ¶â³Û 
    137138        ); 
    138           
     139/*         
    139140        // ¥Ç¡¼¥¿Á÷¿® 
    140141        $arrResponse = sfPostPaymentData(SEND_PARAM_MOBILE_URL, $arrSendData, false); 
     
    144145            $arrRet["mobile_clientip"] = "ÆþÎϥǡ¼¥¿¤¬Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó<br>"; 
    145146        } 
     147*/ 
    146148    } 
    147149     
     
    171173    global $objQuery; 
    172174     
    173     $arrVal = array(MDL_ZERO_ID); 
     175    $arrVal = array(MDL_ZEUS_ID); 
    174176    $arrVal = array_merge($arrVal, $arrWhereVal); 
    175177     
     
    196198    // del_flg¤òºï½ü¤Ë¤·¤Æ¤ª¤¯ 
    197199    $del_sql = "UPDATE dtb_payment SET del_flg = 1 WHERE module_id = ? "; 
    198     $arrDel = array(MDL_ZERO_ID); 
     200    $arrDel = array(MDL_ZEUS_ID); 
    199201    $objQuery->query($del_sql, $arrDel); 
    200202 
     
    205207        $arrData["creator_id"] = $objSess->member_id; 
    206208        $arrData["update_date"] = "now()"; 
    207         $arrData["module_id"] = MDL_ZERO_ID; 
    208         $arrData["module_path"] = MODULE_PATH . "mdl_zero/card.php"; 
     209        $arrData["module_id"] = MDL_ZEUS_ID; 
     210        $arrData["module_path"] = MODULE_PATH . "mdl_zeus/zeus_credit.php"; 
    209211        $arrData["memo01"] = $_POST["pc_send"]; 
    210212        $arrData["memo02"] = $_POST["pc_clientip"]; 
     
    219221        $arrData["creator_id"] = $objSess->member_id; 
    220222        $arrData["update_date"] = "now()"; 
    221         $arrData["module_id"] = MDL_ZERO_ID; 
    222         $arrData["module_path"] = MODULE_PATH . "mdl_zero/card.php"; 
     223        $arrData["module_id"] = MDL_ZEUS_ID; 
     224        $arrData["module_path"] = MODULE_PATH . "mdl_zeus/zeus_credit.php"; 
    223225        $arrData["memo03"] = ZERO_CREDIT_ID; 
    224226        $arrData["memo04"] = $_POST["mobile_send"]; 
     
    237239        // ¥Ç¡¼¥¿¤¬Â¸ºß¤·¤Æ¤¤¤ì¤ÐUPDATE¡¢Ìµ¤±¤ì¤ÐINSERT 
    238240        if(count($arrPaymentData) > 0){ 
    239             $objQuery->update("dtb_payment", array("memo01"=>"","memo02"=>"","memo03"=>"","memo04"=>"","memo05"=>""), " module_id = '" . MDL_ZERO_ID . "'"); 
    240             $objQuery->update("dtb_payment", $arrData, " module_id = '" . MDL_ZERO_ID . "'"); 
     241            $objQuery->update("dtb_payment", array("memo01"=>"","memo02"=>"","memo03"=>"","memo04"=>"","memo05"=>""), " module_id = '" . MDL_ZEUS_ID . "'"); 
     242            $objQuery->update("dtb_payment", $arrData, " module_id = '" . MDL_ZEUS_ID . "'"); 
    241243        }else{ 
    242244            $arrData["rank"] = $max_rank + 1; 
Note: See TracChangeset for help on using the changeset viewer.