<?php
$ip = getenv('REMOTE_ADDR');
$blocked = "TYK SLAGASH IP";
if (ereg($blocked,$ip))
{
echo('<script language="Javascript">alert("Emo da mi lapa6 kura kopele mazno mrusno '.$_SERVER["REMOTE_ADDR"].' (This ip is baned!)"); </script>');
exit();
}
?>
<?php
$ip = getenv('REMOTE_ADDR');
$blocked = "2-roto Ip koeto iskash da ban";
if (ereg($blocked,$ip))
{
echo('<script language="Javascript">alert("You are blocked from this site '.$_SERVER["REMOTE_ADDR"].' asshole!"); </script>');
exit();
}