/* Decoded by unphp.net */ false, "KEY WRONG"))); goto Ea22f9cb4f3990bc8b605a25fe276e01; A731ffa0265d8dd09496efd60d412566: die(json_encode(array("result" => false, "IP FORBIDDEN"))); goto ef12b110716b951b0ba691fb7497e519; b1db1afa6778c9cb80b00e39244d9ab2: $b4af8b82d0e004d138b6f62947d7a1fa = !empty(A78bF8D35765be2408c50712CE7a43ad::$request["action"]) ? A78Bf8d35765bE2408C50712cE7A43ad::$request["action"] : ''; goto Bf19a14b6c689f997cc13e69d36a73e5; Bf19a14b6c689f997cc13e69d36a73e5: $E6ff6085a41cbca3609766e3f9a666ee = !empty(A78Bf8D35765Be2408C50712Ce7A43ad::$request["sub"]) ? A78BF8D35765bE2408C50712CE7A43aD::$request["sub"] : ''; goto Efb16a257b257cb58806dad3884cd78f; e64dd8da31b89755997d6ff6f9e3f688: set_time_limit(0); goto ae4d8c5af88ff41e6ebad3880fbf1bc3; Bea39f48075d10bb27df4a029da51a0b: function b484c4Ff0e3eE69B9D98B92884B88C0f($d76067cf9572f7a6691c85c12faf2a29) { goto Df8fc1305167c1dffc33b4ad38b995a7; A1add522c325eca1b8055d256cef3067: foreach (array_values($d76067cf9572f7a6691c85c12faf2a29) as $a1daec950dd361ae639ad3a57dc018c0) { goto ca03aef37263998cdddf8e041e4a11ff; e47ee905e090321ee75ced2453cb23ed: $b0f1eb357ed72245e03dfe6268912497 .= "NULL,"; goto Bdacae5fbd26b939ed1bf00b09fae732; ea1b3089e90cce701432646e0d2308a4: if (is_null($a1daec950dd361ae639ad3a57dc018c0)) { goto A6780b3dac12f57cae5f01bafc63e753; } goto D896e80f1ed8a0f4d8bc6420bf1612a1; D896e80f1ed8a0f4d8bc6420bf1612a1: $b0f1eb357ed72245e03dfe6268912497 .= "'" . $f566700a43ee8e1f0412fe10fbdf03df->escape(json_encode($a1daec950dd361ae639ad3a57dc018c0)) . "',"; goto cdebd1f6b94af3aab0929b79265df5d3; cdebd1f6b94af3aab0929b79265df5d3: goto e1365d05c90b3128c0d7a8cfecb5a3d5; goto b5c0ecbc9bfd7dbb0dfebf9b4310431c; Ae101430f98f842e59ad4c2f6c85445a: goto e1365d05c90b3128c0d7a8cfecb5a3d5; goto Df4af306bc40c23fa3541484c75fd389; b5c0ecbc9bfd7dbb0dfebf9b4310431c: cb6f681d4fbd2684f1c003ecc9ac7a91: goto Dc7f53bcdb23cf281fac66a57661f57f; B6e309b4c6d0291cbd8f57c6eb74f4ed: C8ef321e5c0dc45b83f12e6a2548255c: goto Fbad44e04e2e67f296c66bc23f010f7a; ca03aef37263998cdddf8e041e4a11ff: if (!is_array($a1daec950dd361ae639ad3a57dc018c0)) { goto cb6f681d4fbd2684f1c003ecc9ac7a91; } goto ea1b3089e90cce701432646e0d2308a4; Bdacae5fbd26b939ed1bf00b09fae732: e1365d05c90b3128c0d7a8cfecb5a3d5: goto B6e309b4c6d0291cbd8f57c6eb74f4ed; Dc7f53bcdb23cf281fac66a57661f57f: $b0f1eb357ed72245e03dfe6268912497 .= "'" . $f566700a43ee8e1f0412fe10fbdf03df->escape($a1daec950dd361ae639ad3a57dc018c0) . "',"; goto Ae101430f98f842e59ad4c2f6c85445a; Df4af306bc40c23fa3541484c75fd389: A6780b3dac12f57cae5f01bafc63e753: goto e47ee905e090321ee75ced2453cb23ed; Fbad44e04e2e67f296c66bc23f010f7a: } goto C21eea15cd9a9361f9993b7ddfc72606; d483b23d35573177d33d779762dd3887: eb136128d3b5ebc7f8e0cf5b2ac2c8ab: goto Ba7a52aa0e7fb22660d6c43d8ef86228; Ecc82177d47fca7e85dc5579ba7fa098: $b0f1eb357ed72245e03dfe6268912497 = "("; goto d7ca77a0f9e034c1c81bf58f53f1e56d; Df8fc1305167c1dffc33b4ad38b995a7: global $f566700a43ee8e1f0412fe10fbdf03df; goto Ecc82177d47fca7e85dc5579ba7fa098; C6261498ede7c8b35c8e909ebdcab704: $b0f1eb357ed72245e03dfe6268912497 = rtrim($b0f1eb357ed72245e03dfe6268912497, ",") . ");"; goto cb4ea388b64509e179d0c657c066a0e1; cb4ea388b64509e179d0c657c066a0e1: return $b0f1eb357ed72245e03dfe6268912497; goto E03cc0b907d99ac2e23358a65c0196e9; Ba7a52aa0e7fb22660d6c43d8ef86228: $b0f1eb357ed72245e03dfe6268912497 = rtrim($b0f1eb357ed72245e03dfe6268912497, ",") . ") VALUES ("; goto A1add522c325eca1b8055d256cef3067; d7ca77a0f9e034c1c81bf58f53f1e56d: foreach (array_keys($d76067cf9572f7a6691c85c12faf2a29) as $bca37bc3b9c255b1666da6076ce9aa30) { goto f5413278a1a9859f1c5ca916163af16e; a9203f596da9fa2289ce9ed301f96c27: $b0f1eb357ed72245e03dfe6268912497 .= "`{$bca37bc3b9c255b1666da6076ce9aa30}`,"; goto b4c97647f8ab9b0317a01d6f85796738; b4c97647f8ab9b0317a01d6f85796738: cd3fc180c5f66f2e98c420c2a0cb28b3: goto fe08f8515612a3b04ab1a7ca684bef55; f5413278a1a9859f1c5ca916163af16e: $bca37bc3b9c255b1666da6076ce9aa30 = preg_replace("/[^a-zA-Z0-9\_]+/", '', $bca37bc3b9c255b1666da6076ce9aa30); goto a9203f596da9fa2289ce9ed301f96c27; fe08f8515612a3b04ab1a7ca684bef55: } goto d483b23d35573177d33d779762dd3887; C21eea15cd9a9361f9993b7ddfc72606: D9f2f31f27f3bb75cd8368fc2c737db6: goto C6261498ede7c8b35c8e909ebdcab704; E03cc0b907d99ac2e23358a65c0196e9: } goto fbd3f791a2bb2f0c1f61adbecee77eae; ae4d8c5af88ff41e6ebad3880fbf1bc3: require "init.php"; goto Fe482f86a609c0549aa3f02ce04a6258; C1a7ee08ae68c7bda36199d46bb885f7: e152b1e7a78198f2545a01db9262458c: goto Cb7e77fd060c0b7e28182f233e9b1bd2; Fcbea365828c13ca1c302994c0d35cfb: if (!(!empty(A78Bf8D35765be2408c50712cE7A43Ad::$settings["api_pass"]) && A78BF8D35765be2408c50712cE7a43ad::$request["api_pass"] != A78Bf8D35765bE2408C50712cE7a43ad::$settings["api_pass"])) { goto a14c6ecc97fc64c34cda302203e20bd9; } goto b6d815d5f8d4186c6e360edebc97c8a1; F3c7d324116ab228aaf71c9e75d21b11: function fbAAC025084A44f7876230ff53A6137f($d76067cf9572f7a6691c85c12faf2a29) { goto Fd8300ae373574f2d7a4865e796a7a6e; b5f394c0876f03f56489811ee2e2af9d: return rtrim($b0f1eb357ed72245e03dfe6268912497, ","); goto E70581e7f47865e3cc271d5efbd80133; fb12b518c60504883c8f96d85cf5891f: foreach ($d76067cf9572f7a6691c85c12faf2a29 as $bca37bc3b9c255b1666da6076ce9aa30 => $a1daec950dd361ae639ad3a57dc018c0) { goto da1eb247085b794ae34437870c6c0c00; d9cdefdb206f55994619ed2b4901724b: if (is_array($a1daec950dd361ae639ad3a57dc018c0)) { goto c075392751c4828bc4e00e0965478472; } goto b63de9e40adbb31f24ca3c545522311b; A95c2423b95a4715e4d2e1c8bef0a4b7: Eb823b81d52a0b2a1256d64215290521: goto B159abf8bd494d2a3c0f084036459bae; e3cae633cc1a2e9ecf33c901975be7b1: bffbacfcb8d9c78a846353d4e8c3a270: goto Ee2557fcdc0a03ffe47108633f61b551; da1eb247085b794ae34437870c6c0c00: $bca37bc3b9c255b1666da6076ce9aa30 = preg_replace("/[^a-zA-Z0-9\_]+/", '', $bca37bc3b9c255b1666da6076ce9aa30); goto d9cdefdb206f55994619ed2b4901724b; f766925410aa7df58c756c903a4f73c8: $b0f1eb357ed72245e03dfe6268912497 .= "`{$bca37bc3b9c255b1666da6076ce9aa30}` = '" . $f566700a43ee8e1f0412fe10fbdf03df->escape($a1daec950dd361ae639ad3a57dc018c0) . "',"; goto Bebcc167d97ff32f97c85e485e203d55; e94df1cb5c1f8ae61f8d1b079e443327: goto Eb823b81d52a0b2a1256d64215290521; goto e3cae633cc1a2e9ecf33c901975be7b1; aab37cf4ab0f139f903baa50e6c8ca6b: c075392751c4828bc4e00e0965478472: goto c112ad781d25f1fc2f1b1679f9ba0b9f; B159abf8bd494d2a3c0f084036459bae: f91f7e84fbaae8a6085d78a92b02442d: goto D9ca2ee35929b09e07fb36b8bc509f09; b63de9e40adbb31f24ca3c545522311b: if (is_null($a1daec950dd361ae639ad3a57dc018c0)) { goto bffbacfcb8d9c78a846353d4e8c3a270; } goto f766925410aa7df58c756c903a4f73c8; Ee2557fcdc0a03ffe47108633f61b551: $b0f1eb357ed72245e03dfe6268912497 .= "`{$bca37bc3b9c255b1666da6076ce9aa30}` = null,"; goto A95c2423b95a4715e4d2e1c8bef0a4b7; Bebcc167d97ff32f97c85e485e203d55: goto Eb823b81d52a0b2a1256d64215290521; goto aab37cf4ab0f139f903baa50e6c8ca6b; c112ad781d25f1fc2f1b1679f9ba0b9f: $b0f1eb357ed72245e03dfe6268912497 .= "`{$bca37bc3b9c255b1666da6076ce9aa30}` = '" . $f566700a43ee8e1f0412fe10fbdf03df->escape(json_encode($a1daec950dd361ae639ad3a57dc018c0)) . "',"; goto e94df1cb5c1f8ae61f8d1b079e443327; D9ca2ee35929b09e07fb36b8bc509f09: } goto Acac22e0b232b30d32056a73c4ac79b9; Acac22e0b232b30d32056a73c4ac79b9: a8509d63ee10f82e51d89e161afa671a: goto b5f394c0876f03f56489811ee2e2af9d; Fd8300ae373574f2d7a4865e796a7a6e: global $f566700a43ee8e1f0412fe10fbdf03df; goto Ebcf6ae29f62beebdf2ebcedf76d1ff2; Ebcf6ae29f62beebdf2ebcedf76d1ff2: $b0f1eb357ed72245e03dfe6268912497 = ''; goto fb12b518c60504883c8f96d85cf5891f; E70581e7f47865e3cc271d5efbd80133: } goto Bea39f48075d10bb27df4a029da51a0b; Ea22f9cb4f3990bc8b605a25fe276e01: a14c6ecc97fc64c34cda302203e20bd9: goto b1db1afa6778c9cb80b00e39244d9ab2; fbd3f791a2bb2f0c1f61adbecee77eae: function eF9fcefFa62Db6ecC4c8a628B9b5a9Af($F999d6c638356ee8a5d971e3eabf821a) { return is_array(json_decode($F999d6c638356ee8a5d971e3eabf821a, true)); } goto Ab10d6337fbb7c0d70c8cd31651f0cb4; ef12b110716b951b0ba691fb7497e519: Aa55fd0c46e0334d83d2d38c8c26e4e1: goto Fcbea365828c13ca1c302994c0d35cfb; Cb7e77fd060c0b7e28182f233e9b1bd2: Bd7b033d4dbcf543ff6bfbb182da4c5f: goto F3c7d324116ab228aaf71c9e75d21b11; D2e169c8a593d56b3a5a4ea2970047ef: if (!(!in_array($f4889efa84e1f2e30e5e9780973f68cb, Cd89785224751cca8017139DaF9e891e::Ab69E1103C96eE33FE21a6453d788925()) && !in_array($f4889efa84e1f2e30e5e9780973f68cb, a78bf8d35765BE2408c50712ce7a43ad::$settings["api_ips"]))) { goto Aa55fd0c46e0334d83d2d38c8c26e4e1; } goto A731ffa0265d8dd09496efd60d412566; Efb16a257b257cb58806dad3884cd78f: switch ($b4af8b82d0e004d138b6f62947d7a1fa) { case "server": goto B46159a339e5445ebdffc6d9213979f7; B46159a339e5445ebdffc6d9213979f7: switch ($E6ff6085a41cbca3609766e3f9a666ee) { case "list": goto Dd3fffd8f23f935dd20ee56fd4710380; F717276721afb034100f2e15c977ffda: foreach (A78Bf8D35765be2408c50712Ce7A43ad::$StreamingServers as $e951d0b9610ba3624d06def5a541cb17 => $C3af9fee694e49882d2d0c32f538efc8) { $output[] = array("id" => $e951d0b9610ba3624d06def5a541cb17, "server_name" => $C3af9fee694e49882d2d0c32f538efc8["server_name"], "online" => $C3af9fee694e49882d2d0c32f538efc8["server_online"], "info" => json_decode($C3af9fee694e49882d2d0c32f538efc8["server_hardware"], true)); c657bfc83013e3803533d63a251e5086: } goto A8071d959b16b24fed46ba7e773b7905; A8071d959b16b24fed46ba7e773b7905: Fc60d7821fea25da4fce231c7db6434f: goto da05eb0ef6a2d58548d679f27778e7bc; da05eb0ef6a2d58548d679f27778e7bc: echo json_encode($output); goto bc9acd38ca60d562f458f64f1d02f287; Dd3fffd8f23f935dd20ee56fd4710380: $output = array(); goto F717276721afb034100f2e15c977ffda; bc9acd38ca60d562f458f64f1d02f287: goto E2fe3cd27d3c94e652c980349e7ccaed; goto Fa74eef8e672b9db3876f5760948df2b; Fa74eef8e672b9db3876f5760948df2b: } goto D78fe8e3f619c57db338417632c1021a; D78fe8e3f619c57db338417632c1021a: cbf8f15f757285639fbc2244b2f0b9e1: goto F820f0006f9ed930b8cefddb1380c1bc; F820f0006f9ed930b8cefddb1380c1bc: E2fe3cd27d3c94e652c980349e7ccaed: goto c200236da9fd3cfb192abf7a5f026d85; c200236da9fd3cfb192abf7a5f026d85: goto Bd7b033d4dbcf543ff6bfbb182da4c5f; goto ba1385c1582cda95ec16667954f3ef70; ba1385c1582cda95ec16667954f3ef70: case "vod": goto F8507b4a4646ea03d6aa1dc38fdb7709; E64cfe9b24fae6c3c0896e72a3fe5e11: Ffb35504c89d312d67d67fdde5e3635c: goto A5511fa2ed38e7d7fce8c995c562c74c; A5511fa2ed38e7d7fce8c995c562c74c: goto Bd7b033d4dbcf543ff6bfbb182da4c5f; goto d9b4e8a4b3674ccc9e40f9ce6d1319cd; Dd50dcf3646c895565cdfd3de88036a0: switch ($E6ff6085a41cbca3609766e3f9a666ee) { case "start": case "stop": goto F815f060dbf44a2b12a83fab883b4463; fcd2cc8512ca46c437e8f416d5bbc61a: ba4bba065d2d97e9f8bc0bb6e132d014: goto Eda3aac73c9d836306a647372563845b; F815f060dbf44a2b12a83fab883b4463: $f9b9c9baaec5b82b03b15c6eb07ec8f9 = empty(a78bF8D35765Be2408C50712Ce7A43AD::$request["servers"]) ? array_keys(a78bF8D35765be2408c50712Ce7A43AD::$StreamingServers) : array_map("intval", a78Bf8D35765bE2408C50712CE7a43AD::$request["servers"]); goto Ad6001e2b89972f99a73919d5b31cd0d; A9ec8f32974281f3bff2c59d9a0c23d2: goto Ffb35504c89d312d67d67fdde5e3635c; goto f0dcfa8290609c97eac24fd07a5a8a9a; Eb12418f360643bdae05eb5de200460d: die; goto A9ec8f32974281f3bff2c59d9a0c23d2; Eda3aac73c9d836306a647372563845b: A78Bf8D35765be2408c50712Ce7a43AD::D0124AFE61D44214B63588b31303A8c4($B13e3f304ca1f14e137f209a5138ea10); goto Ea04db2a3851f1bafa7fbb2d0a0b36e8; Ad6001e2b89972f99a73919d5b31cd0d: foreach ($f9b9c9baaec5b82b03b15c6eb07ec8f9 as $e951d0b9610ba3624d06def5a541cb17) { $B13e3f304ca1f14e137f209a5138ea10[$e951d0b9610ba3624d06def5a541cb17] = array("url" => A78BF8D35765be2408C50712ce7A43Ad::$StreamingServers[$e951d0b9610ba3624d06def5a541cb17]["api_url_ip"] . "&action=vod", "postdata" => array("function" => $E6ff6085a41cbca3609766e3f9a666ee, "stream_ids" => $B5dac75572776cad02b4f375a2781a87)); df9a384a8b1f6f6f6ae97662b1f5d706: } goto fcd2cc8512ca46c437e8f416d5bbc61a; Ea04db2a3851f1bafa7fbb2d0a0b36e8: echo json_encode(array("result" => true)); goto Eb12418f360643bdae05eb5de200460d; f0dcfa8290609c97eac24fd07a5a8a9a: } goto bd6dcf8ec372551cc50febc4fc4444d7; F8507b4a4646ea03d6aa1dc38fdb7709: $B5dac75572776cad02b4f375a2781a87 = array_map("intval", A78Bf8D35765Be2408c50712Ce7a43ad::$request["stream_ids"]); goto Dd50dcf3646c895565cdfd3de88036a0; bd6dcf8ec372551cc50febc4fc4444d7: D79c208bcc3d937751df188f28738d89: goto E64cfe9b24fae6c3c0896e72a3fe5e11; d9b4e8a4b3674ccc9e40f9ce6d1319cd: case "stream": goto Cee7efc8fdf8084ff3ef779ecefedf98; D75035781fe25092c4db592cf1d10417: goto Bd7b033d4dbcf543ff6bfbb182da4c5f; goto F9f6acb343acafd2c6e896fdfb254a43; C0f509b320b88204a790a5ba667662b8: Bc4dc02c887a728d0c6c50b043bb7680: goto c80d895fbc442c5ead0026bed190c175; c80d895fbc442c5ead0026bed190c175: aef34c2f5b53ef103109ab629cf3e269: goto D75035781fe25092c4db592cf1d10417; Cee7efc8fdf8084ff3ef779ecefedf98: switch ($E6ff6085a41cbca3609766e3f9a666ee) { case "start": case "stop": goto Ae6625bcf9ea9be3d064535f3a2958a2; cb98804d8e195da1d66c9fb2a4b2dc4a: foreach ($f9b9c9baaec5b82b03b15c6eb07ec8f9 as $e951d0b9610ba3624d06def5a541cb17) { $B13e3f304ca1f14e137f209a5138ea10[$e951d0b9610ba3624d06def5a541cb17] = array("url" => a78bf8d35765be2408c50712CE7a43ad::$StreamingServers[$e951d0b9610ba3624d06def5a541cb17]["api_url_ip"] . "&action=stream", "postdata" => array("function" => $E6ff6085a41cbca3609766e3f9a666ee, "stream_ids" => $B5dac75572776cad02b4f375a2781a87)); a7f49c96cd32b78607c69a117274e36f: } goto c13056450dfaa408b1d7133cdff23bd2; Ae6625bcf9ea9be3d064535f3a2958a2: $B5dac75572776cad02b4f375a2781a87 = array_map("intval", a78bf8d35765BE2408c50712Ce7a43aD::$request["stream_ids"]); goto ae71cbd7c7d6cce3226fba1cb390b8b2; c13056450dfaa408b1d7133cdff23bd2: C468ac96225e06cdb488bfbe6f8c1af0: goto bfa75d719e29a94e1c318998e917c47f; D649133698dea6189f9b2b36e128bffd: goto aef34c2f5b53ef103109ab629cf3e269; goto Fe35dbb72536ad2ba15434f16b3319f8; ae71cbd7c7d6cce3226fba1cb390b8b2: $f9b9c9baaec5b82b03b15c6eb07ec8f9 = empty(A78Bf8d35765bE2408C50712cE7a43AD::$request["servers"]) ? array_keys(a78bF8d35765be2408C50712cE7A43ad::$StreamingServers) : array_map("intval", A78bF8D35765bE2408C50712Ce7A43AD::$request["servers"]); goto cb98804d8e195da1d66c9fb2a4b2dc4a; d376f3e9cc2b7f175df0c3fb196a7466: die; goto D649133698dea6189f9b2b36e128bffd; bfa75d719e29a94e1c318998e917c47f: A78Bf8d35765be2408C50712ce7a43aD::d0124afE61D44214B63588b31303A8C4($B13e3f304ca1f14e137f209a5138ea10); goto dc3753f5094637d9967b055369faf0ff; dc3753f5094637d9967b055369faf0ff: echo json_encode(array("result" => true)); goto d376f3e9cc2b7f175df0c3fb196a7466; Fe35dbb72536ad2ba15434f16b3319f8: case "list": goto ca7c833d6734f154f90dae494b6f38d2; E91f55b09b955ddf9af4c85f96f4e220: goto aef34c2f5b53ef103109ab629cf3e269; goto cafd3680ae1197ea31627375f0af6d07; f4f983ed5011e143fb60febd92561d0b: echo json_encode($output); goto E91f55b09b955ddf9af4c85f96f4e220; da7995ccb7325b151e471d3d72e15e52: $f566700a43ee8e1f0412fe10fbdf03df->query("SELECT id,stream_display_name FROM `streams` WHERE type <> 2"); goto F0b7a915dcfb9e359e6c99e16881e681; ca7c833d6734f154f90dae494b6f38d2: $output = array(); goto da7995ccb7325b151e471d3d72e15e52; c6ea15deb82e8872be7a36dde288850f: B612afd7e825d1c9d5abf5743a38ae46: goto f4f983ed5011e143fb60febd92561d0b; F0b7a915dcfb9e359e6c99e16881e681: foreach ($f566700a43ee8e1f0412fe10fbdf03df->C126fD559932F625CDf6098d86C63880() as $c72d66b481d02f854f0bef67db92a547) { $output[] = array("id" => $c72d66b481d02f854f0bef67db92a547["id"], "stream_name" => $c72d66b481d02f854f0bef67db92a547["stream_display_name"]); E283b1770ca1413a7db2234f55ee3b96: } goto c6ea15deb82e8872be7a36dde288850f; cafd3680ae1197ea31627375f0af6d07: case "offline": goto Ae5f72e7a402885284d0e852669565c6; A581a81180c4a33eb684e4fe1b148dee: echo json_encode($output); goto Dc363db5de1a50f57d9a9001dd837be0; C2a0f52c7ca4873312374051fe25c22b: $output = array(); goto F1082f681c2e7d9cb778d4caf6595705; F1082f681c2e7d9cb778d4caf6595705: foreach ($D465fc5085f41251c6fa7c77b8333b0f as $ba85d77d367dcebfcc2a3db9e83bb581 => $f9b9c9baaec5b82b03b15c6eb07ec8f9) { $output[$ba85d77d367dcebfcc2a3db9e83bb581] = array_keys($f9b9c9baaec5b82b03b15c6eb07ec8f9); dc36140b17e2214cd0291f81609d6855: } goto Ed9baf6ca9936c3ac6ed19f9485d2807; Ed9baf6ca9936c3ac6ed19f9485d2807: ab91aa1a9d4eacf69740cfc5c765443f: goto A581a81180c4a33eb684e4fe1b148dee; A4a319fd2cfefcaeb4a6ff08ecb047ab: $D465fc5085f41251c6fa7c77b8333b0f = $f566700a43ee8e1f0412fe10fbdf03df->C126FD559932F625cdF6098d86C63880(true, "stream_id", false, "server_id"); goto C2a0f52c7ca4873312374051fe25c22b; Ae5f72e7a402885284d0e852669565c6: $f566700a43ee8e1f0412fe10fbdf03df->query("SELECT t1.stream_status,t1.server_id,t1.stream_id \xa FROM `streams_sys` t1\xa INNER JOIN `streams` t2 ON t2.id = t1.stream_id AND t2.type <> 2\xa WHERE t1.stream_status = 1"); goto A4a319fd2cfefcaeb4a6ff08ecb047ab; Dc363db5de1a50f57d9a9001dd837be0: goto aef34c2f5b53ef103109ab629cf3e269; goto B7aed44781bfe5ba6d511105335fc491; B7aed44781bfe5ba6d511105335fc491: case "online": goto a40c1d78408b2b9418924b6796d19204; b4d682f0cb8c68c25bc916daf101e886: foreach ($D465fc5085f41251c6fa7c77b8333b0f as $ba85d77d367dcebfcc2a3db9e83bb581 => $f9b9c9baaec5b82b03b15c6eb07ec8f9) { $output[$ba85d77d367dcebfcc2a3db9e83bb581] = array_keys($f9b9c9baaec5b82b03b15c6eb07ec8f9); b95fa06e61bc3c48ce56f6bf18da484c: } goto Faafc475bda5b206dd488198cfae478d; Fb6292bdeafc9f2699573812e0fc852d: goto aef34c2f5b53ef103109ab629cf3e269; goto C4b20182a3752417353d9d3345738d07; Faafc475bda5b206dd488198cfae478d: Bfac24e375d42843b8f7e8d3cf68f3e0: goto C1442b9ceecd1682c91fa2ff4c201159; a40c1d78408b2b9418924b6796d19204: $f566700a43ee8e1f0412fe10fbdf03df->query("SELECT t1.stream_status,t1.server_id,t1.stream_id FROM `streams_sys` t1\xa INNER JOIN `streams` t2 ON t2.id = t1.stream_id AND t2.type <> 2\xa WHERE t1.pid > 0 AND t1.stream_status = 0"); goto E639ad022c74aaf513eae6c714fee7ce; Dca576a4547e935442bf2e396ca52c3a: $output = array(); goto b4d682f0cb8c68c25bc916daf101e886; C1442b9ceecd1682c91fa2ff4c201159: echo json_encode($output); goto Fb6292bdeafc9f2699573812e0fc852d; E639ad022c74aaf513eae6c714fee7ce: $D465fc5085f41251c6fa7c77b8333b0f = $f566700a43ee8e1f0412fe10fbdf03df->c126fd559932f625cDF6098D86c63880(true, "stream_id", false, "server_id"); goto Dca576a4547e935442bf2e396ca52c3a; C4b20182a3752417353d9d3345738d07: } goto C0f509b320b88204a790a5ba667662b8; F9f6acb343acafd2c6e896fdfb254a43: case "stb": goto Ba44f93711433f73f8226c423c490108; A4e84dd11588a522d90f0615bd1e53af: c04e11fcec65463fbb7177681eaac188: goto Cdf19af7e71227026bcd78dabb6672e8; eb0458520da8727b07de7df7feab4261: goto Bd7b033d4dbcf543ff6bfbb182da4c5f; goto f782eff4639ae57444d5168bd01d4ca2; Cdf19af7e71227026bcd78dabb6672e8: E4df417f5446cab33460283f6bfb20d4: goto eb0458520da8727b07de7df7feab4261; Ba44f93711433f73f8226c423c490108: switch ($E6ff6085a41cbca3609766e3f9a666ee) { case "info": goto Cf80e850f01b263b99ff4e7c49d67a4c; D7b993646c8cec1fcce0a12e49189a0e: $bad0c96fedbc6eccfe927016a4dc3cd6 = a78bf8d35765BE2408C50712ce7a43aD::$request["mac"]; goto c871ea10bc10d96560ea76f132097bb5; be28a2f902586d6ec7c0a7fde9aeaab4: f390ea2e73d2b5c6b43790ccdf24f853: goto D7b993646c8cec1fcce0a12e49189a0e; D39e48f2fad5afeab5578fa6e15ea483: goto E4df417f5446cab33460283f6bfb20d4; goto be04404b9b7f55c79a61981ac5daa8c6; b7ee1cc824cc228a411af5a75d4fa9ec: fb63653b98f8189b2848254667719265: goto d4f22d723b426a7f8b6c0bb5fa514229; d4f22d723b426a7f8b6c0bb5fa514229: echo json_encode(array_merge(array("result" => true), $a8df9f055e91a1e9240230b69af85555)); goto Cae5bb3a650138d4e51b652db78b831a; Cc7f82c8e6c29d084982f26f7e86ae4b: goto bf3739eb6533f1ce17823ab560ac859c; goto be28a2f902586d6ec7c0a7fde9aeaab4; b3ccfb09916a204ae99819d7bc1d2df3: if (!empty($a8df9f055e91a1e9240230b69af85555)) { goto fb63653b98f8189b2848254667719265; } goto e9f1322979ef5004fbd63e637ca9c16f; F7639f705c8485d1ec7e55f2e8ccb6ee: bf3739eb6533f1ce17823ab560ac859c: goto D39e48f2fad5afeab5578fa6e15ea483; e1926482e420b29f3fd5d88afaa88d3b: goto af3e9215695890ebb2d39b5e2bdf947f; goto b7ee1cc824cc228a411af5a75d4fa9ec; Cf80e850f01b263b99ff4e7c49d67a4c: if (!empty(A78BF8d35765Be2408c50712ce7a43aD::$request["mac"])) { goto f390ea2e73d2b5c6b43790ccdf24f853; } goto a2668dfa8b4e3148d55498cf18eda3cf; e9f1322979ef5004fbd63e637ca9c16f: echo json_encode(array("result" => false, "error" => "NOT EXISTS")); goto e1926482e420b29f3fd5d88afaa88d3b; Cae5bb3a650138d4e51b652db78b831a: af3e9215695890ebb2d39b5e2bdf947f: goto F7639f705c8485d1ec7e55f2e8ccb6ee; c871ea10bc10d96560ea76f132097bb5: $a8df9f055e91a1e9240230b69af85555 = CD89785224751cCa8017139DAF9e891E::f2cBD6b6F59558B819C0CFF8c3b2Ef2c(false, $bad0c96fedbc6eccfe927016a4dc3cd6, true, false, true); goto b3ccfb09916a204ae99819d7bc1d2df3; a2668dfa8b4e3148d55498cf18eda3cf: echo json_encode(array("result" => false, "error" => "PARAMETER ERROR (mac)")); goto Cc7f82c8e6c29d084982f26f7e86ae4b; be04404b9b7f55c79a61981ac5daa8c6: case "edit": goto a025bb63a196190cc1685ba76365b95e; B638e302047d83aa2addb3ee5708d2e3: $bad0c96fedbc6eccfe927016a4dc3cd6 = a78bf8d35765bE2408C50712Ce7a43AD::$request["mac"]; goto f32f1e77bc67e39597361fd4a4acb5f9; De0b1955e9625f5827c1a2d283916ecb: goto cfd86983d443eb5b2eababb03a008e7c; goto dd7eba67c5b81933951dc6e3b527f0d7; d99882b652035fd78c5149f049f18f78: echo json_encode(array("result" => false, "error" => "PARAMETER ERROR")); goto Fec499e6b88c32322abd7f3d809474af; dd7eba67c5b81933951dc6e3b527f0d7: Cb293fbe31a5714d84e98df354fc795a: goto B638e302047d83aa2addb3ee5708d2e3; Ba4d3ab70441aae77a955503690acce1: $f566700a43ee8e1f0412fe10fbdf03df->query("INSERT INTO `reg_userlog` ( `owner`, `username`, `password`, `date`, `type` ) VALUES( '%s', '%s', '%s', '%s', '%s' )", "SYSTEM API[{$f4889efa84e1f2e30e5e9780973f68cb}]", $bad0c96fedbc6eccfe927016a4dc3cd6, "-", time(), "[API->Edit MAG Device]"); goto ef316132581356bd60698b48094eae79; Afdc8a5914b756de6184d55f907920a7: echo json_encode(array("result" => false, "error" => "PARAMETER ERROR (user/pass)")); goto De0b1955e9625f5827c1a2d283916ecb; ef316132581356bd60698b48094eae79: de8e587d7cd4f06949275a339b87f766: goto Bdad3c68fac6b2d0eac3e12993acfab0; f32f1e77bc67e39597361fd4a4acb5f9: $Bf4bb0ad11102aaccbf77b6cdc1fd66f = empty(A78bf8d35765BE2408c50712CE7A43ad::$request["user_data"]) ? array() : A78bf8D35765bE2408c50712CE7a43AD::$request["user_data"]; goto ed056eb24985b2fe3315fae66af4207a; c48f4438d7a390a5cde98aad139b7876: if ($f566700a43ee8e1f0412fe10fbdf03df->e872BE457a7F493D774179C6BdF95b46() > 0) { goto c698725b0c334a4e3fd3d89e4ca17e14; } goto Eddaedc4b6391172eb9aba03682d6244; e8026ffae46db85a15b67281d664942f: if ($f566700a43ee8e1f0412fe10fbdf03df->query("UPDATE `users` SET {$b0f1eb357ed72245e03dfe6268912497} WHERE id = ( SELECT user_id FROM mag_devices WHERE `mac` = '%s' )", base64_encode(strtoupper($bad0c96fedbc6eccfe927016a4dc3cd6)))) { goto fcfc4d577464af4f5fbbd2b5d7c4a8e9; } goto d99882b652035fd78c5149f049f18f78; C69c6552e9e4f3e1554d0017cb6b3f7a: cfd86983d443eb5b2eababb03a008e7c: goto Bc219cbe90210dafae4a0ec896ade267; E5768f677bba2920c4202595e781226f: goto de8e587d7cd4f06949275a339b87f766; goto Eb1c0e81aec283ecd542603972769d50; ed056eb24985b2fe3315fae66af4207a: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["is_mag"] = 1; goto B4713508aef4549206315a55015154fb; c0f1c8ce7e4a1a2972bf50c47c296e44: fcfc4d577464af4f5fbbd2b5d7c4a8e9: goto c48f4438d7a390a5cde98aad139b7876; Bc219cbe90210dafae4a0ec896ade267: goto E4df417f5446cab33460283f6bfb20d4; goto d9f1687c24845dd9bc28d799c89b11b5; B4713508aef4549206315a55015154fb: $b0f1eb357ed72245e03dfe6268912497 = FBAac025084A44F7876230Ff53A6137F($Bf4bb0ad11102aaccbf77b6cdc1fd66f); goto e8026ffae46db85a15b67281d664942f; Fec499e6b88c32322abd7f3d809474af: goto aadad121e5dd6902f7a5724358d966f5; goto c0f1c8ce7e4a1a2972bf50c47c296e44; Bdad3c68fac6b2d0eac3e12993acfab0: aadad121e5dd6902f7a5724358d966f5: goto C69c6552e9e4f3e1554d0017cb6b3f7a; Eddaedc4b6391172eb9aba03682d6244: echo json_encode(array("result" => false)); goto E5768f677bba2920c4202595e781226f; a025bb63a196190cc1685ba76365b95e: if (!empty(a78bf8D35765bE2408C50712cE7a43ad::$request["mac"])) { goto Cb293fbe31a5714d84e98df354fc795a; } goto Afdc8a5914b756de6184d55f907920a7; Eb1c0e81aec283ecd542603972769d50: c698725b0c334a4e3fd3d89e4ca17e14: goto f81c00579a51def64462aa4500ac6d2a; f81c00579a51def64462aa4500ac6d2a: echo json_encode(array("result" => true)); goto Ba4d3ab70441aae77a955503690acce1; d9f1687c24845dd9bc28d799c89b11b5: case "create": goto Ebb381af06629edcc601ef2f1b1e5e12; eb64d1fa95d4e49c98de264e4d0bae07: $E38668abaa324e464e266fb7b7e784b1 = $f566700a43ee8e1f0412fe10fbdf03df->bEB8A0Bba80a0133A23FE13D34dC94D6(); goto ace90762c5d0411279941866b7de4bf8; Fe91467914cba337d155be580614f3d4: E3312c0d1aaf330c7e43baa6e3c3d299: goto D347de63208146b798a7547e1f3f26f0; d6e5cb6761d684054ae47f9c2b315bdf: if ($f566700a43ee8e1f0412fe10fbdf03df->Fc53e22ae7eE3bb881CD95Fb606914F0("INSERT INTO `users` {$b0f1eb357ed72245e03dfe6268912497}")) { goto ab9d2695f42e87ebf597940b435227d6; } goto D902cdbea304c13f88c3a1893107f90d; F9190caaa4953cf43254a3e67fa13efc: echo json_encode(array("result" => false, "error" => "PARAMETER ERROR (mac)")); goto Bef29efcc7e5b162dbc1aa9cd0b1668e; B2a6442a20ec06c324b5d1bb694ea4d1: unset($Bf4bb0ad11102aaccbf77b6cdc1fd66f["mac"]); goto E39732d0fb2e7d3b9423e6a8ad8362bc; F8031ba107a493564571d5f50411641e: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["bouquet"] = empty($Bf4bb0ad11102aaccbf77b6cdc1fd66f["bouquet"]) || !EF9fCefFa62DB6ECc4c8a628B9B5A9aF($Bf4bb0ad11102aaccbf77b6cdc1fd66f["bouquet"]) ? array() : array_map("intval", json_decode($Bf4bb0ad11102aaccbf77b6cdc1fd66f["bouquet"], true)); goto E77d7b99af5ed772f175989d0a2504e9; a78fecc1e38881df7ac32c901a749002: echo json_encode(array("result" => false)); goto C51ce41673d7caa9e7ab7a83bdf3c1d5; C9477cea6ad3e6ae9206e087c90c6b27: if ($f566700a43ee8e1f0412fe10fbdf03df->e872Be457a7f493d774179c6BDF95B46() > 0) { goto d8d86a55b6bda6489791c3bd524900fb; } goto a78fecc1e38881df7ac32c901a749002; D347de63208146b798a7547e1f3f26f0: b92c474470552d8d4e01bc32f1835585: goto c946277d12d8503055595dd212ba172d; D15214bd37e39319687365b102cfe5b7: if (!CE15043404aa3e950fc9C9dd8bc0325a("mag_devices", "mac", $bad0c96fedbc6eccfe927016a4dc3cd6)) { goto e73a93fbe892767bf44f21473c7388e6; } goto Ce5f837b70e03202b9f28e0aa9114b99; Eb1b1e72d2d0f9e6f6d7ae3faba37e6c: ab9d2695f42e87ebf597940b435227d6: goto C9477cea6ad3e6ae9206e087c90c6b27; B03cfecad946a662737404da57df3e34: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["allowed_ips"] = json_encode(array()); goto e2a673d9a7f4f8d55cb0729cdd9d1021; Eb3109b2a9f4f04cbad3e6f02aa85ef5: $f566700a43ee8e1f0412fe10fbdf03df->query("INSERT INTO `mag_devices` ( `user_id`, `mac`, `created` )VALUES( '%d', '%s', '%d' )", $E38668abaa324e464e266fb7b7e784b1, $bad0c96fedbc6eccfe927016a4dc3cd6, time()); goto bdf061e1ec3dc97cd020e6a27c4c9326; E77d7b99af5ed772f175989d0a2504e9: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["is_mag"] = 1; goto Ad293872b8b11cd1f5afb498e9aa0c15; E9f69997a7d1f12af7edf98bb6930153: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["allowed_ua"] = json_encode(array()); goto Ced3b06a3c7384a2f9298da8287d8e87; Ced3b06a3c7384a2f9298da8287d8e87: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["created_at"] = time(); goto bcb2efa54a69b0d37f71655f2cd38ded; Bef29efcc7e5b162dbc1aa9cd0b1668e: goto b92c474470552d8d4e01bc32f1835585; goto C4b59c46c8cdb9280f255e2483904d7b; b2d3d8f5de3cc3331b780939dbfa1f67: $b0f1eb357ed72245e03dfe6268912497 = b484C4Ff0e3EE69B9d98B92884B88c0F($Bf4bb0ad11102aaccbf77b6cdc1fd66f); goto d6e5cb6761d684054ae47f9c2b315bdf; c946277d12d8503055595dd212ba172d: goto E4df417f5446cab33460283f6bfb20d4; goto De4b054c19ae321fe4ad50b825bd697e; ace90762c5d0411279941866b7de4bf8: foreach ($fb226b0ab56e366f44da9cf9ee107fff as $b1f84f020035bf724cdc2f6d05ee33c3) { $f566700a43ee8e1f0412fe10fbdf03df->query("INSERT INTO `user_output` ( `user_id`, `access_output_id` )VALUES( '%d', '%d' )", $E38668abaa324e464e266fb7b7e784b1, $b1f84f020035bf724cdc2f6d05ee33c3); D65ea973d5f15f8d2dcfd5c4a658493f: } goto d05f480c13300d250671e72a5749a198; dd71e24f1c13b3667eb59c4636ac0773: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["exp_date"] = empty($Bf4bb0ad11102aaccbf77b6cdc1fd66f["exp_date"]) ? null : intval($Bf4bb0ad11102aaccbf77b6cdc1fd66f["exp_date"]); goto F8031ba107a493564571d5f50411641e; c85e48ec6f162acfc656a7628a4a369b: $bad0c96fedbc6eccfe927016a4dc3cd6 = base64_encode(strtoupper($Bf4bb0ad11102aaccbf77b6cdc1fd66f["mac"])); goto B2a6442a20ec06c324b5d1bb694ea4d1; bdf061e1ec3dc97cd020e6a27c4c9326: echo json_encode(array("result" => true)); goto Cb3f152bcc9241e441b8886fd992b49e; dca3ea3691feda6e36431b281ca4a408: Bdcc54e1d0336bdd00a4f346405a95da: goto Fe91467914cba337d155be580614f3d4; Cb3f152bcc9241e441b8886fd992b49e: $f566700a43ee8e1f0412fe10fbdf03df->query("INSERT INTO `reg_userlog` ( `owner`, `username`, `password`, `date`, `type` )VALUES( '%s', '%s', '%s', '%s', '%s' )", "SYSTEM API[{$f4889efa84e1f2e30e5e9780973f68cb}]", base64_decode($bad0c96fedbc6eccfe927016a4dc3cd6), "-", time(), "[API->New MAG Device]"); goto b463ba810fc419d0898e72af04bb09aa; bcb2efa54a69b0d37f71655f2cd38ded: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["created_by"] = 0; goto dd71e24f1c13b3667eb59c4636ac0773; c66681ca493038582d3ae3d248573ebb: $fb226b0ab56e366f44da9cf9ee107fff = array(1, 2, 3); goto c85e48ec6f162acfc656a7628a4a369b; b60b2ea9d3bc96ea949874eee46ff318: d8d86a55b6bda6489791c3bd524900fb: goto eb64d1fa95d4e49c98de264e4d0bae07; C4b59c46c8cdb9280f255e2483904d7b: d5683a2402a02e5d6c5db8d0c4f8d2e9: goto c66681ca493038582d3ae3d248573ebb; Ee96ef6c6e56535cc119dcc3f63b9710: goto E3312c0d1aaf330c7e43baa6e3c3d299; goto D19707285d1f24716f47e4bd1e9dc877; a3c179767eaafe8d65137ba63d24df2e: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["password"] = a78bf8D35765be2408c50712Ce7A43AD::E5182e3afA58AC7Ec5D69D56B28819cd(10); goto fdb2b1a98bc9a6355dc4f06c34431455; e40006b0c25a252c27c05ad919521ba6: unset($Bf4bb0ad11102aaccbf77b6cdc1fd66f["output_formats"]); goto B8ae4339c04b1c6f2aba4e52f1388557; D902cdbea304c13f88c3a1893107f90d: echo json_encode(array("result" => false, "error" => "PARAMETER ERROR")); goto fffaa402c2b8babe1e73ccab15513534; D2cf023b9fed09f1ead3ea950a604b0b: unset($Bf4bb0ad11102aaccbf77b6cdc1fd66f["mac"]); goto Ecb1d82125467b4bbd4eff01a2f6c565; e2a673d9a7f4f8d55cb0729cdd9d1021: Ffcaed79e88470af2db73f4aa1e29e19: goto E9f69997a7d1f12af7edf98bb6930153; d05f480c13300d250671e72a5749a198: Dd719c704473a4d1fa8555af0ec59ea6: goto Eb3109b2a9f4f04cbad3e6f02aa85ef5; d3551d508801360cb196982fce12814d: if (!empty($Bf4bb0ad11102aaccbf77b6cdc1fd66f["mac"])) { goto d5683a2402a02e5d6c5db8d0c4f8d2e9; } goto F9190caaa4953cf43254a3e67fa13efc; Cbac4cdf9729d38c72f60af333a4a523: if (!array_key_exists("output_formats", $Bf4bb0ad11102aaccbf77b6cdc1fd66f)) { goto f11c105aa3afceda245b5b2320f8e469; } goto e40006b0c25a252c27c05ad919521ba6; C51ce41673d7caa9e7ab7a83bdf3c1d5: goto E4ad1247d78ae8deed1130ab8aeae8f1; goto b60b2ea9d3bc96ea949874eee46ff318; Ce5f837b70e03202b9f28e0aa9114b99: echo json_encode(array("result" => false, "error" => "EXISTS")); goto Ee96ef6c6e56535cc119dcc3f63b9710; D19707285d1f24716f47e4bd1e9dc877: e73a93fbe892767bf44f21473c7388e6: goto b2d3d8f5de3cc3331b780939dbfa1f67; fdb2b1a98bc9a6355dc4f06c34431455: if (!(!array_key_exists("allowed_ips", $Bf4bb0ad11102aaccbf77b6cdc1fd66f) || !Ef9fcEFFa62DB6eCc4c8a628b9B5A9aF($Bf4bb0ad11102aaccbf77b6cdc1fd66f["allowed_ips"]))) { goto Ffcaed79e88470af2db73f4aa1e29e19; } goto B03cfecad946a662737404da57df3e34; Ebb381af06629edcc601ef2f1b1e5e12: $Bf4bb0ad11102aaccbf77b6cdc1fd66f = empty(a78bF8d35765BE2408c50712cE7A43Ad::$request["user_data"]) ? array() : a78BF8d35765BE2408c50712ce7A43aD::$request["user_data"]; goto d3551d508801360cb196982fce12814d; Ecb1d82125467b4bbd4eff01a2f6c565: beb8381ee3b5034c3a2b71080c785432: goto Cbac4cdf9729d38c72f60af333a4a523; fffaa402c2b8babe1e73ccab15513534: goto Bdcc54e1d0336bdd00a4f346405a95da; goto Eb1b1e72d2d0f9e6f6d7ae3faba37e6c; B8ae4339c04b1c6f2aba4e52f1388557: f11c105aa3afceda245b5b2320f8e469: goto D15214bd37e39319687365b102cfe5b7; E39732d0fb2e7d3b9423e6a8ad8362bc: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["username"] = a78bF8d35765be2408c50712Ce7a43ad::e5182e3aFA58aC7EC5D69d56B28819cd(10); goto a3c179767eaafe8d65137ba63d24df2e; b463ba810fc419d0898e72af04bb09aa: E4ad1247d78ae8deed1130ab8aeae8f1: goto dca3ea3691feda6e36431b281ca4a408; Ad293872b8b11cd1f5afb498e9aa0c15: if (!array_key_exists("mac", $Bf4bb0ad11102aaccbf77b6cdc1fd66f)) { goto beb8381ee3b5034c3a2b71080c785432; } goto D2cf023b9fed09f1ead3ea950a604b0b; De4b054c19ae321fe4ad50b825bd697e: } goto A4e84dd11588a522d90f0615bd1e53af; f782eff4639ae57444d5168bd01d4ca2: case "user": goto bbeeece4b5cd69bd5c6ca72ca14d77a9; e9e019be44921f5181f273a8d75484dd: Bab0645719f9ad7cf724aa68a2d3f533: goto f4c87e0ac1b5f78f049f4c6d1f85f7da; badc346846948e2296f2d7f2e9d5b38f: E4181bb93e26784a72d7702b527ee2cf: goto e9e019be44921f5181f273a8d75484dd; f4c87e0ac1b5f78f049f4c6d1f85f7da: goto Bd7b033d4dbcf543ff6bfbb182da4c5f; goto Fd473a7d5d93c7b2fd2c2ce70063b8f0; bbeeece4b5cd69bd5c6ca72ca14d77a9: switch ($E6ff6085a41cbca3609766e3f9a666ee) { case "info": goto D3ef0d063bf6d5fbe44bd4d39a237f04; D0ae51260b02f90dd09bc04a06eb9210: $A6a4b4fbceaf0ab570c374f4faaa990f = A78Bf8D35765be2408c50712Ce7A43aD::$request["password"]; goto F3bb5561c3656886808967d2261334bb; D3ef0d063bf6d5fbe44bd4d39a237f04: if (!empty(a78Bf8D35765BE2408C50712CE7a43aD::$request["username"]) && !empty(a78bF8d35765bE2408c50712ce7a43aD::$request["password"])) { goto ba35145f1a9da497179700b0bf8417b0; } goto d394dcfaf28c8bfb095fea0fe68265d1; c5bc30f1cac438cf07c6452a44408f5c: goto A2dca2a0bc46076cafa207284358e968; goto ae193ab82b3495237a465a3e8be974c4; d057f16ec9d464686bc83660d56d6f7f: goto Bab0645719f9ad7cf724aa68a2d3f533; goto e9cd281be71c35f40295db8666851daa; bbc83a111183fa448fea4acb107ff7c7: $f6806488699d3315dc5dc1e27a401b3e = A78bF8D35765bE2408C50712Ce7a43Ad::$request["username"]; goto D0ae51260b02f90dd09bc04a06eb9210; C04dcbbb7957dafda020a8de2812fd7d: A64918f003796a11bce4908dbf768384: goto d6f22b1132a8939da8799e65d304b0d0; a84bfb6a4d110af65596b1eb3194c15f: F892644b78a2621cb7cdf6cca6999137: goto fc5f1b4efdc2cc3190061d3a9c73d406; e50b33feae9a9e0dae29e97d66ea5a26: echo json_encode(array("result" => false, "error" => "NOT EXISTS")); goto b6f4b6298b73dfe6e7efa902d77ec676; ae193ab82b3495237a465a3e8be974c4: ba35145f1a9da497179700b0bf8417b0: goto bbc83a111183fa448fea4acb107ff7c7; d394dcfaf28c8bfb095fea0fe68265d1: echo json_encode(array("result" => false, "error" => "PARAMETER ERROR (user/pass)")); goto c5bc30f1cac438cf07c6452a44408f5c; d6f22b1132a8939da8799e65d304b0d0: echo json_encode(array("result" => true, "user_info" => $a8df9f055e91a1e9240230b69af85555)); goto a84bfb6a4d110af65596b1eb3194c15f; F3bb5561c3656886808967d2261334bb: $a8df9f055e91a1e9240230b69af85555 = cd89785224751Cca8017139DaF9E891E::E5550592AA298DD1D5Ee59cdCe063a12(false, $f6806488699d3315dc5dc1e27a401b3e, $A6a4b4fbceaf0ab570c374f4faaa990f, true, false, true); goto F2801d4c6b309f135f49379a25899719; fc5f1b4efdc2cc3190061d3a9c73d406: A2dca2a0bc46076cafa207284358e968: goto d057f16ec9d464686bc83660d56d6f7f; F2801d4c6b309f135f49379a25899719: if (!empty($a8df9f055e91a1e9240230b69af85555)) { goto A64918f003796a11bce4908dbf768384; } goto e50b33feae9a9e0dae29e97d66ea5a26; b6f4b6298b73dfe6e7efa902d77ec676: goto F892644b78a2621cb7cdf6cca6999137; goto C04dcbbb7957dafda020a8de2812fd7d; e9cd281be71c35f40295db8666851daa: case "edit": goto F4bef3859cdc11edc551b048261742a9; b642f30252207f08a639da6bf3253e18: $f6806488699d3315dc5dc1e27a401b3e = a78BF8D35765be2408C50712cE7A43aD::$request["username"]; goto d64133feb047ef1446f152c5a5406687; a2a8547e91ec321dbb0a4b67b4ccb688: goto Eacbad2d323aaee6969c6f36a2910a2d; goto Fa8e47c2e25347fb6fe602d7e49b052b; Ec2e0ee083f4f77218cb04b97b68cfdd: ce1202ac65f3f501dd3627a22488fa63: goto b642f30252207f08a639da6bf3253e18; a6859c3062a638ac78711ef7d7f2a7fb: $b0f1eb357ed72245e03dfe6268912497 = fBaaC025084a44F7876230Ff53A6137F($Bf4bb0ad11102aaccbf77b6cdc1fd66f); goto Fa57d6c80c77958ac646e0f64232f4c8; c11cc50ed770169d383790268dd38cce: E40621f88cec253acca1b696536619db: goto Dbc26aa922e766d78d8cae88986dfdc3; a5268d01d8b33657721925d810712085: goto E40621f88cec253acca1b696536619db; goto Ec2e0ee083f4f77218cb04b97b68cfdd; d4f7cf7258d6a82b2a84aab5ae43fa26: $Bf4bb0ad11102aaccbf77b6cdc1fd66f = empty(A78BF8d35765BE2408C50712Ce7A43aD::$request["user_data"]) ? array() : a78Bf8D35765BE2408C50712Ce7A43aD::$request["user_data"]; goto Af47ca519295d0b26bd2074061731899; b054cee0fa90ee4f55f35c7495ed956a: f40804ca581e8a53c6e6a58d347eb384: goto a6859c3062a638ac78711ef7d7f2a7fb; F4bef3859cdc11edc551b048261742a9: if (!empty(A78bf8D35765BE2408c50712cE7a43aD::$request["username"]) && !empty(A78bf8D35765BE2408C50712ce7a43ad::$request["password"])) { goto ce1202ac65f3f501dd3627a22488fa63; } goto c5eca839587bbda6c4a8fa418b17fb02; A4080aab81cdc4d9735890acd0ff813d: if ($f566700a43ee8e1f0412fe10fbdf03df->d1E5CE3B87BB868b9e6efD39Aa355A4F() > 0) { goto f40804ca581e8a53c6e6a58d347eb384; } goto F3aad0f79c4cef40e6596e33bdea882e; Fa8e47c2e25347fb6fe602d7e49b052b: Dd0b5e951d5f5de81309c968e7f7569c: goto D63dffe383c560538893c97484fce5b1; D63dffe383c560538893c97484fce5b1: echo json_encode(array("result" => true)); goto e1097938d47577ee5340219e0e820bcd; Fa57d6c80c77958ac646e0f64232f4c8: if ($f566700a43ee8e1f0412fe10fbdf03df->query("UPDATE `users` SET {$b0f1eb357ed72245e03dfe6268912497} WHERE `username` = '%s' and `password` = '%s'", $f6806488699d3315dc5dc1e27a401b3e, $A6a4b4fbceaf0ab570c374f4faaa990f)) { goto Dd0b5e951d5f5de81309c968e7f7569c; } goto E9a63ab979889b0aea81f6a057568e16; E9a63ab979889b0aea81f6a057568e16: echo json_encode(array("result" => false, "error" => "PARAMETER ERROR")); goto a2a8547e91ec321dbb0a4b67b4ccb688; A95dbe5b3031f4b2f358372057d6dc0f: Eacbad2d323aaee6969c6f36a2910a2d: goto fc51a394ceaaa811e017acaad079272a; F0a47033f3c5fc4e7ab02493c87645bb: goto c04ee6f261a65ce7fc1fa62bcb4c9a6e; goto b054cee0fa90ee4f55f35c7495ed956a; c5eca839587bbda6c4a8fa418b17fb02: echo json_encode(array("result" => false, "error" => "PARAMETER ERROR (user/pass)")); goto a5268d01d8b33657721925d810712085; e1097938d47577ee5340219e0e820bcd: $f566700a43ee8e1f0412fe10fbdf03df->query("INSERT INTO `reg_userlog` ( `owner`, `username`, `password`, `date`, `type` )VALUES( '%s', '%s', '%s', '%s', '%s' )", "SYSTEM API[{$f4889efa84e1f2e30e5e9780973f68cb}]", $f6806488699d3315dc5dc1e27a401b3e, $A6a4b4fbceaf0ab570c374f4faaa990f, time(), "[API->Edit Line]"); goto A95dbe5b3031f4b2f358372057d6dc0f; Af47ca519295d0b26bd2074061731899: $f566700a43ee8e1f0412fe10fbdf03df->query("SELECT * FROM `users` WHERE `username` = '%s' and `password` = '%s'", $f6806488699d3315dc5dc1e27a401b3e, $A6a4b4fbceaf0ab570c374f4faaa990f); goto A4080aab81cdc4d9735890acd0ff813d; d64133feb047ef1446f152c5a5406687: $A6a4b4fbceaf0ab570c374f4faaa990f = A78bF8D35765bE2408C50712Ce7a43aD::$request["password"]; goto d4f7cf7258d6a82b2a84aab5ae43fa26; Dbc26aa922e766d78d8cae88986dfdc3: goto Bab0645719f9ad7cf724aa68a2d3f533; goto B42f8205eabc6548ee708ca788580dfa; fc51a394ceaaa811e017acaad079272a: c04ee6f261a65ce7fc1fa62bcb4c9a6e: goto c11cc50ed770169d383790268dd38cce; F3aad0f79c4cef40e6596e33bdea882e: echo json_encode(array("result" => false, "error" => "NOT EXISTS")); goto F0a47033f3c5fc4e7ab02493c87645bb; B42f8205eabc6548ee708ca788580dfa: case "create": goto E13973ee2bd6d0ce0e4db77fe01e45eb; Fa183a836b9f0d7c480bbfdb06750bc9: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["allowed_ips"] = json_encode(array()); goto b32846dae7d58e8444e9aa602da983a6; b09461834de2b15e34ea26ce2010029b: echo json_encode(array("result" => false, "error" => "EXISTS")); goto c63a58d839ac24c7fb5260d4af64525c; cf2a24f0511856e98b780a1d5bd7f937: eeb5a2f5efdef8d714fd45451f81573e: goto F6cc61ecb589932e026524e9017851bc; D08f5239d778c72c448c30549ae46c7b: echo json_encode(array("result" => false, "error" => "PARAMETER ERROR")); goto Dfa62af702dd61a178800474e7cd1cfc; e95f6f59e6a846dbcd7ebe0427b9a4e4: unset($Bf4bb0ad11102aaccbf77b6cdc1fd66f["output_formats"]); goto ea52323b4008e2984b9f3e7573b316df; Cc9caabe2ef293b9bdbcbdae940638ec: D927e04b70ade134afe4d6a35ef38d60: goto F3221baeec54da821c6478f65ac57faa; db02e1dc72bfad60573cfe0274acd96b: if (array_key_exists("username", $Bf4bb0ad11102aaccbf77b6cdc1fd66f)) { goto Fa0f17e75d57f133cbfafad278756634; } goto fd4dbf99cec389b52b85b78a933ab2f4; F3221baeec54da821c6478f65ac57faa: echo json_encode(array("result" => true, "created_id" => $E38668abaa324e464e266fb7b7e784b1, "username" => $Bf4bb0ad11102aaccbf77b6cdc1fd66f["username"], "password" => $Bf4bb0ad11102aaccbf77b6cdc1fd66f["password"])); goto dbf9eea500834770cc7e5a9bf625ac8d; c351ef59849b0dc2cb5fb35a818a013e: if (array_key_exists("password", $Bf4bb0ad11102aaccbf77b6cdc1fd66f)) { goto F581ebe88a4d7889bb99e82fa4b4cddd; } goto e3dbda9c3b425f5ab811b0e3dd948b88; c3581800e4db15ea9308b067a7252f83: $b0f1eb357ed72245e03dfe6268912497 = b484C4FF0E3eE69b9D98b92884B88c0F($Bf4bb0ad11102aaccbf77b6cdc1fd66f); goto D47e3dd05b438d2b9e808d2e93565e6b; Ff37a036af9ab0042d58dad9c6b82010: cf0f5f806d6d975679f551ba63e35a6f: goto D09fa3fe05075ae7dcc1516ec9ca0b85; C67a8cd9e00943eb914698455e410d69: foreach ($fb226b0ab56e366f44da9cf9ee107fff as $b1f84f020035bf724cdc2f6d05ee33c3) { $f566700a43ee8e1f0412fe10fbdf03df->query("INSERT INTO `user_output` ( `user_id`, `access_output_id` ) VALUES( '%d', '%d' )", $E38668abaa324e464e266fb7b7e784b1, $b1f84f020035bf724cdc2f6d05ee33c3); deafaac83305037a219641703427257d: } goto Cc9caabe2ef293b9bdbcbdae940638ec; c63a58d839ac24c7fb5260d4af64525c: goto fcbbc085a9aaba052cfe1a1a6da4857a; goto c9cd07a7d7110a2eb7c9252d557dae8a; c09ed12a089a5befa6b344241741937c: $Bf4bb0ad11102aaccbf77b6cdc1fd66f = empty(A78bf8D35765be2408c50712cE7A43Ad::$request["user_data"]) ? array() : A78bF8d35765be2408c50712ce7A43Ad::$request["user_data"]; goto db02e1dc72bfad60573cfe0274acd96b; a8ce1024461acf385e16a51315b11937: if (!array_key_exists("output_formats", $Bf4bb0ad11102aaccbf77b6cdc1fd66f)) { goto e28125caf199086c993aa163fae1cdad; } goto e95f6f59e6a846dbcd7ebe0427b9a4e4; b69f005b71f18d710ee8147276f70611: fcbbc085a9aaba052cfe1a1a6da4857a: goto Fbf850c65e089a2af14ca8b35c4d06df; bbae56417e1870f46ce11d8c72612597: Eb9064ced9a2dab86306860e85aac36a: goto a7e12b6f19abc28c3e2dde140c9700f2; dbf9eea500834770cc7e5a9bf625ac8d: $f566700a43ee8e1f0412fe10fbdf03df->query("INSERT INTO `reg_userlog` ( `owner`, `username`, `password`, `date`, `type` )VALUES( '%s', '%s', '%s', '%s', '%s' )", "SYSTEM API[{$f4889efa84e1f2e30e5e9780973f68cb}]", $Bf4bb0ad11102aaccbf77b6cdc1fd66f["username"], $Bf4bb0ad11102aaccbf77b6cdc1fd66f["password"], time(), "[API->New Line]"); goto bbae56417e1870f46ce11d8c72612597; D177f5480e28133a43571d0e2ac081b0: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["exp_date"] = empty($Bf4bb0ad11102aaccbf77b6cdc1fd66f["exp_date"]) ? null : intval($Bf4bb0ad11102aaccbf77b6cdc1fd66f["exp_date"]); goto e867ab01208fb231bf4e036a53fead73; E13973ee2bd6d0ce0e4db77fe01e45eb: $fb226b0ab56e366f44da9cf9ee107fff = array(1, 2, 3); goto c09ed12a089a5befa6b344241741937c; a7e12b6f19abc28c3e2dde140c9700f2: a9f96321ddb2d9152b4c51ad708fbb45: goto b69f005b71f18d710ee8147276f70611; Aad4f0e57370996559535ae8c7be13ce: echo json_encode(array("result" => false)); goto c230d2ac9cdb1cda763e4f931c160679; Dfa62af702dd61a178800474e7cd1cfc: goto a9f96321ddb2d9152b4c51ad708fbb45; goto cf2a24f0511856e98b780a1d5bd7f937; ea52323b4008e2984b9f3e7573b316df: e28125caf199086c993aa163fae1cdad: goto C3815a8173c90da3eeeb4123943abf7d; A4adef84fb9e17b61ebde9e9e3f57b91: F581ebe88a4d7889bb99e82fa4b4cddd: goto F284bbe557422d3746a9e0572340f338; c230d2ac9cdb1cda763e4f931c160679: goto Eb9064ced9a2dab86306860e85aac36a; goto Ff37a036af9ab0042d58dad9c6b82010; C3815a8173c90da3eeeb4123943abf7d: $f566700a43ee8e1f0412fe10fbdf03df->query("SELECT id FROM `users` WHERE `username` = '%s' AND `password` = '%s' LIMIT 1", $Bf4bb0ad11102aaccbf77b6cdc1fd66f["username"], $Bf4bb0ad11102aaccbf77b6cdc1fd66f["password"]); goto B16ccc7ae2ca172755f3a7c0fe4f94b4; F284bbe557422d3746a9e0572340f338: if (!(!array_key_exists("allowed_ips", $Bf4bb0ad11102aaccbf77b6cdc1fd66f) || !ef9fCeffa62dB6ECC4C8A628B9B5a9aF($Bf4bb0ad11102aaccbf77b6cdc1fd66f["allowed_ips"]))) { goto E952e4fc71dbeba80c58528a6758a07b; } goto Fa183a836b9f0d7c480bbfdb06750bc9; c015e3db154f7ff431bfb2dbe50b2e9e: aebe19b8bb0bcea41ef694d495f0f5b0: goto D52dbc890f5507d31dc7518a29b5615e; e867ab01208fb231bf4e036a53fead73: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["bouquet"] = empty($Bf4bb0ad11102aaccbf77b6cdc1fd66f["bouquet"]) || !EF9FcEFFA62dB6Ecc4C8a628b9b5A9af($Bf4bb0ad11102aaccbf77b6cdc1fd66f["bouquet"]) ? array() : array_map("intval", json_decode($Bf4bb0ad11102aaccbf77b6cdc1fd66f["bouquet"], true)); goto ee085dd9aa5f21f49b1269eddd14fd01; D09fa3fe05075ae7dcc1516ec9ca0b85: $E38668abaa324e464e266fb7b7e784b1 = $f566700a43ee8e1f0412fe10fbdf03df->bEB8A0BbA80a0133a23fe13D34DC94D6(); goto C67a8cd9e00943eb914698455e410d69; b32846dae7d58e8444e9aa602da983a6: E952e4fc71dbeba80c58528a6758a07b: goto Feba7529d15fdd84392745ffce6099d5; Fbf850c65e089a2af14ca8b35c4d06df: goto Bab0645719f9ad7cf724aa68a2d3f533; goto Ce2108e190e72ce0fda1814f21df5a51; c9cd07a7d7110a2eb7c9252d557dae8a: C4e224697a0914a3a5f1fd38b60a3025: goto c3581800e4db15ea9308b067a7252f83; c51dfc922f744447b19fea7406b3503f: Fa0f17e75d57f133cbfafad278756634: goto c351ef59849b0dc2cb5fb35a818a013e; B16ccc7ae2ca172755f3a7c0fe4f94b4: if ($f566700a43ee8e1f0412fe10fbdf03df->d1e5Ce3b87bb868b9E6eFd39aA355a4F() == 0) { goto C4e224697a0914a3a5f1fd38b60a3025; } goto b09461834de2b15e34ea26ce2010029b; D52dbc890f5507d31dc7518a29b5615e: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["created_at"] = time(); goto c062aa87ca8437c4c2024ce478afddc1; e3dbda9c3b425f5ab811b0e3dd948b88: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["password"] = A78BF8d35765be2408c50712Ce7a43Ad::E5182e3AFa58ac7Ec5D69d56B28819CD(10); goto A4adef84fb9e17b61ebde9e9e3f57b91; F6cc61ecb589932e026524e9017851bc: if ($f566700a43ee8e1f0412fe10fbdf03df->e872bE457a7F493D774179C6bDF95B46() > 0) { goto cf0f5f806d6d975679f551ba63e35a6f; } goto Aad4f0e57370996559535ae8c7be13ce; ee085dd9aa5f21f49b1269eddd14fd01: $fb226b0ab56e366f44da9cf9ee107fff = empty($Bf4bb0ad11102aaccbf77b6cdc1fd66f["output_formats"]) || !ef9FCefFa62DB6ECC4C8A628B9B5A9AF($Bf4bb0ad11102aaccbf77b6cdc1fd66f["output_formats"]) ? $fb226b0ab56e366f44da9cf9ee107fff : array_map("intval", $Bf4bb0ad11102aaccbf77b6cdc1fd66f["output_formats"]); goto a8ce1024461acf385e16a51315b11937; Feba7529d15fdd84392745ffce6099d5: if (!(!array_key_exists("allowed_ua", $Bf4bb0ad11102aaccbf77b6cdc1fd66f) || !eF9FCEfFa62Db6ecC4C8A628b9b5A9aF($Bf4bb0ad11102aaccbf77b6cdc1fd66f["allowed_ua"]))) { goto aebe19b8bb0bcea41ef694d495f0f5b0; } goto Cbbebc934b719382a23395ea204ae7cf; D47e3dd05b438d2b9e808d2e93565e6b: if ($f566700a43ee8e1f0412fe10fbdf03df->fc53e22AE7Ee3bB881cD95fB606914F0("INSERT INTO `users` {$b0f1eb357ed72245e03dfe6268912497}")) { goto eeb5a2f5efdef8d714fd45451f81573e; } goto D08f5239d778c72c448c30549ae46c7b; fd4dbf99cec389b52b85b78a933ab2f4: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["username"] = A78BF8d35765BE2408C50712cE7a43AD::E5182E3afa58AC7ec5D69d56B28819Cd(10); goto c51dfc922f744447b19fea7406b3503f; c062aa87ca8437c4c2024ce478afddc1: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["created_by"] = 0; goto D177f5480e28133a43571d0e2ac081b0; Cbbebc934b719382a23395ea204ae7cf: $Bf4bb0ad11102aaccbf77b6cdc1fd66f["allowed_ua"] = json_encode(array()); goto c015e3db154f7ff431bfb2dbe50b2e9e; Ce2108e190e72ce0fda1814f21df5a51: } goto badc346846948e2296f2d7f2e9d5b38f; Fd473a7d5d93c7b2fd2c2ce70063b8f0: case "reg_user": goto Dc5ef0d21bc19e64381d6dfc8ad0278a; c2aa7e636877fc7da3a5e8081b62ddb2: C1f14e4edf69aace887a74c89a23c230: goto c993791513bf25ffe10c3ed4089e3c68; c993791513bf25ffe10c3ed4089e3c68: b2b9be9c0bba730efb9fa3bdde73438f: goto A52340ff1fa18bba37c026b8355c49cb; Dc5ef0d21bc19e64381d6dfc8ad0278a: switch ($E6ff6085a41cbca3609766e3f9a666ee) { case "list": goto Ee0d591670384b1e1753b0919af3487f; d60bb3737b960e5221e50dfb8479198f: $Af301a166badb15e0b00336d72fb9497 = $f566700a43ee8e1f0412fe10fbdf03df->C126fD559932f625CdF6098D86c63880(); goto B05e2cd54801825665a6c363df7be329; d2b2ded5a8151d5313d93dd166707b4f: goto b2b9be9c0bba730efb9fa3bdde73438f; goto af64a5990c2d9d4cd64e1c8bbdabdc22; B05e2cd54801825665a6c363df7be329: echo json_encode($Af301a166badb15e0b00336d72fb9497); goto d2b2ded5a8151d5313d93dd166707b4f; Ee0d591670384b1e1753b0919af3487f: $f566700a43ee8e1f0412fe10fbdf03df->query("SELECT id,username,credits,group_id,group_name,last_login,date_registered,email,ip,status\xa FROM `reg_users` t1 INNER JOIN `member_groups` t2 ON t1.member_group_id = t2.group_id"); goto d60bb3737b960e5221e50dfb8479198f; af64a5990c2d9d4cd64e1c8bbdabdc22: case "credits": goto e63f3e571609f5f300a4a5e3908cb299; e87d1e7ab132aced927d2e5144fa0f97: Fffa600a8913da779cc9b49038cc8a1d: goto d8cf96b7bb0861414db5ec882b49ec2f; d3f770eb0bafb7942ab9726ddf19fd78: $f566700a43ee8e1f0412fe10fbdf03df->query("UPDATE reg_users SET `credits` = '%.2f' WHERE `id` = '%d'", $A6f4ecc798bcb285eee6efb4467c6708, $Eb809884ee4b7eb427d7a2ae5a5fb355["id"]); goto B2274ccf4a9f670e39ab42ebbfff5aa8; B7758b1ca336cab2aea28d6f30495934: c04270477fac6e325599363161c83ebf: goto f0081f280f963109c9caf18342f311bc; c085eb1e93778d3bf358e93d857bc359: $f566700a43ee8e1f0412fe10fbdf03df->query("SELECT * FROM reg_users WHERE `id` = '%d'", A78bF8d35765Be2408C50712CE7A43ad::$request["id"]); goto e87d1e7ab132aced927d2e5144fa0f97; b61d78181b2df4569d3bf49c57a8fb5d: $Cadd766037a4c84044843f30dd506e37 = sprintf("%.2f", A78bf8D35765bE2408C50712CE7A43AD::$request["amount"]); goto C133deaf87acf0ad109c43f557bcb52a; d74c8f3fafa9f848140413c152f51c00: $f566700a43ee8e1f0412fe10fbdf03df->query("SELECT * FROM reg_users WHERE `username` = '%s'", A78bF8D35765BE2408C50712CE7a43aD::$request["username"]); goto a71c3e485cbf10e17f9d9363117d340a; A9d2bbcab8ed500f12602a315467d865: $Eb809884ee4b7eb427d7a2ae5a5fb355 = $f566700a43ee8e1f0412fe10fbdf03df->f1Ed191D78470660edff4a007696Bc1F(); goto bfbc195685cd843200bda9ef38b33311; f07759bc76623df0d1b63a2e50212abf: cae347040055340817db244b3b4105c0: goto b61d78181b2df4569d3bf49c57a8fb5d; C133deaf87acf0ad109c43f557bcb52a: if (!empty(A78bF8d35765Be2408c50712Ce7A43aD::$request["id"])) { goto F3664963b6b1fe47fb47ee46f401d08e; } goto d74c8f3fafa9f848140413c152f51c00; ddf0f3f00adaa1f291dd3c1f9c30b9f3: if ($A6f4ecc798bcb285eee6efb4467c6708 < 0) { goto ccf4dffaea4f77b4838647ff962d8b58; } goto d3f770eb0bafb7942ab9726ddf19fd78; F8bfd9ee70cb76677ebb0b45076bd78f: echo json_encode(array("result" => false, "error" => "NOT EXISTS")); goto a3fe063274cf2679f545e1f1efe3583d; db3c37c03de9dc2c374c9680f4fb0c9f: goto c04270477fac6e325599363161c83ebf; goto C2023ebdda32fad3fbc2bb68431d51a9; d8cf96b7bb0861414db5ec882b49ec2f: if ($f566700a43ee8e1f0412fe10fbdf03df->d1e5cE3b87Bb868b9e6efD39aA355A4F()) { goto Da35d940e7aed7feb711c800ce35f897; } goto F8bfd9ee70cb76677ebb0b45076bd78f; B2274ccf4a9f670e39ab42ebbfff5aa8: echo json_encode(array("result" => true)); goto D8e0b3e768016c984944d72bf20b258a; cb82018135325a14c32afa05b7250d85: echo json_encode(array("result" => false, "error" => "PARAMETER ERROR (amount & id||username)")); goto aeeaa80a02e4752861ab64202f02c7a4; C2023ebdda32fad3fbc2bb68431d51a9: ccf4dffaea4f77b4838647ff962d8b58: goto b270678917dafd23a0ff38dff72599d9; b270678917dafd23a0ff38dff72599d9: echo json_encode(array("result" => true, "error" => "NOT ENOUGH CREDITS")); goto B7758b1ca336cab2aea28d6f30495934; Db3dd3ebdf7be9dd54c15279d2067c2d: F3664963b6b1fe47fb47ee46f401d08e: goto c085eb1e93778d3bf358e93d857bc359; D8e0b3e768016c984944d72bf20b258a: $f566700a43ee8e1f0412fe10fbdf03df->query("INSERT INTO `reg_userlog` ( `owner`, `username`, `password`, `date`, `type` )VALUES( '%s', '%s', '%s', '%s', '%s' )", "SYSTEM API[{$f4889efa84e1f2e30e5e9780973f68cb}]", $Bf4bb0ad11102aaccbf77b6cdc1fd66f["username"], $Bf4bb0ad11102aaccbf77b6cdc1fd66f["password"], time(), "[API->ADD Credits {$Cadd766037a4c84044843f30dd506e37}]"); goto db3c37c03de9dc2c374c9680f4fb0c9f; aeeaa80a02e4752861ab64202f02c7a4: goto F43a209daa32416415dc4536490581e4; goto f07759bc76623df0d1b63a2e50212abf; fa1f3d61bf2f526c4101d3c0d4b18ae8: Da35d940e7aed7feb711c800ce35f897: goto A9d2bbcab8ed500f12602a315467d865; a3fe063274cf2679f545e1f1efe3583d: goto ceadc6d36c3546ec862be7bb1a3172f9; goto fa1f3d61bf2f526c4101d3c0d4b18ae8; bfbc195685cd843200bda9ef38b33311: $A6f4ecc798bcb285eee6efb4467c6708 = $Cadd766037a4c84044843f30dd506e37 + $Eb809884ee4b7eb427d7a2ae5a5fb355["credits"]; goto ddf0f3f00adaa1f291dd3c1f9c30b9f3; e63f3e571609f5f300a4a5e3908cb299: if (!empty(a78BF8d35765BE2408C50712ce7a43ad::$request["amount"]) && (!empty(a78bf8d35765Be2408c50712cE7A43Ad::$request["id"]) || !empty(a78bf8D35765be2408C50712CE7A43aD::$request["username"]))) { goto cae347040055340817db244b3b4105c0; } goto cb82018135325a14c32afa05b7250d85; a71c3e485cbf10e17f9d9363117d340a: goto Fffa600a8913da779cc9b49038cc8a1d; goto Db3dd3ebdf7be9dd54c15279d2067c2d; f0081f280f963109c9caf18342f311bc: ceadc6d36c3546ec862be7bb1a3172f9: goto b6865b60547f69d51a1b730941979581; b6865b60547f69d51a1b730941979581: F43a209daa32416415dc4536490581e4: goto e5f243df50545ef4aa6ce22e96f338c3; e5f243df50545ef4aa6ce22e96f338c3: goto b2b9be9c0bba730efb9fa3bdde73438f; goto Ae6d818f5dea0c248c9fe0d54e8696a0; Ae6d818f5dea0c248c9fe0d54e8696a0: } goto c2aa7e636877fc7da3a5e8081b62ddb2; A52340ff1fa18bba37c026b8355c49cb: goto Bd7b033d4dbcf543ff6bfbb182da4c5f; goto C318458489ee16a07db19e4aee7fe517; C318458489ee16a07db19e4aee7fe517: } goto C1a7ee08ae68c7bda36199d46bb885f7; Fe482f86a609c0549aa3f02ce04a6258: $f4889efa84e1f2e30e5e9780973f68cb = $_SERVER["REMOTE_ADDR"]; goto D2e169c8a593d56b3a5a4ea2970047ef; Ab10d6337fbb7c0d70c8cd31651f0cb4: ?>