當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。