$topic = $_GET['topic']; if(!$topic) { $topic = "home"; } ?> $layout = (isset($_COOKIE['layout']) && ($_COOKIE['layout'] == "v4")) ? "v5" : "v4"; ?>