Changeset 17705 for branches/version-1/html
- Timestamp:
- 2008/11/11 09:12:24 (15 years ago)
- Location:
- branches/version-1/html/mobile
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-1/html/mobile/nonmember/payment.php
r17690 r17705 81 81 // ÆþÎÏÃͤÎÊÑ´¹ 82 82 $objFormParam->convParam(); 83 $objPage->arrErr = lfCheckError($objPage->arrData );83 $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 84 84 if (!isset($objPage->arrErr['payment_id'])) { 85 85 // »Ùʧ¤¤ÊýË¡¤ÎÆþÎÏ¥¨¥é¡¼¤Ê¤· … … 97 97 // ÆþÎÏÃͤÎÊÑ´¹ 98 98 $objFormParam->convParam(); 99 $objPage->arrErr = lfCheckError($objPage->arrData );99 $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 100 100 // ÆþÎÏ¥¨¥é¡¼¤Ê¤· 101 101 if(count($objPage->arrErr) == 0) { … … 198 198 199 199 /* ÆþÎÏÆâÍƤΥÁ¥§¥Ã¥¯ */ 200 function lfCheckError($arrData ) {200 function lfCheckError($arrData, $arrInfo, $objCartSess ) { 201 201 global $objFormParam; 202 202 global $objCustomer; … … 221 221 } 222 222 223 //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ 224 $objView = new SC_SiteView(); 225 $objSiteInfo = $objView->objSiteInfo; 226 $arrInfo = $objSiteInfo->data; 227 $objCartSess = new SC_CartSession(); 228 $arrInfo = $objSiteInfo->data; 223 //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ 229 224 // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 230 225 $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); -
branches/version-1/html/mobile/products/payment.php
r17690 r17705 79 79 // ÆþÎÏÃͤÎÊÑ´¹ 80 80 $objFormParam->convParam(); 81 $objPage->arrErr = lfCheckError($objPage->arrData );81 $objPage->arrErr = lfCheckError($objPage->arrDatalfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 82 82 if (!isset($objPage->arrErr['payment_id'])) { 83 83 // »Ùʧ¤¤ÊýË¡¤ÎÆþÎÏ¥¨¥é¡¼¤Ê¤· … … 95 95 // ÆþÎÏÃͤÎÊÑ´¹ 96 96 $objFormParam->convParam(); 97 $objPage->arrErr = lfCheckError($objPage->arrData );97 $objPage->arrErr = lfCheckError($objPage->arrData, $arrInfo, $objCartSess ); 98 98 // ÆþÎÏ¥¨¥é¡¼¤Ê¤· 99 99 if(count($objPage->arrErr) == 0) { … … 196 196 197 197 /* ÆþÎÏÆâÍƤΥÁ¥§¥Ã¥¯ */ 198 function lfCheckError($arrData ) {198 function lfCheckError($arrData, $arrInfo, $objCartSess ) { 199 199 global $objFormParam; 200 200 global $objCustomer; … … 220 220 221 221 //¤ª»ÙʧÊýË¡¤ÎÀ°¹çÀ 222 $objView = new SC_SiteView();223 $objSiteInfo = $objView->objSiteInfo;224 $arrInfo = $objSiteInfo->data;225 $objCartSess = new SC_CartSession();226 $arrInfo = $objSiteInfo->data;227 222 // ¹ØÆþ¶â³Û¤Î¼èÆÀÆÀ 228 223 $total_pretax = $objCartSess->getAllProductsTotal($arrInfo);
Note: See TracChangeset
for help on using the changeset viewer.