Client Notice Manager
06-07-2016, 12:21 PM
(This post was last modified: 06-07-2016, 12:22 PM by wormsunited.)
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:
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;
}
}
}
?>
'' Life is full of important choices ''
Help Sentora Donate now => http://sentora.org/donate
Help Sentora Donate now => http://sentora.org/donate