if ($resultID) { $arrHeader = global_common::getMessageHeaderArr($banCode); //$banCode echo global_common::convertToXML($arrHeader, array("rs", "inf"), array(1, $result), array(0, 1)); return; } else { echo global_common::convertToXML($arrHeader, array("rs"), array(0), array(0)); return; } } else { echo global_common::convertToXML($arrHeader, array("rs", 'info'), array(0, global_common::STRING_REQUIRE_LOGIN), array(0, 1)); } return; } elseif ($_pgR['act'] == model_Comment::ACT_CHANGE_PAGE) { $intPage = $_pgR['p']; $outPutHTML = $objComment->getListComment($intPage); echo global_common::convertToXML($strMessageHeader, array('rs', 'inf'), array(1, $outPutHTML), array(0, 1)); return; } elseif ($_pgR['act'] == model_Comment::ACT_SHOW_EDIT) { $strCommentID = $_pgR['id']; $arrComment = $objComment->getCommentByID($strCommentID); echo global_common::convertToXML($strMessageHeader, array('rs', 'CommentID', 'CommentType', 'ArticleID', 'Content', 'Status'), array(1, 'CommentID', 'CommentType', 'ArticleID', 'Content', 'Status'), array(0, 1, 1, 1, 1, 1)); return; } elseif ($_pgR["act"] == model_Comment::ACT_GET) { $sectionID = $_pgR["sect"]; $arrSection = $objMenu->getAllMenuBySection($sectionID); if ($arrSection) { $strHTML = $objMenu->outputHTMLMenu($arrSection); echo global_common::convertToXML($arrHeader, array("rs", "inf"), array(1, $strHTML), array(0, 1)); return; } else {