config->item("popup_status")==1) { if(!isset($_COOKIE["popupShown"])) { // Cookie doesn't exist, show the popup ?>