session_set_cookie_params(86400); session_start(); $full_home_path = dirname(__FILE__); require_once($full_home_path."/_rootload.php"); mconnect(); validateUser(); if (!EnableLanguages()) { error("Can not load languages."); mclose(); exit; } if (!GetCurrentCurrency()) { print $_lang[ErrorGetCurrentCurrency]; mclose(); exit; } head('utf-8', $_lang[CalcTitle]); print ""; print "