The following are just some of the charitable and community organizations we’re proud to support.
$fullurl = 'http'.(empty($_SERVER['HTTPS'])?'':'s').'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; $fullurl = rtrim($fullurl, "/"); $wpoptsurl = site_url(); $expire = time()+60*60*24; //24 hours setcookie("offhomesplash", "visitedoff", $expire); $vcook = $_COOKIE["visitedmasters"]; if ($vcook != 'animation') { if ($fullurl == $wpoptsurl) { //if viewed homepage (opening animation) setcookie("visitedmasters", "animation", $expire); } else { //any other page. Splash screen usage setcookie("visitedmasters", "splash", $expire); } } ?>