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


PHP account::GetHistoryInfo方法代码示例

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


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

示例1: ShowBillComms

function ShowBillComms($bill_id, $uid = 0, $mode = 1)
{
    global $session;
    session_start();
    $objResponse = new xajaxResponse();
    if ($uid && !hasPermissions('payments')) {
        return $objResponse;
    } elseif (!$uid) {
        $uid = $_SESSION['uid'];
    }
    $account = new account();
    if ($account->checkOperationOwner((int) $bill_id, (int) $uid)) {
        $info = $account->GetHistoryInfo($bill_id, $uid, $mode);
    }
    if (isset($info) && $info) {
        $objResponse->assign("bil" . $bill_id, "innerHTML", ($mode == 2 ? '<br/>' : '') . $info);
    }
    return $objResponse;
}
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:19,代码来源:bill.server.php

示例2: users

    /*
    	switch ($opinfo['op_code']){
    		case 16: $pr_txt = "Аккаунт ПРО"; break;
    		case 17: $pr_txt = "Первая страница &#150; 1 неделя"; break;
    		case 18: $pr_txt = "Первая страница &#150; 1 месяц"; break;
    		case 23: $pr_txt = $opinfo['ammount']." FM"; break;
    		case 26: $pr_txt = "Аккаунт ПРО"; break;
    		case 27: $pr_txt = "Первая страница &#150; 1 неделя"; break;
    		case 34: $pr_txt = "Первая страница &#150; новогодний подарок &#150; 1 неделя"; break;
    		case 35: $pr_txt = "Аккаунт ПРО &#150; новогодний подарок"; break;
    		case 42: $pr_txt = "Аккаунт ПРО &#150; подарок на 8 марта"; break;
    		default: $pr_txt = "";
    	}
    */
    if ($pr_txt && $opinfo['billing_id'] == $acc->id) {
        $info = $acc->GetHistoryInfo($opinfo['id'], $_SESSION['uid'], 3);
        $user = new users();
        $user->GetUser($opinfo['login']);
        $cnt_role = !is_emp($user->role) ? 'frl' : 'emp';
        present::SetGiftResv($id, $_SESSION['uid']);
        require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/payed.php';
        $is_pro = payed::CheckPro($user->login);
        $_SESSION['pro_last'] = payed::ProLast($_SESSION['login']);
        $_SESSION['pro_last'] = $_SESSION['pro_last']['freeze_to'] ? false : $_SESSION['pro_last']['cnt'];
    }
}
if (!$user) {
    header('Location: /404.php');
    exit;
}
$css_file[] = '/css/styles/present.css';
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:31,代码来源:index.php


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