示例#1
0
文件: msqads.php 项目: philum/cms
function msqads_j($p, $o, $res)
{
    $r = ajxr($res);
    //form
    reqp('msql');
    $msq = new msql();
    $msq->def('', $p ? $p : 'msqads');
    $msq->load();
    //$msq->format($r);
    $msq->modif('add', '', $r);
    $msq->save();
    //p($msq->ret);
    return make_table(msq_invert($msq->ret), 'txtblc', 'txtx');
}
示例#2
0
文件: msql.php 项目: philum/cms
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;
}