// ---------------------------------------------------------------------------- // // Skrypt otwarty.pl mini // wersja beta 1.0 // demo skryptu http://demo.otwarty.pl login: demo /haslo:demo // copryright: Piotr otwarty.mini@gmail.com // strona domowa skryptu: http://mini.otwarty.pl/ // dyskusja: http://forum.optymalizacja.com/index.php?showforum=54 // ---------------------------------------------------------------------------- // if (file_exists("otwarty_inc/config.php")) { if (!file_exists("otwarty_inc/otwarty_install.php")) { if ( !eregi("google",$_SERVER['HTTP_USER_AGENT']) AND !eregi("msn",$_SERVER['HTTP_USER_AGENT']) AND !eregi("yahoo",$_SERVER['HTTP_USER_AGENT']) AND !eregi("onet",$_SERVER['HTTP_USER_AGENT']) AND !eregi("netsprint",$_SERVER['HTTP_USER_AGENT']) ) { session_start(); } $sid = session_id(); require_once("otwarty_inc/config.php"); require_once("otwarty_disp/funkcje.php"); if ($cfg[m7]==1) { if ($_SERVER[REQUEST_URI]=="/$cfg[s2].html") { die(); } else if (eregi("^\/google(.*)\.html$", $_SERVER[REQUEST_URI])) { header("HTTP/1.0 404 Not Found"); die(); } } switch($_GET[a]) { default: include("otwarty_disp/home.php"); break; case "kat": include("otwarty_disp/kat.php"); break; case "pod": include("o