session_start(); foreach($_GET as $key => $value) ${$key} = $value; if($_SESSION['lang'] == '') $_SESSION['lang'] = 'pl'; if(isset($_GET['l'])) $_SESSION['lang'] = $_GET['l']; $lang = $_SESSION['lang']; if(!isset($p)) $p = 'firma'; if(!file_exists('strony/'.$lang.'_'.$p.'.php')) $p = 'firma'; ?>