AddIp($ip_prawdziwe); */ myexit(); } $ip_prawdziwe = $_SERVER['REMOTE_ADDR']; //blokowanie hostow $host=gethostbyaddr($ip_prawdziwe); if(stristr($host,"anonymouse")) myexit(); if(stristr($host,"draculahosting")) myexit(); if(stristr($host,"pool.ukrtel.net")) myexit(); if(stristr($host,".hostnoc.net")) myexit(); if(stristr($host,".keymachine.de")) myexit(); if(stristr($host,".kimsufi.com")) { header('HTTP/1.1 403 Forbidden'); exit();} if(stristr($host,".ecatel.net")) myexit(); if(stristr($host,"dynamic-pppoe.uch.net")) myexit(); if(stristr($host,"orange.orange.sk")) myexit(); //if(stristr($host,"comcast.net")) myexit(); if(stristr($host,"cssgroup.lv")) myexit(); if(stristr($host,".altushost.com")) myexit(); if(stristr($host,"telesp.net.br")) myexit(); if(stristr($host,"dedicated.hosteurope.de")) myexit(); if(stristr($host,"proclanhosting.com")) myexit(); if(stristr($host,"unassigned.psychz.net")) myexit(); if(stristr($host,".netart.pl")) myexit(); if(stristr($host,".kimsufi.com")) myexit(); if(stristr($host,".bezeqint.net")) myexit(); if(stristr(substr($host, -3, 3),".ru")) myexit(); if(stristr(substr($host, -3, 3),".tr")) myexit(); if(stristr(substr($host, -3, 3),".tw")) myexit(); if(stristr(substr($host, -3, 3),".cn")) myexit(); if(stristr(substr($host, -3, 3),".ua")) myexit(); if(stristr(substr($host, -3, 3),".md")) myexit(); /*trakery stron - blokowanie przegladarek*/ if (stristr($_SERVER["HTTP_USER_AGENT"], "teleport")) {myexit();} if (stristr($_SERVER["HTTP_USER_AGENT"], "ripper")) {myexit();} if (stristr($_SERVER["HTTP_USER_AGENT"], "offline")) {myexit();} if (stristr($_SERVER["HTTP_USER_AGENT"], "HTTrack")) {ban_and_exit();} if (stristr($_SERVER["HTTP_USER_AGENT"], "WebZIP")) {myexit();} if (stristr($_SERVER["HTTP_USER_AGENT"], "WebCopier")) {ban_and_exit();} if (stristr($_SERVER["HTTP_USER_AGENT"], "WebStripper")) {myexit();} if (stristr($_SERVER["HTTP_USER_AGENT"], "deltaSCAN")) {myexit();} /* $spamers=file('/spammers.txt'); for($i=0; $i
\n"; echo "Comments

"; $postm = rcb_readfile("data/".$blog."_".$_GET['post'].".txt"); $partsm = preg_split("/(\r\n|\r|\n)/", $postm, 2); $wpise=explode("----+-",$partsm[1]); for ($i = 1; $i < count($wpise); $i++) { if ($wpise[$i]) { echo "
\n".nl2br($wpise[$i]); if ($loggedin) { echo "
delete
"; } } } if (count($wpise)==1) echo"No comments"; echo "

Add comment"; rcb_printformstart('edit', 'post', "at.php"); print ""; echo "
\n"; rcb_printforminput('Your nick', 'nick', 'text', 20, ""); //rcb_printformtextarea('', 'coma', "$coma_form"); print "

\n"; $kod=""; for ($i=0; $i < 6; $i++) { $kod.=random_string(3).","; } $kod.=random_string(3).",".rand(1,6); for ($i=0; $i < 5; $i++) { $kod.=",".rand(0,6); } echo "  przepisz poprawnie kod"; rcb_printforminput('', 'kodzik', 'hidden', 88, "$kod"); rcb_printforminput('kod z obrazka', 'fartuch', 'text', 6, ""); // rcb_printformbutton('DONT ADD', 'add', 'submit'); print "  "; rcb_printformbutton('ADD', 'mm', 'submit'); rcb_printformend(); echo "
\n"; } $obramowka= strtoupper($rcb_colors[10]); $link=strtoupper($rcb_colors[19]); $tlo=strtoupper($rcb_colors[9]); $alternatywny=$tlo; echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; echo "
\n"; echo "
\n"; print "This is english blog. User $nazwausera writes in english. If you would like to have blog like this, you can register your own for free."; print '
Register your own english blog
'; print 'Język angielski matura z angielskiego Gramatyka angielska'; echo "
\n"; rcb_printcontentend(); if(isset($_GET['y'])) { if(isset($_GET['m'])) { if(isset($_GET['d'])) rcb_printnav($loggedin, $_GET['y'], $_GET['m'], $_GET['d']); else rcb_printnav($loggedin, $_GET['y'], $_GET['m']); } else rcb_printnav($loggedin, $_GET['y']); } else rcb_printnav($loggedin); rcb_printbodyend(); print ''. ''; } // konkretny mod else { if(file_exists("$mod.php")) include "$mod.php"; else die("Module Error"); include 'end.php'; } } else { die("User Error!"); } ?>