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


PHP notifications::getMessTip方法代码示例

本文整理汇总了PHP中notifications::getMessTip方法的典型用法代码示例。如果您正苦于以下问题:PHP notifications::getMessTip方法的具体用法?PHP notifications::getMessTip怎么用?PHP notifications::getMessTip使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在notifications的用法示例。


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

示例1: isset

        $last_emp_new_messages_pid = projects_offers_dialogue::FindLastMessageProjectForEmp($_SESSION['uid']);
    } else {
        $last_emp_new_messages_pid = $_SESSION['lst_emp_new_messages']['pid'];
    }
} else {
    $last_emp_new_messages_pid = false;
}
$_SESSION['lst_emp_new_messages']['cnt'] = $cnt_emp_new_messages;*/
//$asw_w = 205; // ширина переключателя аккаунтов (см. использование здесь и в acc_switch.php).
$anti_login = $_SESSION['anti_uid'] ? $_SESSION['anti_login'] : 'Логин';
$projects_active = $grey_main && $kind != 8 && $kind != 2 && $kind != 4;
$konkurs_active = $grey_main && $kind == 2;
$vacancy_active = $grey_main && $kind == 4;
$grey_catalog = isset($grey_catalog) && @$grey_catalog == 1;
//Уведомления ЛС
$tip_msg = notifications::getMessTip();
//Уведомления по БС
$tip_sbr = notifications::getAllSbrTip();
$link_sbr = '/' . sbr::NEW_TEMPLATE_SBR . '/';
//Уведомления гуповое по проектам и заказам
//$tip_group = notifications::getEmpGroupTip();
//Уведомления и ссылки для Проектов
$tip_prj = notifications::getProjectsTipEmp();
//Уведомления и ссылки для Заказов ТУ
if (@$_SESSION['tu_orders']) {
    $tip_tu = notifications::getTServicesOrdersTip();
}
$account_sum_is_plus = $_SESSION['ac_sum'] >= 0;
$account_sum_format = view_account_format();
?>
<script type="text/javascript">
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:personal_emp.php

示例2: iconv

         $tip = notifications::getProjectsTipFrl();
     }
     if ($tip === null) {
         $out['prj']['success'] = false;
     } else {
         $out['prj']['success'] = true;
         $out['prj']['tip'] = iconv('CP1251', 'UTF-8', $tip['tip']);
         $out['prj']['count'] = $tip['count'];
         $out['prj']['count_html'] = view_event_count_format($tip['count']);
         $out['prj']['link'] = $tip['link'];
     }
 }
 // новые сообщения
 if (in_array('msg', $op)) {
     $out['msg'] = array();
     $tip = notifications::getMessTip(true);
     if ($tip === null) {
         $out['msg']['success'] = false;
     } else {
         $out['msg']['success'] = true;
         $out['msg']['count'] = $tip['count'];
         $out['msg']['count_html'] = view_event_count_format($tip['count']);
         $out['msg']['tip'] = iconv('CP1251', 'UTF-8', $tip['tip']);
     }
 }
 // события в сбр
 if (in_array('sbr', $op)) {
     $tip = notifications::getAllSbrTip();
     if ($tip === null) {
         $out['sbr']['success'] = false;
     } else {
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:31,代码来源:notification.php


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