assign("CATEGORY",$parent_tab); $theme_path="themes/".$theme."/"; $image_path=$theme_path."images/"; $smarty->assign("MOD", $mod_strings); $smarty->assign("APP", $app_strings); $smarty->assign("THEME", $theme); $smarty->assign("IMAGE_PATH",$image_path); $smarty->assign("MODULE",$currentModule); $check_button = Button_Check($currentModule); $check_button['Import'] = 'no'; $check_button['Export'] = 'no'; $check_button['moduleSettings'] = 'no'; $smarty->assign("CHECK", $check_button); $focus = CRMEntity::getInstance($currentModule); $accountid = vtlib_purify($_REQUEST['accountid']); if (!empty($accountid)) { $hierarchy = $focus->getAccountHierarchy($accountid); } $smarty->assign("ACCOUNT_HIERARCHY",$hierarchy); $smarty->display("AccountHierarchy.tpl"); ?>