Subversion Repositories SmartDukaan

Rev

Rev 14441 | Rev 14654 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14441 Rev 14574
Line 91... Line 91...
91
					$url = "http://m.snapdeal.com".$url_parts['path'].'?'.$url_parts['query']."&utm_source=aff_prog&utm_campaign=afts&offer_id=17";
91
					$url = "http://m.snapdeal.com".$url_parts['path'].'?'.$url_parts['query']."&utm_source=aff_prog&utm_campaign=afts&offer_id=17";
92
				}else{
92
				}else{
93
					$url = "http://m.snapdeal.com".$url_parts['path'].'?utm_source=aff_prog&utm_campaign=afts&offer_id=17';
93
					$url = "http://m.snapdeal.com".$url_parts['path'].'?utm_source=aff_prog&utm_campaign=afts&offer_id=17';
94
				}
94
				}
95
			} elseif($storeId == 4){
95
			} elseif($storeId == 4){
96
				$next = str_replace('www','m',$url);	
96
				$urlparts = parse_url($url);
-
 
97
				$url = $urlparts['path'];
-
 
98
				if(!empty($urlparts['query'])){
-
 
99
					$url .= '?'.$urlparts['query'];	
-
 
100
				}				
97
				$url = $this->getAutoLoginUrl($userId,$next);
101
				$url = $this->getAutoLoginUrl($userId,$url);
98
			}/*else{
102
			}/*else{
99
				$url = $storeProduct['marketPlaceUrl'];
103
				$url = $storeProduct['marketPlaceUrl'];
100
			}*/
104
			}*/
101
			if( strpos($url, '?') === false ) {
105
			if( strpos($url, '?') === false ) {
102
				$firstChar = '?';
106
				$firstChar = '?';