Example #1
0
File: mod.php Project: philum/cms
function desktop_arts($p, $o, $cnd, $no = '')
{
    poplist();
    if ($o) {
        $ob = str_replace('|', '/', $o);
    }
    $ob = strchr_b($ob, '/');
    $r = desktop_apps($cnd, $ob, $p, $o);
    //apps_(v)arts
    return desktop_build_ico($r, 'icones') . divc('clear', '');
}
Example #2
0
function chatxread($p, $r)
{
    $c = 'txtsmall';
    $nm = ses('muse');
    $use = ses('USE');
    if ($r) {
        foreach ($r as $k => $v) {
            $erz = '';
            $ml = '';
            $msg = $v[2];
            if ($use && ($v[1] == $nm or $p == $use)) {
                $erz = lj($c, 'chtx' . $p . '_plug___chatxml_chatxsav_' . $p . '_' . $k, picto('sclose'));
            }
            if (strchr_b($v[3], '/') == $use) {
                $ml = lj('popbt', 'popup_plug___chatxml_chatxinvitx_' . $p . '_' . ajx($v[3]), '@') . '';
            }
            $bt = lkt('popbt', 'http://' . $v[3], $v[1]) . ' ' . btn($c . '2', mkday($v[0], 'ymd:hi'));
            $msg = correct_txt(html_entity_decode($msg), '', 'sconn');
            $msg = miniconn($msg, strdeb($v[3], '/'));
            $ret .= divc('track', $ml . $bt . $erz . br() . nl2br(stripslashes($msg)));
        }
    }
    return $ret;
}