if (isset($_GET['dontshowhmw']) && $_GET['dontshowhmw'] == "yes") { //$cookie->__set('homemodal', 1); setcookie('MenPoCoo', 1, time()+3600); } //if (isset($cookie->homemodal) && $cookie->homemodal){ if (isset($_COOKIE['MenPoCoo']) && $_COOKIE['MenPoCoo']) { return false; }