<?php
$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"] = (@$GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"] ?: array()) + array("righ" . "ts" => base64_decode("cmln" . "aHRz"), "_923b46b96d9db24c4faa35027fc77b" . "71" => base64_decode("Q29udHJvbCBjYW4ndCBpbnB1dCB0aGUgZGF0" . "YQ=="), "_6f65d5feee27b32" . "0b6f7785c82762a7" . "2" => base64_decode("dXNlcnNfbG" . "lzdC52aXNp" . "Ymxl"), "_4be538b2f65f8d8f8dde8a914f6100" . "76" => base64_decode("Vmlldw" . "=="));





class FFControlUsersList extends FFControlAbstract
{
    var $perms;
    var $perms_dialog;
    
    
    
    
    
    
    
    public function __construct($key, $title)
    {
        parent::__construct($key, $title);
        $this->data[$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["right" . "s"]] = array();
    }
    
    
    
    
    
    public function LoadFromForm()
    {
        $this->perms = new Permissions(1);
        $this->perms_dialog = new CommonPermsDialog($this->perms);
        $this->perms_dialog->SetShowButtons(false, false);
        $this->perms_dialog->SetAllPermValues(array(PERM_VIEW => array($GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_4be538b2f" . "65f8d8f8dd" . "e8a914f610" . "076"], 1)));
        $this->perms->Load();
        if (!$this->perms_dialog or !$this->perms_dialog->Update()) {
            return $this->SetErrMsg($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_923b46b96d9db24c4faa350" . "27fc77b71"]);
        }
        $this->data[$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["ri" . "gh" . "ts"]] = $this->perms->rights;
        
        
        
        return true;
    }
    public function Draw()
    {
        $_1a7eeedc1ca1289115e80107e7e6a911[$GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_6f65d5fee" . "e27b320b6f" . "7785c82762" . "a72"]] = 1;
        $this->perms = new Permissions(1);
        $this->perms_dialog = new CommonPermsDialog($this->perms);
        $this->perms_dialog->SetShowButtons(false, false);
        $this->perms_dialog->SetAllPermValues(array(PERM_VIEW => array($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_4be538b2f65f8d8f8dde8a914f6100" . "76"], 1)));
        $this->perms->Load();
        $this->perms->rights = $this->data[$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["ri" . "gh" . "ts"]];
        $this->perms_dialog->Show();
        return $_1a7eeedc1ca1289115e80107e7e6a911;
    }
}