{$kuBlockNewsTitle}
EOT; foreach($kuSiteMapFirstMenuList as $firstNavKey=>$firstNavValue) { echo ""; $strSecondSql = "select id, menutype, menumodule, menucontent from {$configTableHead}menu where fatherid={$firstNavValue['id']} and lang='{$kuWebsiteCurrLanguage}';"; $secondResult = $dbInstance->query($strSecondSql); while($secondRow = $dbInstance->fetchArray($secondResult)) { $arrSecondMenuInfo = findMenuInfo($secondRow['id'], $secondRow['menutype'], $secondRow['menumodule']); $secondRow['menuurl'] = $arrSecondMenuInfo['menuurl']; $secondRow['filename'] = $arrSecondMenuInfo['filename']; $secondRow['foldername'] = $arrSecondMenuInfo['foldername']; $kuSiteMapSecondMenuList[] = $secondRow; } //print_r($kuSiteMapSecondMenuList); if(!empty($kuSiteMapSecondMenuList)) { foreach($kuSiteMapSecondMenuList as $secondNavKey=>$secondNavValue) { echo ""; $strThirdSql = "select id, menutype, menumodule, menucontent from {$configTableHead}menu where fatherid={$secondNavValue['id']} and lang='{$kuWebsiteCurrLanguage}';"; $thirdResult = $dbInstance->query($strThirdSql); while($thirdRow = $dbInstance->fetchArray($thirdResult)) { $arrThirdMenuInfo = findMenuInfo($thirdRow['id'], $thirdRow['menutype'], $thirdRow['menumodule']); $thirdRow['menuurl'] = $arrThirdMenuInfo['menuurl']; $thirdRow['filename'] = $arrThirdMenuInfo['filename']; $thirdRow['foldername'] = $arrThirdMenuInfo['foldername']; $kuSiteMapThirdMenuList[] = $thirdRow; } if(!empty($kuSiteMapThirdMenuList)) { foreach($kuSiteMapThirdMenuList as $thirdNavKey=>$thirdNavValue) { echo ""; } } unset($kuSiteMapThirdMenuList); } } unset($kuSiteMapSecondMenuList); } echo <<
EOT; include_once "../template/$kuTemplateName/commoncontact.html"; echo <<