0) { $sPassword = getPassword($iId); $bEnableRay = (getParam( 'enable_ray' ) == 'on'); $check_res = checkAction( $iId, ACTION_ID_USE_RAY_CHAT ); if($bEnableRay && $check_res[CHECK_ACTION_RESULT] == CHECK_ACTION_RESULT_ALLOWED) { $ret .= '
' . getApplicationContent('board', 'user', array('id' => $iId, 'password' => $sPassword), true) . '
'; } else { $ret .= MsgBox($check_res[CHECK_ACTION_MESSAGE]); } return DesignBoxContent( _t('_RAY_CHAT'), $ret, $oTemplConfig -> PageCompThird_db_num ); } else { return DesignBoxContent(_t('_LOGIN_ERROR') , MsgBox(_t('_Please login before using Ray chat')), 1 ); } } ?>