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


PHP magicshowtips函数代码示例

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


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

示例1: show

 function show()
 {
     $id = intval($_GET['id']);
     $idtype = $_GET['idtype'];
     magic_check_idtype($id, $idtype);
     magicshowtips(lang('magic/call', 'call_info'));
     $op = 'use';
     include template('home/magic_call');
 }
开发者ID:MCHacker,项目名称:discuz-docker,代码行数:9,代码来源:magic_call.php

示例2: show

 function show()
 {
     global $_G;
     $id = intval($_GET['id']);
     $idtype = $_GET['idtype'];
     magic_check_idtype($id, $idtype);
     magicshowtips(lang('magic/updateline', 'updateline_info'));
     echo '<p><input type="hidden" name="id" value="' . $id . '" /><input type="hidden" name="idtype" value="' . $idtype . '" /></p>';
 }
开发者ID:tang86,项目名称:discuz-utf8,代码行数:9,代码来源:magic_updateline.php

示例3: show

 function show()
 {
     $id = intval($_GET['id']);
     $idtype = $_GET['idtype'];
     $blog = magic_check_idtype($id, $idtype);
     magicshowtips(lang('magic/downdateline', 'downdateline_info'));
     $time = dgmdate($blog['dateline'], 'Y-m-d H:i');
     $op = 'use';
     include template('home/magic_downdateline');
 }
开发者ID:softhui,项目名称:discuz,代码行数:10,代码来源:magic_downdateline.php

示例4: show

 function show()
 {
     global $_G;
     $num = !empty($this->parameters['num']) ? intval($this->parameters['num']) : 10;
     magicshowtips(lang('magic/gift', 'gift_info', array('num' => $num)));
     $extcredits = array();
     foreach ($_G['setting']['extcredits'] as $id => $credit) {
         $extcredits['extcredits' . $id] = $credit['title'];
     }
     $op = 'show';
     include template('home/magic_gift');
 }
开发者ID:dalinhuang,项目名称:hlwbbsvincent,代码行数:12,代码来源:magic_gift.php

示例5: show

    function show()
    {
        global $_G;
        magicshowtips(lang('magic/doodle', 'doodle_info'));
        echo <<<SCRIPT
<p>
\t<input type="hidden" name="showid" value="{$_GET['showid']}" />
\t<input type="hidden" name="mtarget" value="{$_GET['target']}" />
\t<input type="hidden" name="from" value="{$_GET['from']}" />
</p>
SCRIPT;
    }
开发者ID:pan289091315,项目名称:Discuz,代码行数:12,代码来源:magic_doodle.php

示例6: show

    function show()
    {
        global $_G;
        $id = intval($_GET['id']);
        $idtype = $_GET['idtype'];
        $blog = magic_check_idtype($id, $idtype);
        if (DB::result(DB::query('SELECT COUNT(*) FROM ' . DB::table('common_magiclog') . " WHERE action='2' AND uid = '{$_G['uid']}' AND targetid = '{$id}' AND idtype = '{$idtype}' AND magicid = '{$this->magic[magicid]}'"), 0)) {
            showmessage("magicuse_object_once_limit");
        }
        $num = !empty($_G['setting']['feedhotmin']) ? intval($_G['setting']['feedhotmin']) : 3;
        magicshowtips(lang('magic/hot', 'hot_info', array('num' => $num)));
        echo <<<HTML
<p>
\t<input type="hidden" name="id" value="'.{$id}.'" />
\t<input type="hidden" name="idtype" value="'.{$idtype}.'" />
</p>
HTML;
    }
开发者ID:Kingson4Wu,项目名称:php_demo,代码行数:18,代码来源:magic_hot.php

示例7: show

    function show()
    {
        global $_G;
        $id = intval($_GET['id']);
        $idtype = $_GET['idtype'];
        $blog = magic_check_idtype($id, $idtype);
        if (C::t('common_magiclog')->count_by_action_uid_targetid_idtype_magicid(2, $_G['uid'], $id, $idtype, $this->magic['magicid'])) {
            showmessage('magicuse_object_once_limit');
        }
        $num = !empty($_G['setting']['feedhotmin']) ? intval($_G['setting']['feedhotmin']) : 3;
        magicshowtips(lang('magic/hot', 'hot_info', array('num' => $num)));
        echo <<<HTML
<p>
\t<input type="hidden" name="id" value="'.{$id}.'" />
\t<input type="hidden" name="idtype" value="'.{$idtype}.'" />
</p>
HTML;
    }
开发者ID:MCHacker,项目名称:discuz-docker,代码行数:18,代码来源:magic_hot.php

示例8: showmagic

function showmagic()
{
    global $lang;
    magicshowtips($lang['NEW_info'], $lang['option']);
}
开发者ID:lilhorse,项目名称:cocoa,代码行数:5,代码来源:magic_new.inc.php

示例9: buy

 function buy()
 {
     global $_G;
     if (!empty($_GET['id'])) {
         $thread = getpostinfo($_GET['id'], 'tid', array('fid'));
         $this->_check($thread['fid']);
     }
     $this->parameters['expiration'] = $this->parameters['expiration'] ? intval($this->parameters['expiration']) : 1;
     magicshowtips(lang('magic/jack', 'jack_info', array('expiration' => $this->parameters['expiration'])));
 }
开发者ID:dalinhuang,项目名称:healthshop,代码行数:10,代码来源:magic_jack.php

示例10: show

 function show()
 {
     global $_G;
     $id = !empty($_GET['id']) ? dhtmlspecialchars($_GET['id']) : '';
     $idtype = !empty($_GET['idtype']) ? dhtmlspecialchars($_GET['idtype']) : '';
     if ($idtype == 'pid') {
         list($id, $_G['tid']) = explode(':', $id);
         if ($id && $_G['tid']) {
             $post = getpostinfo($id, 'pid', array('p.fid', 'p.authorid'));
             $this->_check($post);
         }
     }
     magicshowtype('top');
     magicshowtips(lang('magic/namepost', 'namepost_desc'));
     magicshowtips(lang('magic/namepost', 'namepost_num', array('magicnum' => $this->magic['num'])));
     magicshowsetting('', 'id', $id, 'hidden');
     magicshowsetting('', 'idtype', $idtype, 'hidden');
     if ($idtype == 'pid') {
         magicshowsetting('', 'ptid', $_G['tid'], 'hidden');
     }
     magicshowtype('bottom');
 }
开发者ID:softhui,项目名称:discuz,代码行数:22,代码来源:magic_namepost.php

示例11: show

 function show()
 {
     magicshowtips(lang('magic/thunder', 'thunder_info'));
 }
开发者ID:pan289091315,项目名称:Discuz,代码行数:4,代码来源:magic_thunder.php

示例12: show

 function show()
 {
     global $_G;
     $num = !empty($this->parameters['num']) ? intval($this->parameters['num']) : 10;
     magicshowtips(lang('magic/detector', 'detector_info', array('num' => $num)));
 }
开发者ID:tang86,项目名称:discuz-utf8,代码行数:6,代码来源:magic_detector.php

示例13: show

 function show()
 {
     magicshowtips(lang('magic/attachsize', 'attachsize_info', array('num' => intval($this->parameters['addsize']))));
 }
开发者ID:dalinhuang,项目名称:hlwbbsvincent,代码行数:4,代码来源:magic_attachsize.php

示例14: show

 function show()
 {
     global $_G;
     $num = !empty($this->parameters['num']) ? intval($this->parameters['num']) : 10;
     magicshowtips(lang('magic/visit', 'visit_info', array('num' => $num)));
     $op = 'use';
     include template('home/magic_visit');
 }
开发者ID:softhui,项目名称:discuz,代码行数:8,代码来源:magic_visit.php

示例15: show

 function show()
 {
     global $_G;
     magicshowtips(lang('magic/flicker', 'flicker_info'));
 }
开发者ID:dalinhuang,项目名称:hlwbbsvincent,代码行数:5,代码来源:magic_flicker.php


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