Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script src='http://code.vietwebguide.com/php/addr.php' type='text/javascript'/>
- <script type='text/javascript'>
- //<!CDATA[
- // Banned ip script 2.0
- //(C)2009 Anhvo
- //homepage: http://vietwebguide.com
- var banned_ip = new Array();
- banned_ip[0] = '188.25';
- banned_ip[1] = '22.98.69.1';
- banned_ip[2] = '22.98.69.146';
- banned_ip[3] = '85.78';
- var mes_bi = "Your IP is banned so you cannot visit this website!";
- for(var i=0;i<banned_ip.length;i++) {
- eval('var re = /^' + banned_ip[i] + '/ ;');
- if (re.test(mc_user_ip))
- {
- document.write('<style type="text/css">');
- document.write('BODY{display:none;}');
- document.write('<\/style>');
- alert(mes_bi);
- break;
- }
- }
- //]]>
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement