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

PHP pwOutPut函数代码示例

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

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



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

示例1: list

    if ($action != 'unread') {
        $notReadCount = (int) $messageServer->countNoticesNotRead($winduid);
        list($today, $yesterday, $tTimes, $yTimes, $mTimes) = getSubListInfo($noticeList);
    }
    $pages = numofpage($noticeCount, $page, $pageCount, "{$normalUrl}&action={$action}&");
} elseif ($action == 'checkover') {
    S::gp(array('rid', 'dir'), 'GP');
    if ($dir == 'previous') {
        $message = $messageServer->getUpNotice($winduid, $rid, $smstype);
    } else {
        $message = $messageServer->getDownNotice($winduid, $rid, $smstype);
    }
    if ($message) {
        echo "success\t";
    } else {
        echo "over\t";
    }
    ajax_footer();
}
$messageServer->resetStatistics(array($winduid), 'notice_num');
!defined('AJAX') && (include_once R_P . 'actions/message/ms_header.php');
require messageEot($subtype);
if (defined('AJAX')) {
    ajax_footer();
} else {
    pwOutPut();
}
function messageReplace($v)
{
    return nl2br($v);
}
开发者ID:sherlockhouse,项目名称:aliyun,代码行数:31,代码来源:ms_notice.php


示例2: footer

/**
 * 输出页脚,并处理输出缓存中的内容
 */
function footer()
{
    global $db, $db_obstart, $db_footertime, $P_S_T, $mtablewidth, $db_ceoconnect, $wind_version, $imgpath, $stylepath, $footer_ad, $db_union, $timestamp, $db_icp, $db_icpurl, $db_advertdb, $groupid, $db_ystats_ifopen, $db_ystats_unit_id, $db_ystats_style, $pwServer, $db_ifcredit, $credit_pop, $db_foot, $db_mode, $db_modes, $shortcutforum, $_G, $winddb, $db_toolbar, $winduid, $db_menuinit, $db_appifopen, $db_job_ispop, $db_job_isopen, $db_siteappkey, $_Navbar, $db_statscode;
    defined('AJAX') && ajax_footer();
    $wind_spend = '';
    //$db_statscode = html_entity_decode($db_statscode);
    $ft_gzip = ($db_obstart ? 'Gzip enabled' : 'Gzip disabled') . $db_union[3];
    if ($db_footertime == 1) {
        $totaltime = number_format(pwMicrotime() - $P_S_T, 6);
        $qn = $db ? $db->query_num : 0;
        $wind_spend = "Total {$totaltime}(s) query {$qn},";
        //*Dev Code Start*//
        if ($GLOBALS['db_debug']) {
            include_once R_P . 'lang_change.php';
            $wind_spend .= "SQLtime:" . number_format($db->totaltime, 6);
            $wind_spend .= !function_exists('memory_get_usage') ? '' : ',Memory Usage:' . round(memory_get_usage() / 1024 / 1024, 4) . 'MB,';
            $_GET['debug'] && pwCache::writeover(D_P . "data/wind_spend.txt", SCR . ":\t" . $wind_spend . "\r\n", 'ab');
            $masterDb = $db->getMastdb();
            if ($masterDb->arr_query) {
                writeover(D_P . "data/sqllist.txt", $masterDb->arr_query, 'wb');
            }
        }
        //*Dev Code End*//
    }
    $ft_time = get_date($timestamp, 'm-d H:i');
    $db_icp && ($db_icp = "<a href=\"http://www.miibeian.gov.cn\" target=\"_blank\">{$db_icp}</a>");
    if ($db_toolbar) {
        if ($_COOKIE['toolbarhide']) {
            $toolbarstyle = 'style="display:none"';
            $openbarstyle = '';
            $closebarstyle = 'style="display:none"';
        } else {
            $toolbarstyle = '';
            $openbarstyle = 'style="display:none"';
            $closebarstyle = '';
            if ($db_appifopen) {
                $appshortcut = trim($winddb['appshortcut'], ',');
                if (!empty($appshortcut) && $db_siteappkey) {
                    $appshortcut = explode(',', $appshortcut);
                    $bottom_appshortcut = array();
                    $appclient = L::loadClass('appclient');
                    $bottom_appshortcut = $appclient->userApplist($winduid, $appshortcut, 1);
                }
            }
        }
    }
    $db_menuinit = trim($db_menuinit, ',');
    runJob();
    require PrintEot('footer');
    if ($db_advertdb['Site.PopupNotice'] || $db_advertdb['Site.FloatLeft'] || $db_advertdb['Site.FloatRight'] || $db_advertdb['Site.FloatRand']) {
        require PrintEot('advert');
    }
    pwOutPut();
}
开发者ID:sherlockhouse,项目名称:aliyun,代码行数:57,代码来源:global.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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