namespace Pterodactyl\Http\Controllers\Admin\Arix;
use Illuminate\View\View;
use Illuminate\Support\Facades\Http as AASupport;
use Prologue\Alerts\AlertsMessageBag;
use Illuminate\View\Factory as ViewFactory;
use Pterodactyl\Http\Controllers\Controller;
use Pterodactyl\Http\Requests\Admin\Arix\ArixMetaRequest;
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
class ArixMetaController extends Controller {
public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
}
public function index() : View {
return $this->view->make(base64_decode("YWRtaW4uYXJpeC5tZXRh"), [base64_decode("bWV0YV9jb2xvcg==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bWV0YV9jb2xvcg=="), base64_decode("IzRhMzVjZg==")), base64_decode("bWV0YVaXRsZQ==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bWV0YV90aXRsZQ=="), base64_decode("UHRlcm9kYWN0eWwgUGFuZWw=")), base64_decode("bWV0YV9kZXNjcmlwdGlvbg==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bWV0YV9kZXNjcmlwdGlvbg=="), base64_decode("T3VyIG9mZmljaWFsIFB0ZXJvZGFjdHlsIHBhbmVs")), base64_decode("bWV0YV9pbWFnZQ==") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bWV0YV9pbWFnZQ=="), base64_decode("L2FyaXgvbWV0YS10YWdzLnBuZw==")), base64_decode("bWV0YV9mYXZpY29u") => $this->settings->get(base64_decode("c2V0dGluZ3M6OmFyaXg6bWV0YV9mYXZpY29u"), base64_decode("L2FyaXgvQXJpeC5wbmc="))]);
}
public function store(ArixMetaRequest $request) {
goto bf33f61546eff903;
ce406078839069af: return redirect()->route(base64_decode("YWRtaW4uYXJpeC5tZXRh"));
goto c4382afcfe89560a;
Bac71af9e203a618: if (!$responseData[$respond]) {
goto a6e960056fa48805;
}
goto Bc986d06165b4817;
dd356fe7e56d54a7: $response = AASupport::asForm()->post($endpoint, [base64_decode("bGljZW5zZQ==") => base64_decode($api)]);
goto Ff7365f6d3c765e0;
Bc986d06165b4817: foreach ($request->normalize() as $key => $value) {
$this->settings->set(base64_decode("c2V0dGluZ3M6Og==") . $key, $value);
a0f4673b9d014db5:
}
goto a9e69f03b97d24fe;
D69a1f669143ab6b: goto aa5cf78a140f1540;
goto C8b3f8711821eae7;
cf90087d4f87d503: throw new \Exception(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmc="));
goto F8c1180791abf6e0;
a9e69f03b97d24fe: C5a8d85b7abb017c: goto c9494036c5800484;
B7808812a4258ac2: $respond = base64_decode("c3VjY2Vzcw==");
goto dd356fe7e56d54a7;
C8b3f8711821eae7: a6e960056fa48805: goto D53faa2aa351d403;
Ff7365f6d3c765e0: $responseData = $response->json();
goto Bac71af9e203a618;
f5f99188bb1af2d7: $endpoint = base64_decode("aHR0cHM6Ly9hcGkuYXJpeC5nZy9yZXNvdXJjZS9hcml4LXB0ZXJvZGFjdHlsL3ZlcmlmeQ==");
goto B7808812a4258ac2;
F8c1180791abf6e0: aa5cf78a140f1540: goto ce406078839069af;
D53faa2aa351d403: $this->alert->warning(base64_decode("U29tZXRoaW5nIHdlbnQgd3Jvbmcu"))->flash();
goto cf90087d4f87d503;
bf33f61546eff903: $api = 'QVIyYTJhOWQwMmYyZThlZWMwMjQ1MjY0MjQxODk0ZGIyMA==';
goto f5f99188bb1af2d7;
c9494036c5800484: $this->alert->success(base64_decode("VGhlbWUgc2V0dGluZ3MgaGF2ZSBiZWVuIHVwZGF0ZWQgc3VjY2Vzc2Z1bGx5Lg=="))->flash();
goto D69a1f669143ab6b;
c4382afcfe89560a:
}
}
namespace Pterodactyl\Http\Controllers\Admin\Arix;
use Illuminate\View\View;
use Illuminate\Support\Facades\Http as AASupport;
use Prologue\Alerts\AlertsMessageBag;
use Illuminate\View\Factory as ViewFactory;
use Pterodactyl\Http\Controllers\Controller;
use Pterodactyl\Http\Requests\Admin\Arix\ArixMetaRequest;
use Pterodactyl\Contracts\Repository\SettingsRepositoryInterface;
class ArixMetaController extends Controller {
public function __construct(private AlertsMessageBag $alert, private SettingsRepositoryInterface $settings, private ViewFactory $view) {
}
public function index() : View {
return $this->view->make(admin.arix.meta [meta_color => $this->settings->get(settings::arix:meta_color #4a35cf), metaVFP => $this->settings->get(settings::arix:meta_title Pterodactyl Panel), meta_description => $this->settings->get(settings::arix:meta_description Our official Pterodactyl panel), meta_image => $this->settings->get(settings::arix:meta_image /arix/meta-tags.png), meta_favicon => $this->settings->get(settings::arix:meta_favicon /arix/Arix.png)]);
}
public function store(ArixMetaRequest $request) {
goto bf33f61546eff903;
ce406078839069af: return redirect()->route(admin.arix.meta);
goto c4382afcfe89560a;
Bac71af9e203a618: if (!$responseData[$respond]) {
goto a6e960056fa48805;
}
goto Bc986d06165b4817;
dd356fe7e56d54a7: $response = AASupport::asForm()->post($endpoint, [license => ]);
goto Ff7365f6d3c765e0;
Bc986d06165b4817: foreach ($request->normalize() as $key => $value) {
$this->settings->set(settings:: . $key, $value);
a0f4673b9d014db5:
}
goto a9e69f03b97d24fe;
D69a1f669143ab6b: goto aa5cf78a140f1540;
goto C8b3f8711821eae7;
cf90087d4f87d503: throw new \Exception(Something went wrong);
goto F8c1180791abf6e0;
a9e69f03b97d24fe: C5a8d85b7abb017c: goto c9494036c5800484;
B7808812a4258ac2: $respond = success;
goto dd356fe7e56d54a7;
C8b3f8711821eae7: a6e960056fa48805: goto D53faa2aa351d403;
Ff7365f6d3c765e0: $responseData = $response->json();
goto Bac71af9e203a618;
f5f99188bb1af2d7: $endpoint = https://api.arix.gg/resource/arix-pterodactyl/verify;
goto B7808812a4258ac2;
F8c1180791abf6e0: aa5cf78a140f1540: goto ce406078839069af;
D53faa2aa351d403: $this->alert->warning(Something went wrong.)->flash();
goto cf90087d4f87d503;
bf33f61546eff903: $api = 'QVIyYTJhOWQwMmYyZThlZWMwMjQ1MjY0MjQxODk0ZGIyMA==';
goto f5f99188bb1af2d7;
c9494036c5800484: $this->alert->success(Theme settings have been updated successfully.)->flash();
goto D69a1f669143ab6b;
c4382afcfe89560a:
}
}
© 2023 Quttera Ltd. All rights reserved.