include($_SERVER["DOCUMENT_ROOT"]."/_common/common.inc"); include("/home/cbhearth/_inc/admin.inc"); include("/home/cbhearth/_inc/dbconnect.inc"); include("/home/cbhearth/_inc/microsite-page.inc"); include("/home/cbhearth/_inc/agent/agentload.inc"); include("common.inc"); include("/home/cbhearth/_inc/StringUtil.inc"); include("/home/cbhearth/_inc/propmain.inc"); include("/home/cbhearth/_inc/propmain-lvar.inc"); include("/home/cbhearth/_inc/propmain-gsmls.inc"); include("/home/cbhearth/_inc/featured-listing.inc"); //include("/home/cbhearth/_inc/cbhoffice.inc"); include("/home/cbhearth/_inc/altos.inc"); //$userDetail = AdminDetail::getInstanceOnUser($agent); $isGSMLS = isset($userDetail) ? $userDetail->isGSMLS() : "N"; // get the user level to determine if they can show featured listings at all and, if they can, how many $level = $agent->getMicrositeLevel(); $maxListings = 1; if ($level != "standard") { $maxListings = $level == "enhanced" ? 7 : 10; } $showAltos = "Y"; $crestOfficeId = $agent->getCRESTOfficeId(); if (false) { if ($crestOfficeId == "121045-0001" || $crestOfficeId == "121045-0002" || $crestOfficeId == "121045-0007" || $crestOfficeId == "121045-0009" || $crestOfficeId == "121045-0003" || $crestOfficeId == "121045-0004") { $useAlt = $userDetail->useAltHomepage(); if (isset($useAlt) == false) { // default to true $useAlt = "Y"; } } } if (isset($_GET['hpl'])) { $homePageLayout = $_GET['hpl']; } ?>
$pgTitle = $agent->getNameNice()." - Coldwell Banker Hearthside, Realtors"; include("meta.inc"); ?> include("header.inc"); ?> $topNav = "home"; include("_index".$homePageLayout.".php"); ?>