当前位置: 首页>>代码示例>>PHP>>正文


PHP ljb函数代码示例

本文整理汇总了PHP中ljb函数的典型用法代码示例。如果您正苦于以下问题:PHP ljb函数的具体用法?PHP ljb怎么用?PHP ljb使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了ljb函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: radio_edit

function radio_edit($nod, $dr, $md, $id = '')
{
    $id = $id ? $id : $_SESSION['read'];
    $nd = 'radio' . $id;
    if (!$nod) {
        $nod = $_SESSION['qb'] . '_' . $nd;
    }
    $nodb = str_replace('_', '*', $nod);
    if ($dr) {
        $ret .= radio_build($dr, $nod);
    }
    $r = msql_read('radio', $nod, '');
    $ret .= msqlink('radio', $_SESSION['qb'] . '_' . $nd);
    if ($r[$md]) {
        foreach ($r[$md] as $k => $v) {
            $ky .= $md . '.' . $k . '|';
            $edit .= input2('text', '"id="' . $md . '.' . $k, $v) . btn('txtsmall', $r['_menus_'][$k]) . br();
        }
        $edit .= ljb('popbt', 'SaveR', 'popup_radiosav_' . $nodb . '__' . $k . '\',\'' . $ky, 'save');
    }
    $ret .= divc('edit', $edit);
    if ($r) {
        foreach ($r as $k => $v) {
            foreach ($v as $ka => $va) {
                $datas[$k][] = $va;
            }
            if ($k != '_menus_' && $k != $md) {
                $datas[$k][] = ljb('popbt', 'SaveJ', 'popup_radioedit___' . $nodb . '__' . $k, 'edit');
            }
        }
    }
    $ret .= make_divtable($datas);
    return popup('build_playlist', $ret);
}
开发者ID:philum,项目名称:cms,代码行数:34,代码来源:radio.php

示例2: ascii_j

function ascii_j($p, $o, $res = '')
{
    list($p, $o) = ajxp($res, $p, $o);
    //build
    if ($o) {
        $ret = ascii_arr($o);
        $r = explode(' ', $o);
    } else {
        if ($p) {
            list($start, $length) = split("-", $p);
        } else {
            $start = 128;
            $length = 1000;
        }
        for ($i = $start; $i <= $start + $length; $i++) {
            $r[] = $i;
        }
        $ret .= ascii_menu($start, $length);
    }
    //signs
    foreach ($r as $k => $v) {
        if ($v) {
            $bt .= ljb('', 'insert', $v . ' ', chr_b($v)) . ' ';
        }
    }
    $ret .= divs('font-size:medium; line-height:140%;', $bt);
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:28,代码来源:ascii.php

示例3: kb_build

function kb_build($id, $o)
{
    if ($o) {
        $r = array('²1234567890°+', 'AZERTYUIOP¨£', 'QSDFGHJKLM%µ', 'WXCVBN?./§', '~#{[|`\\^@]}€<>');
    } else {
        $r = array('&é"\'(-è_çà)=', 'azertyuiop^$', 'qsdfghjklmù*', 'wxcvbn,;:!');
    }
    $cap = lj($o ? 'active' : '', 'kbd_plug___keyboard_kb*build_' . $id . '_' . yesno($o), picto('up'));
    foreach ($r as $v) {
        $ra = strsplit($v);
        $i++;
        foreach ($ra as $va) {
            $ret .= lja('popbt', 'insert_b(\'' . $va . '\',\'' . $id . '\')', $va) . ' ';
        }
        if ($i == 1) {
            $ret .= ljb('popw', 'conn', $id . '_del', picto('no'));
        }
        if ($i == 2) {
            $ret .= ljb('popw', 'insert_b', '\\n\',\'' . $id, picto('back'));
        }
        if ($i == 3) {
            $ret .= $cap;
        }
        if ($i == 4) {
            $ret .= lja('popbt', 'insert_b(\' \',\'' . $id . '\')', '--');
        }
        $ret .= br();
    }
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:30,代码来源:keyboard.php

示例4: 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);
}
开发者ID:philum,项目名称:cms,代码行数:27,代码来源:rssin.php

示例5: book_pages

function book_pages($id, $rid)
{
    $ret .= ljb('', 'autoread', $id . '\',\'' . $rid, picto('play')) . ' ';
    $ret .= ljb('', 'clearTimeout(timer)', '', picto('no')) . ' ';
    $ret .= ljb('', 'scrollt', '2\',\'' . $rid, picto('up')) . ' ';
    $ret .= ljb('', 'scrollt', '1\',\'' . $rid, picto('down'));
    return divs('', $ret);
}
开发者ID:philum,项目名称:cms,代码行数:8,代码来源:book.php

示例6: exc_fast

function exc_fast()
{
    $ref = array('{}', '[]', 'if()', 'foreach($r as $k=>$v)', '$ret=;', 'strpos($d,\'x\')!==false', 'return $ret;', '.br()', 'echo \'ee\';', "\r");
    foreach ($ref as $k => $v) {
        $ret .= ljb('txtx', 'insert', $v, $v) . br();
    }
    return divs('width:180px; overflow:auto; height:240px;', $ret);
}
开发者ID:philum,项目名称:cms,代码行数:8,代码来源:exec.php

示例7: plug_memstorage

function plug_memstorage($d)
{
    Head::add('jscode', mstr_j());
    $ret .= ljb('txtbox', 'mem_recap()', '', 'echo') . br() . br();
    $ret .= divd('cbk', '') . br();
    //$ret.=txarea('cbk','',60,10);
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:8,代码来源:memstorage.php

示例8: np_sav

function np_sav($d, $id)
{
    $ret = hidden('', 'cka', 'm' . $d);
    for ($i = 1; $i <= 7; $i++) {
        $c = $i == $d ? 'active' : '';
        $ret .= ljb($c . '" id="ckb' . $i, 'mem_storage', $id . '_m' . $i . '_1_1_ckb' . $i . '_memnu', $i);
    }
    $ret .= ljb('" id="ckc', 'mem_storage', $id . '_cka__1_ckc', 'save');
    return span(atc('nbp') . atd('memnu'), $ret) . hlpbt('memstorage');
}
开发者ID:philum,项目名称:cms,代码行数:10,代码来源:notepad.php

示例9: plug_cssedit

function plug_cssedit($p, $o)
{
    $r = f_inp_edit_css_conn();
    foreach ($r as $k => $v) {
        foreach ($v as $ka => $va) {
            $ret[$k] .= ljb('', "insert_b", $va . '\',\'cssarea' . $p, $va) . br();
        }
    }
    return make_tabs($ret, '', 'nbp');
}
开发者ID:philum,项目名称:cms,代码行数:10,代码来源:cssedit.php

示例10: pictos_see

function pictos_see($id)
{
    $r = explore('imgb/icons/svg/noun');
    asort($r);
    foreach ($r as $k => $v) {
        $im = svg('/noun/' . substr($v, 0, -4) . '§24') . ' ';
        $ret .= ljb('popbt', 'jumpvalue', $id . '_noun/' . $v, $im) . ' ';
    }
    return divd('scroll', $ret);
}
开发者ID:philum,项目名称:cms,代码行数:10,代码来源:pictos.php

示例11: embed_li_dsnav

function embed_li_dsnav($d, $v, $isr)
{
    $_SESSION["nbsd"]++;
    $ds = $_SESSION["ds"];
    $qb = $_SESSION['qb'];
    $xt = substr($v, -4);
    if ($v) {
        $f = $d . '/' . $v;
    } else {
        $f = $d;
    }
    if ($xt == ".jpg" or $xt == ".png" or $xt == ".gif") {
        $img = make_thumb_c($f);
        if (is_file($f)) {
            list($w, $h) = getimagesize($f);
        }
        $ww = '_' . $w . '_' . $h;
    }
    $f = str_replace(array('users/', 'imgb/icons/'), '', $f);
    $fb = ajx($f, 0);
    if (is_numeric($ds)) {
        //bkg
        if ($isr) {
            $ret = lj("popbt", 'bkg' . $ds . '_dsnav___' . $fb . '_bkg', $v);
        } else {
            list($w, $h) = getimagesize($f);
            $tx = $v . ' (' . $w . ' * ' . $h . ')';
            //if(is_file($f))
            $ret = lj('', 'css' . $ds . '_stylsav___' . $fb . '_' . $ds . '_2', $img . $tx) . hr();
        }
    }
    if ($ds == "gl") {
        if ($isr) {
            $ret = lj("popbt", 'popup_gallery__3x_' . $fb, $v);
        }
    }
    //photo
    if ($ds == "dl") {
        $dlm = $_SESSION['qb'] . '/' . $_SESSION['dlmod'];
        //dwnl
        if ($isr) {
            $ret = lj("popbt", 'dsnavds_dsnav___' . $fb . '_users/' . $dlm, $v);
        } elseif ($img) {
            $ret = ljb("popw", 'SaveBf', 'photo_users/' . $fb . $ww, $img . $v);
        } else {
            $ret = lkt("popw", $d . '/' . $v, $img . $v);
        }
    }
    if ($ds == "ic" && !$isr) {
        return $ret;
    } elseif ($ret) {
        return '&#9500;' . $ret . br();
    }
}
开发者ID:philum,项目名称:cms,代码行数:54,代码来源:dsnav.php

示例12: np_sav

function np_sav($d, $id)
{
    $ret = hidden('', 'cka', 'm' . $d);
    for ($i = 1; $i <= 9; $i++) {
        $c = $i == $d ? 'active' : '';
        $ret .= ljb('' . $c . '" id="ckb' . $i, 'mem_storage', $id . '_m' . $i . '_1_1_ckb' . $i . '_memnu', $i);
    }
    $ret .= ljb('" id="ckc', 'mem_storage', $id . '_cka__1_ckc', nms(57));
    $ret .= lj('', 'popup_plup___pad_pad*write___' . $id . '', picto('export'));
    return divc('nb_pages', divd('memnu', $ret . hlpbt('memstorage')));
}
开发者ID:philum,项目名称:cms,代码行数:11,代码来源:pad.php

示例13: plug_sticky

function plug_sticky($d)
{
    $d = $d != '' ? $d : 1;
    $id = 'np' . randid();
    $ret = hidden('', 'cka', 'm' . $d);
    $ret .= ljb('poph" id="ckb', 'mem_storage', $id . '_m' . $d . '_1_1_ckb' . $d, picto('reload'));
    //$ret.=ljb('popbt" id="ckc','mem_storage',$id.'_m'.$d.'__1_ckc','save');
    //$ret.=ljb('popbt" id="ckb'.$d,'mem_storage',$id.'_m'.$d.'_1_1_ckb'.$d.'_memnu','restore');
    $ret .= ljb('poph" id="ckc', 'mem_storage', $id . '_cka__1_ckc', pictit('save', 'save'));
    $ret = divs('float:right;', $ret);
    $ret .= divedit($id, '', 'height:240px; overflow:auto; padding:10px;', $j, $txt);
    $ret .= js_code('document.getElementById(\'' . $id . '\').innerHTML=localStorage[\'m' . $d . '\']');
    return popup_stick($ret);
}
开发者ID:philum,项目名称:cms,代码行数:14,代码来源:sticky.php

示例14: mail_prep

function mail_prep($id)
{
    $r = mail_mails();
    if ($_SESSION['auth'] < 3) {
        $r = array($_SESSION['qbin']['adminmail'] => 1);
    }
    if ($r) {
        ksort($r);
        foreach ($r as $k => $v) {
            $j = 'jumpvalue(\'' . $id . '_' . addslashes($k) . '\'); Close(\'popup\');';
            $ret .= ljb('txtx', $j, '', str_extract('@', $k, 0, 0)) . ' ';
        }
        return divc('nb_pages', $ret);
    }
}
开发者ID:philum,项目名称:cms,代码行数:15,代码来源:mail.php

示例15: msqlxread

function msqlxread()
{
    $page = $_GET['page'] ? $_GET['page'] : 1;
    $npg = 10;
    require 'plug/microxml.php';
    $min = ($page - 1) * $npg;
    $max = $page * $npg;
    $i = 0;
    $site = 'http://philum.net';
    //$site=philum();//father_server
    $r = clkt($site . '/msql/clients/philum_tickets');
    unset($r['_menus_']);
    if ($r) {
        foreach ($r as $k => $v) {
            //array('host','hub','msg','day','ip')
            if ($v[0] == $_SERVER['HTTP_HOST'] && $v[1] == ses('qb')) {
                $del = lj('txtyl', 'tickets_plug___tickets_tickets*j_' . $k . '_x', 'x');
            } else {
                $del = '';
            }
            $answ = ljb('popbt', 'jumpMenu_text', 'tckansw_' . ($v[5] ? $v[5] : $k), nms(91));
            $rb[$k] .= btn('txtsmall2', $v[3]) . ' ';
            $rb[$k] .= lkc('txtsmall', 'http://' . $v[0] . '/' . $v[1], $v[1]) . ' ';
            if (!$v[5]) {
                $rb[$k] .= $answ . ' ';
            }
            $rb[$k] .= $del . br();
            $msg = $v[2];
            if (!function_exists('correct_txt')) {
                req('tri,pop,spe');
            }
            //$msg=correct_txt($msg,'','sconn');
            if ($i >= $min && $i < $max) {
                $msg = miniconn($msg);
            }
            $i++;
            $rb[$k] .= divc('" style="width:400px;', nl2br(stripslashes($msg))) . br();
            if ($v[5]) {
                $rb[$v[5]] .= div(ats('margin-left:40px;'), $rb[$k]);
                unset($rb[$k]);
            }
        }
    }
    if ($rb) {
        rsort($rb);
    }
    return by_pages($rb, $page);
}
开发者ID:philum,项目名称:cms,代码行数:48,代码来源:tickets.php


注:本文中的ljb函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。