• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP txarea函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: admin_art_edit

function admin_art_edit($id)
{
    $msg = sql('msg', 'qdm', 'v', 'id=' . $id);
    $ath = data_val('msg', $id, 'authlevel');
    if ($ath > $_SESSION['auth']) {
        return popup('article ' . $id, nms(55));
    }
    //$msg=str_replace('['.ses('qb').'/','['.host().'/users/'.ses('qb').'/',$msg);
    //$msg=str_replace('['.ses('qb'),'['.host().'/img/'.ses('qb'),$msg);
    $j = 'popup_editbrut_edit' . $id . '_x_' . $id;
    if (auth(5)) {
        $ret = btn('', btd('bts', lj('popsav', $j, 'save'))) . ' ';
    }
    $ret .= lj('txtbox', 'pop_editbrut___' . $id, 'connectors') . ' ';
    $ret .= lj('txtbox', 'edit' . $id . '_delconn__4_' . $id, 'text') . ' ';
    $ret .= lj('txtbox', 'edit' . $id . '_conn2__4_' . $id, 'html') . ' ';
    $ret .= hlpbt('conn_pub') . br();
    $ret .= txarea('edit' . $id, $msg, 64, 20, 'console');
    return popup('article ' . $id, $ret);
}
开发者ID:philum,项目名称:cms,代码行数:20,代码来源:admin.php


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


示例3: cnvs_edit

function cnvs_edit($d, $id)
{
    $d = str_replace(' ', "\n", $d);
    //$d=utf8_decode($d);
    $ret .= lj('popbt', 'graph' . $id . '_plug___canvas_cnvs*iframe_' . $id . '__graphjs', 'see') . br();
    $ret .= txarea('" id="graphjs', $d, 50, 16);
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:8,代码来源:canvas.php


示例4: 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


示例5: connectors_menu

function connectors_menu($p, $o, $rid)
{
    $j = $rid . '_plug__2_connectors_connectors*j___inpconn1';
    $js = 'onkeyup="' . sj($j) . '" onclick="' . sj($j) . '"';
    $ret = txarea('inpconn1', $p, 54, 8, '' . $js) . ' ';
    //$ret.=lj('',$j,picto('reload')).' ';
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:8,代码来源:connectors.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: comp_menu

function comp_menu($p, $o, $rid)
{
    $ret .= lj('txtx', $rid . '_plug__2_comparetxt_comptxt*j_sentences__inp1', 'sentences') . ' ';
    $ret .= lj('txtx', $rid . '_plug__2_comparetxt_comptxt*j_lines__inp1', 'lines') . ' ';
    $ret .= lj('txtx', $rid . '_plug__2_comparetxt_comptxt*j_words__inp1', 'words') . br();
    $ex1 = "version.\nversion\nversion v f d";
    $ex2 = "version.\nversion\nversion v f b";
    $ret .= txarea('inp1', $ex1, 54, 8) . ' ';
    $ret .= txarea('inp2', $ex2, 54, 8) . ' ';
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:11,代码来源:comparetxt.php


示例8: plug_ifrm

function plug_ifrm($d, $o = '')
{
    $rid = randid();
    if ($o) {
        echo ifrgz('users/public/ifrm/');
    }
    $ret = txarea('ifru' . $rid, '', 60, 10);
    $ret .= lj('txtbox', $rid . '_plug___ifrm_ifrget___ifru' . $rid, "►") . br();
    $ret .= divd($rid, '');
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:11,代码来源:ifrm.php


示例9: plug_deploy

function plug_deploy($deploy)
{
    $qb = $_SESSION['qb'];
    $USE = $_SESSION['USE'];
    $raed = suj_of_id($deploy);
    $nl = $_GET['nl'] ? $_GET['nl'] : "nl";
    if ($deploy && $USE) {
        //prep
        list($qauth, $subj) = sql('name,suj', 'qda', 'r', 'id="' . $deploy . '"');
        $msg = sql('msg', 'qdm', 'v', 'id="' . $deploy . '"');
        if ($USE == $qauth or auth(5)) {
            $http = host();
            if (!$_POST['dpl']) {
                reqp('mail');
                $qmail = mail_list_tosend();
                $ret .= form("/?read={$deploy}&deploy={$deploy}&nl=nlb", txarea('dpl" maxlength="1000', $qmail, 40, 10) . br() . checkbox("dpf", "ok", "html", 1) . checkbox("multiple", "ok", "each_one", 1) . input2('submit', "send", nms(50), 'popbt'));
            } else {
                $htacc = urlread($deploy);
                $_SESSION['nl'] = $nl;
                //deploy
                if ($_POST['dpf'] == "ok") {
                    $mail_format = "html";
                    $txt = format_txt($msg, $nl, $deploy);
                    $txt = html_entity_decode($txt);
                    $txt = str_replace('href="/', 'href="' . $http . '/', $txt);
                    $msg = lkc("", $http . $htacc, bal("h2", $subj));
                    $msg .= divc("panel justy", $txt);
                } else {
                    $mail_format = "txt";
                    $msg = clean_internaltag($msg);
                    $msg = html_entity_decode($msg);
                }
                $_SESSION['nl'] = "";
                //send
                $sender = sql('mail', 'qdu', 'v', 'name="' . $USE . '"');
                $lstm = str_replace("\n", ",", $_POST['dpl']);
                $lstm = str_replace("\r", ",", $lstm);
                $listmail = explode(",", trim($lstm));
                if ($_POST['multiple'] == "ok" && is_array($listmail)) {
                    $sentto = send_mail_r($listmail, $mail_format, $qb . ' :: ' . $raed, $msg, $sender, $htacc);
                } else {
                    $sentto = $_POST['dpl'];
                    $vm = str_replace(array(",", ";", "\n", " "), ",", $sentto);
                    send_mail($mail_format, $vm, $qb . ' :: ' . $raed, $msg, $sender, $htacc);
                }
                $ret .= lkc("popbt", '/?read=' . $deploy, 'article ' . $deploy . ' sent to: ' . $sentto);
            }
        } else {
            $ret .= btn("popdel", "forbidden");
        }
    }
    //if($_POST['dpl'])return $ret;
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:54,代码来源:deploy.php


示例10: 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


示例11: plug_msqadd

function plug_msqadd($p, $o)
{
    $p = $p ? $p : '1';
    $bt .= balise('input', atd('type', 'text') . atd('nod') . atv($p) . ats('padding:4px;'), '', 1) . ' ';
    $bt .= lj('txtbox', 'cbk_plug___msqadd_msqadd*j_' . ajx($p) . '__nod|txt', 'save') . ' ';
    $bt .= btd('cbk', '') . br();
    //callback
    $bt .= txarea('txt', '', 60, 10, ats('font-size:medium; padding:4px; width:340px; height:300px;')) . br();
    $ret = msqadd_read('msqadd_' . $p);
    return $bt . divd('plugmsqadd', $ret);
}
开发者ID:philum,项目名称:cms,代码行数:11,代码来源:msqadd.php


示例12: plug_msqads

function plug_msqads($p, $o)
{
    $rid = 'plg' . randid();
    $p = $p ? $p : 'msqads';
    reqp('msql');
    $msq = new msql('', $p);
    //table
    $rb = array('day', 'quest', 'resp');
    $msq->create($rb);
    $ret .= input(1, $rb[0], $rb[0], '', 1) . br() . txarea($rb[1], '', 40, 4) . txarea($rb[2], '', 40, 4);
    $ret .= lj('txtbox', $rid . '_plug___msqads_msqads*j_' . $p . '__' . implode('|', $rb), 'save') . ' ';
    $ret .= msqlink('users', ses('qb') . '_' . $p);
    $msq->read('i');
    return $ret . divd($rid, make_table($msq->ret, 'txtblc', 'txtx'));
}
开发者ID:philum,项目名称:cms,代码行数:15,代码来源:msqads.php


示例13: plug_ftext

function plug_ftext($d, $tx)
{
    $nd = stext_log();
    $ra = msql_read('', $nd . '_txt_ftxt', '1');
    $msg = stripslashes($ra[1]);
    $msg = html_entity_decode_b($msg);
    if (!$ra && $nd) {
        msql_modif('users', $nd . '_txt_ftxt', array('day', 'text'), '', 'one', 1);
    }
    $ret .= btd('bts', lj('', 'bck_plug__xd_ftext_ftext*j_ftxt__ftxt', picto(save))) . ' ';
    $ret .= btd('bck', '') . hlpbt('ftext') . br();
    if (!$tx) {
        $ret .= txarea('ftxt', $msg, 54, 12);
    }
    return btd('plgtxt', $ret);
}
开发者ID:philum,项目名称:cms,代码行数:16,代码来源:ftext.php


示例14: plug_model

function plug_model($p, $o)
{
    $rid = 'plg' . randid();
    $p = $p ? $p : 'model';
    reqp('msql');
    $msq = new msql('', $p);
    //table
    $rb = array('title', 'text');
    $msq->create($rb);
    //cols
    $ret .= input(1, $rb[0], '', '', 20);
    $ret .= lj('txtbox', $rid . '_plug___model_model*j_' . $p . '__' . implode('|', $rb), 'save') . br();
    $ret .= txarea($rb[1], '', 40, 4);
    $ret .= msqlink('users', ses('qb') . '_' . $p);
    $msq->read('i');
    return $ret . divd($rid, make_table($msq->ret, 'txtblc', 'txtx'));
}
开发者ID:philum,项目名称:cms,代码行数:17,代码来源:model.php


示例15: 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


示例16: plug_htaccess

function plug_htaccess($d)
{
    $here = 'htaccess';
    $default = msql_read('system', 'default_htaccess', 1);
    $actual = read_file('.' . $here);
    if (!$actual or $d) {
        $actual = $default;
        $ret .= btn('txtyl', 'default_loaded') . br();
    }
    $ret .= picto('alert�24') . ' ' . btn('txtcadr', 'critical_operations') . ' ';
    $ret .= lj('txtbox', 'txt_plug__4_' . $here . '_' . $here . '*default', 'default') . ' ';
    $ret .= lj('txtbox', 'cbk_plug__xd_' . $here . '_' . $here . '*mkdefault___txt', 'backup') . ' ';
    $ret .= msqlink('system', 'default_htaccess') . ' ';
    $ret .= lkc('txtx', '.htaccess', 'link') . ' ';
    $ret .= hlpbt('htaccess') . ' ' . btd('cbk', '') . ' ';
    $ret .= btd('bts', lj('txtbox', 'cbk_plug__xd_' . $here . '_' . $here . '*j___txt', 'save')) . br() . br();
    $ret .= txarea('txt', $actual, 120, 26) . br();
    $ret .= lkt('txtblc', 'http://htaccess.madewithlove.be/', 'tests');
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:20,代码来源:htaccess.php


示例17: plug_stext

function plug_stext($d, $tx)
{
    $nd = stext_log();
    if ($d) {
        $ra = msql_read('', $nd . '_txt_' . $d, '');
    }
    $msg = stripslashes($ra[1][1]);
    $msg = html_entity_decode_b($msg);
    if ($d && !$ra && $nd) {
        msql_modif('users', $nd . '_txt_' . $d, array('title', ''), '', 'one', 1);
    }
    $ret .= st_paste($d) . ' ';
    if ($d) {
        $ret .= input('text', 'tit', stripslashes($ra[1][0])) . ' ';
    }
    $ret .= stx_btn($d, $nd, $tx) . br();
    if (!$tx) {
        $ret .= txarea('txtarea', $msg, 64, 20);
    }
    return btd('plgtxt', $ret);
}
开发者ID:philum,项目名称:cms,代码行数:21,代码来源:stext.php


示例18: slider_edit

function slider_edit($nod, $n)
{
    //name,mini,img,width,height,mini_w,mini_h,text,size,color,align,position,alpha
    $r = msql_read('gallery', $nod, $n);
    $get = $n . 'nam|' . $n . 'txt';
    $sets = slider_params();
    $sty = ' style="border:1px solid grey;"';
    $sets['size'][] = $r['size'];
    $sets['color'][] = $r['color'];
    $sets['alpha'][] = $r['alpha'];
    foreach ($sets as $k => $v) {
        $entry = $r[$k];
        $get .= '|' . $n . $k;
        //echo $r[$k];
        //$rb=batch_defil_kv($sets[$k],$entry,"vv");
        //$set.=balise("select",array(3=>$n.$k,"selected"=>$entry),$rb).' '.$k.br();
        $set .= select(array('id' => $n . $k), $sets[$k], 'vv', $entry) . ' ' . $k . br();
    }
    $ret = input2('text', '"' . $sty . ' size="17" id="' . $n . 'nam', $r['name'], '') . ' name' . br();
    $ret .= txarea('"' . $sty . ' id="' . $n . 'txt', $r['text'], 20, 3) . ' text' . br();
    $ret .= $set . br();
    $nodb = str_replace('_', '*', $nod);
    $rj = array('edit' . $n, 'plug', '', '', 'slider', 'slider*sav', $nodb, $n, $get);
    $ret .= call_func('popbt', $rj, 'Save') . ' ';
    $rj[7] = 'mdf-' . $n;
    $ret .= call_func('popbt', $rj, 'Apply to All') . ' ';
    $rj[7] = 'del-' . $n;
    $ret .= call_func('popbt', $rj, 'Delete') . ' ';
    $ret .= lj('popbt', 'edit' . $n . '_msqlcall___gallery_' . $nodb . '_' . $n . '_text', 'X');
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:31,代码来源:slider.php


示例19: spp_add

function spp_add($rid)
{
    $ret .= txarea('p1', '', 40, 1);
    $ret .= ljb('txtbox', 'SaveJb', 'add_plug__xd_superpoll_spp*sav_' . $rid . '__p1\',\'res_plug___superpoll_spp*table', 'save') . ' ';
    $ret .= ljb('txtyl', 'SaveJ', 'add_plug', 'x') . br() . br();
    //icon('close')
    return $ret;
}
开发者ID:philum,项目名称:cms,代码行数:8,代码来源:superpoll.php


示例20: fav_com_form

function fav_com_form($p, $o)
{
    return txarea('comv', $p, 44, 4, atb('placeholder', 'Api Command') . atz('44')) . br() . inp('comn', $o, atb('placeholder', 'name'));
}
开发者ID:philum,项目名称:cms,代码行数:4,代码来源:favs.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP txpMail函数代码示例发布时间:2022-05-23
下一篇:
PHP twoot_get_frontend_func函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap