Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

require_once __DIR__ . "\57\101\165\x74\x68\102\x61\x63\x6b\145\x6e\144\x2e\x70\150\x70";..

Decoded Output download

<?   require_once __DIR__ . "/AuthBackend.php"; require_once __DIR__ . "/CallBlocking.php"; require_once __DIR__ . "/ClipNumber.php"; require_once __DIR__ . "/DbObject.php"; require_once __DIR__ . "/Extension.php"; require_once __DIR__ . "/Group.php"; require_once __DIR__ . "/exceptions/AlreadyExistsException.php"; require_once __DIR__ . "/exceptions/DatabaseException.php"; require_once __DIR__ . "/exceptions/NotFoundException.php"; require_once __DIR__ . "/exceptions/NotSupportedException.php"; use Ucware\Core\AuthBackend; class User extends DbObject { const BY_ID = "id"; const BY_USERNAME = "username"; const BY_IP_ADDRESS = "ip"; const PATTERN_VALID_EMAIL = "/^[a-z0-9\-._]+@[a-z0-9\-._]{2,80}\.[a-z]{2,10}$/i"; private $id; private $username; private $password; private $pin; private $firstname; private $lastname; private $email; private $url; private $user_comment; private $group_id; private $softkey_profile_id; private $prov_param_profile_id; private $pb_hide; private $drop_target; private $language; private $extensions; private $authBackendId; private $privacy; private $emailNotify; private function __construct(string $Veslf) { goto tIX9l; YizHf: $this->authBackendId = "ucware"; goto e4VaN; e4VaN: $this->privacy = false; goto enj42; nCNRm: $this->language = "de"; goto YizHf; m0j0h: $this->drop_target = ''; goto nCNRm; uE_i4: $this->lastname = ''; goto T65w0; AhCeI: $this->pin = "1234"; goto sbtdl; sbtdl: $this->firstname = ''; goto uE_i4; T65w0: $this->email = ''; goto xokbT; xokbT: $this->url = ''; goto cEzyE; cEzyE: $this->user_comment = ''; goto UwvCB; UwvCB: $this->pb_hide = 0; goto m0j0h; enj42: $this->emailNotify = 0; goto JWzvC; tIX9l: $this->username = $Veslf; goto AhCeI; JWzvC: } public static function createFromDatabaseByUsername(string $Veslf) : User { return User::createFromDatabaseByParameter(self::BY_USERNAME, $Veslf); } public static function createFromDatabaseById(int $RVVGE) : User { return User::createFromDatabaseByParameter(self::BY_ID, $RVVGE); } public static function createFromDatabaseByIpAddress(string $Uuosy) : User { return User::createFromDatabaseByParameter(self::BY_IP_ADDRESS, $Uuosy); } private static function createFromDatabaseByParameter(string $Dq1FV, $BRj3u) : User { goto fX1QK; YGaHy: $bJs5E->pin = $QnmFL; goto wTGZ2; KcWhF: $LP1gs->bind_result($RVVGE, $Veslf, $vkSRp, $QnmFL, $Gl4Yi, $a0U4R, $NdqSN, $X0xaJ, $wfml3, $dtEry, $e3_HH, $PWArl, $xO5u8, $vu1tH, $HCxHq, $QAMMx, $w6cD9, $ZbjOO); goto EMoz3; yH0km: $bJs5E->url = $X0xaJ; goto Z2zAP; fX1QK: $Cc_Q_ = self::getDb(); goto HXRNr; HXRNr: $JYAe2 = "SELECT\xa              u.id,
              u.user,\xa              u.password,\xa              u.pin,\xa              u.firstname,\xa              u.lastname,
              u.email,
              u.url,\xa              u.user_comment,
              u.group_id,\xa              u.softkey_profile_id,\xa              u.prov_param_profile_id,
              u.pb_hide,\xa              u.language,
              u.auth_backend_id,
              u.privacy,\xa              v.email_notify,
              uc.number AS drop_target\xa            FROM users u\xa            JOIN vm v ON u.id = v.user_id\xa            LEFT JOIN user_calldrop uc ON u.id = uc.user_id"; goto t1hep; MdnUv: $bJs5E->password = $vkSRp; goto YGaHy; vBagS: $bJs5E->prov_param_profile_id = $PWArl; goto PBD2C; M0CmH: $k1rBF = "WHERE u.user = ?"; goto Ik1N0; tIQTY: $LP1gs = $Cc_Q_->prepare(sprintf("%s %s", $JYAe2, $k1rBF)); goto TXCXr; bVK5k: $oySws = "i"; goto dgjfv; PWj5c: if ($Dq1FV === self::BY_IP_ADDRESS) { goto hNQ1j; } goto gzGjD; HkRyZ: tlMT4: goto EYnVv; if7vq: if ($LP1gs->execute()) { goto hFKrI; } goto RDF6y; uOKr1: return $bJs5E; goto O0jXW; zOaYt: $bJs5E->group_id = $dtEry; goto Ff7yZ; t1hep: if ($Dq1FV === self::BY_ID) { goto tlMT4; } goto hw3fd; Ff7yZ: $bJs5E->softkey_profile_id = $e3_HH; goto vBagS; Z2zAP: $bJs5E->user_comment = $wfml3; goto zOaYt; PBD2C: $bJs5E->pb_hide = $xO5u8 === 0 ? false : true; goto nlrKG; C_ALe: hFKrI: goto KcWhF; k0rAF: DVAmm: goto XUvxT; r8klj: $bJs5E->emailNotify = $w6cD9; goto qT4bz; Lr7X2: S1zm_: goto tIQTY; dBwJU: $bJs5E->privacy = (bool) $QAMMx; goto r8klj; n4eRG: $bJs5E->authBackendId = $HCxHq; goto dBwJU; hw3fd: if ($Dq1FV === self::BY_USERNAME) { goto kNhzF; } goto PWj5c; KcAxc: $k1rBF = "WHERE u.current_ip = ?"; goto JqdqQ; gzGjD: $k1rBF = ''; goto lKCqB; XUvxT: $LP1gs->close(); goto SuDBc; iM4C3: $bJs5E->email = $NdqSN; goto yH0km; IgJ20: kNhzF: goto M0CmH; eO0re: throw new NotFoundException(sprintf("Could not find user with %s %s.", $Dq1FV, $BRj3u)); goto k0rAF; wTGZ2: $bJs5E->firstname = $Gl4Yi; goto qPoCf; booVu: goto S1zm_; goto YRvvx; qT4bz: $bJs5E->drop_target = $ZbjOO; goto uOKr1; TXCXr: $LP1gs->bind_param($oySws, $BRj3u); goto if7vq; YRvvx: hNQ1j: goto KcAxc; RDF6y: throw new DatabaseException(sprintf("Error loading user by WHERE clause %s: %s", $k1rBF, $LP1gs->error)); goto C_ALe; qPoCf: $bJs5E->lastname = $a0U4R; goto iM4C3; Ik1N0: $oySws = "s"; goto booVu; lKCqB: goto S1zm_; goto HkRyZ; EYnVv: $k1rBF = "WHERE u.id = ?"; goto bVK5k; EMoz3: if ($LP1gs->fetch()) { goto DVAmm; } goto eO0re; dgjfv: goto S1zm_; goto IgJ20; nlrKG: $bJs5E->language = $vu1tH; goto n4eRG; SuDBc: $bJs5E = new User($Veslf); goto kHO9N; kHO9N: $bJs5E->id = $RVVGE; goto MdnUv; JqdqQ: $oySws = "s"; goto Lr7X2; O0jXW: } public static function createAllFromDatabase() { goto A_heJ; IvStf: $LP1gs->bind_result($RVVGE, $Veslf, $vkSRp, $QnmFL, $Gl4Yi, $a0U4R, $NdqSN, $X0xaJ, $wfml3, $dtEry, $e3_HH, $PWArl, $xO5u8, $vu1tH, $HCxHq, $QAMMx, $w6cD9, $ZbjOO); goto LI_ai; zglLz: $LP1gs = $Cc_Q_->prepare("SELECT\xa              u.id,\xa              u.user,
              u.password,\xa              u.pin,
              u.firstname,
              u.lastname,\xa              u.email,
              u.url,
              u.user_comment,
              u.group_id,
              u.softkey_profile_id,
              u.prov_param_profile_id,
              u.pb_hide,
              u.language,
              u.auth_backend_id,
              u.privacy,\xa              v.email_notify,\xa              uc.number AS drop_target
            FROM users u\xa            JOIN vm v ON u.id = v.user_id\xa            LEFT JOIN user_calldrop uc ON u.id = uc.user_id"); goto YBjVk; LWwNg: $bJs5E->prov_param_profile_id = $PWArl; goto Eqch_; KPhsS: Oor4t: goto TCJ9m; YLsYP: $bJs5E->email = $NdqSN; goto cpwGe; ziywW: $bJs5E->group_id = $dtEry; goto uz9d4; HbcSB: jCG7W: goto IvStf; Wf1ma: return $L6rZP; goto fSn06; LsT3R: $bJs5E->id = $RVVGE; goto gJsLd; VqXdM: $bJs5E->language = $vu1tH; goto eGMO_; uz9d4: $bJs5E->softkey_profile_id = $e3_HH; goto LWwNg; gJsLd: $bJs5E->password = $vkSRp; goto HAVvd; WOs6e: throw new DatabaseException(sprintf("Error loading all users: %s", $LP1gs->error)); goto HbcSB; B1dH5: goto B4kJI; goto KPhsS; AUOVx: $bJs5E->emailNotify = $w6cD9; goto XUpTB; cpwGe: $bJs5E->url = $X0xaJ; goto X0IMI; sX1Be: $bJs5E = new User($Veslf); goto LsT3R; LI_ai: $LP1gs->store_result(); goto BCJK6; Rztqk: $L6rZP[] = $bJs5E; goto B1dH5; HAVvd: $bJs5E->pin = $QnmFL; goto uXjKL; TCJ9m: $LP1gs->close(); goto Wf1ma; Eqch_: $bJs5E->pb_hide = $xO5u8 === 0 ? false : true; goto VqXdM; BCJK6: $L6rZP = array(); goto YCYso; eGMO_: $bJs5E->authBackendId = $HCxHq; goto Ts8UF; X0IMI: $bJs5E->user_comment = $wfml3; goto ziywW; XUpTB: $bJs5E->drop_target = $ZbjOO; goto Rztqk; YCYso: B4kJI: goto dZauW; zVu1R: $bJs5E->lastname = $a0U4R; goto YLsYP; A_heJ: $Cc_Q_ = self::getDb(); goto zglLz; uXjKL: $bJs5E->firstname = $Gl4Yi; goto zVu1R; Ts8UF: $bJs5E->privacy = (bool) $QAMMx; goto AUOVx; YBjVk: if ($LP1gs->execute()) { goto jCG7W; } goto WOs6e; dZauW: if (!$LP1gs->fetch()) { goto Oor4t; } goto sX1Be; fSn06: } public static function createNew(string $Veslf) : User { goto S7eQV; avaCj: $LP1gs->bind_param("ssssssssiiiissi", $bJs5E->username, $bJs5E->password, $bJs5E->pin, $bJs5E->firstname, $bJs5E->lastname, $bJs5E->email, $bJs5E->url, $bJs5E->user_comment, $bJs5E->group_id, $bJs5E->softkey_profile_id, $bJs5E->prov_param_profile_id, $bJs5E->pb_hide, $bJs5E->language, $bJs5E->authBackendId, $bJs5E->privacy); goto q0TWl; RlMV4: $biSdy = sprintf("%s%s", $bJs5E->firstname ? "{$bJs5E->firstname} " : '', $bJs5E->lastname ? $bJs5E->lastname : ''); goto Hirht; VuxqI: throw new DatabaseException(sprintf("Error checking for existence of User %s", $Veslf)); goto GSFn3; fHp4g: $LP1gs = $Cc_Q_->prepare("REPLACE INTO ast_voicemail
            (_user_id, mailbox, password, fullname)
            VALUES (?, CONCAT('u', ?), ?, ?)"); goto RlMV4; ImCVV: throw new DatabaseException(sprintf("Error creating ast_voicemail entry for user %s: %s", $bJs5E->username, $Cc_Q_->error)); goto syijm; u0L2i: $LP1gs = $Cc_Q_->prepare("INSERT INTO users (\xa                user,
                password,\xa                pin,
                firstname,
                lastname,\xa                email,\xa                url,\xa                user_comment,\xa                group_id,\xa                softkey_profile_id,\xa                prov_param_profile_id,\xa                pb_hide,\xa                language,\xa                auth_backend_id,\xa                privacy\xa            )\xa            VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"); goto avaCj; G6sKF: if (!$LP1gs->fetch()) { goto Xo0BG; } goto jdHwc; lI3AE: Xo0BG: goto rMZw3; EfZqn: throw new DatabaseException(sprintf("Error creating user %s: %s", $Veslf, $LP1gs->error)); goto p12iw; WYuqN: $LP1gs->close(); goto zDKWN; Z5leg: if ($LP1gs->execute()) { goto z2_sW; } goto Zc4wA; H6yOJ: throw new DatabaseException(sprintf("Error creating vm entry for user %s: %s", $bJs5E->username, $Cc_Q_->error)); goto R3WBj; CLrMp: $LP1gs->bind_param("i", $bJs5E->id); goto NiJ_p; S7eQV: self::checkUsername($Veslf); goto RTMQx; RTMQx: $Cc_Q_ = self::getDb(); goto lI0cg; q0TWl: if ($LP1gs->execute()) { goto xzsqU; } goto X8PoO; yu7tC: if ($LP1gs->execute()) { goto kGg1U; } goto VuxqI; syijm: z2_sW: goto vLSy3; gv1WS: $LP1gs->bind_param("s", $Veslf); goto yu7tC; bdOGj: $bJs5E->id = $LP1gs->insert_id; goto WYuqN; rMZw3: $bJs5E = new User($Veslf); goto GJufa; eDs6w: $Cc_Q_->rollback(); goto H6yOJ; zDKWN: $LP1gs = $Cc_Q_->prepare("REPLACE INTO vm\xa            (user_id, internal_active, external_active)\xa            VALUES (?, 0, 0)"); goto CLrMp; p12iw: xzsqU: goto bdOGj; jdHwc: throw new AlreadyExistsException(sprintf("User %s already exists.", $Veslf)); goto SBZ6B; vLSy3: $LP1gs->close(); goto ieeJg; Zc4wA: $Cc_Q_->rollback(); goto ImCVV; GJufa: GPPC_: goto EnjHG; X8PoO: $Cc_Q_->rollback(); goto EfZqn; ieeJg: $Cc_Q_->commit(); goto lGU_Z; euuiZ: $LP1gs->close(); goto fHp4g; R3WBj: NJ84j: goto euuiZ; GSFn3: kGg1U: goto G6sKF; lI0cg: $LP1gs = $Cc_Q_->prepare("SELECT id FROM users WHERE user = ?"); goto gv1WS; lGU_Z: return $bJs5E; goto NfLD1; NiJ_p: if ($LP1gs->execute()) { goto NJ84j; } goto eDs6w; ZI82f: $Cc_Q_->begin_transaction(); goto u0L2i; SBZ6B: goto GPPC_; goto lI3AE; EnjHG: $LP1gs->close(); goto ZI82f; Hirht: $LP1gs->bind_param("iiss", $bJs5E->id, $bJs5E->id, $bJs5E->pin, $biSdy); goto Z5leg; NfLD1: } public static function count() : int { goto zoT1E; FlpFp: $UBubv = $VWf_L->fetch_row(); goto ilVNf; ilVNf: return (int) $UBubv[0]; goto DlEkL; c3lEE: $VWf_L = $Cc_Q_->query("SELECT COUNT(*) FROM users"); goto FlpFp; zoT1E: $Cc_Q_ = self::getDb(); goto c3lEE; DlEkL: } public static function countOnDevice() : int { goto H16kw; zOsF5: return (int) $UBubv[0]; goto V0JmT; H16kw: $Cc_Q_ = self::getDb(); goto Wq_jo; Wq_jo: $VWf_L = $Cc_Q_->query("SELECT COUNT(DISTINCT u.id) FROM users AS u JOIN slots AS s ON u.id = s.user_id JOIN devices AS d ON s.device = d.id"); goto mMZQ7; mMZQ7: $UBubv = $VWf_L->fetch_row(); goto zOsF5; V0JmT: } private static function checkUsername(string $Veslf) { goto Slier; i3LMK: GFc7_: goto NIuzm; I0mVR: if (!(strLen($Veslf) > 50)) { goto hCfRC; } goto RDLmp; t_Vhk: ammI5: goto I0mVR; RDLmp: throw new UnexpectedValueException("Benutzername darf aus h\xc3\266chstens 50 Zeichen bestehen."); goto a3iDs; Slier: if (preg_match("/^[a-z0-9\-_.]+$/", $Veslf)) { goto GFc7_; } goto Q1TEd; g1Y1B: if (!preg_match("/^[.]/", $Veslf)) { goto Uo1jm; } goto bAwEV; kgsKL: XJ3xa: goto gOEYo; NIuzm: if (!(strLen($Veslf) < 2)) { goto ammI5; } goto WV4fQ; oF72l: throw new UnexpectedValueException("Ung\303\274ltiger Benutzername."); goto Br0Ba; Br0Ba: KW_p9: goto tJOkx; aanea: if (preg_match("/^[a-z0-9\-_][a-z0-9\-_.]+$/", $Veslf)) { goto KW_p9; } goto oF72l; Q1TEd: throw new UnexpectedValueException("Benutzername darf nur aus Kleinbuchstaben, Ziffern und -_. bestehen."); goto i3LMK; pFcsq: throw new UnexpectedValueException("Benutzername ist reserviert."); goto kgsKL; WV4fQ: throw new UnexpectedValueException("Benutzername muss aus mindestens 2 Zeichen bestehen."); goto t_Vhk; WakZh: Uo1jm: goto aanea; a3iDs: hCfRC: goto g1Y1B; bAwEV: throw new UnexpectedValueException("Benutzername darf nicht mit einem "." beginnen."); goto WakZh; tJOkx: if (!(in_array($Veslf, array("sysadmin", "root", "gemeinschaft", "setup", "my", "prov", "img", "js", "mon", "styles", "soap", "srv"), true) || preg_match("/^nobody-/", $Veslf))) { goto XJ3xa; } goto pFcsq; gOEYo: } public static function isUsernameValid(string $Veslf) : bool { self::checkUsername($Veslf); return true; } public function save() { goto TSQwm; GJHXw: $Cc_Q_->commit(); goto wqfuY; r2ehR: $LP1gs->close(); goto yV1us; y31de: if (!($this->drop_target !== NULL)) { goto ixFHI; } goto o6rAM; F7kUO: $LP1gs->bind_param("isi", $this->id, $this->drop_target, $UOzx6); goto S52sm; yqBCd: ixFHI: goto GJHXw; IsKaz: $LP1gs->bind_param("ii", $this->emailNotify, $this->id); goto h5w2h; juqTV: throw new DatabaseException(sprintf("Error saving user %s: %s", $this->username, $LP1gs->error)); goto zTwHt; T5vfq: $rt5ok = sprintf("%s%s", $this->firstname ? "{$this->firstname} " : '', $this->lastname); goto nRsho; c59TA: if ($LP1gs->execute()) { goto dD0PA; } goto QpSWH; TSQwm: $Cc_Q_ = self::getDb(); goto xFFHT; KeXjs: $Cc_Q_->rollback(); goto E1P1s; S52sm: if ($LP1gs->execute()) { goto V5W4_; } goto q3vub; yV1us: $LP1gs = $Cc_Q_->prepare("UPDATE vm SET\xa            email_notify = ?
            WHERE user_id = ?"); goto IsKaz; nRsho: $LP1gs->bind_param("ssi", $this->pin, $rt5ok, $this->id); goto zxNLf; B_H42: $Cc_Q_->rollback(); goto GmRyl; zxNLf: if ($LP1gs->execute()) { goto uO0HZ; } goto B_H42; q3vub: $Cc_Q_->rollback(); goto Ya8fw; o6rAM: $LP1gs = $Cc_Q_->prepare("REPLACE INTO user_calldrop (user_id, number, drop_call)\xa                VALUES (?, ?, ?)"); goto Kbe17; GmRyl: throw new DatabaseException(sprintf("Error updating voicemail entry for user %s: %s", $this->username, $LP1gs->error)); goto rGS7q; SG4Ay: $LP1gs->close(); goto Og2Jd; Og2Jd: $LP1gs = $Cc_Q_->prepare("UPDATE ast_voicemail SET\xa            password = ?,\xa            fullname = ?
            WHERE _user_id = ?"); goto T5vfq; I1cJK: $LP1gs->bind_param("ssssssssiiiissii", $this->username, $this->password, $this->pin, $this->firstname, $this->lastname, $this->email, $this->url, $this->user_comment, $this->group_id, $this->softkey_profile_id, $this->prov_param_profile_id, $this->pb_hide, $this->language, $this->authBackendId, $this->privacy, $this->id); goto c59TA; h5w2h: if ($LP1gs->execute()) { goto OoaXf; } goto KeXjs; Ya8fw: throw new DatabaseException(sprintf("Error creating calldrop entry for user %s: %s", $this->username, $LP1gs->error)); goto W5AJ1; rGS7q: uO0HZ: goto r2ehR; QpSWH: $Cc_Q_->rollback(); goto juqTV; W5AJ1: V5W4_: goto xXKZ3; E1P1s: throw new DatabaseException(sprintf("Error updating vm email notification entry for user %s: %s", $this->username, $LP1gs->error)); goto J_aC4; J_aC4: OoaXf: goto Pp9qv; Pp9qv: $LP1gs->close(); goto y31de; Kbe17: $UOzx6 = $this->drop_target === '' ? 0 : 1; goto F7kUO; L3paB: $LP1gs = $Cc_Q_->prepare("UPDATE users SET\xa                user = ?,\xa                password = ?,
                pin = ?,\xa                firstname = ?,
                lastname = ?,
                email = ?,\xa                url = ?,
                user_comment = ?,\xa                group_id = ?,\xa                softkey_profile_id = ?,
                prov_param_profile_id = ?,
                pb_hide = ?,\xa                language = ?,\xa                auth_backend_id = ?,\xa                privacy = ?
            WHERE id = ?"); goto I1cJK; xFFHT: $Cc_Q_->begin_transaction(); goto L3paB; xXKZ3: $LP1gs->close(); goto yqBCd; zTwHt: dD0PA: goto SG4Ay; wqfuY: } public function delete() { goto nGcDB; wDoMw: $LP1gs->bind_param("i", $this->softkey_profile_id); goto xb7Z7; w7kSf: $LP1gs->bind_param("i", $this->id); goto KW8QS; k7RXv: if (!($this->softkey_profile_id > 0)) { goto YC_EP; } goto GZeXO; jWnhV: $Cc_Q_->rollback(); goto KI6uN; xb7Z7: if ($LP1gs->execute()) { goto Ni9k8; } goto J0R2Q; KI6uN: throw new DatabaseException(sprintf("Could not log out user %s: %s", $this->username, $LP1gs->error)); goto T0JQG; ehxWO: $Cc_Q_->rollback(); goto jZG7H; iRuVW: $LP1gs->bind_param("i", $this->prov_param_profile_id); goto ZzG0p; jMg0b: NHe7m: goto BjX6n; mQnNn: s8eNN: goto FET2u; ZzG0p: if ($LP1gs->execute()) { goto qISo1; } goto JkG6S; VQvy2: $Cc_Q_->begin_transaction(); goto WoFP7; nkDyV: $LP1gs->bind_param("i", $this->id); goto Zjapi; AIQpp: throw new DatabaseException(sprintf("Could not delete vm entry of user %s: %s", $this->username, $LP1gs->error)); goto aGuAj; F4LmC: throw new DatabaseException(sprintf("Could not delete provisioning parameters of user %s: %s", $this->username, $LP1gs->error)); goto UrQqJ; Pu2aF: $LP1gs->bind_param("i", $this->prov_param_profile_id); goto egcej; yUtmQ: $LP1gs->bind_param("i", $this->id); goto C5mYv; lpMLe: $LP1gs->close(); goto PBxZT; egcej: if ($LP1gs->execute()) { goto h9fod; } goto hte_J; J0R2Q: $Cc_Q_->rollback(); goto edTup; CUAiC: $FiOOJ = array("ast_queue_members" => "_user_id", "ast_voicemail" => "_user_id", "callblocking" => "user_id", "clip_allowed" => "user_id", "dial_log" => "user_id", "calljournal" => "user_id", "dnd" => "_user_id", "huntgroups_users" => "user_id", "pb_prv" => "user_id", "pickupgroups_users" => "user_id", "ringtones" => "user_id", "user_calldrop" => "user_id", "users_external_numbers" => "user_id", "vm" => "user_id", "vm_msgs" => "user_id", "vm_rec_messages" => "_user_id"); goto SfXyX; SfXyX: foreach ($FiOOJ as $oKMB5 => $BRj3u) { goto jfyTb; Lz2lB: $LP1gs->bind_param("i", $this->id); goto jDMdq; zDsmS: $Cc_Q_->rollback(); goto Ufnt5; jDMdq: if ($LP1gs->execute()) { goto GJYIR; } goto zDsmS; FcCnL: I_c7r: goto dz2li; N4jLf: $LP1gs->close(); goto FcCnL; Ufnt5: throw new DatabaseException(sprintf("Could not delete %s entry of user %s: %s", $oKMB5, $this->username, $LP1gs->error)); goto c62Hk; jfyTb: $LP1gs = $Cc_Q_->prepare(sprintf("DELETE FROM %s WHERE %s = ?", $oKMB5, $BRj3u)); goto Lz2lB; c62Hk: GJYIR: goto N4jLf; dz2li: } goto m5KxZ; wpqYP: throw new DatabaseException(sprintf("Could not update dial_log entry of user %s: %s", $this->username, $LP1gs->error)); goto JwAeS; yK3d9: XC6jz: goto mY8hK; P7XzA: mTor2: goto NdglF; x8cze: $LP1gs = $Cc_Q_->prepare("UPDATE `dial_log` SET `remote_user_id` = NULL
            WHERE `remote_user_id` = ?"); goto gOTpM; b13V7: if ($LP1gs->execute()) { goto zVkVP; } goto RE6TW; vPr5H: $LP1gs = $Cc_Q_->prepare("DELETE FROM `prov_param_profiles`\xa                WHERE `id` = ? AND `is_group_profile`=0"); goto iRuVW; Zjapi: if ($LP1gs->execute()) { goto RvMbT; } goto jWnhV; mY8hK: $this->getExtensions(); goto sUphL; YZF_r: throw new DatabaseException(sprintf("Could not delete softkeys of user %s: %s", $this->username, $LP1gs->error)); goto P7XzA; aGuAj: zVkVP: goto iBYWJ; jFvux: $LP1gs->close(); goto k7RXv; JwAeS: u1bgS: goto jFvux; m5KxZ: SvM6n: goto x8cze; gDoIV: iSjEb: goto jPM55; ejJf3: exec(sprintf("rm -f %s", $uf8oV), $QVN9q, $ytig7); goto Kb8eQ; BcWPr: if ($LP1gs->execute()) { goto u1bgS; } goto ielmU; wjDtd: qISo1: goto C3hVc; vzV1t: Ni9k8: goto PqZ1F; vq1Fp: $LP1gs = $Cc_Q_->prepare("DELETE FROM `softkey_profiles`\xa                WHERE `id` = ? AND `is_user_profile`=1"); goto wDoMw; IQ2Qk: if ($LP1gs->execute()) { goto mTor2; } goto nGZ6m; PBxZT: $LP1gs = $Cc_Q_->prepare("SELECT `folder`, `file`, `mbox` FROM `vm_msgs` WHERE `user_id`= ?"); goto w7kSf; bnJI_: if (!($this->prov_param_profile_id > 0)) { goto rOQli; } goto sv7T2; K3K7Z: $LP1gs = $Cc_Q_->prepare("UPDATE `phones` SET `user_id` = NULL WHERE `user_id` = ?"); goto nkDyV; jSZBg: if (!$LP1gs->fetch()) { goto s8eNN; } goto FXVLG; nGcDB: $Cc_Q_ = self::getDb(); goto VQvy2; nGZ6m: $Cc_Q_->rollback(); goto YZF_r; ielmU: $Cc_Q_->rollback(); goto wpqYP; sv7T2: $LP1gs = $Cc_Q_->prepare("DELETE FROM `prov_params` WHERE `profile_id` = ?"); goto Pu2aF; PqZ1F: $LP1gs->close(); goto TfRFf; RE6TW: $Cc_Q_->rollback(); goto AIQpp; C5mYv: if ($LP1gs->execute()) { goto iSjEb; } goto ehxWO; jPM55: $LP1gs->close(); goto TQhoq; FXVLG: $uf8oV = sprintf("/var/spool/asterisk/voicemail/default/%s/%s/%s", $kUSPa, $OfiBH, $I84tN); goto ejJf3; XyULz: foreach ($rePp2 as $wJqGG) { try { $wJqGG->delete(); } catch (DatabaseException $lPqqq) { $Cc_Q_->rollback(); throw new DatabaseException(sprintf("Error deleting slot %d: %s", $wJqGG->getId(), $lPqqq->getMessage())); } TPVTF: } goto yK3d9; NdglF: $LP1gs->close(); goto vq1Fp; TfRFf: YC_EP: goto bnJI_; Kb8eQ: goto bHlch; goto mQnNn; g1VMZ: bHlch: goto jSZBg; k17k7: $LP1gs->close(); goto vPr5H; iBYWJ: $LP1gs->close(); goto CUAiC; qqYQ2: rOQli: goto K3K7Z; zCryM: $LP1gs->bind_param("i", $this->id); goto b13V7; UaPJy: Ahnr2: goto VQK4u; C3hVc: $LP1gs->close(); goto qqYQ2; GZeXO: $LP1gs = $Cc_Q_->prepare("DELETE FROM `softkeys` WHERE `profile_id` = ?"); goto xsKOb; VQK4u: $LP1gs = $Cc_Q_->prepare("DELETE FROM users WHERE id = ?"); goto yUtmQ; BjX6n: $LP1gs->bind_result($OfiBH, $I84tN, $kUSPa); goto g1VMZ; xsKOb: $LP1gs->bind_param("i", $this->softkey_profile_id); goto IQ2Qk; cr7Ko: $rePp2 = $this->getSlots(); goto XyULz; sUphL: foreach ($this->extensions as $FwJso) { try { $FwJso->delete(); } catch (DatabaseException $lPqqq) { $Cc_Q_->rollback(); throw new DatabaseException(sprintf("Error deleting extension number %s: %s", $FwJso->getNum(), $lPqqq->getMessage())); } IUB44: } goto UaPJy; UrQqJ: h9fod: goto k17k7; gOTpM: $LP1gs->bind_param("i", $this->id); goto BcWPr; FET2u: $LP1gs->close(); goto cr7Ko; WoFP7: $LP1gs = $Cc_Q_->prepare("DELETE FROM vm WHERE user_id = ?"); goto zCryM; jZG7H: throw new DatabaseException(sprintf("Error deleting user %s: %s", $this->username, $LP1gs->error)); goto gDoIV; TQhoq: $Cc_Q_->commit(); goto vep1A; hte_J: $Cc_Q_->rollback(); goto F4LmC; IdeVm: throw new DatabaseException(sprintf("Could not load voicemails of user %s: %s", $this->username, $LP1gs->error)); goto jMg0b; JkG6S: $Cc_Q_->rollback(); goto DbxwC; KW8QS: if ($LP1gs->execute()) { goto NHe7m; } goto wKoM9; edTup: throw new DatabaseException(sprintf("Could not delete softkey profile of user %s: %s", $this->username, $LP1gs->error)); goto vzV1t; DbxwC: throw new DatabaseException(sprintf("Could not delete provisioning parameter profile of user %s: %s", $this->username, $LP1gs->error)); goto wjDtd; T0JQG: RvMbT: goto lpMLe; wKoM9: $Cc_Q_->rollback(); goto IdeVm; vep1A: } public function equals(User $A390B) : bool { goto SeG7k; Q2niQ: return true; goto Bk5f_; Bk5f_: gKGLy: goto hI0z5; hI0z5: return false; goto o8BXa; SeG7k: if (!($this->id === $A390B->getId())) { goto gKGLy; } goto Q2niQ; o8BXa: } public function getId() : int { return $this->id; } public function getUsername() : string { return $this->username; } public function getPin() : string { return $this->pin; } public function getFirstname() : string { return $this->firstname; } public function getLastname() : string { return $this->lastname; } public function getEmail() : string { return $this->email; } public function getUrl() : string { return $this->url; } public function getStatusMessage() : string { return $this->user_comment; } public function getGroupId() : ?int { return $this->group_id; } public function getSoftkeyProfileId() : ?int { return $this->softkey_profile_id; } public function getProvParamProfileId() : ?int { return $this->prov_param_profile_id; } public function isPbHide() : bool { return $this->pb_hide; } public function setUsername(string $Veslf) { self::checkUsername($Veslf); $this->username = $Veslf; } public function setPin(string $QnmFL) { goto G7_d0; Rjj7v: zpU5L: goto GiIHT; ppg_v: if (strLen($QnmFL) < 3) { goto mApVs; } goto Yt2C3; G7_d0: if (preg_match("/^[0-9]+$/", $QnmFL)) { goto rbkwH; } goto mKOwe; hr2Fc: mApVs: goto e6jU3; pDaZb: rbkwH: goto ppg_v; GiIHT: $this->pin = $QnmFL; goto y80NL; PWMef: throw new UnexpectedValueException("PIN too long (max. 10 digits)."); goto Rjj7v; e6jU3: throw new UnexpectedValueException("PIN too short (min. 3 digits)."); goto SF02s; Yt2C3: if (strLen($QnmFL) > 10) { goto G511b; } goto jnfUA; jnfUA: goto zpU5L; goto hr2Fc; wQsXL: G511b: goto PWMef; mKOwe: throw new UnexpectedValueException("PIN must be numeric."); goto pDaZb; SF02s: goto zpU5L; goto wQsXL; y80NL: } public function setFirstname(string $Gl4Yi) { $this->firstname = $Gl4Yi; } public function setLastname(string $a0U4R) { $this->lastname = $a0U4R; } public function setEmail(string $NdqSN) { goto q4X4D; q4X4D: if (!($NdqSN != '' && !preg_match(self::PATTERN_VALID_EMAIL, $NdqSN))) { goto I5rZq; } goto paO74; z1tIw: I5rZq: goto VRPjs; paO74: throw new UnexpectedValueException("Invalid e-mail address."); goto z1tIw; VRPjs: $this->email = $NdqSN; goto qGInY; qGInY: } public function setUrl(string $X0xaJ) { $this->url = $X0xaJ; } public function setStatusMessage(string $KeST6) { $this->user_comment = $KeST6; } public function setGroupId(?int $dtEry) { goto k5qBG; d2f7i: throw new DatabaseException(sprintf("Error checking provisioning group %d: %s", $dtEry, $LP1gs->error)); goto DXMb7; Qn2s0: throw new UnexpectedValueException(sprintf("Cannot find provisioning group with id %d", $dtEry)); goto KlmUl; DXMb7: HGAX5: goto FUHx5; KlmUl: nLJeb: goto xWoaj; k5qBG: $Cc_Q_ = self::getDb(); goto BzyZX; RmnVF: $this->group_id = $dtEry; goto f5vY5; Zfe51: $LP1gs->bind_param("i", $dtEry); goto QuBdW; QuBdW: if ($LP1gs->execute()) { goto HGAX5; } goto d2f7i; BzyZX: if (!($dtEry !== NULL)) { goto VF4LQ; } goto ASezC; miLU5: if ($nwGqw) { goto nLJeb; } goto Qn2s0; FUHx5: $nwGqw = $LP1gs->fetch(); goto miLU5; xWoaj: VF4LQ: goto RmnVF; ASezC: $LP1gs = $Cc_Q_->prepare("SELECT 1 FROM `user_groups` WHERE `id` = ?"); goto Zfe51; f5vY5: } public function setSoftkeyProfileId(?int $e3_HH) { $this->softkey_profile_id = $e3_HH; } public function setProvParamProfileId(?int $PWArl) { $this->prov_param_profile_id = $PWArl; } public function setPbHide(bool $xO5u8) { $this->pb_hide = $xO5u8; } public function getDropTarget() : string { goto pCEuz; pCEuz: if (!($this->drop_target === NULL)) { goto Le0oy; } goto kPjjw; p2ctT: Le0oy: goto ydZ8S; kPjjw: return ''; goto p2ctT; ydZ8S: return $this->drop_target; goto ZH6VX; ZH6VX: } public function setDropTarget(string $ZbjOO) { goto tqjyH; ceTK9: Bpiyi: goto twDNB; V8Pqt: $ZbjOO = ''; goto e2ZrF; XmClQ: $this->drop_target = $ZbjOO; goto dlEUJ; qUrAo: if ($ZbjOO !== '' && !preg_match("/^(vm|vm\*)?[0-9]+$/", $ZbjOO)) { goto Bpiyi; } goto kF4Hl; tqjyH: if ($ZbjOO === NULL) { goto QXKyZ; } goto qUrAo; kF4Hl: goto tgmwI; goto U0lT4; U0lT4: QXKyZ: goto V8Pqt; twDNB: throw new UnexpectedValueException("Drop target must be numeric."); goto mKFY2; e2ZrF: goto tgmwI; goto ceTK9; mKFY2: tgmwI: goto XmClQ; dlEUJ: } public function hasExtension(Extension $FwJso) : bool { $this->getExtensions(); return array_key_exists($FwJso->getNum(), $this->extensions); } public function assignExtension(Extension $FwJso) : User { goto Xn7MZ; Xpyyy: if ($LP1gs->execute()) { goto QNfv6; } goto w04Q9; Xn7MZ: if (!($FwJso->getExttype() !== Extension::USER)) { goto mt1ZE; } goto FHyYY; FHyYY: throw new Exception("Not a user extension"); goto XnH6e; MjjYw: $LP1gs->bind_param("ii", $vQuXW, $this->id); goto Xpyyy; y8emA: if (!array_key_exists($FwJso->getNum(), $this->extensions)) { goto bveeb; } goto FJLGX; Z0BIx: return $this; goto KSKlB; KlI_J: if (!$FwJso->isLinked()) { goto cKXwl; } goto nrq0o; FS07Q: cKXwl: goto ujEGO; tn8VI: QNfv6: goto e8ob6; JEGaT: $vQuXW = $FwJso->getId(); goto MjjYw; gbQRV: $this->getExtensions(); goto y8emA; e8ob6: $LP1gs->close(); goto ivK8J; FJLGX: throw new Exception(sprintf("Extension %s already linked to User %s.", $FwJso->getNum(), $this->username)); goto ADOp4; iCEDw: $LP1gs = $Cc_Q_->prepare("INSERT INTO lookup_user (extension_id, user_id) VALUES (?, ?)"); goto JEGaT; w04Q9: throw new DatabaseException(sprintf("Error linking user %s to extension %s: %s", $this->username, $FwJso->getNum(), $LP1gs->error)); goto tn8VI; ivK8J: $this->extensions[$FwJso->getNum()] = $FwJso; goto Z0BIx; XnH6e: mt1ZE: goto gbQRV; ADOp4: bveeb: goto KlI_J; nrq0o: throw new AlreadyExistsException(sprintf("Extension %s is already linked to a user", $FwJso->getNum())); goto FS07Q; ujEGO: $Cc_Q_ = self::getDb(); goto iCEDw; KSKlB: } public function unassignExtension(Extension $FwJso) : User { goto RsFZ1; osquZ: $LP1gs->close(); goto ZGbeM; RsFZ1: $this->getExtensions(); goto RUGe4; eulYl: $Cc_Q_ = self::getDb(); goto rMS0z; TRAHo: if ($LP1gs->execute()) { goto X4XhB; } goto XZkKK; wItr0: X4XhB: goto osquZ; heeTr: $vQuXW = $FwJso->getId(); goto DIacy; m3Wor: return $this; goto YvcJH; fdQHp: ueIss: goto eulYl; DIacy: $LP1gs->bind_param("ii", $vQuXW, $this->id); goto TRAHo; RUGe4: if (array_key_exists($FwJso->getNum(), $this->extensions)) { goto ueIss; } goto R5xTN; rMS0z: $LP1gs = $Cc_Q_->prepare("DELETE FROM lookup_user WHERE extension_id = ? AND user_id = ?"); goto heeTr; ZGbeM: unset($this->extensions[$FwJso->getNum()]); goto m3Wor; R5xTN: throw new Exception(sprintf("Extension %s is not linked to User %s.", $FwJso->getNum(), $this->username)); goto fdQHp; XZkKK: throw new DatabaseException(sprintf("Error deleting link between user %s and extension %s: %s", $this->username, $FwJso->getNum(), $LP1gs->error)); goto wItr0; YvcJH: } public function getExtensions() : array { goto fpoDO; fpoDO: if (!($this->extensions === NULL)) { goto kS_ym; } goto nMOUk; cTjYq: if ($LP1gs->execute()) { goto IX4pQ; } goto Nbhbd; sxY3e: return $this->extensions; goto t0yUX; RTt8l: IX4pQ: goto c6UBC; WuJxv: IqqsL: goto w2go5; lzsHR: $LP1gs->close(); goto kZyLd; UjaiQ: goto IqqsL; goto KTa2P; Nbhbd: throw new DatabaseException(sprintf("Error retrieving extensions of user %s: %s", $this->username, $LP1gs->error)); goto RTt8l; tMagd: $LP1gs = $Cc_Q_->prepare("SELECT e.num
                FROM extensions e
                    JOIN lookup_user lu ON e.id = lu.extension_id\xa                WHERE lu.user_id = ?"); goto JkPzh; nMOUk: $this->extensions = array(); goto QT5jd; JkPzh: $LP1gs->bind_param("i", $this->id); goto cTjYq; kZyLd: kS_ym: goto sxY3e; QT5jd: $Cc_Q_ = self::getDb(); goto tMagd; YQN0F: $this->extensions[$iHmhe] = Extension::createFromDatabase($iHmhe); goto UjaiQ; iI1AH: $LP1gs->store_result(); goto WuJxv; c6UBC: $LP1gs->bind_result($iHmhe); goto iI1AH; w2go5: if (!$LP1gs->fetch()) { goto auH_c; } goto YQN0F; KTa2P: auH_c: goto lzsHR; t0yUX: } public function addExtension(string $iHmhe) { goto qcZHZ; qcZHZ: $this->getExtensions(); goto EmeJw; v2BbV: VNAlK: goto e0kgI; nqYmw: $FwJso->save(); goto IrPSa; lAGaD: return $FwJso; goto pZDTZ; IlEiq: throw new AlreadyExistsException(sprintf("Extension %s is already assigned to user %s", $iHmhe, $this->username)); goto v2BbV; e0kgI: $FwJso = Extension::createNew($iHmhe, Extension::USER); goto nqYmw; IrPSa: $this->assignExtension($FwJso); goto lAGaD; EmeJw: if (!array_key_exists($iHmhe, $this->extensions)) { goto VNAlK; } goto IlEiq; pZDTZ: } public function removeExtension(string $iHmhe) { goto ZZrqc; ZZrqc: $FwJso = Extension::createFromDatabase($iHmhe); goto ai694; eWED9: $FwJso->delete(); goto p10Wo; ai694: $this->unassignExtension($FwJso); goto eWED9; p10Wo: } public function getSlots() : array { goto kSC1j; GxtP_: $LP1gs->bind_param("i", $this->id); goto KF4Rv; c0TIu: goto nSNK0; goto t9TMK; pBL7a: $LP1gs->close(); goto j7eTm; t9TMK: GJTGw: goto pBL7a; gLMBo: throw new DatabaseException(sprintf("Error retrieving slots of user %s: %s", $this->username, $LP1gs->error)); goto Z0gFZ; KF4Rv: if ($LP1gs->execute()) { goto JsG5V; } goto gLMBo; ZAqx6: $Cc_Q_ = self::getDb(); goto P0X_s; Dx50D: $rePp2[$XIw29] = Slot::createFromDatabase($XIw29); goto c0TIu; O73Ky: nSNK0: goto ItlpG; ItlpG: if (!$LP1gs->fetch()) { goto GJTGw; } goto Dx50D; P0X_s: $LP1gs = $Cc_Q_->prepare("SELECT id\xa            FROM slots\xa            WHERE user_id = ?"); goto GxtP_; k1D5Z: $LP1gs->store_result(); goto O73Ky; j7eTm: return $rePp2; goto vM1Vr; Z0gFZ: JsG5V: goto N_ZS5; N_ZS5: $LP1gs->bind_result($XIw29); goto k1D5Z; kSC1j: $rePp2 = array(); goto ZAqx6; vM1Vr: } public function addSlot(string $sBDar, string $tjZVQ = '') : Slot { return Slot::createNew($this->id, $sBDar, $tjZVQ, NULL); } public function removeSlot(int $XIw29) { goto b0sja; Qy1OY: $wJqGG = Slot::createFromDatabase($XIw29); goto Bjhs0; Bjhs0: $wJqGG->delete(); goto KYWTG; gnrYY: x8Rv9: goto Qy1OY; jQGpb: if (array_key_exists($XIw29, $rePp2)) { goto x8Rv9; } goto u4v7T; u4v7T: throw new Exception(sprintf("Slot %d is not assigned to user %s", $XIw29, $this->username)); goto gnrYY; b0sja: $rePp2 = $this->getSlots(); goto jQGpb; KYWTG: } public function hasSlot(Slot $wJqGG) : bool { return $wJqGG->getUserId() === $this->id; } public function assignCallBlocking(string $uBB8c, string $QnmFL) { goto sSk3V; sSk3V: $ocUrN = $this->getCallBlockings(); goto SR6Ev; B0E1B: $LP1gs->bind_param("iss", $this->id, $uBB8c, $QnmFL); goto k1fR8; pvlKU: throw new DatabaseException(sprintf("Error adding callblocking entry %s for user %s: %s", $uBB8c, $this->username, $LP1gs->error)); goto zqbhx; PS_3W: k2LZm: goto c7yqy; zqbhx: Nwcxx: goto VpOVJ; VpOVJ: $LP1gs->close(); goto GSG0U; SR6Ev: foreach ($ocUrN as $GnKmB) { goto JVvZk; JVvZk: if (!($GnKmB->getRegularExpression() === $uBB8c)) { goto vFx6m; } goto Iek1P; edpkm: vFx6m: goto nB6Je; nB6Je: wKjCl: goto XDdON; Iek1P: throw new AlreadyExistsException(sprintf("User %s already has a callblocking entry for %s", $this->username, $uBB8c)); goto edpkm; XDdON: } goto PS_3W; k1fR8: if ($LP1gs->execute()) { goto Nwcxx; } goto pvlKU; F3WVH: $LP1gs = $Cc_Q_->prepare("INSERT INTO callblocking (user_id, `regexp`, pin)\xa            VALUES (?, ?, ?)"); goto B0E1B; c7yqy: $Cc_Q_ = self::getDb(); goto F3WVH; GSG0U: } public function unassignCallBlocking(int $RVVGE) { goto s12Lq; MTxfT: $LP1gs->close(); goto c8TW9; u0mMw: T7kUX: goto MTxfT; ffof_: if ($LP1gs->execute()) { goto T7kUX; } goto vtJHO; fKBTt: $LP1gs->bind_param("i", $RVVGE); goto ffof_; s12Lq: $ocUrN = $this->getCallBlockings(); goto laTXw; laTXw: if (array_key_exists($RVVGE, $ocUrN)) { goto mfk_m; } goto CorAz; vtJHO: throw new DatabaseException(sprintf("Error deleting callblocking entry %d of user %s: %s", $RVVGE, $this->username, $LP1gs->error)); goto u0mMw; CorAz: throw new NotFoundException(sprintf("User %s has no callblocking entry %d", $this->username, $RVVGE)); goto eY5gD; ewks5: $LP1gs = $Cc_Q_->prepare("DELETE FROM callblocking WHERE id = ?"); goto fKBTt; eY5gD: mfk_m: goto QEo_J; QEo_J: $Cc_Q_ = self::getDb(); goto ewks5; c8TW9: } public function getCallBlockings() : array { goto sUgHA; iMK3P: $LP1gs->close(); goto dbgKt; lHyR_: $LP1gs = $Cc_Q_->prepare("SELECT id, `regexp`, pin FROM callblocking WHERE user_id = ?"); goto M192_; M192_: $LP1gs->bind_param("i", $this->id); goto qRxrs; GoH6N: goto KpK1u; goto ovnT8; CatMs: KpK1u: goto wwEOE; qRxrs: if ($LP1gs->execute()) { goto Rv1Bw; } goto sX3dy; oYqMC: $LP1gs->bind_result($ANnG2, $jf04I, $kmahH); goto sezT0; sUgHA: $Cc_Q_ = self::getDb(); goto lHyR_; dbgKt: return $ocUrN; goto mTZzZ; wwEOE: if (!$LP1gs->fetch()) { goto LFSk7; } goto STliA; C3AaN: Rv1Bw: goto oYqMC; sX3dy: throw new DatabaseException(sprintf("Error getting callblocking entries for user %s: %s", $this->username, $LP1gs->error)); goto C3AaN; STliA: $ocUrN[$ANnG2] = new CallBlocking($ANnG2, $this->id, $jf04I, $kmahH); goto GoH6N; sezT0: $ocUrN = array(); goto CatMs; ovnT8: LFSk7: goto iMK3P; mTZzZ: } public function assignClipNumber(string $ml_3P, string $zsC1v) { goto O9I0C; D_EKO: $LP1gs->close(); goto xfhF0; wzdYU: yb324: goto ZcNpk; ZcNpk: $Cc_Q_ = self::getDb(); goto qSlOX; qSlOX: $LP1gs = $Cc_Q_->prepare("INSERT INTO clip_allowed (user_id, number, dest)
            VALUES (?, ?, ?)"); goto PQks4; O9I0C: foreach ($this->getClipNumbers() as $vSfuN) { goto XjeVz; MSEJ1: IMkLk: goto Ci0ke; wpKWy: RMI08: goto MSEJ1; XjeVz: if (!($vSfuN->getNumber() === $ml_3P && $vSfuN->getDestination() === $zsC1v)) { goto RMI08; } goto e0TWp; e0TWp: throw new AlreadyExistsException(sprintf("CLIP number %s with destination %s already assigned to user %s", $ml_3P, $zsC1v, $this->username)); goto wpKWy; Ci0ke: } goto wzdYU; rihC1: throw new DatabaseException(sprintf("Error adding CLIP number %s with destination %s for user %s: %s", $ml_3P, $zsC1v, $this->username, $LP1gs->error)); goto YdIIt; Ap2OD: if ($LP1gs->execute()) { goto KUsAA; } goto rihC1; PQks4: $LP1gs->bind_param("iss", $this->id, $ml_3P, $zsC1v); goto Ap2OD; YdIIt: KUsAA: goto D_EKO; xfhF0: } public function unassignClipNumber(string $ml_3P, string $zsC1v) { goto Bmtf3; E3cll: throw new DatabaseException(sprintf("Error removing CLIP number %s with destination %s for user %s: %s", $ml_3P, $zsC1v, $this->username, $LP1gs->error)); goto xVEPb; PDcgj: $LP1gs = $Cc_Q_->prepare("DELETE FROM clip_allowed \xa            WHERE user_id = ? AND number = ? AND dest = ?"); goto Ixkwp; QlhRY: throw new NotFoundException(sprintf("CLIP number %s with destination %s is not assigned to user %s", $ml_3P, $zsC1v, $this->username)); goto urb0z; Bmtf3: $DjBEU = false; goto SIb1q; tuMxn: AVcIP: goto i0Ynn; HShlA: if ($LP1gs->execute()) { goto R5hQ0; } goto E3cll; Kwtd1: $LP1gs->close(); goto bUfXa; i0Ynn: if ($DjBEU) { goto T249b; } goto QlhRY; SIb1q: foreach ($this->getClipNumbers() as $vSfuN) { goto ycSe0; uvYt2: $DjBEU = true; goto Sokro; ycSe0: if (!($vSfuN->getNumber() === $ml_3P && $vSfuN->getDestination() === $zsC1v)) { goto koZHu; } goto uvYt2; Sokro: goto AVcIP; goto a7RHJ; vyUio: wlkAC: goto I_bmi; a7RHJ: koZHu: goto vyUio; I_bmi: } goto tuMxn; urb0z: T249b: goto g2s1N; g2s1N: $Cc_Q_ = self::getDb(); goto PDcgj; xVEPb: R5hQ0: goto Kwtd1; Ixkwp: $LP1gs->bind_param("iss", $this->id, $ml_3P, $zsC1v); goto HShlA; bUfXa: } public function getClipNumbers() : array { goto Zk7dn; JRj8f: $LP1gs->bind_result($Qh9xm, $zsC1v); goto GhNzH; nW7km: if ($LP1gs->execute()) { goto rPSu0; } goto VGAZH; Zk7dn: $Cc_Q_ = self::getDb(); goto YWbfp; MQt3p: return $Mb7YT; goto A4l4U; YWbfp: $LP1gs = $Cc_Q_->prepare("SELECT number, dest FROM clip_allowed\xa            WHERE user_id = ?"); goto K4lS_; a0o5x: goto cmbuI; goto zr8kZ; p1Zd_: $LP1gs->close(); goto MQt3p; G5jb9: if (!$LP1gs->fetch()) { goto D4SAb; } goto qxXmt; VGAZH: throw new DatabaseException(sprintf("Error getting CLIP numbers for user %s: %s", $this->username, $LP1gs->error)); goto vCvPm; qxXmt: $Mb7YT[] = new ClipNumber($Qh9xm, $zsC1v, $this->id); goto a0o5x; GhNzH: $Mb7YT = array(); goto m9Kn0; vCvPm: rPSu0: goto JRj8f; zr8kZ: D4SAb: goto p1Zd_; K4lS_: $LP1gs->bind_param("i", $this->id); goto nW7km; m9Kn0: cmbuI: goto G5jb9; A4l4U: } public function getLanguage() : string { return $this->language; } public function setLanguage(string $vu1tH) { goto RAmoA; yxcgm: $this->language = $vu1tH; goto ThdZ_; THEZE: $vu1tH = NULL; goto X8irm; olg1y: goto ptr5o; goto UihId; RAmoA: if (strlen($vu1tH) === 0) { goto OcQNe; } goto Qkjof; X8irm: goto ptr5o; goto teCeo; HbiDf: ptr5o: goto yxcgm; Qkjof: if (strlen($vu1tH) !== 2) { goto Xf2ZY; } goto olg1y; teCeo: Xf2ZY: goto dkoUa; UihId: OcQNe: goto THEZE; dkoUa: throw new UnexpectedValueException("Language code must be exactly two characters long."); goto HbiDf; ThdZ_: } public function getPickupGroupIds() : array { goto TLbEi; Z9qLR: if ($LP1gs->execute()) { goto ig9cV; } goto jflqU; jflqU: throw new DatabaseException(sprintf("Error retrieving pickup group IDs for user %s: %s", $this->username, $LP1gs->error)); goto ObTY_; TLbEi: $Cc_Q_ = self::getDb(); goto w57JX; nXtHJ: C2bXh: goto QXYUX; CbxvE: return $e9d8Y; goto df2SI; AKEko: $LP1gs->bind_result($dtEry); goto vXk6V; G41k7: $e9d8Y = array(); goto AKEko; MoViq: $e9d8Y[] = $dtEry; goto wHHsg; w57JX: $LP1gs = $Cc_Q_->prepare("SELECT group_id FROM pickupgroups_users WHERE user_id = ?"); goto RdL2W; hMElv: if (!$LP1gs->fetch()) { goto C2bXh; } goto MoViq; ObTY_: ig9cV: goto G41k7; vXk6V: UVq48: goto hMElv; wHHsg: goto UVq48; goto nXtHJ; RdL2W: $LP1gs->bind_param("i", $this->id); goto Z9qLR; QXYUX: $LP1gs->close(); goto CbxvE; df2SI: } public function assignPickupGroup(int $JcXUY) : User { goto jzXlt; NKLMv: return $this; goto x1SbQ; PIHGK: $LP1gs = $Cc_Q_->prepare("SELECT COUNT(*) FROM pickupgroups WHERE id = ?"); goto RH5uA; QSCJH: if ($LP1gs->execute()) { goto SKut3; } goto W2jF1; RH5uA: $LP1gs->bind_param("i", $JcXUY); goto QSCJH; cdk0V: HM3en: goto STJFm; jzXlt: $gMbbN = $this->getPickupGroupIds(); goto MTX6v; ThBVL: vZcO5: goto LpGbP; Wf7DO: $LP1gs->fetch(); goto PSzpf; MTX6v: if (!in_array($JcXUY, $gMbbN)) { goto vZcO5; } goto BIPwP; STJFm: $LP1gs->close(); goto NKLMv; Pm0Gd: $LP1gs->bind_param("ii", $JcXUY, $this->id); goto it4p9; nKr_3: $LP1gs->bind_result($x8d6p); goto Wf7DO; W2jF1: throw new DatabaseException(sprintf("Error getting pickup group %d: %s", $JcXUY, $LP1gs->error)); goto lvAxd; BIPwP: throw new AlreadyExistsException(sprintf("User %s already is a member of pickup group %d", $this->username, $JcXUY)); goto ThBVL; HDC73: P3XDL: goto e54M6; LpGbP: $Cc_Q_ = self::getDb(); goto PIHGK; i57tZ: throw new NotFoundException(sprintf("Could not find pickup group %d", $JcXUY)); goto HDC73; vlMh1: $LP1gs = $Cc_Q_->prepare("INSERT INTO pickupgroups_users\xa            (group_id, user_id)\xa            VALUES (?, ?)"); goto Pm0Gd; e54M6: $LP1gs->close(); goto vlMh1; it4p9: if ($LP1gs->execute()) { goto HM3en; } goto YDBhe; lvAxd: SKut3: goto nKr_3; YDBhe: throw new DatabaseException(sprintf("Error adding user %s to pickup group %d", $this->username, $JcXUY)); goto cdk0V; PSzpf: if ($x8d6p) { goto P3XDL; } goto i57tZ; x1SbQ: } public function unassignPickupGroup(int $JcXUY) : User { goto voA3_; EN_yj: MhKOI: goto lKjyZ; zuli6: yzWyO: goto hJ02D; G0l47: if (in_array($JcXUY, $gMbbN)) { goto MhKOI; } goto RSh4d; lKjyZ: $Cc_Q_ = self::getDb(); goto ISFmM; pEuYs: $LP1gs->bind_param("ii", $JcXUY, $this->id); goto Ka8a1; Ka8a1: if ($LP1gs->execute()) { goto yzWyO; } goto cfrsu; voA3_: $gMbbN = $this->getPickupGroupIds(); goto G0l47; cfrsu: throw new DatabaseException(sprintf("Error removing user %s from pickup group %d", $this->username, $JcXUY)); goto zuli6; qSGa7: return $this; goto kW7sl; hJ02D: $LP1gs->close(); goto qSGa7; ISFmM: $LP1gs = $Cc_Q_->prepare("DELETE FROM pickupgroups_users\xa            WHERE group_id = ? AND user_id = ?"); goto pEuYs; RSh4d: throw new NotFoundException(sprintf("User %s is NOT a member of pickup group %d", $this->username, $JcXUY)); goto EN_yj; kW7sl: } public function asGSArray() : array { $iHmhe = $this->getGSExtensionNumber(); return array("id" => $this->id, "user" => $this->username, "pin" => $this->pin, "email" => $this->email, "firstname" => $this->firstname, "lastname" => $this->lastname, "nobody_index" => NULL, "ext" => $iHmhe, "name" => $iHmhe, "callerid" => sprintf("%s %s <%s>", $this->firstname, $this->lastname, $iHmhe), "secret" => '', "sip_pwd" => '', "mailbox" => sprintf("u%s", $this->id), "language" => $this->language, "host_id" => 1, "host" => "UCware", "is_foreign" => 0); } public function getGSExtensionNumber() : string { return $this->getFirstFoundExtension()->getNum(); } public function getFirstFoundExtension() : Extension { goto OG1Gp; O90nK: throw new NotFoundException(sprintf("There are no extensions assigned to user %s", $this->username)); goto D6yEg; D6yEg: UtPHP: goto BA23C; BA23C: return reset($this->extensions); goto rt5EX; OG1Gp: if (!empty($this->getExtensions())) { goto UtPHP; } goto O90nK; rt5EX: } public function getDND() : bool { goto c9XbT; P4651: $LP1gs->bind_param("i", $this->id); goto fBvWV; c9XbT: $Cc_Q_ = self::getDb(); goto OmhdQ; fBvWV: if ($LP1gs->execute()) { goto ctWdR; } goto M8vQ_; QYwti: ctWdR: goto pi4cc; M8vQ_: throw new DatabaseException(sprintf("Error retrieving DND status for user %s: %s", $this->username, $LP1gs->error)); goto QYwti; pi4cc: $LP1gs->bind_result($thKm1); goto iyrno; p56lD: return $thKm1 === "yes"; goto GjIVC; iyrno: if ($LP1gs->fetch()) { goto UAAff; } goto XJE03; Jx1V0: UAAff: goto TkDuW; OmhdQ: $LP1gs = $Cc_Q_->prepare("SELECT active FROM dnd WHERE _user_id = ?"); goto P4651; XJE03: return false; goto Jx1V0; TkDuW: $LP1gs->close(); goto p56lD; GjIVC: } public function setPassword(?string $vkSRp) : User { goto W4JER; V4Vph: return $this; goto DwG_k; PE4ia: JlBQf: goto V4Vph; lhzOB: $this->password = password_hash($vkSRp, PASSWORD_BCRYPT); goto zzPOe; rPeE_: nJMxw: goto yK6VQ; yK6VQ: $this->password = $vkSRp; goto PE4ia; zzPOe: goto JlBQf; goto rPeE_; W4JER: if ($vkSRp === NULL) { goto nJMxw; } goto lhzOB; DwG_k: } public function hasPassword() : bool { goto itwex; itwex: if (is_a($this->getAuthBackend(), "Ucware\Core\Authbackends\AuthBackendUcware")) { goto BV7l0; } goto hDJ7x; xKLdo: BV7l0: goto b7Ewo; b7Ewo: return $this->password !== NULL; goto eIE2Z; eIE2Z: COXWP: goto YsVy1; hDJ7x: throw new NotSupportedException("Wrong AuthBackend"); goto n4a9x; n4a9x: goto COXWP; goto xKLdo; YsVy1: } public function verifyPassword(string $vkSRp) : bool { return $this->getAuthBackend()->verifyPassword($vkSRp); } public function getAuthBackend() { goto jPtPE; nxdsk: goto EKZgY; goto DPG8t; Fq5Aj: EKZgY: goto CDhcc; VLyBZ: b1cxN: goto N8q6f; DPG8t: jFXI_: goto aOUMe; yVFTx: if (is_a($sMULj, "Ucware\Core\Authbackends\AuthBackendLdap")) { goto b1cxN; } goto nxdsk; oa6xp: goto EKZgY; goto VLyBZ; CDhcc: return $sMULj; goto ZV0sU; jPtPE: $sMULj = AuthBackend::createFromDatabase($this->authBackendId); goto sja9T; N8q6f: $sMULj->setUsername($this->username); goto Fq5Aj; aOUMe: $sMULj->setPasswordHash($this->password); goto oa6xp; sja9T: if (is_a($sMULj, "Ucware\Core\Authbackends\AuthBackendUcware")) { goto jFXI_; } goto yVFTx; ZV0sU: } public function setAuthBackend(AuthBackend $sMULj) { goto xuiZ5; fsvDD: $this->password = NULL; goto f3hbS; xuiZ5: if (is_a($sMULj, "Ucware\Core\Authbackends\AuthBackendUcware")) { goto lB2tc; } goto fsvDD; f3hbS: lB2tc: goto cxdGR; ehdqV: return $this; goto pGPRW; cxdGR: $this->authBackendId = $sMULj->getId(); goto ehdqV; pGPRW: } public function getPrivacy() : bool { return $this->privacy; } public function setPrivacy(bool $QAMMx) : User { $this->privacy = $QAMMx; return $this; } public function toArray() : array { goto cNZZ_; BxBdp: L3LHQ: goto RGeGA; QlEeD: $s2Uz0["id"] = $this->id; goto DFrKf; iYZhQ: pBt5v: goto lfrCR; p0xoa: xB4hr: goto NcfZa; m3sxr: $s2Uz0["groups"] = array(); goto v14G8; aZe38: EJ4km: goto pY0qW; NcfZa: $s2Uz0["clipNumbersExternal"] = array(); goto HTjfr; sWlip: $s2Uz0["group_id"] = $this->group_id; goto Vawz5; DFrKf: $s2Uz0["username"] = $this->username; goto Z7d6S; v14G8: foreach (Group::getGroupsForMember($this->getId(), GroupType::create("user")) as $G02rD) { $s2Uz0["groups"][] = $G02rD->getId(); TgI03: } goto BxBdp; f9gT_: $s2Uz0["authBackend"] = $this->authBackendId; goto sWlip; ZuePk: $s2Uz0["email"] = $this->email; goto NXYZ1; uN4Ek: foreach ($this->getSlots() as $wJqGG) { $s2Uz0["slots"][] = $wJqGG->getId(); f6Xqc: } goto aZe38; Z7d6S: $s2Uz0["firstname"] = $this->firstname; goto Z3UCE; hg897: UCO7z: goto m3sxr; Nqaiz: $s2Uz0["language"] = $this->language; goto f9gT_; NXYZ1: $s2Uz0["url"] = $this->url; goto Nqaiz; lfrCR: return $s2Uz0; goto lQG1T; SaDIe: foreach ($this->getCallBlockings() as $GnKmB) { $s2Uz0["callBarring"][] = array("pattern" => $GnKmB->getRegularExpression(), "pin" => $GnKmB->getPin()); zQvjj: } goto p0xoa; RGeGA: $s2Uz0["extensions"] = array(); goto ZL03V; HTjfr: $s2Uz0["clipNumbersInternal"] = array(); goto FC6Zo; U9O0M: $s2Uz0["slots"] = array(); goto uN4Ek; cNZZ_: $s2Uz0 = array(); goto QlEeD; ZL03V: foreach ($this->getExtensions() as $FwJso) { $s2Uz0["extensions"][] = $FwJso->getNum(); mu8xj: } goto iYZhQ; FC6Zo: foreach ($this->getClipNumbers() as $ml_3P) { goto OE7DS; I64No: $s2Uz0[$qhufV][] = $ml_3P->getNumber(); goto N3G9x; N3G9x: zSqhC: goto VX6Kj; OE7DS: $qhufV = sprintf("clipNumbers%s", ucfirst($ml_3P->getDestination())); goto I64No; VX6Kj: } goto hg897; pY0qW: $s2Uz0["callBarring"] = array(); goto SaDIe; Vawz5: $s2Uz0["privacy"] = $this->privacy; goto U9O0M; Z3UCE: $s2Uz0["lastname"] = $this->lastname; goto ZuePk; lQG1T: } public function hasUnbilledCalls() : bool { goto yHCfx; joeqV: $LP1gs->bind_result($bXjhb); goto i5gGC; WLfXi: if ($VWf_L = $LP1gs->execute()) { goto jP21x; } goto rvZ6m; I2H_D: throw new DatabaseException("Could not get billing information, make sure the billing service is installed and the `services-billing` table exists."); goto C9d3o; i5gGC: $LP1gs->fetch(); goto xtjlM; rvZ6m: throw new DatabaseException(sprintf("Could get billing entry count for users extensions, database error: %s", $LP1gs->error)); goto SZCAV; SpQBR: $LP1gs->bind_param("i", $this->id); goto WLfXi; xtjlM: return $bXjhb > 0; goto jJHkC; SZCAV: jP21x: goto joeqV; znIa2: if (!($LP1gs === false)) { goto ffgLo; } goto I2H_D; yHCfx: $Cc_Q_ = self::getDb(); goto es0BR; EBEwh: $LP1gs = $Cc_Q_->prepare($JYAe2); goto znIa2; C9d3o: ffgLo: goto SpQBR; es0BR: $JYAe2 = "SELECT count(*) \xa                        FROM services_billing AS sb
                        JOIN extensions AS e ON e.num = sb.extension
                        JOIN lookup_user lu ON e.id = lu.extension_id\xa                        WHERE lu.user_id = ? AND sb.billed = 0"; goto EBEwh; jJHkC: } public function getEmailNotify() : int { return $this->emailNotify; } public function setEmailNotify(int $NUInT) : User { goto fbbvW; orRMC: uWV7d: goto chEkh; P0R6Q: throw new UnexpectedValueException("emailNotify needs to be 0, 1 or 2"); goto orRMC; Xdjtj: return $this; goto elZVx; chEkh: $this->emailNotify = $NUInT; goto Xdjtj; fbbvW: if (!($NUInT < 0 || $NUInT > 2)) { goto uWV7d; } goto P0R6Q; elZVx: } } 
 ?>

Did this file decode correctly?

Original Code

 require_once __DIR__ . "\57\101\165\x74\x68\102\x61\x63\x6b\145\x6e\144\x2e\x70\150\x70"; require_once __DIR__ . "\x2f\x43\141\x6c\154\102\154\x6f\143\153\151\156\x67\x2e\160\x68\x70"; require_once __DIR__ . "\x2f\103\x6c\151\160\x4e\165\155\142\x65\162\x2e\160\150\x70"; require_once __DIR__ . "\x2f\x44\x62\117\142\152\x65\x63\x74\x2e\160\150\160"; require_once __DIR__ . "\57\105\170\x74\x65\156\x73\x69\x6f\156\56\160\150\x70"; require_once __DIR__ . "\57\107\x72\157\165\x70\56\160\x68\160"; require_once __DIR__ . "\57\x65\170\x63\x65\160\164\x69\157\x6e\163\x2f\101\x6c\x72\145\x61\144\x79\x45\170\x69\163\x74\163\x45\170\x63\145\x70\x74\x69\157\156\56\x70\x68\160"; require_once __DIR__ . "\x2f\x65\170\x63\x65\x70\x74\x69\157\156\163\x2f\x44\141\164\141\x62\141\163\145\x45\170\143\x65\160\x74\x69\157\x6e\56\160\150\160"; require_once __DIR__ . "\x2f\145\170\x63\x65\x70\x74\x69\157\156\163\57\116\x6f\164\106\157\x75\156\144\105\170\143\145\x70\x74\151\x6f\156\56\160\150\x70"; require_once __DIR__ . "\x2f\x65\170\x63\x65\x70\164\151\x6f\x6e\x73\x2f\116\157\164\123\x75\160\x70\x6f\x72\x74\145\144\105\x78\x63\x65\x70\164\x69\x6f\156\56\160\150\160"; use Ucware\Core\AuthBackend; class User extends DbObject { const BY_ID = "\151\144"; const BY_USERNAME = "\165\163\145\x72\156\141\155\145"; const BY_IP_ADDRESS = "\x69\160"; const PATTERN_VALID_EMAIL = "\57\136\x5b\x61\x2d\x7a\60\x2d\71\x5c\55\x2e\x5f\135\53\100\x5b\x61\x2d\172\60\55\x39\x5c\x2d\56\x5f\135\x7b\62\54\70\x30\x7d\134\x2e\x5b\x61\55\172\135\173\x32\54\61\x30\175\44\57\151"; private $id; private $username; private $password; private $pin; private $firstname; private $lastname; private $email; private $url; private $user_comment; private $group_id; private $softkey_profile_id; private $prov_param_profile_id; private $pb_hide; private $drop_target; private $language; private $extensions; private $authBackendId; private $privacy; private $emailNotify; private function __construct(string $Veslf) { goto tIX9l; YizHf: $this->authBackendId = "\165\x63\x77\x61\162\145"; goto e4VaN; e4VaN: $this->privacy = false; goto enj42; nCNRm: $this->language = "\144\x65"; goto YizHf; m0j0h: $this->drop_target = ''; goto nCNRm; uE_i4: $this->lastname = ''; goto T65w0; AhCeI: $this->pin = "\x31\62\x33\x34"; goto sbtdl; sbtdl: $this->firstname = ''; goto uE_i4; T65w0: $this->email = ''; goto xokbT; xokbT: $this->url = ''; goto cEzyE; cEzyE: $this->user_comment = ''; goto UwvCB; UwvCB: $this->pb_hide = 0; goto m0j0h; enj42: $this->emailNotify = 0; goto JWzvC; tIX9l: $this->username = $Veslf; goto AhCeI; JWzvC: } public static function createFromDatabaseByUsername(string $Veslf) : User { return User::createFromDatabaseByParameter(self::BY_USERNAME, $Veslf); } public static function createFromDatabaseById(int $RVVGE) : User { return User::createFromDatabaseByParameter(self::BY_ID, $RVVGE); } public static function createFromDatabaseByIpAddress(string $Uuosy) : User { return User::createFromDatabaseByParameter(self::BY_IP_ADDRESS, $Uuosy); } private static function createFromDatabaseByParameter(string $Dq1FV, $BRj3u) : User { goto fX1QK; YGaHy: $bJs5E->pin = $QnmFL; goto wTGZ2; KcWhF: $LP1gs->bind_result($RVVGE, $Veslf, $vkSRp, $QnmFL, $Gl4Yi, $a0U4R, $NdqSN, $X0xaJ, $wfml3, $dtEry, $e3_HH, $PWArl, $xO5u8, $vu1tH, $HCxHq, $QAMMx, $w6cD9, $ZbjOO); goto EMoz3; yH0km: $bJs5E->url = $X0xaJ; goto Z2zAP; fX1QK: $Cc_Q_ = self::getDb(); goto HXRNr; HXRNr: $JYAe2 = "\x53\105\114\105\x43\x54\xa\40\x20\40\x20\x20\40\x20\x20\x20\x20\40\40\x20\x20\x75\56\x69\x64\54\12\40\x20\40\x20\40\40\40\x20\40\x20\x20\40\40\40\x75\56\x75\163\x65\x72\54\xa\x20\x20\x20\x20\40\x20\40\x20\40\40\40\40\40\40\165\56\x70\141\x73\163\167\x6f\x72\144\x2c\xa\40\40\x20\40\40\40\x20\40\x20\40\x20\x20\40\40\165\x2e\x70\151\x6e\54\xa\40\40\40\40\x20\x20\x20\x20\40\x20\x20\40\40\x20\165\56\x66\151\162\163\164\x6e\x61\155\x65\54\xa\40\40\x20\40\x20\40\x20\x20\40\x20\40\40\40\x20\165\x2e\154\x61\x73\x74\156\141\x6d\x65\54\12\x20\40\x20\40\40\40\40\x20\x20\x20\x20\40\x20\40\x75\x2e\x65\155\141\x69\154\54\12\x20\40\40\x20\40\40\40\x20\x20\40\x20\40\x20\40\165\56\165\x72\x6c\x2c\xa\40\x20\40\40\x20\x20\x20\x20\40\40\40\x20\x20\40\x75\56\165\163\145\162\137\143\157\x6d\x6d\x65\156\164\x2c\12\40\40\x20\x20\40\40\40\40\40\x20\x20\x20\40\x20\x75\x2e\x67\x72\157\165\x70\137\151\144\x2c\xa\40\40\40\x20\40\x20\40\x20\x20\40\40\x20\40\40\x75\56\x73\157\x66\x74\x6b\x65\x79\x5f\x70\x72\157\x66\151\x6c\145\x5f\x69\x64\x2c\xa\x20\40\40\40\40\x20\40\40\40\40\40\x20\40\40\x75\x2e\x70\x72\157\x76\x5f\160\141\x72\141\155\x5f\x70\162\157\x66\151\x6c\x65\x5f\x69\x64\54\12\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\40\40\x20\x20\165\x2e\160\142\137\x68\x69\144\145\54\xa\40\40\40\x20\40\x20\x20\40\40\x20\40\40\x20\40\165\x2e\x6c\x61\156\147\165\x61\x67\145\x2c\12\x20\40\x20\40\x20\40\40\40\x20\x20\x20\x20\40\40\x75\x2e\141\x75\164\150\137\142\141\143\x6b\x65\156\144\137\x69\x64\54\12\x20\x20\40\x20\x20\40\x20\40\40\40\40\x20\40\40\165\56\x70\162\151\x76\141\x63\x79\x2c\xa\x20\x20\40\x20\40\40\x20\40\x20\40\x20\x20\x20\x20\166\x2e\145\155\x61\151\154\137\156\x6f\164\151\146\x79\x2c\12\40\x20\40\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\165\x63\x2e\x6e\165\155\x62\145\162\x20\101\123\40\x64\162\x6f\160\137\x74\141\162\x67\145\x74\xa\40\x20\x20\40\40\40\x20\40\40\40\x20\40\x46\x52\117\115\x20\165\163\145\162\x73\x20\x75\xa\x20\x20\40\40\x20\x20\x20\40\x20\x20\40\x20\x4a\117\x49\x4e\x20\x76\155\40\x76\x20\117\116\x20\165\56\151\x64\40\75\40\x76\x2e\165\163\145\x72\137\151\x64\xa\x20\40\40\x20\x20\x20\40\40\40\x20\x20\x20\x4c\105\x46\124\40\112\117\111\x4e\40\165\x73\x65\x72\137\x63\x61\x6c\x6c\144\162\x6f\x70\40\x75\143\40\x4f\116\40\x75\56\151\144\x20\x3d\x20\x75\143\56\165\163\145\162\x5f\151\144"; goto t1hep; MdnUv: $bJs5E->password = $vkSRp; goto YGaHy; vBagS: $bJs5E->prov_param_profile_id = $PWArl; goto PBD2C; M0CmH: $k1rBF = "\x57\x48\x45\122\x45\40\x75\x2e\x75\x73\145\x72\40\75\x20\x3f"; goto Ik1N0; tIQTY: $LP1gs = $Cc_Q_->prepare(sprintf("\x25\x73\40\45\x73", $JYAe2, $k1rBF)); goto TXCXr; bVK5k: $oySws = "\151"; goto dgjfv; PWj5c: if ($Dq1FV === self::BY_IP_ADDRESS) { goto hNQ1j; } goto gzGjD; HkRyZ: tlMT4: goto EYnVv; if7vq: if ($LP1gs->execute()) { goto hFKrI; } goto RDF6y; uOKr1: return $bJs5E; goto O0jXW; zOaYt: $bJs5E->group_id = $dtEry; goto Ff7yZ; t1hep: if ($Dq1FV === self::BY_ID) { goto tlMT4; } goto hw3fd; Ff7yZ: $bJs5E->softkey_profile_id = $e3_HH; goto vBagS; Z2zAP: $bJs5E->user_comment = $wfml3; goto zOaYt; PBD2C: $bJs5E->pb_hide = $xO5u8 === 0 ? false : true; goto nlrKG; C_ALe: hFKrI: goto KcWhF; k0rAF: DVAmm: goto XUvxT; r8klj: $bJs5E->emailNotify = $w6cD9; goto qT4bz; Lr7X2: S1zm_: goto tIQTY; dBwJU: $bJs5E->privacy = (bool) $QAMMx; goto r8klj; n4eRG: $bJs5E->authBackendId = $HCxHq; goto dBwJU; hw3fd: if ($Dq1FV === self::BY_USERNAME) { goto kNhzF; } goto PWj5c; KcAxc: $k1rBF = "\x57\x48\105\x52\105\x20\165\56\143\165\162\162\x65\x6e\164\x5f\151\160\40\75\x20\x3f"; goto JqdqQ; gzGjD: $k1rBF = ''; goto lKCqB; XUvxT: $LP1gs->close(); goto SuDBc; iM4C3: $bJs5E->email = $NdqSN; goto yH0km; IgJ20: kNhzF: goto M0CmH; eO0re: throw new NotFoundException(sprintf("\x43\157\165\154\x64\40\156\x6f\164\x20\x66\x69\156\x64\x20\x75\x73\145\162\x20\167\x69\x74\150\40\45\x73\40\x25\163\56", $Dq1FV, $BRj3u)); goto k0rAF; wTGZ2: $bJs5E->firstname = $Gl4Yi; goto qPoCf; booVu: goto S1zm_; goto YRvvx; qT4bz: $bJs5E->drop_target = $ZbjOO; goto uOKr1; TXCXr: $LP1gs->bind_param($oySws, $BRj3u); goto if7vq; YRvvx: hNQ1j: goto KcAxc; RDF6y: throw new DatabaseException(sprintf("\105\162\162\x6f\x72\x20\154\x6f\x61\144\x69\156\147\x20\x75\x73\145\x72\x20\x62\x79\x20\x57\x48\105\x52\x45\x20\143\x6c\141\x75\x73\145\40\45\x73\x3a\40\x25\163", $k1rBF, $LP1gs->error)); goto C_ALe; qPoCf: $bJs5E->lastname = $a0U4R; goto iM4C3; Ik1N0: $oySws = "\x73"; goto booVu; lKCqB: goto S1zm_; goto HkRyZ; EYnVv: $k1rBF = "\127\x48\x45\122\x45\x20\165\56\151\x64\40\75\x20\77"; goto bVK5k; EMoz3: if ($LP1gs->fetch()) { goto DVAmm; } goto eO0re; dgjfv: goto S1zm_; goto IgJ20; nlrKG: $bJs5E->language = $vu1tH; goto n4eRG; SuDBc: $bJs5E = new User($Veslf); goto kHO9N; kHO9N: $bJs5E->id = $RVVGE; goto MdnUv; JqdqQ: $oySws = "\x73"; goto Lr7X2; O0jXW: } public static function createAllFromDatabase() { goto A_heJ; IvStf: $LP1gs->bind_result($RVVGE, $Veslf, $vkSRp, $QnmFL, $Gl4Yi, $a0U4R, $NdqSN, $X0xaJ, $wfml3, $dtEry, $e3_HH, $PWArl, $xO5u8, $vu1tH, $HCxHq, $QAMMx, $w6cD9, $ZbjOO); goto LI_ai; zglLz: $LP1gs = $Cc_Q_->prepare("\123\105\114\x45\x43\124\xa\x20\40\40\40\40\x20\x20\40\40\40\40\40\40\40\165\56\151\144\x2c\xa\40\x20\40\x20\40\40\40\40\40\40\40\x20\x20\x20\165\x2e\165\x73\x65\162\54\12\x20\40\x20\x20\40\40\40\40\x20\40\x20\40\x20\x20\x75\56\x70\141\163\163\x77\x6f\162\144\x2c\xa\40\40\x20\40\40\40\x20\x20\x20\x20\x20\40\40\x20\x75\56\160\151\x6e\54\12\40\x20\x20\40\x20\x20\x20\40\x20\40\x20\x20\40\40\x75\56\146\x69\x72\163\164\156\141\x6d\x65\x2c\12\x20\40\40\x20\x20\40\40\x20\x20\40\x20\x20\40\x20\x75\x2e\x6c\141\163\164\156\x61\155\x65\54\xa\40\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\40\165\56\x65\155\x61\151\154\x2c\12\40\x20\x20\40\x20\40\x20\x20\40\40\40\x20\x20\x20\x75\x2e\x75\x72\x6c\54\12\40\x20\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\x20\x75\x2e\x75\163\x65\x72\137\143\157\155\x6d\x65\x6e\164\54\12\40\40\x20\40\40\x20\x20\40\40\x20\40\40\40\40\165\56\x67\162\157\x75\x70\137\151\144\54\12\40\40\x20\40\x20\40\x20\40\x20\40\x20\40\x20\x20\x75\x2e\163\x6f\x66\164\x6b\145\x79\x5f\x70\x72\x6f\146\x69\154\x65\x5f\x69\144\x2c\12\40\x20\40\40\x20\40\x20\40\x20\x20\40\x20\x20\40\165\56\x70\x72\x6f\166\137\x70\x61\162\141\x6d\x5f\x70\162\157\x66\151\154\x65\137\x69\x64\54\12\40\x20\40\x20\40\40\40\40\40\x20\40\x20\x20\x20\x75\x2e\160\142\137\x68\151\144\x65\x2c\12\x20\40\40\x20\x20\40\40\40\40\40\40\x20\40\x20\165\56\x6c\141\156\147\x75\x61\147\145\x2c\12\40\40\x20\40\40\40\x20\40\x20\x20\40\x20\40\x20\x75\56\141\x75\164\150\137\142\141\143\x6b\x65\x6e\144\137\151\144\x2c\12\x20\x20\40\40\x20\40\x20\40\40\x20\40\40\40\40\x75\56\x70\162\151\166\141\143\171\54\xa\40\x20\40\40\40\40\x20\x20\x20\40\40\40\x20\x20\166\56\x65\x6d\x61\151\x6c\137\156\x6f\x74\x69\x66\x79\x2c\xa\x20\40\x20\40\40\40\40\40\x20\x20\x20\40\x20\40\x75\143\56\156\165\x6d\x62\145\x72\40\x41\123\40\144\x72\x6f\160\137\164\141\x72\x67\x65\x74\12\40\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x46\122\117\115\x20\165\x73\145\162\163\x20\165\xa\x20\40\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x4a\117\111\x4e\40\x76\x6d\40\166\40\117\x4e\x20\165\56\151\144\x20\75\40\x76\x2e\x75\163\145\162\x5f\151\x64\xa\40\x20\x20\40\40\x20\40\40\x20\x20\x20\x20\114\105\106\124\40\112\117\x49\116\x20\165\x73\145\x72\137\x63\141\154\x6c\x64\162\157\160\x20\165\143\x20\x4f\x4e\x20\x75\x2e\x69\x64\40\x3d\40\x75\143\56\x75\163\145\x72\x5f\151\x64"); goto YBjVk; LWwNg: $bJs5E->prov_param_profile_id = $PWArl; goto Eqch_; KPhsS: Oor4t: goto TCJ9m; YLsYP: $bJs5E->email = $NdqSN; goto cpwGe; ziywW: $bJs5E->group_id = $dtEry; goto uz9d4; HbcSB: jCG7W: goto IvStf; Wf1ma: return $L6rZP; goto fSn06; LsT3R: $bJs5E->id = $RVVGE; goto gJsLd; VqXdM: $bJs5E->language = $vu1tH; goto eGMO_; uz9d4: $bJs5E->softkey_profile_id = $e3_HH; goto LWwNg; gJsLd: $bJs5E->password = $vkSRp; goto HAVvd; WOs6e: throw new DatabaseException(sprintf("\x45\162\x72\157\x72\40\154\x6f\x61\x64\151\156\x67\x20\141\154\154\x20\x75\163\145\x72\x73\x3a\x20\45\163", $LP1gs->error)); goto HbcSB; B1dH5: goto B4kJI; goto KPhsS; AUOVx: $bJs5E->emailNotify = $w6cD9; goto XUpTB; cpwGe: $bJs5E->url = $X0xaJ; goto X0IMI; sX1Be: $bJs5E = new User($Veslf); goto LsT3R; LI_ai: $LP1gs->store_result(); goto BCJK6; Rztqk: $L6rZP[] = $bJs5E; goto B1dH5; HAVvd: $bJs5E->pin = $QnmFL; goto uXjKL; TCJ9m: $LP1gs->close(); goto Wf1ma; Eqch_: $bJs5E->pb_hide = $xO5u8 === 0 ? false : true; goto VqXdM; BCJK6: $L6rZP = array(); goto YCYso; eGMO_: $bJs5E->authBackendId = $HCxHq; goto Ts8UF; X0IMI: $bJs5E->user_comment = $wfml3; goto ziywW; XUpTB: $bJs5E->drop_target = $ZbjOO; goto Rztqk; YCYso: B4kJI: goto dZauW; zVu1R: $bJs5E->lastname = $a0U4R; goto YLsYP; A_heJ: $Cc_Q_ = self::getDb(); goto zglLz; uXjKL: $bJs5E->firstname = $Gl4Yi; goto zVu1R; Ts8UF: $bJs5E->privacy = (bool) $QAMMx; goto AUOVx; YBjVk: if ($LP1gs->execute()) { goto jCG7W; } goto WOs6e; dZauW: if (!$LP1gs->fetch()) { goto Oor4t; } goto sX1Be; fSn06: } public static function createNew(string $Veslf) : User { goto S7eQV; avaCj: $LP1gs->bind_param("\x73\163\163\163\x73\x73\x73\163\151\x69\151\x69\x73\x73\151", $bJs5E->username, $bJs5E->password, $bJs5E->pin, $bJs5E->firstname, $bJs5E->lastname, $bJs5E->email, $bJs5E->url, $bJs5E->user_comment, $bJs5E->group_id, $bJs5E->softkey_profile_id, $bJs5E->prov_param_profile_id, $bJs5E->pb_hide, $bJs5E->language, $bJs5E->authBackendId, $bJs5E->privacy); goto q0TWl; RlMV4: $biSdy = sprintf("\45\163\x25\x73", $bJs5E->firstname ? "{$bJs5E->firstname}\x20" : '', $bJs5E->lastname ? $bJs5E->lastname : ''); goto Hirht; VuxqI: throw new DatabaseException(sprintf("\105\162\x72\x6f\x72\40\x63\150\x65\x63\153\x69\156\x67\x20\146\x6f\x72\40\145\170\151\163\x74\x65\156\143\x65\x20\x6f\146\40\x55\163\145\x72\x20\x25\163", $Veslf)); goto GSFn3; fHp4g: $LP1gs = $Cc_Q_->prepare("\122\105\120\x4c\x41\x43\x45\40\111\116\124\x4f\x20\141\163\164\x5f\x76\157\x69\143\x65\x6d\141\151\154\12\40\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\x28\137\165\x73\145\x72\x5f\151\x64\54\x20\155\141\151\x6c\x62\157\170\x2c\x20\160\141\x73\163\x77\x6f\162\x64\x2c\40\x66\x75\154\x6c\x6e\x61\155\145\51\12\x20\x20\x20\x20\x20\x20\x20\40\40\40\x20\x20\126\101\114\125\x45\123\x20\x28\77\x2c\x20\x43\117\x4e\103\101\x54\x28\47\165\47\x2c\40\x3f\51\54\40\x3f\x2c\40\x3f\x29"); goto RlMV4; ImCVV: throw new DatabaseException(sprintf("\105\162\x72\157\x72\x20\x63\162\145\x61\164\151\x6e\147\x20\141\163\x74\x5f\x76\x6f\151\143\x65\155\141\x69\154\40\x65\156\x74\x72\x79\40\x66\157\162\40\165\163\x65\x72\40\45\x73\x3a\40\45\163", $bJs5E->username, $Cc_Q_->error)); goto syijm; u0L2i: $LP1gs = $Cc_Q_->prepare("\111\116\x53\105\122\x54\x20\111\116\124\117\x20\x75\163\145\162\163\x20\50\xa\40\40\x20\x20\40\x20\x20\40\x20\40\40\40\x20\x20\40\x20\x75\x73\x65\162\54\12\x20\x20\40\40\40\40\x20\x20\x20\40\x20\x20\40\40\40\x20\x70\141\163\163\167\x6f\x72\x64\54\xa\x20\x20\x20\40\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x70\x69\x6e\54\12\40\x20\40\x20\x20\40\40\x20\40\40\40\x20\40\40\40\x20\x66\x69\x72\x73\164\x6e\x61\155\x65\54\12\40\40\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\40\40\40\154\141\163\164\156\141\155\145\x2c\xa\40\40\x20\40\40\x20\x20\40\40\x20\x20\x20\x20\40\40\40\x65\x6d\x61\x69\x6c\x2c\xa\40\x20\40\x20\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\40\165\x72\x6c\54\xa\40\x20\x20\x20\x20\x20\40\40\40\x20\40\x20\40\40\40\x20\165\163\x65\162\x5f\x63\157\x6d\155\x65\156\164\x2c\xa\40\40\40\40\x20\x20\40\40\40\40\40\40\x20\x20\40\40\x67\162\x6f\x75\160\137\151\x64\x2c\xa\x20\40\x20\x20\40\40\40\40\x20\x20\x20\40\40\x20\40\40\163\157\146\164\x6b\145\x79\x5f\x70\162\157\x66\x69\x6c\145\137\151\x64\x2c\xa\x20\x20\40\40\x20\40\x20\40\x20\x20\x20\40\x20\x20\x20\x20\160\x72\157\166\137\x70\x61\x72\x61\155\x5f\160\162\157\x66\x69\154\145\x5f\151\x64\54\xa\x20\40\40\40\40\x20\x20\x20\40\x20\40\40\x20\40\x20\x20\x70\142\x5f\150\x69\144\x65\x2c\xa\40\40\40\x20\40\x20\40\x20\40\40\40\x20\40\40\40\x20\x6c\x61\x6e\x67\x75\141\x67\145\54\xa\x20\x20\40\40\x20\x20\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x61\165\x74\150\x5f\142\x61\x63\153\145\156\144\137\151\x64\x2c\xa\40\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\x70\x72\x69\166\x61\x63\171\xa\40\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\51\xa\40\40\40\x20\40\x20\x20\40\40\40\40\x20\126\101\114\125\105\123\40\50\77\x2c\x20\77\54\x20\x3f\54\x20\77\54\x20\x3f\54\40\77\54\x20\x3f\54\x20\77\x2c\x20\77\54\x20\77\54\x20\77\54\x20\x3f\x2c\x20\x3f\x2c\40\77\x2c\40\x3f\x29"); goto avaCj; G6sKF: if (!$LP1gs->fetch()) { goto Xo0BG; } goto jdHwc; lI3AE: Xo0BG: goto rMZw3; EfZqn: throw new DatabaseException(sprintf("\x45\x72\x72\157\162\40\143\x72\145\x61\x74\x69\x6e\147\x20\165\x73\145\162\x20\x25\163\x3a\40\x25\163", $Veslf, $LP1gs->error)); goto p12iw; WYuqN: $LP1gs->close(); goto zDKWN; Z5leg: if ($LP1gs->execute()) { goto z2_sW; } goto Zc4wA; H6yOJ: throw new DatabaseException(sprintf("\x45\162\x72\157\162\40\x63\162\x65\141\164\x69\156\147\40\x76\155\40\x65\x6e\164\162\171\x20\146\x6f\162\x20\165\x73\145\162\40\x25\163\x3a\40\x25\163", $bJs5E->username, $Cc_Q_->error)); goto R3WBj; CLrMp: $LP1gs->bind_param("\x69", $bJs5E->id); goto NiJ_p; S7eQV: self::checkUsername($Veslf); goto RTMQx; RTMQx: $Cc_Q_ = self::getDb(); goto lI0cg; q0TWl: if ($LP1gs->execute()) { goto xzsqU; } goto X8PoO; yu7tC: if ($LP1gs->execute()) { goto kGg1U; } goto VuxqI; syijm: z2_sW: goto vLSy3; gv1WS: $LP1gs->bind_param("\x73", $Veslf); goto yu7tC; bdOGj: $bJs5E->id = $LP1gs->insert_id; goto WYuqN; rMZw3: $bJs5E = new User($Veslf); goto GJufa; eDs6w: $Cc_Q_->rollback(); goto H6yOJ; zDKWN: $LP1gs = $Cc_Q_->prepare("\122\x45\120\114\101\x43\x45\x20\111\116\x54\117\40\166\x6d\xa\40\40\x20\40\x20\40\40\x20\40\40\x20\40\50\165\163\x65\162\137\x69\144\54\40\151\x6e\164\145\162\156\x61\x6c\x5f\141\143\164\x69\x76\x65\54\40\x65\170\x74\x65\162\x6e\141\154\137\141\143\164\151\x76\145\x29\xa\40\x20\40\40\40\40\x20\x20\x20\40\x20\x20\x56\101\x4c\x55\x45\x53\40\50\x3f\x2c\40\x30\x2c\40\x30\51"); goto CLrMp; p12iw: xzsqU: goto bdOGj; jdHwc: throw new AlreadyExistsException(sprintf("\125\163\145\x72\x20\45\x73\x20\141\154\x72\x65\141\x64\x79\40\145\170\x69\163\x74\x73\x2e", $Veslf)); goto SBZ6B; vLSy3: $LP1gs->close(); goto ieeJg; Zc4wA: $Cc_Q_->rollback(); goto ImCVV; GJufa: GPPC_: goto EnjHG; X8PoO: $Cc_Q_->rollback(); goto EfZqn; ieeJg: $Cc_Q_->commit(); goto lGU_Z; euuiZ: $LP1gs->close(); goto fHp4g; R3WBj: NJ84j: goto euuiZ; GSFn3: kGg1U: goto G6sKF; lI0cg: $LP1gs = $Cc_Q_->prepare("\123\105\x4c\105\103\x54\40\x69\x64\x20\106\122\x4f\x4d\x20\x75\x73\x65\x72\163\x20\127\x48\x45\x52\105\x20\165\163\x65\x72\x20\x3d\x20\x3f"); goto gv1WS; lGU_Z: return $bJs5E; goto NfLD1; NiJ_p: if ($LP1gs->execute()) { goto NJ84j; } goto eDs6w; ZI82f: $Cc_Q_->begin_transaction(); goto u0L2i; SBZ6B: goto GPPC_; goto lI3AE; EnjHG: $LP1gs->close(); goto ZI82f; Hirht: $LP1gs->bind_param("\151\151\x73\163", $bJs5E->id, $bJs5E->id, $bJs5E->pin, $biSdy); goto Z5leg; NfLD1: } public static function count() : int { goto zoT1E; FlpFp: $UBubv = $VWf_L->fetch_row(); goto ilVNf; ilVNf: return (int) $UBubv[0]; goto DlEkL; c3lEE: $VWf_L = $Cc_Q_->query("\x53\105\114\105\103\x54\40\x43\117\125\x4e\x54\x28\x2a\51\x20\106\x52\x4f\115\x20\165\x73\x65\x72\x73"); goto FlpFp; zoT1E: $Cc_Q_ = self::getDb(); goto c3lEE; DlEkL: } public static function countOnDevice() : int { goto H16kw; zOsF5: return (int) $UBubv[0]; goto V0JmT; H16kw: $Cc_Q_ = self::getDb(); goto Wq_jo; Wq_jo: $VWf_L = $Cc_Q_->query("\x53\x45\x4c\105\x43\124\40\103\x4f\125\116\x54\x28\104\111\123\x54\x49\x4e\x43\x54\40\x75\x2e\x69\x64\51\x20\x46\x52\117\115\40\x75\163\145\x72\x73\x20\101\123\x20\165\40\112\117\111\116\40\x73\x6c\x6f\x74\x73\x20\101\123\x20\x73\40\x4f\116\40\165\x2e\151\144\x20\x3d\40\x73\x2e\165\x73\145\x72\137\x69\x64\x20\x4a\117\x49\116\x20\144\x65\x76\x69\x63\145\x73\40\x41\123\40\144\x20\117\116\40\x73\x2e\x64\x65\166\x69\143\145\40\75\40\x64\56\x69\144"); goto mMZQ7; mMZQ7: $UBubv = $VWf_L->fetch_row(); goto zOsF5; V0JmT: } private static function checkUsername(string $Veslf) { goto Slier; i3LMK: GFc7_: goto NIuzm; I0mVR: if (!(strLen($Veslf) > 50)) { goto hCfRC; } goto RDLmp; t_Vhk: ammI5: goto I0mVR; RDLmp: throw new UnexpectedValueException("\x42\145\x6e\x75\x74\x7a\x65\x72\156\x61\155\145\40\x64\x61\x72\x66\40\141\x75\x73\x20\x68\xc3\266\x63\x68\x73\164\x65\156\x73\40\65\x30\40\132\145\151\x63\150\x65\x6e\x20\142\x65\163\164\145\150\x65\156\x2e"); goto a3iDs; Slier: if (preg_match("\57\136\133\x61\x2d\172\60\x2d\71\x5c\55\137\x2e\x5d\x2b\x24\x2f", $Veslf)) { goto GFc7_; } goto Q1TEd; g1Y1B: if (!preg_match("\x2f\x5e\x5b\x2e\135\x2f", $Veslf)) { goto Uo1jm; } goto bAwEV; kgsKL: XJ3xa: goto gOEYo; NIuzm: if (!(strLen($Veslf) < 2)) { goto ammI5; } goto WV4fQ; oF72l: throw new UnexpectedValueException("\125\x6e\x67\303\274\x6c\164\x69\x67\145\162\x20\102\x65\156\x75\x74\x7a\x65\162\156\x61\x6d\x65\x2e"); goto Br0Ba; Br0Ba: KW_p9: goto tJOkx; aanea: if (preg_match("\x2f\x5e\x5b\x61\55\172\x30\55\71\x5c\55\137\x5d\x5b\141\55\172\60\55\71\134\55\x5f\56\x5d\x2b\44\x2f", $Veslf)) { goto KW_p9; } goto oF72l; Q1TEd: throw new UnexpectedValueException("\x42\145\x6e\x75\x74\x7a\145\162\x6e\x61\155\x65\x20\144\x61\x72\x66\40\x6e\x75\x72\40\x61\x75\163\40\113\154\x65\151\156\x62\x75\x63\150\x73\x74\x61\142\x65\156\x2c\40\x5a\x69\x66\x66\x65\162\x6e\x20\x75\156\144\x20\x2d\x5f\56\40\x62\x65\163\164\x65\x68\145\x6e\x2e"); goto i3LMK; pFcsq: throw new UnexpectedValueException("\102\145\x6e\x75\x74\x7a\x65\x72\x6e\x61\155\145\x20\151\x73\164\x20\162\x65\x73\145\162\166\151\145\162\164\x2e"); goto kgsKL; WV4fQ: throw new UnexpectedValueException("\102\145\156\165\164\172\x65\x72\156\x61\x6d\145\40\x6d\x75\163\163\x20\x61\165\163\x20\x6d\151\156\144\x65\x73\x74\145\x6e\x73\x20\62\40\132\x65\x69\143\x68\145\156\x20\x62\145\163\164\x65\150\x65\x6e\56"); goto t_Vhk; WakZh: Uo1jm: goto aanea; a3iDs: hCfRC: goto g1Y1B; bAwEV: throw new UnexpectedValueException("\x42\x65\x6e\165\164\x7a\145\162\156\141\155\145\x20\144\x61\162\146\40\156\x69\x63\150\x74\x20\155\x69\164\40\x65\151\156\x65\155\40\42\56\x22\40\142\145\147\x69\x6e\x6e\145\x6e\56"); goto WakZh; tJOkx: if (!(in_array($Veslf, array("\x73\x79\163\141\144\x6d\151\156", "\x72\157\x6f\164", "\147\145\155\x65\151\156\x73\x63\x68\x61\146\x74", "\x73\145\164\165\x70", "\155\x79", "\160\x72\157\166", "\x69\155\147", "\152\x73", "\x6d\x6f\x6e", "\163\x74\171\154\145\163", "\x73\157\x61\x70", "\163\162\x76"), true) || preg_match("\57\136\x6e\x6f\x62\157\x64\171\x2d\x2f", $Veslf))) { goto XJ3xa; } goto pFcsq; gOEYo: } public static function isUsernameValid(string $Veslf) : bool { self::checkUsername($Veslf); return true; } public function save() { goto TSQwm; GJHXw: $Cc_Q_->commit(); goto wqfuY; r2ehR: $LP1gs->close(); goto yV1us; y31de: if (!($this->drop_target !== NULL)) { goto ixFHI; } goto o6rAM; F7kUO: $LP1gs->bind_param("\x69\163\151", $this->id, $this->drop_target, $UOzx6); goto S52sm; yqBCd: ixFHI: goto GJHXw; IsKaz: $LP1gs->bind_param("\x69\x69", $this->emailNotify, $this->id); goto h5w2h; juqTV: throw new DatabaseException(sprintf("\x45\162\x72\157\x72\x20\163\x61\166\151\156\147\40\x75\163\145\x72\x20\45\x73\72\40\45\x73", $this->username, $LP1gs->error)); goto zTwHt; T5vfq: $rt5ok = sprintf("\x25\x73\45\x73", $this->firstname ? "{$this->firstname}\40" : '', $this->lastname); goto nRsho; c59TA: if ($LP1gs->execute()) { goto dD0PA; } goto QpSWH; TSQwm: $Cc_Q_ = self::getDb(); goto xFFHT; KeXjs: $Cc_Q_->rollback(); goto E1P1s; S52sm: if ($LP1gs->execute()) { goto V5W4_; } goto q3vub; yV1us: $LP1gs = $Cc_Q_->prepare("\125\120\x44\x41\124\105\40\166\155\40\x53\x45\x54\xa\40\x20\40\x20\x20\40\x20\40\x20\x20\40\40\145\x6d\x61\x69\154\137\156\157\164\151\x66\171\x20\x3d\x20\x3f\12\x20\40\40\40\40\x20\40\40\40\x20\40\40\x57\110\105\x52\x45\x20\165\163\x65\162\x5f\151\x64\x20\x3d\x20\77"); goto IsKaz; nRsho: $LP1gs->bind_param("\x73\x73\x69", $this->pin, $rt5ok, $this->id); goto zxNLf; B_H42: $Cc_Q_->rollback(); goto GmRyl; zxNLf: if ($LP1gs->execute()) { goto uO0HZ; } goto B_H42; q3vub: $Cc_Q_->rollback(); goto Ya8fw; o6rAM: $LP1gs = $Cc_Q_->prepare("\x52\x45\x50\x4c\101\x43\105\40\x49\116\x54\x4f\x20\x75\163\x65\162\137\x63\x61\154\154\144\x72\157\x70\40\x28\165\163\145\x72\137\x69\x64\54\x20\156\x75\155\x62\145\x72\x2c\x20\144\162\x6f\160\137\x63\x61\x6c\154\51\xa\x20\x20\x20\x20\40\40\40\40\x20\x20\40\x20\x20\40\40\40\126\101\114\x55\x45\123\x20\50\x3f\x2c\x20\77\54\40\77\x29"); goto Kbe17; GmRyl: throw new DatabaseException(sprintf("\x45\162\x72\157\x72\40\165\x70\x64\141\x74\x69\x6e\x67\x20\166\157\151\143\x65\155\141\151\154\x20\x65\x6e\x74\162\171\x20\x66\157\x72\40\x75\163\145\162\40\x25\163\x3a\40\45\x73", $this->username, $LP1gs->error)); goto rGS7q; SG4Ay: $LP1gs->close(); goto Og2Jd; Og2Jd: $LP1gs = $Cc_Q_->prepare("\x55\120\104\101\x54\x45\x20\141\x73\x74\x5f\166\x6f\151\143\145\x6d\x61\x69\x6c\x20\123\105\x54\xa\40\x20\40\40\40\40\x20\x20\40\40\40\x20\x70\141\x73\x73\167\157\162\144\x20\75\x20\x3f\x2c\xa\40\40\40\x20\x20\40\x20\40\x20\40\x20\x20\146\165\x6c\154\x6e\x61\x6d\145\40\x3d\40\77\12\x20\x20\40\x20\40\x20\40\x20\40\x20\x20\x20\x57\x48\105\122\105\x20\137\165\163\145\162\137\151\144\x20\75\40\x3f"); goto T5vfq; I1cJK: $LP1gs->bind_param("\x73\163\163\163\163\x73\163\163\x69\151\x69\151\163\x73\x69\x69", $this->username, $this->password, $this->pin, $this->firstname, $this->lastname, $this->email, $this->url, $this->user_comment, $this->group_id, $this->softkey_profile_id, $this->prov_param_profile_id, $this->pb_hide, $this->language, $this->authBackendId, $this->privacy, $this->id); goto c59TA; h5w2h: if ($LP1gs->execute()) { goto OoaXf; } goto KeXjs; Ya8fw: throw new DatabaseException(sprintf("\x45\x72\x72\157\162\40\143\162\x65\x61\x74\x69\156\x67\x20\143\x61\154\x6c\x64\x72\157\x70\x20\145\156\164\162\x79\x20\x66\157\x72\x20\x75\x73\x65\162\40\45\x73\x3a\40\x25\163", $this->username, $LP1gs->error)); goto W5AJ1; rGS7q: uO0HZ: goto r2ehR; QpSWH: $Cc_Q_->rollback(); goto juqTV; W5AJ1: V5W4_: goto xXKZ3; E1P1s: throw new DatabaseException(sprintf("\x45\162\x72\157\162\40\165\x70\144\x61\164\151\156\147\x20\x76\x6d\x20\145\155\x61\151\x6c\40\x6e\x6f\x74\151\x66\x69\x63\x61\x74\x69\x6f\156\40\145\x6e\164\162\x79\40\146\x6f\x72\x20\x75\163\145\162\x20\45\x73\x3a\40\x25\163", $this->username, $LP1gs->error)); goto J_aC4; J_aC4: OoaXf: goto Pp9qv; Pp9qv: $LP1gs->close(); goto y31de; Kbe17: $UOzx6 = $this->drop_target === '' ? 0 : 1; goto F7kUO; L3paB: $LP1gs = $Cc_Q_->prepare("\x55\120\x44\101\124\x45\x20\165\163\145\x72\x73\40\123\x45\x54\xa\x20\40\40\40\x20\40\x20\40\x20\40\40\40\40\x20\x20\40\165\163\145\162\40\75\x20\77\54\xa\40\40\x20\x20\x20\x20\40\40\x20\x20\x20\40\40\x20\40\40\160\141\163\163\x77\x6f\x72\144\x20\x3d\40\x3f\x2c\12\40\x20\40\x20\x20\x20\x20\x20\40\40\40\40\x20\x20\x20\40\x70\x69\156\40\x3d\x20\x3f\x2c\xa\x20\40\x20\x20\40\x20\40\x20\x20\40\40\40\40\x20\40\x20\x66\x69\x72\163\164\156\x61\155\145\x20\x3d\x20\77\54\12\x20\x20\x20\40\40\x20\40\40\x20\x20\40\40\x20\40\x20\40\x6c\x61\163\164\x6e\x61\x6d\145\x20\x3d\40\x3f\x2c\12\40\x20\40\40\40\40\x20\40\40\40\40\x20\x20\40\x20\x20\145\155\141\x69\154\x20\75\40\77\x2c\xa\40\x20\40\40\40\40\40\x20\40\40\x20\40\x20\40\x20\x20\x75\x72\x6c\x20\x3d\40\x3f\x2c\12\x20\x20\x20\40\40\x20\x20\40\40\x20\x20\40\40\x20\x20\x20\x75\163\145\162\137\143\x6f\x6d\155\x65\156\164\40\x3d\40\77\54\xa\x20\x20\x20\40\40\40\40\40\x20\x20\x20\40\40\40\x20\40\147\162\x6f\165\x70\137\151\144\40\x3d\40\x3f\54\xa\40\40\x20\x20\x20\40\40\40\40\x20\x20\40\x20\x20\40\x20\x73\157\x66\x74\153\145\171\137\160\162\x6f\x66\151\154\x65\x5f\151\144\40\x3d\40\x3f\54\12\x20\40\x20\40\x20\x20\40\40\x20\x20\x20\x20\40\x20\x20\x20\x70\x72\x6f\x76\x5f\160\x61\162\x61\155\x5f\x70\x72\x6f\x66\151\154\145\x5f\x69\144\x20\x3d\40\x3f\54\12\40\x20\x20\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\160\x62\137\x68\x69\144\145\40\x3d\40\77\54\xa\x20\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\x20\x6c\141\156\147\x75\x61\147\x65\40\75\40\77\x2c\xa\40\x20\x20\x20\40\40\40\x20\40\x20\x20\x20\x20\40\x20\x20\141\x75\x74\x68\137\x62\x61\x63\x6b\x65\156\x64\x5f\x69\144\x20\75\x20\77\54\xa\40\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\x20\40\40\160\162\151\x76\x61\x63\171\40\75\40\77\12\40\40\40\40\x20\x20\x20\40\x20\40\x20\x20\x57\x48\105\122\x45\x20\151\144\40\x3d\40\77"); goto I1cJK; xFFHT: $Cc_Q_->begin_transaction(); goto L3paB; xXKZ3: $LP1gs->close(); goto yqBCd; zTwHt: dD0PA: goto SG4Ay; wqfuY: } public function delete() { goto nGcDB; wDoMw: $LP1gs->bind_param("\x69", $this->softkey_profile_id); goto xb7Z7; w7kSf: $LP1gs->bind_param("\151", $this->id); goto KW8QS; k7RXv: if (!($this->softkey_profile_id > 0)) { goto YC_EP; } goto GZeXO; jWnhV: $Cc_Q_->rollback(); goto KI6uN; xb7Z7: if ($LP1gs->execute()) { goto Ni9k8; } goto J0R2Q; KI6uN: throw new DatabaseException(sprintf("\x43\157\x75\154\144\40\x6e\x6f\164\40\154\157\x67\x20\157\165\164\40\165\163\x65\162\x20\45\163\x3a\x20\45\x73", $this->username, $LP1gs->error)); goto T0JQG; ehxWO: $Cc_Q_->rollback(); goto jZG7H; iRuVW: $LP1gs->bind_param("\151", $this->prov_param_profile_id); goto ZzG0p; jMg0b: NHe7m: goto BjX6n; mQnNn: s8eNN: goto FET2u; ZzG0p: if ($LP1gs->execute()) { goto qISo1; } goto JkG6S; VQvy2: $Cc_Q_->begin_transaction(); goto WoFP7; nkDyV: $LP1gs->bind_param("\x69", $this->id); goto Zjapi; AIQpp: throw new DatabaseException(sprintf("\103\157\165\154\144\40\x6e\x6f\164\40\x64\145\154\145\164\145\40\166\x6d\x20\x65\156\164\x72\171\40\x6f\146\x20\165\x73\145\162\40\x25\x73\72\40\45\x73", $this->username, $LP1gs->error)); goto aGuAj; F4LmC: throw new DatabaseException(sprintf("\103\157\x75\154\x64\40\x6e\x6f\164\x20\144\x65\x6c\145\x74\145\40\x70\x72\x6f\x76\151\x73\x69\157\156\x69\156\x67\40\160\141\162\x61\155\x65\164\145\x72\163\x20\x6f\146\40\165\163\145\x72\x20\x25\x73\x3a\40\x25\x73", $this->username, $LP1gs->error)); goto UrQqJ; Pu2aF: $LP1gs->bind_param("\151", $this->prov_param_profile_id); goto egcej; yUtmQ: $LP1gs->bind_param("\x69", $this->id); goto C5mYv; lpMLe: $LP1gs->close(); goto PBxZT; egcej: if ($LP1gs->execute()) { goto h9fod; } goto hte_J; J0R2Q: $Cc_Q_->rollback(); goto edTup; CUAiC: $FiOOJ = array("\141\163\164\x5f\x71\x75\145\165\145\x5f\155\x65\155\x62\145\162\163" => "\137\x75\163\x65\162\137\151\x64", "\141\x73\x74\x5f\166\x6f\151\143\x65\x6d\141\151\154" => "\137\x75\x73\145\x72\x5f\151\x64", "\143\141\154\x6c\142\x6c\x6f\x63\x6b\151\x6e\147" => "\165\163\145\162\137\x69\144", "\143\154\x69\160\137\141\x6c\x6c\157\167\x65\x64" => "\x75\x73\145\x72\137\151\x64", "\x64\151\x61\154\137\154\157\x67" => "\165\x73\x65\x72\x5f\x69\144", "\143\x61\x6c\154\152\x6f\165\x72\x6e\141\154" => "\x75\163\145\x72\137\x69\144", "\144\x6e\x64" => "\x5f\x75\163\x65\x72\x5f\151\144", "\150\x75\x6e\164\147\x72\x6f\165\x70\x73\x5f\165\x73\x65\x72\163" => "\x75\163\x65\x72\137\x69\144", "\160\x62\137\x70\162\166" => "\165\163\x65\162\137\x69\x64", "\x70\151\143\153\165\x70\x67\x72\x6f\x75\160\163\137\x75\x73\x65\162\163" => "\x75\163\x65\162\137\x69\144", "\x72\x69\x6e\x67\x74\157\x6e\145\x73" => "\165\163\x65\162\x5f\x69\x64", "\x75\x73\x65\x72\137\143\x61\x6c\x6c\144\162\157\160" => "\x75\x73\x65\x72\137\x69\x64", "\165\x73\x65\x72\163\137\145\170\x74\145\162\156\141\154\x5f\x6e\165\155\142\x65\162\163" => "\x75\x73\145\162\137\x69\x64", "\x76\x6d" => "\x75\163\x65\x72\x5f\151\x64", "\166\155\137\x6d\163\x67\x73" => "\165\163\145\162\x5f\x69\x64", "\x76\155\137\162\145\143\137\155\145\x73\x73\141\147\145\x73" => "\137\x75\x73\145\x72\137\x69\144"); goto SfXyX; SfXyX: foreach ($FiOOJ as $oKMB5 => $BRj3u) { goto jfyTb; Lz2lB: $LP1gs->bind_param("\x69", $this->id); goto jDMdq; zDsmS: $Cc_Q_->rollback(); goto Ufnt5; jDMdq: if ($LP1gs->execute()) { goto GJYIR; } goto zDsmS; FcCnL: I_c7r: goto dz2li; N4jLf: $LP1gs->close(); goto FcCnL; Ufnt5: throw new DatabaseException(sprintf("\103\157\x75\x6c\x64\x20\156\157\x74\40\144\x65\x6c\145\164\145\x20\45\x73\x20\145\x6e\x74\x72\171\x20\157\146\x20\165\163\x65\162\x20\x25\163\72\x20\x25\163", $oKMB5, $this->username, $LP1gs->error)); goto c62Hk; jfyTb: $LP1gs = $Cc_Q_->prepare(sprintf("\x44\105\114\x45\x54\105\40\x46\122\x4f\x4d\x20\x25\163\40\x57\x48\105\122\105\40\x25\x73\x20\x3d\40\77", $oKMB5, $BRj3u)); goto Lz2lB; c62Hk: GJYIR: goto N4jLf; dz2li: } goto m5KxZ; wpqYP: throw new DatabaseException(sprintf("\x43\x6f\165\x6c\x64\x20\x6e\157\164\x20\x75\x70\x64\141\x74\x65\x20\x64\x69\x61\x6c\137\154\x6f\147\40\145\x6e\164\162\x79\40\157\x66\40\165\x73\145\x72\x20\45\163\x3a\x20\x25\163", $this->username, $LP1gs->error)); goto JwAeS; yK3d9: XC6jz: goto mY8hK; P7XzA: mTor2: goto NdglF; x8cze: $LP1gs = $Cc_Q_->prepare("\125\120\x44\101\x54\105\40\140\144\x69\x61\154\137\154\x6f\x67\140\40\123\105\x54\40\x60\162\x65\155\157\x74\145\137\x75\163\145\162\x5f\151\144\140\x20\75\x20\x4e\x55\x4c\x4c\12\x20\x20\40\x20\40\x20\40\40\40\40\x20\x20\x57\x48\105\122\105\x20\140\x72\x65\155\x6f\x74\x65\x5f\165\163\x65\x72\x5f\x69\x64\140\40\75\x20\x3f"); goto gOTpM; b13V7: if ($LP1gs->execute()) { goto zVkVP; } goto RE6TW; vPr5H: $LP1gs = $Cc_Q_->prepare("\x44\105\114\x45\124\x45\40\106\x52\117\x4d\x20\x60\160\162\157\x76\x5f\x70\141\162\x61\155\x5f\160\162\157\x66\x69\154\x65\163\x60\xa\40\40\x20\x20\x20\x20\x20\x20\40\40\40\40\x20\40\40\x20\x57\110\105\x52\105\x20\140\151\x64\140\x20\x3d\40\x3f\x20\x41\116\x44\40\x60\x69\163\137\x67\162\157\165\160\137\x70\162\x6f\x66\151\x6c\x65\140\x3d\x30"); goto iRuVW; Zjapi: if ($LP1gs->execute()) { goto RvMbT; } goto jWnhV; mY8hK: $this->getExtensions(); goto sUphL; YZF_r: throw new DatabaseException(sprintf("\x43\157\x75\x6c\x64\40\x6e\x6f\x74\40\144\x65\154\x65\164\x65\40\163\x6f\146\x74\153\145\171\163\40\157\x66\x20\x75\163\x65\162\x20\45\x73\x3a\40\45\x73", $this->username, $LP1gs->error)); goto P7XzA; aGuAj: zVkVP: goto iBYWJ; jFvux: $LP1gs->close(); goto k7RXv; JwAeS: u1bgS: goto jFvux; m5KxZ: SvM6n: goto x8cze; gDoIV: iSjEb: goto jPM55; ejJf3: exec(sprintf("\x72\x6d\x20\55\x66\x20\x25\x73", $uf8oV), $QVN9q, $ytig7); goto Kb8eQ; BcWPr: if ($LP1gs->execute()) { goto u1bgS; } goto ielmU; wjDtd: qISo1: goto C3hVc; vzV1t: Ni9k8: goto PqZ1F; vq1Fp: $LP1gs = $Cc_Q_->prepare("\104\x45\x4c\105\124\105\40\x46\x52\x4f\x4d\x20\x60\163\x6f\146\x74\153\x65\171\x5f\x70\162\x6f\146\151\x6c\x65\163\x60\xa\40\40\40\40\x20\x20\40\40\40\x20\x20\40\x20\x20\x20\40\127\110\105\122\x45\40\x60\x69\x64\x60\40\x3d\x20\x3f\x20\101\x4e\104\x20\140\x69\x73\x5f\x75\163\x65\x72\137\x70\x72\157\146\x69\x6c\145\140\x3d\61"); goto wDoMw; IQ2Qk: if ($LP1gs->execute()) { goto mTor2; } goto nGZ6m; PBxZT: $LP1gs = $Cc_Q_->prepare("\x53\x45\114\x45\x43\x54\40\140\146\157\x6c\x64\x65\x72\140\x2c\40\x60\x66\x69\154\145\140\x2c\x20\140\155\142\x6f\x78\140\x20\x46\122\x4f\x4d\x20\140\x76\155\137\x6d\x73\x67\163\140\40\127\x48\x45\x52\105\x20\x60\165\x73\145\x72\x5f\151\x64\x60\x3d\40\x3f"); goto w7kSf; bnJI_: if (!($this->prov_param_profile_id > 0)) { goto rOQli; } goto sv7T2; K3K7Z: $LP1gs = $Cc_Q_->prepare("\125\x50\x44\x41\x54\105\40\x60\160\x68\x6f\156\145\163\140\x20\x53\105\124\x20\140\x75\x73\145\162\x5f\151\144\140\x20\x3d\x20\x4e\x55\x4c\x4c\40\127\x48\105\122\x45\x20\140\x75\x73\145\162\x5f\x69\x64\x60\40\x3d\x20\77"); goto nkDyV; jSZBg: if (!$LP1gs->fetch()) { goto s8eNN; } goto FXVLG; nGcDB: $Cc_Q_ = self::getDb(); goto VQvy2; nGZ6m: $Cc_Q_->rollback(); goto YZF_r; ielmU: $Cc_Q_->rollback(); goto wpqYP; sv7T2: $LP1gs = $Cc_Q_->prepare("\104\x45\x4c\x45\124\x45\x20\106\122\x4f\115\40\x60\x70\162\157\x76\137\x70\x61\162\x61\x6d\x73\x60\x20\127\110\x45\x52\x45\x20\140\x70\x72\x6f\x66\x69\x6c\145\137\x69\144\140\40\75\x20\x3f"); goto Pu2aF; PqZ1F: $LP1gs->close(); goto TfRFf; RE6TW: $Cc_Q_->rollback(); goto AIQpp; C5mYv: if ($LP1gs->execute()) { goto iSjEb; } goto ehxWO; jPM55: $LP1gs->close(); goto TQhoq; FXVLG: $uf8oV = sprintf("\57\x76\x61\x72\57\x73\160\x6f\157\154\x2f\141\163\x74\145\162\x69\163\153\57\x76\157\x69\143\145\155\141\151\x6c\x2f\x64\145\x66\x61\165\x6c\164\57\45\163\x2f\x25\x73\x2f\45\x73", $kUSPa, $OfiBH, $I84tN); goto ejJf3; XyULz: foreach ($rePp2 as $wJqGG) { try { $wJqGG->delete(); } catch (DatabaseException $lPqqq) { $Cc_Q_->rollback(); throw new DatabaseException(sprintf("\x45\162\x72\x6f\162\40\x64\145\x6c\x65\164\151\156\x67\40\x73\154\157\164\x20\45\x64\72\40\x25\x73", $wJqGG->getId(), $lPqqq->getMessage())); } TPVTF: } goto yK3d9; NdglF: $LP1gs->close(); goto vq1Fp; TfRFf: YC_EP: goto bnJI_; Kb8eQ: goto bHlch; goto mQnNn; g1VMZ: bHlch: goto jSZBg; k17k7: $LP1gs->close(); goto vPr5H; iBYWJ: $LP1gs->close(); goto CUAiC; qqYQ2: rOQli: goto K3K7Z; zCryM: $LP1gs->bind_param("\151", $this->id); goto b13V7; UaPJy: Ahnr2: goto VQK4u; C3hVc: $LP1gs->close(); goto qqYQ2; GZeXO: $LP1gs = $Cc_Q_->prepare("\x44\105\x4c\105\x54\105\x20\106\x52\117\x4d\x20\140\163\x6f\x66\164\153\145\171\x73\x60\40\x57\x48\105\122\x45\x20\140\x70\162\x6f\146\x69\154\145\x5f\x69\144\140\x20\75\40\x3f"); goto xsKOb; VQK4u: $LP1gs = $Cc_Q_->prepare("\x44\x45\114\x45\x54\x45\40\106\122\x4f\115\x20\x75\x73\x65\162\163\40\x57\110\x45\x52\105\x20\151\x64\40\x3d\x20\77"); goto yUtmQ; BjX6n: $LP1gs->bind_result($OfiBH, $I84tN, $kUSPa); goto g1VMZ; xsKOb: $LP1gs->bind_param("\x69", $this->softkey_profile_id); goto IQ2Qk; cr7Ko: $rePp2 = $this->getSlots(); goto XyULz; sUphL: foreach ($this->extensions as $FwJso) { try { $FwJso->delete(); } catch (DatabaseException $lPqqq) { $Cc_Q_->rollback(); throw new DatabaseException(sprintf("\105\162\x72\157\162\x20\144\145\x6c\145\164\151\156\147\x20\145\x78\164\145\156\163\151\x6f\156\40\x6e\x75\x6d\142\x65\162\x20\45\x73\x3a\x20\45\x73", $FwJso->getNum(), $lPqqq->getMessage())); } IUB44: } goto UaPJy; UrQqJ: h9fod: goto k17k7; gOTpM: $LP1gs->bind_param("\x69", $this->id); goto BcWPr; FET2u: $LP1gs->close(); goto cr7Ko; WoFP7: $LP1gs = $Cc_Q_->prepare("\104\x45\114\105\124\x45\40\x46\x52\117\115\40\x76\155\x20\127\110\105\x52\x45\x20\165\x73\x65\x72\137\151\x64\40\75\x20\x3f"); goto zCryM; jZG7H: throw new DatabaseException(sprintf("\105\162\162\x6f\162\x20\144\x65\154\x65\x74\x69\156\x67\40\165\163\145\162\x20\x25\163\72\40\x25\163", $this->username, $LP1gs->error)); goto gDoIV; TQhoq: $Cc_Q_->commit(); goto vep1A; hte_J: $Cc_Q_->rollback(); goto F4LmC; IdeVm: throw new DatabaseException(sprintf("\x43\157\x75\154\144\x20\x6e\x6f\x74\x20\x6c\x6f\x61\144\40\x76\x6f\151\143\145\155\x61\x69\154\163\x20\157\146\x20\165\x73\145\162\x20\45\x73\x3a\40\x25\163", $this->username, $LP1gs->error)); goto jMg0b; JkG6S: $Cc_Q_->rollback(); goto DbxwC; KW8QS: if ($LP1gs->execute()) { goto NHe7m; } goto wKoM9; edTup: throw new DatabaseException(sprintf("\x43\x6f\x75\x6c\144\x20\x6e\x6f\164\x20\x64\145\x6c\145\164\145\40\x73\x6f\146\x74\x6b\x65\x79\x20\160\x72\x6f\x66\151\154\x65\40\x6f\x66\40\165\x73\145\162\40\45\x73\72\x20\45\x73", $this->username, $LP1gs->error)); goto vzV1t; DbxwC: throw new DatabaseException(sprintf("\x43\157\165\154\144\x20\x6e\157\x74\x20\144\x65\154\x65\x74\x65\x20\160\x72\x6f\x76\x69\x73\x69\157\x6e\151\x6e\147\40\160\x61\x72\141\x6d\145\164\145\x72\x20\160\162\x6f\x66\151\154\145\x20\157\x66\40\x75\163\x65\x72\40\45\x73\x3a\40\45\163", $this->username, $LP1gs->error)); goto wjDtd; T0JQG: RvMbT: goto lpMLe; wKoM9: $Cc_Q_->rollback(); goto IdeVm; vep1A: } public function equals(User $A390B) : bool { goto SeG7k; Q2niQ: return true; goto Bk5f_; Bk5f_: gKGLy: goto hI0z5; hI0z5: return false; goto o8BXa; SeG7k: if (!($this->id === $A390B->getId())) { goto gKGLy; } goto Q2niQ; o8BXa: } public function getId() : int { return $this->id; } public function getUsername() : string { return $this->username; } public function getPin() : string { return $this->pin; } public function getFirstname() : string { return $this->firstname; } public function getLastname() : string { return $this->lastname; } public function getEmail() : string { return $this->email; } public function getUrl() : string { return $this->url; } public function getStatusMessage() : string { return $this->user_comment; } public function getGroupId() : ?int { return $this->group_id; } public function getSoftkeyProfileId() : ?int { return $this->softkey_profile_id; } public function getProvParamProfileId() : ?int { return $this->prov_param_profile_id; } public function isPbHide() : bool { return $this->pb_hide; } public function setUsername(string $Veslf) { self::checkUsername($Veslf); $this->username = $Veslf; } public function setPin(string $QnmFL) { goto G7_d0; Rjj7v: zpU5L: goto GiIHT; ppg_v: if (strLen($QnmFL) < 3) { goto mApVs; } goto Yt2C3; G7_d0: if (preg_match("\57\x5e\133\60\55\71\x5d\x2b\44\57", $QnmFL)) { goto rbkwH; } goto mKOwe; hr2Fc: mApVs: goto e6jU3; pDaZb: rbkwH: goto ppg_v; GiIHT: $this->pin = $QnmFL; goto y80NL; PWMef: throw new UnexpectedValueException("\x50\x49\x4e\x20\x74\157\157\40\x6c\157\156\147\x20\50\155\x61\x78\56\x20\x31\x30\x20\144\151\147\x69\164\x73\51\56"); goto Rjj7v; e6jU3: throw new UnexpectedValueException("\120\x49\x4e\x20\164\157\x6f\40\x73\x68\x6f\x72\x74\x20\50\x6d\151\156\x2e\40\x33\x20\x64\x69\x67\x69\164\x73\x29\x2e"); goto SF02s; Yt2C3: if (strLen($QnmFL) > 10) { goto G511b; } goto jnfUA; jnfUA: goto zpU5L; goto hr2Fc; wQsXL: G511b: goto PWMef; mKOwe: throw new UnexpectedValueException("\x50\111\116\40\155\165\x73\164\x20\x62\145\40\x6e\165\155\x65\x72\x69\143\56"); goto pDaZb; SF02s: goto zpU5L; goto wQsXL; y80NL: } public function setFirstname(string $Gl4Yi) { $this->firstname = $Gl4Yi; } public function setLastname(string $a0U4R) { $this->lastname = $a0U4R; } public function setEmail(string $NdqSN) { goto q4X4D; q4X4D: if (!($NdqSN != '' && !preg_match(self::PATTERN_VALID_EMAIL, $NdqSN))) { goto I5rZq; } goto paO74; z1tIw: I5rZq: goto VRPjs; paO74: throw new UnexpectedValueException("\x49\156\x76\141\154\x69\x64\40\x65\55\x6d\x61\x69\x6c\x20\141\x64\144\x72\145\x73\163\x2e"); goto z1tIw; VRPjs: $this->email = $NdqSN; goto qGInY; qGInY: } public function setUrl(string $X0xaJ) { $this->url = $X0xaJ; } public function setStatusMessage(string $KeST6) { $this->user_comment = $KeST6; } public function setGroupId(?int $dtEry) { goto k5qBG; d2f7i: throw new DatabaseException(sprintf("\x45\162\x72\x6f\162\40\x63\x68\145\143\153\x69\156\147\x20\160\x72\157\x76\x69\163\x69\157\x6e\151\x6e\147\x20\x67\162\157\165\x70\x20\45\x64\72\x20\45\x73", $dtEry, $LP1gs->error)); goto DXMb7; Qn2s0: throw new UnexpectedValueException(sprintf("\103\141\x6e\156\157\164\40\x66\x69\x6e\x64\40\x70\162\157\166\x69\163\x69\x6f\156\151\x6e\x67\40\147\x72\x6f\x75\160\40\167\x69\x74\x68\40\x69\x64\40\45\144", $dtEry)); goto KlmUl; DXMb7: HGAX5: goto FUHx5; KlmUl: nLJeb: goto xWoaj; k5qBG: $Cc_Q_ = self::getDb(); goto BzyZX; RmnVF: $this->group_id = $dtEry; goto f5vY5; Zfe51: $LP1gs->bind_param("\151", $dtEry); goto QuBdW; QuBdW: if ($LP1gs->execute()) { goto HGAX5; } goto d2f7i; BzyZX: if (!($dtEry !== NULL)) { goto VF4LQ; } goto ASezC; miLU5: if ($nwGqw) { goto nLJeb; } goto Qn2s0; FUHx5: $nwGqw = $LP1gs->fetch(); goto miLU5; xWoaj: VF4LQ: goto RmnVF; ASezC: $LP1gs = $Cc_Q_->prepare("\123\x45\x4c\105\x43\x54\40\61\40\106\x52\x4f\115\x20\x60\165\x73\145\x72\x5f\147\x72\157\165\160\x73\x60\40\127\110\x45\x52\x45\x20\140\151\144\x60\40\75\x20\77"); goto Zfe51; f5vY5: } public function setSoftkeyProfileId(?int $e3_HH) { $this->softkey_profile_id = $e3_HH; } public function setProvParamProfileId(?int $PWArl) { $this->prov_param_profile_id = $PWArl; } public function setPbHide(bool $xO5u8) { $this->pb_hide = $xO5u8; } public function getDropTarget() : string { goto pCEuz; pCEuz: if (!($this->drop_target === NULL)) { goto Le0oy; } goto kPjjw; p2ctT: Le0oy: goto ydZ8S; kPjjw: return ''; goto p2ctT; ydZ8S: return $this->drop_target; goto ZH6VX; ZH6VX: } public function setDropTarget(string $ZbjOO) { goto tqjyH; ceTK9: Bpiyi: goto twDNB; V8Pqt: $ZbjOO = ''; goto e2ZrF; XmClQ: $this->drop_target = $ZbjOO; goto dlEUJ; qUrAo: if ($ZbjOO !== '' && !preg_match("\x2f\136\50\166\x6d\x7c\x76\x6d\134\52\51\x3f\x5b\x30\55\x39\x5d\53\44\57", $ZbjOO)) { goto Bpiyi; } goto kF4Hl; tqjyH: if ($ZbjOO === NULL) { goto QXKyZ; } goto qUrAo; kF4Hl: goto tgmwI; goto U0lT4; U0lT4: QXKyZ: goto V8Pqt; twDNB: throw new UnexpectedValueException("\x44\162\157\160\x20\164\x61\x72\x67\x65\x74\40\x6d\165\163\x74\x20\x62\x65\x20\156\165\155\145\162\x69\143\x2e"); goto mKFY2; e2ZrF: goto tgmwI; goto ceTK9; mKFY2: tgmwI: goto XmClQ; dlEUJ: } public function hasExtension(Extension $FwJso) : bool { $this->getExtensions(); return array_key_exists($FwJso->getNum(), $this->extensions); } public function assignExtension(Extension $FwJso) : User { goto Xn7MZ; Xpyyy: if ($LP1gs->execute()) { goto QNfv6; } goto w04Q9; Xn7MZ: if (!($FwJso->getExttype() !== Extension::USER)) { goto mt1ZE; } goto FHyYY; FHyYY: throw new Exception("\x4e\x6f\164\40\x61\40\x75\x73\x65\162\x20\145\170\164\145\x6e\163\151\x6f\x6e"); goto XnH6e; MjjYw: $LP1gs->bind_param("\x69\x69", $vQuXW, $this->id); goto Xpyyy; y8emA: if (!array_key_exists($FwJso->getNum(), $this->extensions)) { goto bveeb; } goto FJLGX; Z0BIx: return $this; goto KSKlB; KlI_J: if (!$FwJso->isLinked()) { goto cKXwl; } goto nrq0o; FS07Q: cKXwl: goto ujEGO; tn8VI: QNfv6: goto e8ob6; JEGaT: $vQuXW = $FwJso->getId(); goto MjjYw; gbQRV: $this->getExtensions(); goto y8emA; e8ob6: $LP1gs->close(); goto ivK8J; FJLGX: throw new Exception(sprintf("\x45\x78\164\x65\x6e\163\x69\x6f\156\40\45\163\x20\x61\x6c\162\145\x61\144\171\40\x6c\151\x6e\x6b\145\x64\x20\x74\x6f\40\x55\x73\x65\162\40\x25\x73\x2e", $FwJso->getNum(), $this->username)); goto ADOp4; iCEDw: $LP1gs = $Cc_Q_->prepare("\x49\x4e\123\105\x52\x54\x20\111\x4e\x54\x4f\x20\x6c\157\x6f\x6b\x75\x70\137\x75\163\x65\162\x20\50\x65\170\164\145\x6e\x73\151\x6f\x6e\x5f\151\x64\54\40\x75\163\x65\x72\137\x69\144\x29\x20\126\101\x4c\x55\105\x53\x20\x28\77\54\x20\77\51"); goto JEGaT; w04Q9: throw new DatabaseException(sprintf("\x45\162\x72\x6f\x72\x20\154\x69\x6e\153\151\x6e\147\x20\x75\x73\x65\162\40\45\163\40\164\x6f\40\145\x78\x74\145\x6e\163\x69\157\x6e\x20\45\163\72\x20\45\163", $this->username, $FwJso->getNum(), $LP1gs->error)); goto tn8VI; ivK8J: $this->extensions[$FwJso->getNum()] = $FwJso; goto Z0BIx; XnH6e: mt1ZE: goto gbQRV; ADOp4: bveeb: goto KlI_J; nrq0o: throw new AlreadyExistsException(sprintf("\105\170\164\x65\156\x73\x69\157\x6e\x20\x25\x73\x20\151\x73\x20\141\x6c\162\x65\141\x64\171\40\154\x69\x6e\153\145\x64\40\164\157\40\x61\40\x75\163\x65\162", $FwJso->getNum())); goto FS07Q; ujEGO: $Cc_Q_ = self::getDb(); goto iCEDw; KSKlB: } public function unassignExtension(Extension $FwJso) : User { goto RsFZ1; osquZ: $LP1gs->close(); goto ZGbeM; RsFZ1: $this->getExtensions(); goto RUGe4; eulYl: $Cc_Q_ = self::getDb(); goto rMS0z; TRAHo: if ($LP1gs->execute()) { goto X4XhB; } goto XZkKK; wItr0: X4XhB: goto osquZ; heeTr: $vQuXW = $FwJso->getId(); goto DIacy; m3Wor: return $this; goto YvcJH; fdQHp: ueIss: goto eulYl; DIacy: $LP1gs->bind_param("\x69\151", $vQuXW, $this->id); goto TRAHo; RUGe4: if (array_key_exists($FwJso->getNum(), $this->extensions)) { goto ueIss; } goto R5xTN; rMS0z: $LP1gs = $Cc_Q_->prepare("\104\x45\114\x45\x54\x45\40\106\122\x4f\115\x20\x6c\157\157\x6b\165\160\x5f\x75\163\145\x72\40\127\110\105\x52\x45\x20\x65\x78\164\x65\156\163\151\157\156\137\x69\x64\x20\x3d\40\x3f\x20\x41\116\x44\x20\165\163\145\162\137\151\144\40\75\x20\77"); goto heeTr; ZGbeM: unset($this->extensions[$FwJso->getNum()]); goto m3Wor; R5xTN: throw new Exception(sprintf("\x45\170\x74\x65\x6e\x73\151\157\x6e\x20\x25\163\40\151\x73\x20\156\x6f\x74\40\154\151\x6e\x6b\x65\144\40\164\x6f\40\x55\x73\145\162\40\45\x73\x2e", $FwJso->getNum(), $this->username)); goto fdQHp; XZkKK: throw new DatabaseException(sprintf("\105\x72\162\157\x72\x20\144\x65\154\145\164\151\156\x67\x20\154\x69\x6e\x6b\40\x62\145\164\167\x65\x65\156\40\165\x73\x65\x72\40\45\163\40\141\x6e\144\x20\x65\170\x74\x65\156\163\x69\x6f\x6e\40\45\x73\x3a\40\x25\163", $this->username, $FwJso->getNum(), $LP1gs->error)); goto wItr0; YvcJH: } public function getExtensions() : array { goto fpoDO; fpoDO: if (!($this->extensions === NULL)) { goto kS_ym; } goto nMOUk; cTjYq: if ($LP1gs->execute()) { goto IX4pQ; } goto Nbhbd; sxY3e: return $this->extensions; goto t0yUX; RTt8l: IX4pQ: goto c6UBC; WuJxv: IqqsL: goto w2go5; lzsHR: $LP1gs->close(); goto kZyLd; UjaiQ: goto IqqsL; goto KTa2P; Nbhbd: throw new DatabaseException(sprintf("\x45\162\x72\x6f\162\40\x72\x65\x74\x72\x69\145\x76\x69\156\x67\x20\145\x78\164\145\x6e\x73\x69\157\156\x73\40\157\146\x20\165\163\145\x72\40\x25\x73\72\x20\x25\163", $this->username, $LP1gs->error)); goto RTt8l; tMagd: $LP1gs = $Cc_Q_->prepare("\123\x45\x4c\x45\x43\124\x20\x65\56\x6e\165\x6d\12\40\x20\x20\40\x20\x20\x20\x20\40\x20\40\40\40\x20\x20\x20\106\x52\117\x4d\40\145\170\164\x65\x6e\163\151\x6f\x6e\163\x20\x65\12\40\40\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\40\x20\x4a\x4f\x49\x4e\x20\x6c\157\x6f\x6b\x75\160\x5f\165\163\145\x72\x20\x6c\x75\40\x4f\x4e\40\x65\x2e\151\x64\40\x3d\40\154\165\56\145\170\x74\145\x6e\x73\151\x6f\x6e\x5f\151\x64\xa\40\x20\40\x20\40\x20\40\x20\40\40\40\40\40\40\40\40\127\x48\105\x52\105\40\x6c\165\x2e\165\x73\145\162\x5f\151\x64\x20\75\x20\x3f"); goto JkPzh; nMOUk: $this->extensions = array(); goto QT5jd; JkPzh: $LP1gs->bind_param("\151", $this->id); goto cTjYq; kZyLd: kS_ym: goto sxY3e; QT5jd: $Cc_Q_ = self::getDb(); goto tMagd; YQN0F: $this->extensions[$iHmhe] = Extension::createFromDatabase($iHmhe); goto UjaiQ; iI1AH: $LP1gs->store_result(); goto WuJxv; c6UBC: $LP1gs->bind_result($iHmhe); goto iI1AH; w2go5: if (!$LP1gs->fetch()) { goto auH_c; } goto YQN0F; KTa2P: auH_c: goto lzsHR; t0yUX: } public function addExtension(string $iHmhe) { goto qcZHZ; qcZHZ: $this->getExtensions(); goto EmeJw; v2BbV: VNAlK: goto e0kgI; nqYmw: $FwJso->save(); goto IrPSa; lAGaD: return $FwJso; goto pZDTZ; IlEiq: throw new AlreadyExistsException(sprintf("\x45\170\164\145\156\163\x69\x6f\156\40\45\163\40\x69\163\x20\141\154\x72\145\141\144\171\x20\x61\163\x73\x69\x67\x6e\x65\x64\x20\164\157\40\165\163\x65\x72\x20\45\163", $iHmhe, $this->username)); goto v2BbV; e0kgI: $FwJso = Extension::createNew($iHmhe, Extension::USER); goto nqYmw; IrPSa: $this->assignExtension($FwJso); goto lAGaD; EmeJw: if (!array_key_exists($iHmhe, $this->extensions)) { goto VNAlK; } goto IlEiq; pZDTZ: } public function removeExtension(string $iHmhe) { goto ZZrqc; ZZrqc: $FwJso = Extension::createFromDatabase($iHmhe); goto ai694; eWED9: $FwJso->delete(); goto p10Wo; ai694: $this->unassignExtension($FwJso); goto eWED9; p10Wo: } public function getSlots() : array { goto kSC1j; GxtP_: $LP1gs->bind_param("\x69", $this->id); goto KF4Rv; c0TIu: goto nSNK0; goto t9TMK; pBL7a: $LP1gs->close(); goto j7eTm; t9TMK: GJTGw: goto pBL7a; gLMBo: throw new DatabaseException(sprintf("\105\162\x72\157\162\x20\162\x65\x74\x72\151\x65\x76\x69\156\x67\x20\163\154\157\164\163\x20\157\x66\40\165\163\145\x72\40\45\163\72\x20\x25\163", $this->username, $LP1gs->error)); goto Z0gFZ; KF4Rv: if ($LP1gs->execute()) { goto JsG5V; } goto gLMBo; ZAqx6: $Cc_Q_ = self::getDb(); goto P0X_s; Dx50D: $rePp2[$XIw29] = Slot::createFromDatabase($XIw29); goto c0TIu; O73Ky: nSNK0: goto ItlpG; ItlpG: if (!$LP1gs->fetch()) { goto GJTGw; } goto Dx50D; P0X_s: $LP1gs = $Cc_Q_->prepare("\x53\x45\x4c\105\x43\124\40\x69\144\xa\x20\x20\40\40\x20\x20\40\40\40\x20\40\x20\x46\122\117\115\40\x73\x6c\x6f\164\x73\xa\x20\40\x20\40\x20\40\40\x20\40\x20\x20\x20\x57\110\105\x52\x45\40\165\163\x65\162\x5f\151\144\40\x3d\x20\x3f"); goto GxtP_; k1D5Z: $LP1gs->store_result(); goto O73Ky; j7eTm: return $rePp2; goto vM1Vr; Z0gFZ: JsG5V: goto N_ZS5; N_ZS5: $LP1gs->bind_result($XIw29); goto k1D5Z; kSC1j: $rePp2 = array(); goto ZAqx6; vM1Vr: } public function addSlot(string $sBDar, string $tjZVQ = '') : Slot { return Slot::createNew($this->id, $sBDar, $tjZVQ, NULL); } public function removeSlot(int $XIw29) { goto b0sja; Qy1OY: $wJqGG = Slot::createFromDatabase($XIw29); goto Bjhs0; Bjhs0: $wJqGG->delete(); goto KYWTG; gnrYY: x8Rv9: goto Qy1OY; jQGpb: if (array_key_exists($XIw29, $rePp2)) { goto x8Rv9; } goto u4v7T; u4v7T: throw new Exception(sprintf("\x53\x6c\x6f\164\40\x25\x64\40\x69\x73\x20\156\157\x74\40\x61\163\x73\151\147\x6e\145\x64\x20\164\157\40\165\x73\145\x72\40\x25\x73", $XIw29, $this->username)); goto gnrYY; b0sja: $rePp2 = $this->getSlots(); goto jQGpb; KYWTG: } public function hasSlot(Slot $wJqGG) : bool { return $wJqGG->getUserId() === $this->id; } public function assignCallBlocking(string $uBB8c, string $QnmFL) { goto sSk3V; sSk3V: $ocUrN = $this->getCallBlockings(); goto SR6Ev; B0E1B: $LP1gs->bind_param("\x69\x73\x73", $this->id, $uBB8c, $QnmFL); goto k1fR8; pvlKU: throw new DatabaseException(sprintf("\105\162\x72\157\x72\40\x61\x64\x64\151\156\147\40\143\141\154\154\142\154\157\x63\153\151\x6e\x67\40\145\x6e\164\162\171\x20\x25\163\x20\x66\157\x72\40\165\x73\145\162\x20\x25\x73\x3a\x20\x25\x73", $uBB8c, $this->username, $LP1gs->error)); goto zqbhx; PS_3W: k2LZm: goto c7yqy; zqbhx: Nwcxx: goto VpOVJ; VpOVJ: $LP1gs->close(); goto GSG0U; SR6Ev: foreach ($ocUrN as $GnKmB) { goto JVvZk; JVvZk: if (!($GnKmB->getRegularExpression() === $uBB8c)) { goto vFx6m; } goto Iek1P; edpkm: vFx6m: goto nB6Je; nB6Je: wKjCl: goto XDdON; Iek1P: throw new AlreadyExistsException(sprintf("\125\163\x65\x72\x20\45\x73\x20\x61\x6c\162\x65\x61\x64\x79\x20\x68\141\x73\x20\141\40\x63\x61\x6c\154\142\x6c\157\x63\x6b\x69\x6e\x67\x20\145\x6e\164\162\171\x20\x66\157\162\40\45\x73", $this->username, $uBB8c)); goto edpkm; XDdON: } goto PS_3W; k1fR8: if ($LP1gs->execute()) { goto Nwcxx; } goto pvlKU; F3WVH: $LP1gs = $Cc_Q_->prepare("\111\116\123\x45\x52\x54\40\x49\116\124\117\40\x63\x61\154\x6c\142\x6c\x6f\x63\153\151\x6e\x67\40\50\165\x73\x65\162\137\x69\x64\x2c\x20\x60\x72\145\x67\x65\x78\x70\x60\x2c\40\x70\151\156\x29\xa\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x56\101\x4c\x55\x45\x53\x20\x28\77\54\40\x3f\x2c\x20\77\x29"); goto B0E1B; c7yqy: $Cc_Q_ = self::getDb(); goto F3WVH; GSG0U: } public function unassignCallBlocking(int $RVVGE) { goto s12Lq; MTxfT: $LP1gs->close(); goto c8TW9; u0mMw: T7kUX: goto MTxfT; ffof_: if ($LP1gs->execute()) { goto T7kUX; } goto vtJHO; fKBTt: $LP1gs->bind_param("\151", $RVVGE); goto ffof_; s12Lq: $ocUrN = $this->getCallBlockings(); goto laTXw; laTXw: if (array_key_exists($RVVGE, $ocUrN)) { goto mfk_m; } goto CorAz; vtJHO: throw new DatabaseException(sprintf("\x45\162\x72\x6f\162\40\144\145\x6c\145\164\151\156\x67\x20\x63\141\x6c\154\142\x6c\x6f\143\153\151\x6e\x67\40\x65\x6e\164\x72\171\x20\45\x64\x20\x6f\146\40\165\163\x65\162\x20\x25\x73\x3a\40\45\x73", $RVVGE, $this->username, $LP1gs->error)); goto u0mMw; CorAz: throw new NotFoundException(sprintf("\125\x73\145\162\40\x25\163\x20\150\141\163\x20\156\157\40\143\141\x6c\154\142\154\x6f\143\x6b\x69\x6e\x67\x20\145\156\x74\x72\171\x20\45\144", $this->username, $RVVGE)); goto eY5gD; ewks5: $LP1gs = $Cc_Q_->prepare("\x44\x45\114\x45\x54\x45\40\x46\x52\x4f\x4d\40\143\x61\154\154\142\x6c\157\143\153\151\156\x67\x20\127\x48\x45\x52\105\40\x69\x64\40\x3d\x20\77"); goto fKBTt; eY5gD: mfk_m: goto QEo_J; QEo_J: $Cc_Q_ = self::getDb(); goto ewks5; c8TW9: } public function getCallBlockings() : array { goto sUgHA; iMK3P: $LP1gs->close(); goto dbgKt; lHyR_: $LP1gs = $Cc_Q_->prepare("\123\x45\114\105\103\x54\x20\x69\x64\x2c\x20\x60\162\145\147\145\x78\160\140\x2c\x20\x70\151\156\40\x46\122\x4f\x4d\x20\x63\x61\154\x6c\142\x6c\x6f\x63\153\151\156\147\40\x57\110\x45\x52\x45\x20\165\x73\145\x72\x5f\151\144\40\75\x20\77"); goto M192_; M192_: $LP1gs->bind_param("\151", $this->id); goto qRxrs; GoH6N: goto KpK1u; goto ovnT8; CatMs: KpK1u: goto wwEOE; qRxrs: if ($LP1gs->execute()) { goto Rv1Bw; } goto sX3dy; oYqMC: $LP1gs->bind_result($ANnG2, $jf04I, $kmahH); goto sezT0; sUgHA: $Cc_Q_ = self::getDb(); goto lHyR_; dbgKt: return $ocUrN; goto mTZzZ; wwEOE: if (!$LP1gs->fetch()) { goto LFSk7; } goto STliA; C3AaN: Rv1Bw: goto oYqMC; sX3dy: throw new DatabaseException(sprintf("\105\x72\162\157\x72\x20\147\x65\x74\x74\151\156\147\x20\x63\141\154\154\x62\x6c\157\x63\153\x69\x6e\147\x20\145\x6e\164\162\x69\x65\163\x20\x66\157\162\40\x75\x73\145\x72\40\x25\163\x3a\x20\x25\163", $this->username, $LP1gs->error)); goto C3AaN; STliA: $ocUrN[$ANnG2] = new CallBlocking($ANnG2, $this->id, $jf04I, $kmahH); goto GoH6N; sezT0: $ocUrN = array(); goto CatMs; ovnT8: LFSk7: goto iMK3P; mTZzZ: } public function assignClipNumber(string $ml_3P, string $zsC1v) { goto O9I0C; D_EKO: $LP1gs->close(); goto xfhF0; wzdYU: yb324: goto ZcNpk; ZcNpk: $Cc_Q_ = self::getDb(); goto qSlOX; qSlOX: $LP1gs = $Cc_Q_->prepare("\111\116\x53\x45\122\x54\40\x49\116\x54\x4f\x20\143\154\x69\x70\137\141\154\154\x6f\167\x65\144\x20\50\165\163\x65\x72\x5f\151\x64\x2c\40\156\165\155\142\x65\162\x2c\40\x64\145\x73\x74\51\12\40\40\x20\40\x20\x20\40\x20\40\40\x20\x20\x56\x41\x4c\125\x45\x53\40\x28\77\x2c\x20\77\54\x20\x3f\51"); goto PQks4; O9I0C: foreach ($this->getClipNumbers() as $vSfuN) { goto XjeVz; MSEJ1: IMkLk: goto Ci0ke; wpKWy: RMI08: goto MSEJ1; XjeVz: if (!($vSfuN->getNumber() === $ml_3P && $vSfuN->getDestination() === $zsC1v)) { goto RMI08; } goto e0TWp; e0TWp: throw new AlreadyExistsException(sprintf("\x43\114\x49\x50\40\156\165\155\x62\x65\162\x20\x25\163\x20\167\x69\164\150\40\144\145\x73\x74\x69\x6e\x61\x74\151\x6f\x6e\40\45\163\x20\141\x6c\x72\145\141\x64\x79\40\141\163\163\x69\x67\x6e\x65\144\40\x74\x6f\40\165\163\x65\x72\40\x25\x73", $ml_3P, $zsC1v, $this->username)); goto wpKWy; Ci0ke: } goto wzdYU; rihC1: throw new DatabaseException(sprintf("\105\x72\162\x6f\x72\40\141\144\x64\x69\156\147\x20\103\x4c\111\120\40\156\x75\x6d\x62\145\x72\x20\x25\x73\x20\167\151\164\150\x20\144\x65\x73\x74\151\156\141\164\151\x6f\156\x20\45\x73\40\146\x6f\x72\x20\165\x73\145\162\40\45\163\72\x20\x25\x73", $ml_3P, $zsC1v, $this->username, $LP1gs->error)); goto YdIIt; Ap2OD: if ($LP1gs->execute()) { goto KUsAA; } goto rihC1; PQks4: $LP1gs->bind_param("\x69\163\163", $this->id, $ml_3P, $zsC1v); goto Ap2OD; YdIIt: KUsAA: goto D_EKO; xfhF0: } public function unassignClipNumber(string $ml_3P, string $zsC1v) { goto Bmtf3; E3cll: throw new DatabaseException(sprintf("\x45\x72\x72\157\x72\40\x72\145\155\x6f\x76\x69\x6e\147\x20\103\114\111\120\40\156\165\155\142\x65\x72\40\x25\163\x20\x77\x69\164\150\x20\x64\145\163\x74\x69\x6e\x61\164\151\157\x6e\x20\45\163\40\146\157\162\40\165\x73\145\162\x20\x25\x73\x3a\40\x25\163", $ml_3P, $zsC1v, $this->username, $LP1gs->error)); goto xVEPb; PDcgj: $LP1gs = $Cc_Q_->prepare("\104\105\114\x45\124\x45\40\106\x52\117\115\x20\143\x6c\151\x70\x5f\x61\x6c\154\x6f\167\145\144\40\xa\x20\x20\40\x20\40\40\x20\40\x20\x20\40\x20\127\110\105\122\x45\x20\x75\163\145\162\x5f\x69\144\x20\x3d\x20\x3f\40\101\116\104\40\156\165\x6d\x62\145\162\40\75\x20\77\40\101\116\x44\x20\144\x65\x73\164\x20\x3d\x20\77"); goto Ixkwp; QlhRY: throw new NotFoundException(sprintf("\103\114\x49\120\40\x6e\165\x6d\142\x65\162\40\x25\x73\40\x77\151\x74\150\x20\x64\145\x73\164\151\156\141\164\151\x6f\x6e\x20\45\163\x20\151\x73\40\156\157\164\40\x61\x73\163\x69\147\x6e\x65\x64\40\x74\157\40\x75\163\x65\162\40\45\x73", $ml_3P, $zsC1v, $this->username)); goto urb0z; Bmtf3: $DjBEU = false; goto SIb1q; tuMxn: AVcIP: goto i0Ynn; HShlA: if ($LP1gs->execute()) { goto R5hQ0; } goto E3cll; Kwtd1: $LP1gs->close(); goto bUfXa; i0Ynn: if ($DjBEU) { goto T249b; } goto QlhRY; SIb1q: foreach ($this->getClipNumbers() as $vSfuN) { goto ycSe0; uvYt2: $DjBEU = true; goto Sokro; ycSe0: if (!($vSfuN->getNumber() === $ml_3P && $vSfuN->getDestination() === $zsC1v)) { goto koZHu; } goto uvYt2; Sokro: goto AVcIP; goto a7RHJ; vyUio: wlkAC: goto I_bmi; a7RHJ: koZHu: goto vyUio; I_bmi: } goto tuMxn; urb0z: T249b: goto g2s1N; g2s1N: $Cc_Q_ = self::getDb(); goto PDcgj; xVEPb: R5hQ0: goto Kwtd1; Ixkwp: $LP1gs->bind_param("\151\x73\163", $this->id, $ml_3P, $zsC1v); goto HShlA; bUfXa: } public function getClipNumbers() : array { goto Zk7dn; JRj8f: $LP1gs->bind_result($Qh9xm, $zsC1v); goto GhNzH; nW7km: if ($LP1gs->execute()) { goto rPSu0; } goto VGAZH; Zk7dn: $Cc_Q_ = self::getDb(); goto YWbfp; MQt3p: return $Mb7YT; goto A4l4U; YWbfp: $LP1gs = $Cc_Q_->prepare("\123\105\114\x45\103\x54\40\156\x75\155\142\145\162\54\x20\x64\x65\x73\x74\x20\x46\122\x4f\x4d\40\143\154\151\x70\137\141\x6c\154\x6f\167\x65\x64\xa\x20\x20\40\40\40\40\x20\40\x20\x20\x20\x20\127\x48\x45\122\105\40\165\163\x65\x72\x5f\151\x64\x20\x3d\x20\x3f"); goto K4lS_; a0o5x: goto cmbuI; goto zr8kZ; p1Zd_: $LP1gs->close(); goto MQt3p; G5jb9: if (!$LP1gs->fetch()) { goto D4SAb; } goto qxXmt; VGAZH: throw new DatabaseException(sprintf("\x45\x72\162\157\162\40\x67\145\x74\164\151\156\x67\x20\x43\x4c\x49\x50\x20\x6e\x75\x6d\142\145\x72\x73\40\x66\x6f\162\x20\x75\163\x65\x72\40\x25\x73\72\40\x25\163", $this->username, $LP1gs->error)); goto vCvPm; qxXmt: $Mb7YT[] = new ClipNumber($Qh9xm, $zsC1v, $this->id); goto a0o5x; GhNzH: $Mb7YT = array(); goto m9Kn0; vCvPm: rPSu0: goto JRj8f; zr8kZ: D4SAb: goto p1Zd_; K4lS_: $LP1gs->bind_param("\151", $this->id); goto nW7km; m9Kn0: cmbuI: goto G5jb9; A4l4U: } public function getLanguage() : string { return $this->language; } public function setLanguage(string $vu1tH) { goto RAmoA; yxcgm: $this->language = $vu1tH; goto ThdZ_; THEZE: $vu1tH = NULL; goto X8irm; olg1y: goto ptr5o; goto UihId; RAmoA: if (strlen($vu1tH) === 0) { goto OcQNe; } goto Qkjof; X8irm: goto ptr5o; goto teCeo; HbiDf: ptr5o: goto yxcgm; Qkjof: if (strlen($vu1tH) !== 2) { goto Xf2ZY; } goto olg1y; teCeo: Xf2ZY: goto dkoUa; UihId: OcQNe: goto THEZE; dkoUa: throw new UnexpectedValueException("\x4c\x61\x6e\147\x75\x61\147\x65\40\143\x6f\x64\x65\40\x6d\165\x73\164\x20\x62\x65\x20\x65\x78\x61\x63\x74\154\171\x20\164\167\157\40\x63\150\x61\x72\x61\143\x74\x65\x72\163\x20\154\x6f\x6e\x67\x2e"); goto HbiDf; ThdZ_: } public function getPickupGroupIds() : array { goto TLbEi; Z9qLR: if ($LP1gs->execute()) { goto ig9cV; } goto jflqU; jflqU: throw new DatabaseException(sprintf("\x45\162\x72\157\x72\x20\x72\x65\x74\162\151\145\166\x69\156\x67\x20\x70\151\143\153\x75\160\x20\x67\x72\157\x75\x70\x20\111\104\x73\x20\146\157\x72\40\165\163\145\x72\x20\x25\163\72\x20\x25\x73", $this->username, $LP1gs->error)); goto ObTY_; TLbEi: $Cc_Q_ = self::getDb(); goto w57JX; nXtHJ: C2bXh: goto QXYUX; CbxvE: return $e9d8Y; goto df2SI; AKEko: $LP1gs->bind_result($dtEry); goto vXk6V; G41k7: $e9d8Y = array(); goto AKEko; MoViq: $e9d8Y[] = $dtEry; goto wHHsg; w57JX: $LP1gs = $Cc_Q_->prepare("\123\x45\x4c\105\103\124\40\x67\162\157\165\x70\x5f\151\x64\40\106\x52\117\x4d\40\160\x69\x63\x6b\x75\160\147\x72\157\x75\160\163\137\165\163\145\162\x73\40\127\x48\x45\122\x45\x20\165\163\x65\x72\137\151\x64\x20\x3d\40\77"); goto RdL2W; hMElv: if (!$LP1gs->fetch()) { goto C2bXh; } goto MoViq; ObTY_: ig9cV: goto G41k7; vXk6V: UVq48: goto hMElv; wHHsg: goto UVq48; goto nXtHJ; RdL2W: $LP1gs->bind_param("\151", $this->id); goto Z9qLR; QXYUX: $LP1gs->close(); goto CbxvE; df2SI: } public function assignPickupGroup(int $JcXUY) : User { goto jzXlt; NKLMv: return $this; goto x1SbQ; PIHGK: $LP1gs = $Cc_Q_->prepare("\x53\105\114\105\103\124\40\x43\117\125\116\124\50\x2a\51\x20\x46\122\117\115\40\x70\x69\143\x6b\x75\x70\147\162\157\x75\160\x73\x20\x57\110\105\122\x45\x20\x69\x64\40\x3d\x20\77"); goto RH5uA; QSCJH: if ($LP1gs->execute()) { goto SKut3; } goto W2jF1; RH5uA: $LP1gs->bind_param("\151", $JcXUY); goto QSCJH; cdk0V: HM3en: goto STJFm; jzXlt: $gMbbN = $this->getPickupGroupIds(); goto MTX6v; ThBVL: vZcO5: goto LpGbP; Wf7DO: $LP1gs->fetch(); goto PSzpf; MTX6v: if (!in_array($JcXUY, $gMbbN)) { goto vZcO5; } goto BIPwP; STJFm: $LP1gs->close(); goto NKLMv; Pm0Gd: $LP1gs->bind_param("\151\151", $JcXUY, $this->id); goto it4p9; nKr_3: $LP1gs->bind_result($x8d6p); goto Wf7DO; W2jF1: throw new DatabaseException(sprintf("\105\162\162\157\162\40\147\x65\164\164\x69\x6e\147\x20\x70\151\143\153\165\x70\x20\x67\x72\157\x75\x70\40\45\144\72\x20\45\x73", $JcXUY, $LP1gs->error)); goto lvAxd; BIPwP: throw new AlreadyExistsException(sprintf("\x55\x73\145\162\40\45\x73\x20\x61\154\162\x65\x61\x64\171\40\151\x73\x20\x61\x20\155\145\x6d\x62\145\162\40\157\x66\x20\x70\151\x63\153\165\x70\x20\x67\x72\157\165\160\40\45\144", $this->username, $JcXUY)); goto ThBVL; HDC73: P3XDL: goto e54M6; LpGbP: $Cc_Q_ = self::getDb(); goto PIHGK; i57tZ: throw new NotFoundException(sprintf("\x43\x6f\165\x6c\144\x20\x6e\157\x74\40\x66\151\x6e\x64\40\x70\151\143\x6b\165\160\40\147\x72\x6f\165\160\x20\x25\144", $JcXUY)); goto HDC73; vlMh1: $LP1gs = $Cc_Q_->prepare("\x49\x4e\x53\x45\122\x54\x20\x49\116\x54\x4f\40\160\x69\x63\153\165\160\147\x72\x6f\165\x70\x73\137\165\163\145\162\x73\xa\x20\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\x28\x67\162\157\165\160\137\151\144\54\40\165\163\x65\162\137\151\x64\51\xa\x20\x20\40\x20\x20\40\x20\40\x20\40\40\40\x56\101\114\x55\x45\123\x20\x28\x3f\x2c\40\x3f\x29"); goto Pm0Gd; e54M6: $LP1gs->close(); goto vlMh1; it4p9: if ($LP1gs->execute()) { goto HM3en; } goto YDBhe; lvAxd: SKut3: goto nKr_3; YDBhe: throw new DatabaseException(sprintf("\x45\x72\x72\x6f\162\x20\141\x64\144\151\x6e\147\x20\x75\163\x65\162\x20\x25\x73\40\164\x6f\x20\x70\151\143\153\x75\x70\x20\x67\x72\x6f\165\x70\40\45\144", $this->username, $JcXUY)); goto cdk0V; PSzpf: if ($x8d6p) { goto P3XDL; } goto i57tZ; x1SbQ: } public function unassignPickupGroup(int $JcXUY) : User { goto voA3_; EN_yj: MhKOI: goto lKjyZ; zuli6: yzWyO: goto hJ02D; G0l47: if (in_array($JcXUY, $gMbbN)) { goto MhKOI; } goto RSh4d; lKjyZ: $Cc_Q_ = self::getDb(); goto ISFmM; pEuYs: $LP1gs->bind_param("\151\x69", $JcXUY, $this->id); goto Ka8a1; Ka8a1: if ($LP1gs->execute()) { goto yzWyO; } goto cfrsu; voA3_: $gMbbN = $this->getPickupGroupIds(); goto G0l47; cfrsu: throw new DatabaseException(sprintf("\x45\x72\162\157\x72\40\162\x65\x6d\157\166\x69\x6e\147\x20\x75\163\145\162\40\45\163\40\146\x72\157\x6d\40\x70\x69\x63\153\165\160\40\147\x72\157\x75\160\x20\45\144", $this->username, $JcXUY)); goto zuli6; qSGa7: return $this; goto kW7sl; hJ02D: $LP1gs->close(); goto qSGa7; ISFmM: $LP1gs = $Cc_Q_->prepare("\104\x45\114\105\x54\105\40\x46\x52\117\115\x20\x70\x69\143\153\165\160\x67\162\157\x75\160\163\137\x75\163\145\162\163\xa\x20\40\x20\x20\x20\40\40\40\x20\40\40\40\x57\110\105\x52\105\40\147\162\x6f\x75\x70\x5f\x69\x64\x20\75\40\x3f\x20\x41\116\x44\40\165\163\x65\x72\137\151\x64\40\75\40\x3f"); goto pEuYs; RSh4d: throw new NotFoundException(sprintf("\125\163\x65\x72\x20\45\163\x20\151\x73\40\116\117\x54\40\141\x20\x6d\x65\155\x62\x65\162\40\x6f\x66\40\160\x69\x63\x6b\x75\x70\x20\x67\x72\157\x75\160\x20\45\x64", $this->username, $JcXUY)); goto EN_yj; kW7sl: } public function asGSArray() : array { $iHmhe = $this->getGSExtensionNumber(); return array("\151\x64" => $this->id, "\165\x73\x65\x72" => $this->username, "\160\151\x6e" => $this->pin, "\145\x6d\x61\151\x6c" => $this->email, "\x66\151\x72\x73\164\156\x61\155\x65" => $this->firstname, "\x6c\x61\x73\164\x6e\x61\x6d\145" => $this->lastname, "\156\x6f\142\157\144\171\x5f\151\x6e\x64\x65\x78" => NULL, "\145\x78\164" => $iHmhe, "\x6e\141\155\x65" => $iHmhe, "\x63\x61\x6c\154\145\162\151\144" => sprintf("\45\163\x20\45\163\40\x3c\45\x73\x3e", $this->firstname, $this->lastname, $iHmhe), "\x73\x65\x63\x72\145\x74" => '', "\163\151\160\137\x70\167\144" => '', "\x6d\x61\151\154\x62\157\x78" => sprintf("\165\45\x73", $this->id), "\154\x61\x6e\147\165\141\x67\x65" => $this->language, "\x68\157\163\164\137\151\144" => 1, "\150\x6f\163\164" => "\x55\103\167\141\x72\x65", "\x69\x73\137\146\157\x72\145\151\x67\x6e" => 0); } public function getGSExtensionNumber() : string { return $this->getFirstFoundExtension()->getNum(); } public function getFirstFoundExtension() : Extension { goto OG1Gp; O90nK: throw new NotFoundException(sprintf("\x54\x68\x65\162\x65\x20\141\162\145\40\x6e\x6f\x20\145\x78\x74\145\156\x73\x69\157\156\x73\x20\x61\x73\x73\x69\147\156\145\x64\x20\x74\x6f\40\x75\x73\145\x72\40\x25\163", $this->username)); goto D6yEg; D6yEg: UtPHP: goto BA23C; BA23C: return reset($this->extensions); goto rt5EX; OG1Gp: if (!empty($this->getExtensions())) { goto UtPHP; } goto O90nK; rt5EX: } public function getDND() : bool { goto c9XbT; P4651: $LP1gs->bind_param("\x69", $this->id); goto fBvWV; c9XbT: $Cc_Q_ = self::getDb(); goto OmhdQ; fBvWV: if ($LP1gs->execute()) { goto ctWdR; } goto M8vQ_; QYwti: ctWdR: goto pi4cc; M8vQ_: throw new DatabaseException(sprintf("\x45\162\x72\x6f\x72\40\162\x65\x74\162\x69\145\166\151\x6e\147\x20\x44\x4e\104\x20\163\164\141\164\x75\163\x20\146\157\162\40\165\x73\x65\x72\x20\x25\163\x3a\x20\x25\x73", $this->username, $LP1gs->error)); goto QYwti; pi4cc: $LP1gs->bind_result($thKm1); goto iyrno; p56lD: return $thKm1 === "\x79\x65\x73"; goto GjIVC; iyrno: if ($LP1gs->fetch()) { goto UAAff; } goto XJE03; Jx1V0: UAAff: goto TkDuW; OmhdQ: $LP1gs = $Cc_Q_->prepare("\x53\105\x4c\105\103\x54\40\x61\143\x74\x69\x76\x65\x20\106\122\117\115\x20\144\x6e\x64\40\127\x48\x45\x52\105\x20\x5f\x75\x73\x65\162\x5f\151\x64\x20\75\x20\x3f"); goto P4651; XJE03: return false; goto Jx1V0; TkDuW: $LP1gs->close(); goto p56lD; GjIVC: } public function setPassword(?string $vkSRp) : User { goto W4JER; V4Vph: return $this; goto DwG_k; PE4ia: JlBQf: goto V4Vph; lhzOB: $this->password = password_hash($vkSRp, PASSWORD_BCRYPT); goto zzPOe; rPeE_: nJMxw: goto yK6VQ; yK6VQ: $this->password = $vkSRp; goto PE4ia; zzPOe: goto JlBQf; goto rPeE_; W4JER: if ($vkSRp === NULL) { goto nJMxw; } goto lhzOB; DwG_k: } public function hasPassword() : bool { goto itwex; itwex: if (is_a($this->getAuthBackend(), "\125\x63\x77\x61\162\x65\x5c\103\x6f\x72\x65\x5c\101\x75\x74\x68\x62\141\x63\x6b\x65\156\x64\163\x5c\101\x75\164\150\x42\x61\x63\x6b\x65\156\x64\x55\143\167\141\x72\x65")) { goto BV7l0; } goto hDJ7x; xKLdo: BV7l0: goto b7Ewo; b7Ewo: return $this->password !== NULL; goto eIE2Z; eIE2Z: COXWP: goto YsVy1; hDJ7x: throw new NotSupportedException("\x57\x72\157\156\147\x20\x41\165\x74\x68\x42\x61\x63\x6b\145\156\x64"); goto n4a9x; n4a9x: goto COXWP; goto xKLdo; YsVy1: } public function verifyPassword(string $vkSRp) : bool { return $this->getAuthBackend()->verifyPassword($vkSRp); } public function getAuthBackend() { goto jPtPE; nxdsk: goto EKZgY; goto DPG8t; Fq5Aj: EKZgY: goto CDhcc; VLyBZ: b1cxN: goto N8q6f; DPG8t: jFXI_: goto aOUMe; yVFTx: if (is_a($sMULj, "\x55\x63\x77\141\162\x65\x5c\x43\x6f\162\x65\x5c\101\x75\164\150\x62\141\x63\x6b\x65\156\144\x73\x5c\101\x75\x74\x68\102\141\143\153\145\156\144\114\144\141\160")) { goto b1cxN; } goto nxdsk; oa6xp: goto EKZgY; goto VLyBZ; CDhcc: return $sMULj; goto ZV0sU; jPtPE: $sMULj = AuthBackend::createFromDatabase($this->authBackendId); goto sja9T; N8q6f: $sMULj->setUsername($this->username); goto Fq5Aj; aOUMe: $sMULj->setPasswordHash($this->password); goto oa6xp; sja9T: if (is_a($sMULj, "\125\143\167\141\x72\x65\x5c\103\x6f\x72\x65\x5c\101\x75\164\x68\142\x61\x63\x6b\x65\x6e\x64\163\134\x41\165\x74\150\102\x61\143\x6b\145\156\144\125\143\x77\x61\162\x65")) { goto jFXI_; } goto yVFTx; ZV0sU: } public function setAuthBackend(AuthBackend $sMULj) { goto xuiZ5; fsvDD: $this->password = NULL; goto f3hbS; xuiZ5: if (is_a($sMULj, "\125\143\167\x61\162\145\x5c\x43\x6f\162\x65\x5c\101\x75\x74\x68\142\x61\143\x6b\145\156\144\x73\x5c\x41\165\x74\150\102\141\143\x6b\x65\156\x64\x55\143\x77\141\162\145")) { goto lB2tc; } goto fsvDD; f3hbS: lB2tc: goto cxdGR; ehdqV: return $this; goto pGPRW; cxdGR: $this->authBackendId = $sMULj->getId(); goto ehdqV; pGPRW: } public function getPrivacy() : bool { return $this->privacy; } public function setPrivacy(bool $QAMMx) : User { $this->privacy = $QAMMx; return $this; } public function toArray() : array { goto cNZZ_; BxBdp: L3LHQ: goto RGeGA; QlEeD: $s2Uz0["\151\x64"] = $this->id; goto DFrKf; iYZhQ: pBt5v: goto lfrCR; p0xoa: xB4hr: goto NcfZa; m3sxr: $s2Uz0["\147\x72\x6f\x75\x70\163"] = array(); goto v14G8; aZe38: EJ4km: goto pY0qW; NcfZa: $s2Uz0["\x63\x6c\151\160\x4e\x75\x6d\x62\x65\162\x73\105\170\164\x65\x72\x6e\141\154"] = array(); goto HTjfr; sWlip: $s2Uz0["\x67\162\157\x75\x70\x5f\151\x64"] = $this->group_id; goto Vawz5; DFrKf: $s2Uz0["\165\x73\x65\162\x6e\x61\155\145"] = $this->username; goto Z7d6S; v14G8: foreach (Group::getGroupsForMember($this->getId(), GroupType::create("\x75\x73\145\162")) as $G02rD) { $s2Uz0["\147\x72\x6f\x75\160\163"][] = $G02rD->getId(); TgI03: } goto BxBdp; f9gT_: $s2Uz0["\141\165\164\150\102\x61\x63\153\145\x6e\x64"] = $this->authBackendId; goto sWlip; ZuePk: $s2Uz0["\145\155\x61\x69\x6c"] = $this->email; goto NXYZ1; uN4Ek: foreach ($this->getSlots() as $wJqGG) { $s2Uz0["\163\154\x6f\x74\163"][] = $wJqGG->getId(); f6Xqc: } goto aZe38; Z7d6S: $s2Uz0["\146\151\x72\163\x74\156\x61\155\x65"] = $this->firstname; goto Z3UCE; hg897: UCO7z: goto m3sxr; Nqaiz: $s2Uz0["\154\x61\x6e\147\165\x61\x67\x65"] = $this->language; goto f9gT_; NXYZ1: $s2Uz0["\x75\x72\x6c"] = $this->url; goto Nqaiz; lfrCR: return $s2Uz0; goto lQG1T; SaDIe: foreach ($this->getCallBlockings() as $GnKmB) { $s2Uz0["\143\141\x6c\x6c\102\141\162\x72\x69\x6e\147"][] = array("\160\x61\x74\164\145\162\156" => $GnKmB->getRegularExpression(), "\x70\151\156" => $GnKmB->getPin()); zQvjj: } goto p0xoa; RGeGA: $s2Uz0["\x65\170\164\x65\156\x73\x69\157\156\163"] = array(); goto ZL03V; HTjfr: $s2Uz0["\143\154\151\x70\116\165\x6d\x62\x65\x72\163\x49\x6e\x74\145\162\x6e\x61\x6c"] = array(); goto FC6Zo; U9O0M: $s2Uz0["\163\154\157\x74\163"] = array(); goto uN4Ek; cNZZ_: $s2Uz0 = array(); goto QlEeD; ZL03V: foreach ($this->getExtensions() as $FwJso) { $s2Uz0["\x65\170\x74\145\156\163\151\x6f\x6e\x73"][] = $FwJso->getNum(); mu8xj: } goto iYZhQ; FC6Zo: foreach ($this->getClipNumbers() as $ml_3P) { goto OE7DS; I64No: $s2Uz0[$qhufV][] = $ml_3P->getNumber(); goto N3G9x; N3G9x: zSqhC: goto VX6Kj; OE7DS: $qhufV = sprintf("\x63\x6c\151\160\x4e\165\x6d\142\145\x72\x73\x25\163", ucfirst($ml_3P->getDestination())); goto I64No; VX6Kj: } goto hg897; pY0qW: $s2Uz0["\x63\x61\x6c\x6c\x42\141\162\162\x69\156\x67"] = array(); goto SaDIe; Vawz5: $s2Uz0["\x70\162\x69\x76\141\143\171"] = $this->privacy; goto U9O0M; Z3UCE: $s2Uz0["\154\141\163\x74\x6e\x61\x6d\145"] = $this->lastname; goto ZuePk; lQG1T: } public function hasUnbilledCalls() : bool { goto yHCfx; joeqV: $LP1gs->bind_result($bXjhb); goto i5gGC; WLfXi: if ($VWf_L = $LP1gs->execute()) { goto jP21x; } goto rvZ6m; I2H_D: throw new DatabaseException("\103\x6f\165\154\144\40\156\x6f\164\x20\x67\x65\x74\40\142\x69\154\154\151\x6e\147\40\x69\x6e\146\x6f\162\x6d\x61\x74\x69\x6f\x6e\54\x20\155\x61\153\x65\x20\x73\x75\162\145\x20\164\x68\145\x20\142\151\x6c\x6c\151\156\147\40\163\x65\162\166\x69\143\145\x20\x69\163\x20\x69\x6e\x73\x74\x61\x6c\154\x65\x64\40\x61\x6e\x64\x20\x74\x68\145\x20\x60\x73\x65\162\x76\151\x63\x65\x73\55\x62\x69\x6c\154\x69\156\147\x60\x20\x74\141\142\x6c\145\40\x65\170\151\163\x74\x73\56"); goto C9d3o; i5gGC: $LP1gs->fetch(); goto xtjlM; rvZ6m: throw new DatabaseException(sprintf("\103\x6f\165\154\x64\x20\x67\145\x74\x20\142\151\154\154\151\156\147\40\x65\x6e\164\x72\171\40\143\x6f\x75\156\x74\x20\146\157\162\x20\x75\163\145\x72\x73\x20\x65\x78\164\x65\x6e\163\x69\x6f\156\x73\x2c\40\x64\141\x74\141\142\141\163\x65\x20\145\x72\162\157\162\x3a\x20\45\x73", $LP1gs->error)); goto SZCAV; SpQBR: $LP1gs->bind_param("\151", $this->id); goto WLfXi; xtjlM: return $bXjhb > 0; goto jJHkC; SZCAV: jP21x: goto joeqV; znIa2: if (!($LP1gs === false)) { goto ffgLo; } goto I2H_D; yHCfx: $Cc_Q_ = self::getDb(); goto es0BR; EBEwh: $LP1gs = $Cc_Q_->prepare($JYAe2); goto znIa2; C9d3o: ffgLo: goto SpQBR; es0BR: $JYAe2 = "\123\x45\114\x45\x43\124\40\143\157\x75\x6e\164\50\x2a\51\40\xa\40\x20\40\x20\40\40\x20\40\x20\40\x20\40\40\40\40\40\x20\40\40\x20\40\x20\x20\x20\x46\x52\117\x4d\x20\x73\x65\x72\166\x69\x63\145\163\137\x62\151\154\154\x69\156\x67\x20\x41\123\x20\x73\142\12\40\x20\40\40\x20\x20\40\40\40\x20\x20\x20\x20\40\x20\40\40\40\40\40\40\x20\x20\40\112\x4f\111\116\40\145\170\x74\x65\156\x73\151\x6f\156\163\40\101\123\x20\145\x20\117\x4e\40\145\x2e\156\165\155\x20\x3d\x20\x73\142\56\x65\x78\164\x65\x6e\163\x69\x6f\x6e\12\40\x20\x20\x20\40\40\40\40\40\40\x20\40\x20\40\40\x20\x20\40\x20\40\40\x20\x20\40\112\117\111\x4e\x20\x6c\x6f\157\153\x75\160\137\165\x73\x65\162\40\154\x75\40\x4f\116\x20\x65\x2e\x69\x64\40\x3d\x20\154\x75\x2e\145\170\x74\x65\156\163\151\x6f\156\137\x69\x64\xa\x20\x20\40\x20\40\40\x20\40\40\40\40\x20\40\40\x20\x20\40\x20\40\x20\40\40\x20\x20\x57\x48\x45\122\x45\x20\154\x75\56\x75\x73\x65\x72\x5f\151\144\40\75\40\x3f\40\101\x4e\104\40\163\x62\x2e\142\151\x6c\154\x65\144\x20\75\40\60"; goto EBEwh; jJHkC: } public function getEmailNotify() : int { return $this->emailNotify; } public function setEmailNotify(int $NUInT) : User { goto fbbvW; orRMC: uWV7d: goto chEkh; P0R6Q: throw new UnexpectedValueException("\145\x6d\x61\151\x6c\x4e\157\164\x69\146\171\40\156\x65\x65\144\x73\x20\x74\x6f\40\x62\x65\40\x30\x2c\x20\61\x20\157\162\40\x32"); goto orRMC; Xdjtj: return $this; goto elZVx; chEkh: $this->emailNotify = $NUInT; goto Xdjtj; fbbvW: if (!($NUInT < 0 || $NUInT > 2)) { goto uWV7d; } goto P0R6Q; elZVx: } }

Function Calls

None

Variables

None

Stats

MD5 35be7f324009c9cbff291b2ec512e160
Eval Count 0
Decode Time 120 ms