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


PHP atc函数代码示例

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


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

示例1: trk_redit

function trk_redit($id)
{
    $msg = sql('msg', 'qdi', 'v', 'id=' . $id);
    $ret = lj('popsav', 'trk' . $id . '_trkedit_trkedit_x_' . $id . '', 'save') . btd('bts', '') . ' ';
    $ret .= micro_connedit('trkedit') . br() . txarea('trkedit', $msg, 80, 16, atc('console')) . br();
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:7,代码来源:tracks.php

示例2: slide

 static function slide($r, $p, $rid)
 {
     $j = $rid . '_class___toposlides_j_';
     $v = $r[$p];
     if ($v[0]) {
         $bt1 = lj('', $j . $v[0] . '_' . $rid . '_inp', pictxt('left', $v[0])) . ' ';
     }
     //parent
     if ($v[2]) {
         $bt3 = lj('', $j . $v[2] . '_' . $rid . '_inp', pictxt('down', $v[2])) . ' ';
     }
     //end
     foreach ($r as $ka => $va) {
         if ($va[2] == $p) {
             $bt2 = lj('', $j . $ka . '_' . $rid . '_inp', pictxt('up', $ka)) . ' ';
         }
         //begin
         if ($va[0] == $p) {
             $bt4 .= lj('', $j . $ka . '_' . $rid . '_inp', pictxt('right', $ka)) . ' ';
         }
     }
     $bt = divc('', $bt1 . $bt2 . $bt3 . $bt4 . $bt0);
     //$cell=div(atc('imgl').ats('width:36px'),$bt1.$bt2.$bt3.$bt4);
     $ret = nl2br(stripslashes_b($v[1]));
     $cell = div(ats('margin:auto;'), $ret);
     $ret = $bt . div(atc('book') . ats('display:flex; min-height:300px; width:94%;'), $cell);
     return $ret;
 }
开发者ID:philum,项目名称:cms,代码行数:28,代码来源:toposlides.php

示例3: html_menu

function html_menu($p, $o, $rid)
{
    $j = $rid . '_plug__2_html_html*j___inp';
    $sj = 'SaveJ(\'' . $j . '\')';
    $ret = divc('" onkeyup="' . $sj . '" onclick="' . $sj, txarea('inp', $p, 60, 10, atc('console'))) . ' ';
    //$ret.=lj('',$j,picto('reload'));
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:8,代码来源:html.php

示例4: environ_art

function environ_art($id)
{
    //return icoart($ib,'','icones');
    $lj = lj('', 'popup_plup___environ_environ*build_' . $id, picto('get'));
    $lk = lk(urlread($id), atc(''), picto('url'));
    $lp = popart($id, '', suj_of_id($id));
    //$ln=pane_art($id);
    return divc('', $lp . ' ' . $lk . ' ' . $lj);
}
开发者ID:philum,项目名称:cms,代码行数:9,代码来源:environ.php

示例5: plug_poll

function plug_poll($p, $o)
{
    if ($p == 'init') {
        poll_init();
    }
    if ($p) {
        $ret = poll_menu($p);
    }
    return span(atd('poll' . $p) . atc('small'), $ret);
}
开发者ID:philum,项目名称:cms,代码行数:10,代码来源:poll.php

示例6: plug_imtx

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')));
}
开发者ID:philum,项目名称:cms,代码行数:10,代码来源:imtx.php

示例7: fav_render_cols

function fav_render_cols($r)
{
    req('spe');
    if ($r) {
        foreach ($r as $id => $v) {
            $ret .= fav_art($id);
        }
    }
    return div(atc('cols') . ats('width:640px;'), $ret);
}
开发者ID:philum,项目名称:cms,代码行数:10,代码来源:favs.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_social

function plug_social($p, $o)
{
    $rid = 'plg' . randid();
    $j = $rid . '_plug__2_social_social*j___txtareb';
    $sj = 'SaveJ(\'' . $j . '\')';
    $ret .= input(1, 'search', $p, '') . ' ';
    $ret .= txarea('txtareb', $p, 61, 18, atc('console') . atb('onkeyup', $sj) . atb('onclick', $sj));
    $ret .= lj('', $j, picto('reload')) . ' ';
    //$ret.=msqlink('clients',ses('qb').'_social').' ';
    return $ret . divd($rid, social_j($p, $o));
}
开发者ID:philum,项目名称:cms,代码行数:11,代码来源:social.php

示例10: umtoa_build

function umtoa_build()
{
    $r = ummo_toa();
    $ratio = 10;
    foreach ($r as $k => $v) {
        list($aeon, $xee, $txt, $pos, $height, $year) = $v;
        $date = 'Ere ' . $aeon . ' / Xee ' . $xee . ' (' . $year . ') ';
        //$top='top:'.($pos/$ratio+40).'px; ';
        $sty = 'height:' . $height / $ratio . 'px;';
        $css = 'hline ' . ($txt == 'Nuit Noire' ? 'aeonblack' : 'aeon' . $aeon);
        $ret .= div(atc($css) . ats($sty), $date . $txt);
    }
    return div(atc('vline') . ats('height:' . (($pos + $height) / $ratio + 40) . 'px;'), $ret);
}
开发者ID:philum,项目名称:cms,代码行数:14,代码来源:umtoa.php

示例11: slide

 static function slide($r, $p, $rid)
 {
     $j = $rid . '_class___slides_j_';
     $v = $r[$p];
     if ($r[$p - 1]) {
         $bt1 = lj('', $j . ($p - 1) . '_' . $rid . '_inp', pictxt('left', $p - 1)) . ' ';
     }
     if ($r[$p + 1]) {
         $bt2 = lj('', $j . ($p + 1) . '_' . $rid . '_inp', pictxt('right', $p + 1)) . ' ';
     }
     $bt = divc('', $bt1 . $bt2);
     $ret = nl2br(stripslashes_b($v[0]));
     $cell = div(ats('margin:auto;'), $ret);
     $ret = $bt . div(atc('book') . ats('display:flex; min-height:300px; width:94%;'), $cell);
     return $ret;
 }
开发者ID:philum,项目名称:cms,代码行数:16,代码来源:slides.php

示例12: popup

function popup($t, $d, $w = '', $p = '')
{
    if ($w) {
        $s = 'max-width:' . ($w + 16) . 'px;';
    }
    if ($p == 1) {
        $p = lj('', 'page_deskbkg', picto('desktop')) . ' ';
    }
    if ($p == 2) {
        $p = ljb('', 'pagrepos()', '', picto('expand')) . ' ';
    }
    $popa = popa($t, $p, $s);
    $_SESSION['popm'] = '';
    // onresize="poprepos()"
    return div(atc('popup') . ats($s) . atb('onmouseup', 'stop_drag(event)'), $popa . div(atd('popu') . atc('popu'), $d));
}
开发者ID:philum,项目名称:cms,代码行数:16,代码来源:ajax.php

示例13: plug_gallery

function plug_gallery($q)
{
    if ($q == "gl") {
        $q = "";
    }
    $img_d = sql('img', 'qda', 'v', 'id="' . $_SESSION['read'] . '"');
    $img_d = substr($img_d, 0, 1) == '/' ? substr($img_d, 1) : $img_d;
    $img_d = str_replace("/", ",", $img_d);
    if ($q == "auto") {
        $s = "";
    } elseif ($q == "manual") {
        $s = $q;
        $imgs = str_replace(",", ",\n", $img_d);
    } elseif ($q == "dir") {
        $s = $q;
        $dirs = br() . plugin('dsnav', 'gl', 'users/' . $_SESSION['qb']);
    } else {
        $s = $q;
    }
    $ret .= bal("b", "source:") . ' ';
    if (!$q) {
        //gallerygl
        if ($img_d) {
            $ret .= lj('popbt', 'popup_gallery__x_auto', "auto") . ' ';
            $ret .= lj('popbt', 'popup_gallery__x_manual', "manual") . ' ';
        }
        $ret .= lj('popbt', 'popup_gallery__x_dir', "user/directory");
    } else {
        $ret .= lj("popbt", 'popup_gallery', $q == "dir" ? "user_directory" : $q);
    }
    if ($imgs) {
        $ret .= br() . txarea('dpl', $imgs, 40, 10, atd('source') . atc('popw') . ats('border:1px solid black'));
    }
    //pb name=src
    if ($dirs) {
        $ret .= $dirs;
    }
    if ($q != "dir" && $q) {
        $ret .= br() . bal("b", "type:") . ' ';
        $ret .= ljb("popbt", "insert_photo", $s . '\',\'', "Thumbnails") . ' ';
        $ret .= ljb("popbt", "insert_photo", $s . '\',\'2', "Ajax") . ' ';
        $ret .= ljb("popbt", "insert_photo", $s . '\',\'1', "Flash") . ' ';
        $ret .= lj("popbt", 'popup_slider_' . ($s == 'manual' ? 'source' : '') . '_3x_' . $s . '_' . $_SESSION['read'], "Slider") . ' ';
    }
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:46,代码来源:gallery.php

示例14: mini_empty

function mini_empty($prm)
{
    list($w, $h) = split("/", prmb(27));
    $out = 'imgc/' . ses('qb') . '_empty.jpg';
    $clr = $_SESSION['clrs'][$_SESSION['prmd']][1];
    if (!$prm or $prm == 'nl') {
        $c = atc('imgl');
    }
    if (!file_exists($out) or $_GET['rebuild_img']) {
        graphics($out, $w, $h, '', $clr, '');
    }
    return image($out, '', '', $c);
}
开发者ID:philum,项目名称:cms,代码行数:13,代码来源:spe.php

示例15: plug_converts

function plug_converts($p)
{
    $rid = 'plg' . randid();
    $bt = conv_menu($p, $o, $rid);
    $ret = conv_j($p, $o);
    return $bt . div(atd($rid) . atc(''), $ret);
}
开发者ID:philum,项目名称:cms,代码行数:7,代码来源:converts.php


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