function upurl($p, $id) { req('ajxf'); return assistant($id, 'SaveJ', $id . 'upurl_plug___upload_upurlsav_' . ajx($p) . '__' . $id, 'http://', ''); }
function medit_shot($d, $nd, $k, $ka, $res) { $v = ajxg($res); $rid = randid('mdt'); $r = msql_read_b($d, $nd, $k, '', $ka); $va = msq_data($r[$ka]); $j = ajx($d) . '_' . ajx($nd) . '_' . ajx($k) . '_' . ajx($ka) . '_' . $rid; return assistant($rid, 'SaveJ', ajx($k . '-' . $ka) . '_msqlmodif__x_' . $j, $va, ''); }
function artmod_edit($d, $id = '') { $ret .= btn('txtcadr', 'edit_art_mod'); $ret .= divd('amc', artmod_edit_l('edm', '', '')); $ret .= input(1, 'edm', '', ''); $ret .= ljc('popbt', 'amed', 'adminx_mod*edit*j_articles_1_edm', 'edit_mod'); $ret .= divd('amed', ''); $ret .= assistant('mp', 'insert_jc', 'articles\',\'mp', '', ''); return $ret; }
function mbd_book($cnn) { req('adminx'); $ret .= btn('txtcadr', 'param [,]'); $ret .= divd('amc', artmod_edit_l('cnv', '', '')); $ret .= assistant('cnv', 'insert_conn', 'book', '', 'title/1/book'); $ret .= br() . helps('book'); return $ret; }