本文整理汇总了PHP中lj函数的典型用法代码示例。如果您正苦于以下问题:PHP lj函数的具体用法?PHP lj怎么用?PHP lj使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了lj函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: make_menus_rb
function make_menus_rb($arr, $here, $open, $o)
{
static $i;
$i++;
//if($open)$i=$open;
static $a;
$a++;
//$tr=str_pad('►',$a+7,'-',STR_PAD_LEFT);
$css = '" style="padding:0 0 0 32px;';
$csa = '" style="list-style-type:none;';
//if($open)$i='x'.$i;
if (is_array($arr)) {
foreach ($arr as $k => $v) {
$o++;
$re = '';
//$a=$i.$o;
if (is_array($v)) {
$nb = btn('txtsmall2', '(' . count($v) . ')');
$re = balc("li", $csa, '├–' . good_gb($k, $i, '►') . ' ' . $nb);
$re .= make_menus_rb($v, '', 0, 0);
} elseif ($open) {
$re .= balc("li", $csa, '├– ' . lj('', 'popup_popart__3_' . $k . '_3', suj_of_id($k)));
}
if ($re) {
$ret .= divd('tn' . $k, $re);
}
}
}
$a--;
return divc($css, $ret);
}
示例2: table2array_menu
function table2array_menu($p, $o, $rid)
{
//$ret.=input(1,'inp',$p,'').' ';
$ret .= lj('', $rid . '_plug__2_table2array_table2array*j___inp', picto('reload')) . br();
$ret .= txarea('inp', $p, 64, 24);
return $ret;
}
示例3: plug_exsys
function plug_exsys($p, $o = '')
{
$rid = 'plg' . $p;
$ret .= autoclic('param', $p, 10, 244, '', 1) . ' ';
$ret .= lj('', $rid . '_plug___exsys_sys___param', picto('reload'));
return $ret . divd($rid, plugin($plg, $p, $o));
}
示例4: plug_ascii
function plug_ascii($p, $o = '', $res = '')
{
$ret .= input1('txtarea', '', 60) . ' ';
$ret .= lj('popw', 'ascii_plug___ascii_ascii*jb___txtarea', 'ok') . br();
$ret .= divd('ascii', ascii_j($p, $o, $res));
return $ret;
}
示例5: icocss_menu
function icocss_menu($p, $o, $rid)
{
$ret .= inp('inp', $p) . ' ';
$ret .= lj('', $rid . '_plug__2_icocss_icocss*j___inp', picto('reload')) . ' ';
$ret .= lj('', $rid . '_plug__2_icocss_icocss*build', picto('save')) . ' ';
return $ret;
}
示例6: udc_build
function udc_build($p)
{
if ($p == '1' && auth(6)) {
$r = udc_source();
}
$r = msql_read('users', 'ummo_umvoc_1', '', 1);
if ($r) {
foreach ($r as $k => $v) {
$ra[$v[0]] = $v;
}
}
ksort($ra);
if ($ra) {
foreach ($ra as $k => $v) {
//if(strpos($v[3],'Eyaoloowa')!==false){}
//$rb[$k][]=divc('title',$k);
$rb[$k][] = lj('', 'popup_plup___umvoc_ud*glossary_' . ajx($k), $k) . ' ';
$f = 'users/ummo/glyphes/' . strtoupper($k) . '.png';
$rb[$k][] = is_file($f) ? udc_imz($f, 6) : '';
//$rb[$k][]=is_file($f)?image('/'.$f,'',''):'';
$rb[$k][] = stripslashes($v[1]);
$rb[$k][] = lj('', 'popup_search___' . ajx($k), picto('search', 16));
$rb[$k][] = $v[3];
}
}
return make_table($rb);
}
示例7: msqmerge_menu
function msqmerge_menu($p, $o, $rid)
{
$p = $p ? $p : msqmerge_default();
$ret = input(1, 'inp', $p, '') . ' ';
$ret .= lj('', $rid . '_plug__2_msqmerge_msqmerge*j___inp', picto('reload')) . ' ';
return $ret;
}
示例8: pane_base
function pane_base($url, $suj, $frm, $day, $img, $msg, $alx)
{
static $id;
$id++;
//$msg=ereg_replace('width='."^[_a-zA-Z0-9.]+$","",$msg);//([[:digit:]]*)
$ara = array("<![CDATA[", "]]>");
$suj = str_replace($ara, " ", $suj);
$url = str_replace($ara, " ", $url);
$msg = str_replace($ara, " ", $msg);
if ($img != "") {
$gmi = '<img src="' . $img . '" class="imgl" border="0" height="72">';
}
$id_art = recognize_article($url, clean_title($suj), $alx);
//already_exists
if ($id_art) {
$opt .= popart($id_art);
} elseif ($_SESSION["USE"] == $_SESSION["qb"] or $_SESSION["auth"] > 3) {
$purl = ajx($url, '');
$opt .= ljb('txtx', 'SaveJ', 'popup_addArt___' . $purl . '_1', "save") . ' ';
//$opt.=ljb('txtbox','SaveIf',$purl,'save').' ';
$opt .= btd('btc' . $id, lj('txtx', 'btc' . $id . '_batch__xd_' . $purl . '_p', '+')) . ' ';
$opt .= ljb('txtx', 'Close', 'art' . $id, 'x');
}
$panout = array('sty' => 'tab', 'id' => $id, 'suj' => $suj, 'date' => $day, 'tag' => " ", 'opt' => $opt, 'thumb' => $gmi, 'msg' => $msg, 'url' => $url);
$ret = template_build(template_rss(), $panout);
return divd('article', $ret);
}
示例9: plug_keyboard
function plug_keyboard($id, $o)
{
if (!$id) {
$id = 'kbv';
}
$ret = lj('', 'popup_plup___keyboard_kb*j_' . $id, picto('i'));
return $ret;
}
示例10: plug_reader
function plug_reader($d)
{
//$ret=input(1,'furl',$d?$d:'Url','');
$ret = autoclic('furl', 'Url', '44', '1000" id="furl', '');
$ret .= lj('txtbox', 'ifru_plug___reader_readerurl___furl', "►");
$ret .= divd('ifru', '');
return $ret;
}
示例11: model_menu
function model_menu($p, $o, $rid)
{
$ret = select_j('inp', 'pfunc', '', 'model/model_r', '', '2');
//$ret.=togbub('plug','model_model*r',btn('popbt','select...'));
$ret .= inp('inp', $p) . ' ';
$ret .= lj('', $rid . '_plug__2_model_model*j___inp', picto('reload')) . ' ';
return $ret;
}
示例12: plug_ssh
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, '');
}
示例13: plug_mysqm
function plug_mysqm($p, $o)
{
$p = $p ? $p : db;
$ret .= input(1, 'inp', $p, '') . ' ';
$ret .= lj('', 'mqm_plug__2_mysqm_mq*tables___inp', picto('reload')) . ' ';
//$ret.=msqlink('',ses('qb').'_msqm').' ';
return $ret . divd('mqm', mq_tables($p, $o));
}
示例14: menu
static function menu($p, $o, $rid)
{
$ret = inp('inp', $p) . ' ';
$ret .= lj('', $rid . '_app__2_model_build___inp', picto('reload')) . ' ';
//$cols='ib,val,to';//create table, name cols
//$ret.=lj('','popup_plupin___msqedit_model*1_'.$cols,picto('edit'));
return $ret;
}
示例15: msqedit
function msqedit($p, $o)
{
$bt = lj('', 'popup_plup___msqedit_msqdt*add_' . ajx($p) . '_' . $o, pictxt('add')) . ' ';
$bt .= lj('', 'editmsql_plug__15_msqedit_msqdt*build_' . ajx($p) . '_' . $o, pictxt('refresh')) . ' ';
//$bt.=lj('txtx','editmsql_plug___msqedit_msqdt*herit*overmenus_'.ajx($p),'herit overmenus');
$bt .= msqlink('', ses('qb') . '_' . $p);
$_SESSION['popm'] = $bt;
return $bt . divd('editmsql', msqdt_build($p, $o));
}