Subversion Repositories SmartDukaan

Rev

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

Rev 12188 Rev 12223
Line 109... Line 109...
109
         }
109
         }
110
         if(isset($filter) && $filter != 'null'){
110
         if(isset($filter) && $filter != 'null'){
111
         	$url .= '?fq='.rawurldecode($filter);
111
         	$url .= '?fq='.rawurldecode($filter);
112
         }		
112
         }		
113
		if($authorized['Id'] > 0){
113
		if($authorized['Id'] > 0){
-
 
114
			if(strpos($url,'?')===false){
114
			$url .= '?userId='.$authorized['Id'].'&isLoggedIn=true';
115
				$url .= '?userId='.$authorized['Id'].'&isLoggedIn=true';
-
 
116
			}else{
-
 
117
				$url .= '&userId='.$authorized['Id'].'&isLoggedIn=true';
-
 
118
			}
115
		}
119
		}
116
		if(isset($authorized['isPrivateDealUser']) && !empty($authorized['isPrivateDealUser'])) {
120
		if(isset($authorized['isPrivateDealUser']) && !empty($authorized['isPrivateDealUser'])) {
117
			$url .= '&privateDealUser=true';
121
			$url .= '&privateDealUser=true';
118
		}
122
		}
119
         $this->mcurl->add_call('appendlist','get',$url,$params);
123
         $this->mcurl->add_call('appendlist','get',$url,$params);
Line 190... Line 194...
190
 
194
 
191
 
195
 
192
}
196
}
193
 
197
 
194
/* End of file welcome.php */
198
/* End of file welcome.php */
195
/* Location: ./application/controllers/welcome.php */
-
 
196
199
/* Location: ./application/controllers/welcome.php */
-
 
200