Commit 1c5d0db1 authored by Andrew's avatar Andrew

siteid

parent 587beb4e
......@@ -7,7 +7,7 @@ function repare_ad($ad, $ip=0){
$ad['price']=str_replace('$[price]', $data['price'], $ad['price']);
$ad['ad_id'].="_".$data['l_path'];
$ad['link'] ="//".$_SERVER['HTTP_HOST'].'/tgo?l='.$ad['link'].$data['l_path'].'&s='.$ad['ad_id'];
$ad['link'] ="//".$_SERVER['HTTP_HOST'].'/tgo?l='.$ad['link'].$data['l_path'].'&s='.$ad['ad_id'].'_${siteId}';
$ad['image']= "//".$_SERVER['HTTP_HOST'].'/timg/'.$ad['image'];
return $ad;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment