$iId = (int)$_COOKIE['memberID']; if($iId==0) {$url='splash.php'; } else {$url='index.php'; echo ' '; } ?>