Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Реклама таргет РУ. EN для доров дорген приватный http://vk.cc/5zAnRy
- #=============fast server http://vk.cc/7BSP3h ===========
- в конфиге:
- $SxGeodat = 'SxGeoCity.dat';
- в шаблоне:
- <?php if($geoinfo['city']['lat'] >=41 AND $geoinfo['city']['lat'] <=82 AND $geoinfo['city']['lon'] >=23 AND $geoinfo['city']['lon'] <=179 AND $geoinfo['country']['name_ru'] !='Китай' AND $geoinfo['country']['name_ru'] !='Финляндия'): //Баннер для RU ?>
- <a href="http://"><img src="http://" alt=""></a>
- <?php else: //Баннер для EN ?>
- <a href="http://" alt=""></a>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement