<script type="application/javascript">
function getip(json){
//Enter list of banned ips, each separated with a comma:
var bannedips=["120.63.0.79", "120.63.0.78", "120.63.0.76", "120.63.0.77","120.63.0.76", "120.63.0.75", "120.63.0.74", "120.63.0.73"]
var ip = json.ip;
var handleips=bannedips.join("|")
handleips=new RegExp(handleips, "i")
if (ip.search(handleips)!=-1){
// blog adds
} else {
// display adds
showAdd();
}
}
function showAdd(){
<!--
google_ad_client = "ca-pub-XXXXXXXXXXX";
google_ad_host = "pub-XXXXXXXXXX";
/* BannerAdd728X90 */
google_ad_slot = "XXXXXXXXXX";
//-->
}
</script>
<script type="application/javascript" src="http://jsonip.appspot.com/?callback=getip"> </script>
<script type="text/javascript">
google_ad_width = 728;
google_ad_height = 90;
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
//Enter list of banned ips, each separated with a comma:
var bannedips=["120.63.0.79", "120.63.0.78", "120.63.0.76", "120.63.0.77","120.63.0.76", "120.63.0.75", "120.63.0.74", "120.63.0.73"]
var ip = json.ip;
var handleips=bannedips.join("|")
handleips=new RegExp(handleips, "i")
if (ip.search(handleips)!=-1){
// blog adds
} else {
// display adds
showAdd();
}
}
function showAdd(){
<!--
google_ad_client = "ca-pub-XXXXXXXXXXX";
google_ad_host = "pub-XXXXXXXXXX";
/* BannerAdd728X90 */
google_ad_slot = "XXXXXXXXXX";
//-->
}
</script>
<script type="application/javascript" src="http://jsonip.appspot.com/?callback=getip"> </script>
<script type="text/javascript">
google_ad_width = 728;
google_ad_height = 90;
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>