die('Direct Access to this location is not allowed.');
}
global $_PLUGINS;
$_PLUGINS->registerFunction('onBeforeBackendUsersListBuildQuery', 'onBeforeBackendUsersListBuildQuery', 'cbpaidAdminEvents');
$_PLUGINS->registerFunction('onAfterBackendUsersList', 'onAfterBackendUsersList', 'cbpaidAdminEvents');
$_PLUGINS->registerFunction('onBeforeBackendUsersEmailForm', 'onBeforeBackendUsersEmailForm', 'cbpaidAdminEvents');
// $_PLUGINS->registerFunction( 'onBeforeBackendUsersEmailStart',		'onBeforeBackendUsersEmailStart',		'cbpaidAdminEvents' );
$_PLUGINS->registerFunction('onBeforeBackendUserEmail', 'onBeforeBackendUserEmail', 'cbpaidAdminEvents');
global $_CB_framework;
if ($_CB_framework->getCfg('debug')) {
    ini_set('display_errors', true);
    error_reporting(E_ALL);
}
/** @noinspection PhpIncludeInspection */
include_once $_CB_framework->getCfg('absolute_path') . '/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.class.php';
cbpaidErrorHandler::install();
cbpaidErrorHandler::on();
/**
 * Controller class for the admin interface
 */
class cbpaidAdminEvents extends cbpaidApp
{
    // getcbpaidsubscriptionsTab {
    protected $filter_cbpaidplan;
    protected $filter_cbpaidsubstate;
    protected $filter_cbpaidsubexpdate;
    /**
     * Intercepts CB User Manager list controller to add filters evaluation
     *
     * @param  array   $tablesSQL
     * @param  array   $joinsSQL