GetUserDetails($_COOKIE["das_uid"])){ SetCookie("das_myname", $details["forename"]." ".$details["surname"], time()+3600); SetCookie("das_podpis", $details["podpis"], time()+3600); SetCookie("das_domain", $details["domain"], time()+3600); } else { Header("Location: login.php"); die(); } if($rights = $db->GetUserRights($_COOKIE["das_uid"])){ SetCookie("das_rights", $rights, time()+3600); } } else { Header("Location: login.php"); die(); } #} ?>