Вход Регистрация
Файл: plugins/user_credits/components/history_items.php
Строк: 13
<?php

class USERCREDITS_CMP_HistoryItems extends PEEP_Component
{
    public function 
__construct$page$limit )
    {
        
parent::__construct();

        if ( !
PEEP::getUser()->isAuthenticated() )
        {
            
$this->setVisible(false);
        }

        
$userId PEEP::getUser()->getId();
        
$creditService USERCREDITS_BOL_CreditsService::getInstance();

        
$history $creditService->getUserLogHistory($userId$page$limit);
        
$this->assign('history'$history);
    }
}
Онлайн: 2
Реклама