标签:分享
国外显示,国内不显示自动识别IP的广告代码
Warning: Undefined variable $case in /www/wwwroot/www.hztdst.com/wp-content/themes/Git-alpha/include/seo.php on line 109
Warning: Undefined variable $case in /www/wwwroot/www.hztdst.com/wp-content/themes/Git-alpha/include/seo.php on line 110
Warning: Undefined variable $case in /www/wwwroot/www.hztdst.com/wp-content/themes/Git-alpha/include/seo.php on line 111
Warning: Undefined variable $case in /www/wwwroot/www.hztdst.com/wp-content/themes/Git-alpha/include/seo.php on line 113
Warning: Undefined variable $case in /www/wwwroot/www.hztdst.com/wp-content/themes/Git-alpha/include/seo.php on line 109
Warning: Undefined variable $case in /www/wwwroot/www.hztdst.com/wp-content/themes/Git-alpha/include/seo.php on line 110
Warning: Undefined variable $case in /www/wwwroot/www.hztdst.com/wp-content/themes/Git-alpha/include/seo.php on line 111
Warning: Undefined variable $case in /www/wwwroot/www.hztdst.com/wp-content/themes/Git-alpha/include/seo.php on line 113
分享一段能够自动识别国内外ip从而分别显示不同内容的广告代码,支持只对国外IP或者国内IP显示或者对特定区域的IP显示。
代码可以自己编辑是否对国内显示或者只显示国外用户,内含自动识别代码。
国外显示,国内不显示自动识别IP的广告代码
代码如下:
JavaScript
<div class="index-ad-banner">
这里放广告代……