include($_SERVER['DOCUMENT_ROOT']."/includes/lqr_cookie.phtml"); include($_SERVER['DOCUMENT_ROOT']."/includes/affiliate_cookie.phtml"); include($_SERVER['DOCUMENT_ROOT']."/includes/partner_cookie.phtml"); if (!preg_match('/mailchimp.com$/',$_SERVER['HTTP_HOST'])) { if (preg_match('/mcsv.net$/',$_SERVER['HTTP_HOST'])) { header('Location: mcsv.phtml'); } elseif (preg_match('/list-manage.com$/',$_SERVER['HTTP_HOST'])) { header('Location: list-manage.phtml'); } elseif (preg_match('/forward-to-friend.com$/',$_SERVER['HTTP_HOST'])) { header('Location: forward-to-friend.phtml'); } elseif (preg_match('/campaign-archive.com$/',$_SERVER['HTTP_HOST'])) { header('Location: campaign-archive.phtml'); } else { header('Location: outbox.phtml'); # MUST BE AN OUTBOX DOMAIN } } ?>