- Timestamp:
- 2007/12/14 14:56:26 (19 years ago)
- Location:
- branches/beta/data/downloads/module/mdl_zeus
- Files:
-
- 5 added
- 1 edited
-
mdl_zeus.inc (modified) (3 diffs)
-
mdl_zeus.php (added)
-
mdl_zeus.tpl (added)
-
zeus_credit.php (added)
-
zeus_credit.tpl (added)
-
zeus_credit_mobile.tpl (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/beta/data/downloads/module/mdl_zeus/mdl_zeus.inc
r16861 r16913 61 61 * Ìá¤êÃÍ ¡§¼èÆÀ·ë²Ì 62 62 **************************************************************************************************************/ 63 function sfPostPaymentData($arrData, $arrInput, $quick_cha ge = false){63 function sfPostPaymentData($arrData, $arrInput, $quick_charge = false){ 64 64 $arrPaymentDB = sfGetPaymentDB(MDL_ZEUS_ID); 65 65 66 if(!$quick_cha ge) {66 if(!$quick_charge) { 67 67 $arrPost = array( 68 68 'clientip' => $arrPaymentDB['clientip'], … … 151 151 return $arrVal; 152 152 } 153 153 154 /************************************************************************************************************** 154 155 * ´Ø¿ô̾ ¡§sfZeusDisp … … 167 168 return $objPage; 168 169 } 170 171 /************************************************************************************************************** 172 * ´Ø¿ô̾ ¡§sfEnableQuickCharge 173 * ½èÍýÆâÍÆ ¡§¥¯¥¤¥Ã¥¯¥Á¥ã¡¼¥¸¤Î»ÈÍÑȽÄê 174 * °ú¿ô1 ¡§ 175 * °ú¿ô2 ¡§ 176 * °ú¿ô3 ¡§ 177 * Ìá¤êÃÍ ¡§¼èÆÀ·ë²Ì 178 **************************************************************************************************************/ 179 function sfEnableQuickCharge($customer_id) { 180 $objQuery = new SC_Query(); 181 $objQuery->setlimit(1); 182 $objQuery->setorder("create_date DESC"); 183 $col = "order_id, order_tel01, order_tel02, order_tel03"; 184 $where = "memo01 = ? AND memo03 = ? AND customer_id = ?"; 185 $arrRet = $objQuery->select($col, "dtb_order", $where, array(MDL_ZEUS_ID, 'Success_order', $customer_id)); 186 if(count($arrRet) > 0 && $customer_id > 0) { 187 return true; 188 } 189 return false; 190 } 191 192 169 193 ?>
Note: See TracChangeset
for help on using the changeset viewer.
