Beispiel #1
0
function mx_showpost()
{
    global $mxuser;
    $msg = null;
    //die(phpinfo());
    $msg->body = mx_securestring($_REQUEST['body']);
    $filter = $_REQUEST['filter'];
    if ($filter) {
        $msg->filter = array_sum($filter);
    } else {
        $msg->filter = '';
    }
    $msg->filter = mx_securestring($msg->filter);
    if ($msg->body) {
        $mxuser->saveupdate($msg);
    } else {
        mx_important(_('Your update is empty...'));
    }
}
Beispiel #2
0
function mx_mnmessages($page, $option, $action)
{
    global $status;
    if ($status) {
        mx_important($status);
    }
    mx_showmessages($action);
    //phpinfo();
}