Changeset 491960
- Timestamp:
- 01/19/2012 07:40:06 AM (14 years ago)
- File:
-
- 1 edited
-
myeasyhider/trunk/inc/myEASYcom.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
myeasyhider/trunk/inc/myEASYcom.php
r486477 r491960 3 3 * myEASYcom.php: common functions for the myEASYwp plugins serie 4 4 * 5 * Version: 1.3 .1 - 3 November20115 * Version: 1.3 - 23 July 2011 6 6 * Author: Ugo Grandolini aka "Camaleo" 7 7 * Support site: http://myeasywp.com 8 8 * 9 * Copyright (C) 2010 ,2011Ugo Grandolini (email : [email protected])9 * Copyright (C) 2010 Ugo Grandolini (email : [email protected]) 10 10 */ 11 11 … … 59 59 ; 60 60 */ 61 ?><div align="right" style="margin:12px 18px0 0;">61 ?><div align="right" style="margin:12px 0 0 0;"> 62 62 <span id="mc-response"><?php 63 63 … … 104 104 * @since 1.0.1 105 105 */ 106 $inp = array("\r\n","\n","\r" ,"\'");106 $inp = array("\r\n","\n","\r"); 107 107 108 108 if($usebr) { 109 109 110 $out = array('<br />','<br />','<br />' ,"'");110 $out = array('<br />','<br />','<br />'); 111 111 } 112 112 else { 113 113 114 $out = array('','','' ,"'");114 $out = array('','',''); 115 115 } 116 116 … … 133 133 * display the advertisment stuff 134 134 */ 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'); 136 137 137 138 echo '<div style="width:auto;height:auto;background:transparent;padding:0;margin:8px 0 0 0;">' … … 152 153 * log usage statistic 153 154 */ 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); 155 157 //echo measycom_get_adcontents('/service/myads-1.1.php?p='.$ref_code.'&u='.$_SERVER['SERVER_NAME']); 156 158 } … … 815 817 if($this->ref_family==false) { 816 818 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'); 818 821 } 819 822 else { 820 823 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); 822 826 } 823 827 } … … 854 858 * HTTP ERROR 855 859 */ 856 $html = 'Connection error m easycom_get_adcontents(' . $domain_path . ')';860 $html = 'Connection error myeasycom_get_adcontents(' . $domain_path . ')'; 857 861 } 858 862 else {
Note: See TracChangeset
for help on using the changeset viewer.