function plug_panart($p, $o) { $rid = 'plg' . randid(); $bt = panart_menu($p, $o, $rid); $ret = panart_build($p, $o); return $bt . divd($rid, $ret); }
function plug_table2array($p, $o) { $rid = 'plg' . randid(); $bt = table2array_menu($p, $o, $rid); $ret = table2array_build($p, $o); return $bt . divd($rid, $ret); }
function plug_microform($p, $id) { $rid = 'mfr' . randid(); //echo $p.'-'.$id; $nod = ses('mform', ses('qb') . '_microform_' . $id); req('pop'); ses('mformj', $rid . '_plug___microform_plug*microform_' . ajx($p) . '_' . $id); reqp('msql'); $msq = new msql('', $nod); //table list($p, $tp) = explode('§', $p); $rb = mform_mr($p); //p($rb); $msq->create($rb); $ret .= make_form($p, 'mfr' . $id, '_plug___microform_mform*j_' . ajx($p, '') . '_' . $id . '_') . br(); if (auth(4)) { $ret .= msqlink('users', ses('mform')) . ' ' . btn('txtsmall2', $nod) . ' '; } if ($tp == 1) { $ret .= mform_read($id); } elseif ($tp) { $ret .= plugin('msqtemplate', $nod, $tp); } return divd($rid, $ret . $bt); }
function plug_connectors($p, $o) { $rid = 'plg' . randid(); $bt = connectors_menu($p, $o, $rid); $ret = connectors_j($p, $o); return $bt . div(atd($rid), $ret); }
function plug_comparetxt() { $rid = 'plg' . randid(); $bt = comp_menu($p, $o, $rid); $ret = comptxt_j($p, $o, $res = ''); return $bt . divd($rid, $ret); }
function plug_color($p, $o) { $rid = 'plg' . randid(); $ret = color_j($p, $o); $bt .= msqlink('', 'system/edition_colors'); return $bt . divd($rid, $ret); }
function plug_md5($p, $o) { $rid = 'plg' . randid(); $bt = md5_menu($p, $o, $rid); $ret = md5_j($p, $o); return $bt . divd($rid, $ret); }
function plug_db($p, $o) { $rid = 'plg' . randid(); $bt = db_menu($p, $o, $rid); $ret = db_build($p, $o); return $bt . divd($rid, $ret); }
function plug_genpswd($p, $o) { $rid = 'plg' . randid(); $bt = genpswd_menu($p, $o, $rid); $ret = genpswd_j($p, $o); return $bt . divd($rid, $ret); }
function plug_coremap($p = '', $o = '') { $rid = 'plg' . randid(); $ret .= autoclic($rid . 'p', $p, 10, 244, '', 1) . ' '; $ret .= lj('', $rid . '_plug___coremap_coremap___' . $rid . 'p', picto('reload')); return $ret . divd($rid, coremap($p)); }
function plug_msqmerge($p, $o) { $rid = 'plg' . randid(); $bt = msqmerge_menu($p, $o, $rid); $ret = msqmerge_j($p, $o); return $bt . divd($rid, $ret); }
function plug_atomic($p, $o) { $rid = 'plg' . randid(); $bt = atomic_menu($p, $o, $rid); $ret = atomic_build($p, $o); return $bt . divd($rid, $ret); }
function plug_environ($p, $o) { $rid = 'plg' . randid(); $bt = environ_menu($p, $o, $rid); $ret = environ_build($p, $o); return $bt . divd($rid, $ret); }
function plug_canvas($d, $s) { $id = randid(); if ($s) { $_SESSION['graphsz'] = $s; } if (!$d) { $d = 'rect=0,0,100,44,ff0000 rect=100,0,100,44,00ff00 disk=11,22,10,ffffff line=20,22,80,22,00ff00 circle=100,22,20 disk=100,22,20,ffffff line=120,22,180,22,00ff00 circle=190,22,10,000000 disk=190,22,9,ffffff text=oeil,0,58,12,arial,ff0000 text=observé,77,58,12,arial text=existant,158,58,12,arial'; } $d = str_replace("\n", ' ', $d); $ret .= lj('popbt', 'popup_plup___canvas_cnvs*edit_' . ajx($d) . '_' . $id, 'edit'); $ret .= divd('graph' . $id, canvas($d, $id, $s)); return $ret; }
function plug_calendar($p, $o) { $rid = 'plg' . randid(); $ret = calendar_build($p, 'res'); $bt = input(1, 'res', ''); return $bt . divd($rid, $ret); }
function plug_model($p, $o) { $rid = randid('model'); $bt = model::menu($p, $o, $rid); $ret = model::build($p, $o); //$bt.=msqlink('',nod('model_1')); return $bt . divd($rid, $ret); }
function plug_ssh($p, $o) { $rid = 'plg' . randid(); $ret .= input(1, 'ssh', 'service proftpd restart'); $ret .= input('password', 'ssb', '****', '', '', '4'); $ret .= lj('', $rid . '_plug__xd_ssh_ssh*j___ssh|ssb', picto('reload')) . ' '; return $ret . divd($rid, ''); }
function plug_statsrv($p, $o) { $rid = 'plg' . randid(); $bt = statsrv_menu($p, $o, $rid); $ret = statsrv_j($p, $o); //$bt.=msqlink('',ses('qb').'_statsrv'); return $bt . divd($rid, $ret); }
function plug_bazic($p, $o) { $rid = 'plg' . randid(); $bt = baz_m($p, $o, $rid); $ret = baz_x($p, $o); //$bt.=msqlink('',ses('qb').'_baz'); return $bt . divd($rid, $ret); }
function plug_umtag($p, $o) { $rid = 'plg' . randid(); $p = 'Oomo Toa,Oyagaa Ayoo Yissaa'; $bt = ummoay_menu($p, $o, $rid); $ret = ummoay_j($p, $o); return $bt . divd($rid, $ret); }
function del_com($p, $o) { $rid = 'plg' . randid(); $id = 'del' . $o; $ret .= inp('inp' . $o, $p ? $p : $o, atz(44)) . ' '; $ret .= lj('popsav', $rid . '_plug___del_delj_' . $o . '__inp' . $o, 'delete') . ' '; $ret .= btd($rid, '') . br(); return $ret; }
function plug_ph1($p, $o) { $rid = 'plg' . randid(); if (!$p) { $bt = ph1_menu($p, $o, $rid); } $ret = ph1_j($p, $o); return $bt . divd($rid, $ret); }
function plug_slides($p, $o) { $rid = randid('tpo'); $p = $p ? $p : 1; $_SESSION['nodslid'] = nod('slides_' . $p); Head::add('csscode', '.book a, .book:hover .philum{color:white;}'); $ret = slides::build($o, $rid); return divd($rid, delbr($ret, "\n")); }
function plug_icocss($p, $o) { $rid = randid('plg'); Head::add('csslink', '/css/_pictos.css'); $bt = icocss_menu($p, $o, $rid); $bt .= msqlink('system', 'edition_pictos'); //$ret.=icocss_build($p,$o); return $bt . divd($rid, $ret); }
function plug_piclr($p, $o) { $rid = 'plg' . randid(); $p = $p ? $p : 100; $bt = piclr_menu($p, $o, $rid); $ret = piclr_j($p, $o); //$bt.=msqlink('',ses('qb').'_piclr'); return $bt . divd($rid, $ret); }
function plug_genpswd($p, $o) { $rid = 'plg' . randid(); if (!$p) { $p = 8; } $bt = genpswd::menu($p, $o, $rid); $ret = genpswd::build($p, $o); return $bt . divd($rid, $ret); }
function plug_imtx($p, $o) { $rid = 'plg' . randid(); ses('out', '/plug/_data/imtx.png'); $j = $rid . '_plug__2_imtx_imt*j_' . $w . '_' . $h . '_txtarec'; $sj = 'SaveJ(\'' . $j . '\')'; $ret .= txarea('txtarec', $p, 44, 14, atc('console') . atb('onkeyup', $sj) . atb('onclick', $sj)); $ret .= lj('', $j, picto('reload')) . ' '; return $ret . divd($rid, image(root() . ses('out'))); }
function plug_arts($p, $o) { $rid = 'plg' . randid(); Head::add('csslink', '/css/' . ses('qb') . '_design_' . ses('prmd')); $p = $p ? $p : 'nbdays=2&preview=auto'; //priority=>1&priority=<4 $ret .= input(1, 'params', $p, '', 30) . ' '; $ret .= lj('', $rid . '_plug__3_arts_arts*j__nl_params', picto('reload')) . ' '; return divd('page', $ret . divd($rid, divd('content', arts_j($p, '', '')))); }
function plug_umnb($p, $o) { $rid = 'plg' . randid(); $j = $rid . '_plug__2_umnb_umnb*j__' . $rid . '_inp'; $ret .= input(1, 'inp', $p, '') . ' '; $ret .= lj('', $j, picto('reload')) . ' '; //$ret.=lka('/plug/umnb/'.($p-1),picto('previous')).' '; //$ret.=lka('/plug/umnb/'.($p+1),picto('next')).' '; return $ret . divd($rid, umnb_j($p, $rid)); }
function plug_notepad($d) { $d = $d ? $d : 2; $id = 'np' . randid(); $ret .= np_sav($d, $id) . br(); $sty = 'border:1px dotted grey; margin:4px; padding:10px; min-width:320px; max-width:640px; min-height:220px; max-height:440px; overflow-y:auto;'; $ret .= divedit($id, 'panel justy', $sty, $j, $txt); $_SESSION['onload'] = 'document.getElementById(\'' . $id . '\').innerHTML=localStorage[\'m' . $d . '\']'; //$_SESSION['onload']='mem_storage(\''.$id.'_m'.$d.'_1_1_ckb\');'; return divd('np', $ret); }