include($_SERVER["DOCUMENT_ROOT"]."/_common/common.inc"); include("/home/cbhearth/_inc/admin.inc"); include("/home/cbhearth/_inc/microsite-page.inc"); include("/home/cbhearth/_inc/StringUtil.inc"); include("/home/cbhearth/_inc/dbconnect.inc"); include("/home/cbhearth/_inc/agent/agentload.inc"); include("common.inc"); // see if this page has been added yet, if not, add it to the DB $msPage = MicrositePage::getInstanceOnUser($agent, "about"); $isDisplayed = isset($addPages) && count($addPages) > 0 && in_array("about", $addPages); ?>
$pgTitle = htmlspecialchars("About ".$agent->getNameNice()); include("meta.inc"); ?> if (isset($msPage) && $isDisplayed == true) { $msPhotos = $msPage->getImages(); if (isset($msPhotos) && count($msPhotos) > 1) { ?> } } ?> $topNav = "about"; include("header.inc"); ?>".htmlspecialchars($msPages['philosophy']->getTitle())."
\n"; } if (in_array("community", $addPages) && $adminLevel == "professional") { $sections = $msPages['community']->getSections(); $title = isset($sections) && count($sections) > 1 ? "Communities" : "Community"; echo "\n"; } if (in_array("blog", $addPages)) { echo "".htmlspecialchars($msPages['blog']->getTitle())."
\n"; } if ($isCustom == true) { for ($cPage = 1; $cPage <= 3; $cPage++) { if (in_array("custom$cPage", $addPages)) { echo "".htmlspecialchars($msPages['custom'.$cPage]->getTitle())."
\n"; } } } } else { ?>