本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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);
}
示例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);
}
示例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')));
}
示例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);
}
示例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');
}
示例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));
}
示例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);
}
示例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;
}
示例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));
}
示例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;
}
示例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);
}
示例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);
}