Quantcast
Channel: Sentora Support Forums - All Forums
Viewing all articles
Browse latest Browse all 4648

Client Notice Manager

$
0
0
Hi there to all.

I need to make a few changes in the client notice manager for my hosting users, by checking some of the forum searches i found a post that provided me the location of the file, now i need to make it html and not just plain text, does anyone knows how? I paste there the code, any help will be much appreciated. 

Client Notice Manager:

Code:
<?php

class ui_tpl_notice {

   public static function Template() {
       $user_array = ctrl_users::GetUserDetail();
       global $zdbh;
       $result = $zdbh->query("SELECT ac_notice_tx FROM x_accounts WHERE ac_id_pk = " . $user_array['resellerid'] . "")->Fetch();
       if ($result) {
           if ($result['ac_notice_tx'] <> "")
               return ui_sysmessage::shout(
                   runtime_xss::xssClean($result['ac_notice_tx']),
                   'notice',
                   'Notice:',
                   true
               );
           return false;
       } else {
           return false;
       }
   }

}

?>

Viewing all articles
Browse latest Browse all 4648

Trending Articles