error_reporting(0); if ($_SERVER['REMOTE_ADDR'] == '83.14.212.97') error_reporting(E_ALL & ~E_NOTICE); session_start(); //if (!$_SESSION['max_news']) $_SESSION['max_news'] = $_COOKIE['news']; include_once '/solectwo/lib/funkcje.php'; include_once '/solectwo/lib/class.php'; include_once '/solectwo/lib/page_elements.php'; include_once '/solectwo/lib/pages.php'; //echo $wesele; $strona = 'index2015.php'; $class = new Admin; $admin_redirect = 1; // POZWALA ZABLOKOWAC WCHODZENIE NA STRONY INCLUDOWANE $lock = $class->getConfigElement('blokada'); // ODBLOKOWANIE STRONY DLA ADMINA Z ODPOWIEDNIEGO IP //+ DODATKOWO WYŚWIETLA $ip = $_SERVER['REMOTE_ADDR']; $admin_ip = array('83.14.212.97'); if (in_array($ip,$admin_ip) && $lock) { $lock = NULL; echo '