Changeset 16799
- Timestamp:
- 2007/11/21 15:27:23 (16 years ago)
- Location:
- branches/beta/data/downloads/module/mdl_epsilon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/beta/data/downloads/module/mdl_epsilon/card.php
r11919 r16799 12 12 class LC_Page { 13 13 function LC_Page() { 14 /** ɬ¤º»ØÄꤹ¤ë **/15 $this->tpl_mainpage = 'mdl_epsilon/card.tpl'; // ¥á¥¤¥ó¥Æ¥ó¥×¥ì¡¼¥È16 14 /* 17 15 session_start»þ¤Îno-cache¥Ø¥Ã¥À¡¼¤òÍÞÀ©¤¹¤ë¤³¤È¤Ç … … 73 71 74 72 // ´°Î»²èÌÌ¤Ø 75 if (is_callable( GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) {73 if (is_callable("GC_MobileUserAgent", "isMobile") && GC_MobileUserAgent::isMobile()) { 76 74 header("Location: " . gfAddSessionId(URL_SHOP_COMPLETE)); 77 75 } else { … … 135 133 136 134 // ·ÈÂÓüËö¤Î¾ì¹ç¤Ï¡¢¥»¥Ã¥·¥ç¥óID¡¦¥ª¡¼¥À¡¼Èֹ桦Ìá¤Ã¤Æ¤¯¤ëURL¤òÊݸ¤·¤Æ¤ª¤¯¡£ 137 if (is_callable( GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) {138 sfMobileSetExtSessionId('order_number', $arrData['order_id'], ' shopping/load_payment_module.php');139 sfMobileSetExtSessionId('order_number', $arrData['order_id'], ' shopping/confirm.php');135 if (is_callable("GC_MobileUserAgent", "isMobile") && GC_MobileUserAgent::isMobile()) { 136 sfMobileSetExtSessionId('order_number', $arrData['order_id'], 'mobile/shopping/load_payment_module.php'); 137 sfMobileSetExtSessionId('order_number', $arrData['order_id'], 'mobile/shopping/confirm.php'); 140 138 } 141 139 -
branches/beta/data/downloads/module/mdl_epsilon/convenience.php
r11918 r16799 12 12 class LC_Page { 13 13 function LC_Page() { 14 if (is_callable( GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) {14 if (is_callable("GC_MobileUserAgent", "isMobile") && GC_MobileUserAgent::isMobile()) { 15 15 $this->tpl_mainpage = MODULE_PATH . "mdl_epsilon/convenience_mobile.tpl"; 16 16 } else { … … 31 31 32 32 $objPage = new LC_Page(); 33 $objView = new SC_SiteView(); 33 if (is_callable("GC_MobileUserAgent", "isMobile") && GC_MobileUserAgent::isMobile()) { 34 $objView = new SC_MobileView(); 35 } else { 36 $objView = new SC_SiteView(); 37 } 34 38 $objCampaignSess = new SC_CampaignSession(); 35 39 $objSiteInfo = $objView->objSiteInfo; … … 70 74 $objSiteSess->setRegistFlag(); 71 75 // ³Îǧ¥Ú¡¼¥¸¤Ø°ÜÆ° 72 if (is_callable( GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) {76 if (is_callable("GC_MobileUserAgent", "isMobile") && GC_MobileUserAgent::isMobile()) { 73 77 header("Location: " . gfAddSessionId(URL_SHOP_CONFIRM)); 74 78 } else { … … 210 214 sfRegistTempOrder($uniqid, $sqlval); 211 215 212 if (is_callable( GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) {216 if (is_callable("GC_MobileUserAgent", "isMobile") && GC_MobileUserAgent::isMobile()) { 213 217 header("Location: " . gfAddSessionId(URL_SHOP_COMPLETE)); 214 218 } else {
Note: See TracChangeset
for help on using the changeset viewer.