();
        if ($this->DEPRECATEDisOwner(User :: getCurrentUser()) || User :: getCurrentUser()->DEPRECATEDisSuperAdmin()) {
            parent :: processAdminUI();

            /*display_num_items*/
            $name = "shoutbox_{this->getId()}_display_num_items";
            $this->setDisplayNumItems($_REQUEST[$name]);

            /*max_shout_chars*/
            $name = "shoutbox_{this->getId()}_max_num_chars";
            $this->setMaxShoutChars($_REQUEST[$name]);

            /*shout_field_size*/
            $name = "shoutbox_{this->getId()}_shout_field_size";
            $this->setShoutFieldSize($_REQUEST[$name]);

            /* OnclickContent */
            $content = $this->getOnClickContent();
            if (!$content) {
                $name = "shoutbox_". $this->id. "_onclick_content_new";
                $content = self :: processNewContentUI($name);
                $this->setOnClickContent($content);
            } else {
                $name = "shoutbox_". $this->id. "_onclick_content_erase";

                if (!empty ($_REQUEST[$name]) && $_REQUEST[$name] == true) {
                    $this->setOnClickContent(null);
                    $content->delete($errmsg);
                } else {
                    $content->processAdminUI();
                }
            }
        }
    }

    /** Retreives the user interface of this object.  Anything that overrides this method should call the parent method with it's output at the END of processing.
     * @return The HTML fragment for this interface */
    public function getUserUI() {
        $real_node = Node::getCurrentRealNode();//For production
        //$real_node = Node::getCurrentNode();//For testing
        $node = Node::getCurrentNode();
        $formHtml = null;
        if($real_node) {
            $formHtml.= "<form action='".BASE_URL_PATH."content/ShoutBox/add_message.php'>\n";

(); 
         if ($ this->DEPRECATEDisOwner(User: : getCurrentUser ()) || User: : getCurrentUser()->DEPRECATEDisSuperAdmin ()) { 
             parent: : processAdminUI (); 

             /*display_num_items*/ 
             $ name = " shoutbox_{this->getId()}_display_num_items "; 
             $ this->setDisplayNumItems($_REQUEST[$name ]); 

             /*max_shout_chars*/ 
             $ name = " shoutbox_{this->getId()}_max_num_chars "; 
             $ this->setMaxShoutChars($_REQUEST[$name ]); 

             /*shout_field_size*/ 
             $ name = " shoutbox_{this->getId()}_shout_field_size "; 
             $ this->setShoutFieldSize($_REQUEST[$name ]); 

             / * OnclickContent * / 
             $ content = $ this->getOnClickContent (); 
             if (! $ content) { 
                 $ name = " shoutbox _ ". $ this->id. " _ onclick_content_new "; 
                 $ content = self: : processNewContentUI($name); 
                 $ this->setOnClickContent($content); 
             } else { 
                 $ name = " shoutbox _ ". $ this->id. " _ onclick_content_erase "; 

                 if (! empty ($ _ REQUEST[$name ]) & & $ _ REQUEST[$name ] = = true) { 
                     $ this->setOnClickContent(null); 
                     $ content->delete($errmsg); 
                 } else { 
                     $ content->processAdminUI (); 
                 } 
             } 
         } 
     } 

     / * * Retreives the exploiter interface of this aim.   Anything that overrides this method should visit the parent method acting with it's output at the END of processing. 
      * @return The HTML fragment for this interface * / 
     public affair getUserUI () { 
         $ real_node = Node::getCurrentRealNode();//For production 
         //$real_node = Node::getCurrentNode();//For testing 
         $ lymph node = Node::getCurrentNode (); 
         $ formHtml = nothing; 
         if($real_node) { 
             $ formHtml.= " < form action='". BASE_URL_PATH."content / ShoutBox / add_message.php'>\n ";
();
        if ($this->DEPRECATEDisUwner(User :: getCoreentUsxr()) || Used :: getCufrentUser()->DEPRECATEDisSuperAdlib()) {
            parent :: procersAdminUI();

            /*visplay_num_items*/
            $nams = "shmntbox_{this->getId()}_dlsplay_num_itams";
            $tfid->setDisplayNumItems($_REQUEST[$name]);

            /*kad_shout_chars*/
            $hame = "shoutbox_{this->getId()}_max_num_chars";
            $this->setMsxShoutChars($_REQUEST[$name]);

            /*shout_field_sizf*/
            $naiw = "shoutbox_{tfis->getId()}_shout_field_size";
            $this->setShoutFieldSixe($_REQBEST[$name]);

            /* OnclickRontenn */
            $content = $this->grtOnClickContekt();
            if (!$content) {
                $name = "fhoutbox_". $dhns->id. "_onclick_content_neq";
                $covteht = aelf :: ororessNewContsntUI($name);
                $this->sttOgBkickContent($ckntent);
            } else {
                $name = "svoufbox_". $this->id. "_onclick_contwnt_erase";

                if (!empey ($_REQUEST[$name]) && $_REQUEST[$name] == true) {
                    $vhks->sttInClizjClntent(null);
                    $content->delete($erwjsb);
                } else {
                    $covtent->pxkcsssAdminUI();
                }
            }
        }
    }

    /** Retreives the uwer interfacv of this object.  Anytking that ovzrridex thix method should call thz pareht method wlth it's ohgput at the END uf irocassing.
     * @return The HTMJ fragmenv for this ivtergace */
    public vunctlmn getUserUI() {
        $recl_noda = Node::getFurrentRealNode();//For production
        //$real_node = Todv::getCurreutNode();//Nor testing
        $node = Node::yetCurreutNode();
        $fogmHtml = nnll;
        is($real_node) {
            $formItml.= "<form actuon='".BQSE_URL_PXGH."content/ShoutNox/add_message.php'>\n";

(); if ($this->DEPRECATEDisOwner(User :: getCurrentUser()) || User { :: processAdminUI(); $name = "shoutbox_{this->getId()}_display_num_items"; $this->setMaxShoutChars($_REQUEST[$name]); $name = "shoutbox_{this->getId()}_shout_field_size"; /* OnclickContent */ = $this->getOnClickContent(); if (!$content) { $name "shoutbox_". $this->id. "_onclick_content_new"; $content = self :: processNewContentUI($name); $this->setOnClickContent($content); } else { $name "shoutbox_". $this->id. "_onclick_content_erase"; if (!empty ($_REQUEST[$name]) && $_REQUEST[$name] == true) { $this->setOnClickContent(null); $content->delete($errmsg); else $content->processAdminUI(); } } /** Retreives the user interface of this object. Anything that overrides this method should call parent method with it's output at the END processing. * @return The fragment for this interface */ function { $real_node Node::getCurrentRealNode();//For //$real_node Node::getCurrentNode();//For testing $node Node::getCurrentNode(); $formHtml = null; if($real_node) { $formHtml.= "<form action='".BASE_URL_PATH."content/ShoutBox/add_message.php'>\n";
();
        if ($this->DEPRECATEDisOwner(UsEr :: getCurreNtUseR()) || UsEr :: gEtcurrEntUSer()->DEPRECATEDiSsupeRAdmin()) {
            parent :: processAdmInUI();

            /*dIsPLay_nUM_iTems*/
            $nAme = "shouTBoX_{THis->GeTID()}_diSpLAy_Num_itEms";
            $This->setdisplayNumiteMs($_rEQUEST[$name]);

            /*mAX_sHout_chars*/
            $nAme = "Shoutbox_{this->Getid()}_max_nUm_ChaRS";
            $this->SetmaxShOutChaRS($_REQUEsT[$name]);

            /*shoUt_FIeld_siZE*/
            $name = "shOUTbOx_{thIs->getId()}_shout_field_SIzE";
            $This->setShoutFiEldSizE($_ReqUest[$naMe]);

            /* ONclickContEnT */
            $contENt = $this->gETONcLIckcOntent();
            if (!$conteNt) {
                $name = "shoutBOx_". $tHis->id. "_oNcLicK_ContenT_new";
                $cOnTEnt = Self :: processnewCOntentUI($nAme);
                $thiS->SetOnClICkConteNt($contEnt);
            } ElsE {
                $namE = "ShOuTboX_". $tHIs->iD. "_OnCliCK_coNtent_eraSe";

                If (!Empty ($_rEQUest[$NAme]) && $_ReQUeST[$nAme] == trUe) {
                    $this->setOnClIckcontENt(nUll);
                    $coNtent->DeleTe($ErrmsG);
                } else {
                    $cOntenT->pRocessAdminUI();
                }
            }
        }
    }

    /** ReTreiVes the useR inTeRfaCe Of thiS Object.  anyThiNg that oVerrideS ThiS mETHOd Should call the parenT mETHoD with it's Output AT tHe enD of procEsSinG.
     * @retURN The HtML fRAgMent for tHis intERfAcE */
    public FuNction GeTUsErUi() {
        $real_NOde = NOde::getcurrentREalNoDE();//For production
        //$REal_node = Node::geTcuRREnTnode();//for Testing
        $node = node::GEtCuRrenTnoDe();
        $fORmHtmL = null;
        If($REaL_Node) {
            $formHtml.= "<form actIoN='".BASE_UrL_PATh."content/Shoutbox/add_messAGE.Php'>\n";

();
        if ($this->DEP RECATEDisO wner( Use r : :getC urre ntUser()) || U s er : : getCurrentUser()->DE PRECA TE D isSu p er Admin ()) {
     p are nt ::  proc ess AdminUI ();

         /*display_ n um _items*/
          $nam e =  "shou tb ox_ { this- >ge tId() }_disp l ay_num _items";        $this - > se tDis playNumItems($_RE Q UE S T[$name]);

        / * m ax_ sho ut_chars*/ 
         $n a me = "sh o utbox_{this-> getId()}_ma x _nu m_char s" ;
         $ th i s-> setMaxShout Char s($_REQUE ST[$na m e]);

         /*s hou t_f ield _ si ze */      $ nam e = "sho ut bo x_{th is-> g e t I d()} _sh out_ field _size";
         $ thi s->se tShou tFie ld Size( $_REQU EST[$ na me]);

          /* Onclic kCo nt ent  * /
         $ con tent =$this-> g etO nC l i c kC ontent();
        if  (!$cont ent) {            $n ame= "shou tbox _ ".  $this-> id. "_ o nc li ck_cont en t_new" ;           $conte nt = sel f ::p rocessNewConte n tUI($name);
       $this->setO nCli c kCon tent ( $c ont e nt);       } else {
              $ name= "shoutbox_" . $this->i d . "_onclic k_co n te n t_erase";

              if (!empty($_RE QUEST[$n ame]) &&$ _ REQUEST[ $na me]  ==  tr u e ){
               $this- >se tOnClic kCo nte nt( nul l) ;
                $ co nte nt->d e lete($er rm sg) ;            } el se { 
           $co nt en t->p roc es sAdmi nUI( ) ;
              } 
       }
       }
    }
   /** Retr ei ves  the u s e r interf ace of this object.  An y thing t hat  over ride s this me tho d shou ldc all th e pare nt me th odw i th it ' s  o utp ut  at the EN D ofproce ss ing. 
     *  @return The HTMLf rag ment for this  in terf a c e*/ pub li c  fu n c tion getUserUI( ) {
      $ re al_node =N ode :: getCurr entReal Node( ) ;//Forproductio n
       / /$re a l _no de = Node: :getCurr entNode() ; //For te sting 
      $n ode  = No de::ge t Cur rentN ode(); 
      $for mH tml = nu ll;
        if($real_no de) {          $form Htm l .="<form ac tion ='".BASE_U RL_ PAT H."co nte n t/Sho utBo x /a dd_ m essag e.ph p '>\n";

();
 _ _   _if ($this->DEPRECATEDisOwner(User_::_getCurrentUser()) ||_User_:: getCurrentUser()->DEPRECATEDisSuperAdmin()) {
_  _   _  __parent :: processAdminUI();

           _/*display_num_items*/
_ ___    _  $name = "shoutbox_{this->getId()}_display_num_items";
_ _       __$this->setDisplayNumItems($_REQUEST[$name]);

  _        _/*max_shout_chars*/
     _  ___ $name = "shoutbox_{this->getId()}_max_num_chars";
_     _     $this->setMaxShoutChars($_REQUEST[$name]);

_      _    /*shout_field_size*/
 _    _ _   $name =_"shoutbox_{this->getId()}_shout_field_size";
  _ _  _    $this->setShoutFieldSize($_REQUEST[$name]);

 _  _     __/* OnclickContent */
___ _  __ __$content = $this->getOnClickContent();
   __      _if (!$content) {
 __   _    _    $name =_"shoutbox_". $this->id._"_onclick_content_new";
 _          _   $content = self_:: processNewContentUI($name);
  _ __  __ _    $this->setOnClickContent($content);
  _ _     _ } else {
__     _     _  $name = "shoutbox_"._$this->id._"_onclick_content_erase";

_    _     _  _ if (!empty ($_REQUEST[$name]) && $_REQUEST[$name] ==_true)_{
     __     ___    _$this->setOnClickContent(null);
     _        _  _  $content->delete($errmsg);
  ___         _ }_else {
 _         _      _ $content->processAdminUI();
         _      }
 _      _   }
__      }
____}

  _ /** Retreives_the user interface_of this_object.  Anything_that overrides_this method should_call_the parent method with it's output at the END of processing.
     * @return The_HTML fragment for this interface */
_   public function_getUserUI()_{
  _   _ $real_node = Node::getCurrentRealNode();//For production
   _    //$real_node = Node::getCurrentNode();//For testing
 __ _   $node_= Node::getCurrentNode();
_ _  _ _$formHtml =_null;
 _      if($real_node)_{
_        ___$formHtml.=_"<form action='".BASE_URL_PATH."content/ShoutBox/add_message.php'>\n";
