Ignore:
Timestamp:
2007/08/29 21:35:33 (17 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

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

    r15437 r15440  
    99class LC_Page { 
    1010    function LC_Page() { 
    11         if (is_callable(GC_MobileUserAgent) && GC_MobileUserAgent::isMobile()) { 
     11        if (GC_MobileUserAgent::isMobile()) { 
    1212            $this->tpl_mainpage = MODULE_PATH . "mdl_zeus/zeus_credit_mobile.tpl"; 
    1313        } else { 
     
    2525 
    2626$objPage = new LC_Page(); 
    27 $objView = new SC_SiteView(); 
     27$objView = (GC_MobileUserAgent::isMobile()) ? new SC_MobileView() : new SC_SiteView(); 
    2828$objCampaignSess = new SC_CampaignSession(); 
    2929$objSiteInfo = $objView->objSiteInfo; 
    3030$arrInfo = $objSiteInfo->data; 
    3131 
    32 if (GC_MobileUserAgent::isMobile()) { 
    33     sfDispSiteError(FREE_ERROR_MSG, "", false, "¥¯¥ì¥¸¥Ã¥È·èºÑ¤Ï¡¢¤´»ÈÍѤε¡¼ï¤Ë¤ÏÂбþ¤·¤Æ¤ª¤ê¤Þ¤»¤ó¡£", true); 
    34     exit; 
    35 } 
    3632 
    3733// ¥Ñ¥é¥á¡¼¥¿´ÉÍý¥¯¥é¥¹ 
Note: See TracChangeset for help on using the changeset viewer.