Beispiel #1
0
function model_j($p, $o, $res)
{
    $r = ajxr($res);
    //form
    reqp('msql');
    $msq = new msql('', $p ? $p : 'model');
    $msq->load();
    //$msq->format($r);
    $msq->modif('add', '', $r);
    $msq->save();
    //p($msq->ret);
    return make_table(msq_invert($msq->ret), 'txtblc', 'txtx');
}
Beispiel #2
0
function mform_j($p, $id, $res)
{
    $r = ajxr($res);
    //form
    if (!$r[0]) {
        return lj('txtbox', ses('mformj'), pictxt('reload', 'error'));
    }
    reqp('msql');
    $msq = new msql('', ses('mform'));
    //$rb=mform_mr($p);
    $msq->load();
    //$msq->format($r);
    $msq->modif('add', '', $r);
    $msq->save();
    //p($msq->ret);
    return lj('txtbox', ses('mformj'), pictxt('smile', nms(139)));
    return lj('txtbox', 'mfr' . $id . '_plug___microform_mform*read_' . $id, pictxt('smile', nms(139)));
}
Beispiel #3
0
function plug_msql($dr, $nod, $in = '', $no = '', $act = '', $n = '', $ra = '', $nb = '')
{
    return;
    $msq = new msql();
    $msq->def($dr, $nod, $in, $no);
    $msq->read();
    if ($act) {
        $msq->modif($act, $n, $ra);
    }
    return $msq->ret;
}