if(isset($_COOKIE["newwindow"]) && $_GET['nw']){ $newwindow = $_COOKIE["newwindow"]; if($newwindow=="true"){ setcookie("newwindow","false",time() + 60*60*24*7*365); $nw = "false"; }elseif($newwindow=="false"){ setcookie("newwindow","true",time() + 60*60*24*7*365); $nw = "true"; } header("Location:/"); }elseif($_GET['nw']){ setcookie("newwindow","false",time() + 60*60*24*7*365); $nw = "false"; header("Location:/"); }elseif(isset($_COOKIE["newwindow"])){ $newwindow = $_COOKIE["newwindow"]; if($newwindow=="true"){ $nw = "true"; }elseif($newwindow=="false"){ $nw = "false"; } } if(!$nw){$nw="true";} ?>
if($nw=="true"){echo"