Plugin Directory

Changeset 491959


Ignore:
Timestamp:
01/19/2012 07:38:38 AM (14 years ago)
Author:
camaleo
Message:

reduced overload on banner display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • myeasybackup/trunk/inc/myEASYcom.php

    r414438 r491959  
    133133         * display the advertisment stuff
    134134         */
    135         $html = measycom_get_adcontents('/service/myads-1.1.php?p='.$ref_code.'&u='.$_SERVER['SERVER_NAME']);
     135//      $html = measycom_get_adcontents('/service/myads-1.1.php?p='.$ref_code.'&u='.$_SERVER['SERVER_NAME']);
     136        $html = measycom_get_adcontents('/service/ad-'.$ref_code.'.html');
    136137
    137138        echo '<div style="width:auto;height:auto;background:transparent;padding:0;margin:8px 0 0 0;">'
     
    152153         * log usage statistic
    153154         */
    154         measycom_get_adcontents('/service/myads-1.1.php?p='.$ref_code.'&u='.$_SERVER['SERVER_NAME'], true);
     155//      measycom_get_adcontents('/service/myads-1.1.php?p='.$ref_code.'&u='.$_SERVER['SERVER_NAME'], true);
     156        measycom_get_adcontents('/service/ad-'.$ref_code.'.html', true);
    155157//echo measycom_get_adcontents('/service/myads-1.1.php?p='.$ref_code.'&u='.$_SERVER['SERVER_NAME']);
    156158    }
     
    815817            if($this->ref_family==false) {
    816818
    817                 return $this->get_data('/service/myads-1.1.php?p='.$this->ref_code.'&u='.$_SERVER['SERVER_NAME']);
     819//              return $this->get_data('/service/myads-1.1.php?p='.$this->ref_code.'&u='.$_SERVER['SERVER_NAME']);
     820                return $this->get_data('/service/ad-'.$this->ref_code.'.html');
    818821            }
    819822            else {
    820823
    821                 return $this->get_data('/service/myads-1.1.php?p='.$this->ref_code.'&u='.$_SERVER['SERVER_NAME'], true);
     824//              return $this->get_data('/service/myads-1.1.php?p='.$this->ref_code.'&u='.$_SERVER['SERVER_NAME'], true);
     825                return $this->get_data('/service/ad-'.$this->ref_code.'.html', true);
    822826            }
    823827        }
     
    854858                 * HTTP ERROR
    855859                 */
    856                 $html = 'Connection error measycom_get_adcontents(' . $domain_path . ')';
     860                $html = 'Connection error myeasycom_get_adcontents(' . $domain_path . ')';
    857861            }
    858862            else {
Note: See TracChangeset for help on using the changeset viewer.