Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Pterodactyl\Http\Controllers\Admin; use Illuminate\Http\Request; use I..
Decoded Output download
<?php
namespace Pterodactyl\Http\Controllers\Admin;
use Illuminate\Http\Request;
use Illuminate\View\View;
use Pterodactyl\Http\Controllers\Controller;
use Pterodactyl\Models\Invoice;
use Pterodactyl\Models\User;
use Validator;
use DB;
class BillingController extends Controller {
public function licensing() {
goto Bb03f4edcd4e7fcc;
Fa23608edb617d59: c93b1cd25795ccff: goto e45d226579868b2a;
F5b710fb70dc6e4d: $D1ad3b3c848118f9=json_decode(curl_exec($eeafaeadb17a8410));
goto a1e6b9ff082add9c;
Cb0b31130c91a210: $d0a2b0cb92f97267=$_SERVER["HTTP_HOST"];
goto B2bb64dc5f78e5ec;
b233867e02a59c08: return false;
goto Fa23608edb617d59;
B0e131e6cc8fd406: return false;
goto Eca977d444d0ac2b;
Eb309d47ae667acc: curl_setopt($eeafaeadb17a8410, CURLOPT_BINARYTRANSFER, true);
goto cc0c3c35c1ba7240;
cc0c3c35c1ba7240: curl_setopt($eeafaeadb17a8410, CURLOPT_RETURNTRANSFER, true);
goto F5b710fb70dc6e4d;
Bb03f4edcd4e7fcc: $eeafaeadb17a8410=curl_init();
goto af32a242e6a1af97;
Bc7013b1990e1e64: b60574e2dcc081bc: goto Ba97d25581d02201;
a1e6b9ff082add9c: curl_close($eeafaeadb17a8410);
goto Cb0b31130c91a210;
Cc7b2b95ee395c36: return $D1ad3b3c848118f9;
goto Bc7013b1990e1e64;
B2bb64dc5f78e5ec: if (!(env("APP_URL", "no_url.com") !==$_SERVER["HTTP_HOST"])) {
goto E898e4c20a392b09;
}
goto B0e131e6cc8fd406;
Eca977d444d0ac2b: E898e4c20a392b09: goto f9b2555142d2ce3c;
f9b2555142d2ce3c: if (!($D1ad3b3c848118f9->code=="ka-01")) {
goto b60574e2dcc081bc;
}
goto Cc7b2b95ee395c36;
Ba97d25581d02201: if (!($D1ad3b3c848118f9->code=="ka-02")) {
goto c93b1cd25795ccff;
}
goto b233867e02a59c08;
af32a242e6a1af97: curl_setopt($eeafaeadb17a8410, CURLOPT_URL, "http://licensing.mrkevko.nl/checker/" . env("APP_URL", "no_url.com"));
goto Eb309d47ae667acc;
e45d226579868b2a:
}
public function index(Request $d15748061725e21f) {
goto Ee1704e63791301b;
A5765e25ddd082d4: $f1f33c28fd34f77d=env("BILLING_VERSION");
goto b7e89daee794735a;
Ee1704e63791301b: $C07340c14b2492f7=DB: : table("invoices")->select(DB: : raw("SUM(amount) as total_amount"))->where("reason", "=", "Top up Credit")->groupBy(DB: : raw("YEAR(created_at) DESC, MONTH(created_at) DESC"))->sum("amount");
goto E599a682ec14f393;
f69b166dded4a461: $Ece1918ff0751218=DB: : table("users")->sum("balance");
goto C39a5347bd4d4a7a;
C39a5347bd4d4a7a: $C5cdad72d300aefe="1.0.1";
goto A5765e25ddd082d4;
E599a682ec14f393: $ff8ae068c2adb21d=DB: : table("invoices")->select(DB: : raw("SUM(amount) as total_amount"))->where("reason", "=", "Top up Credit")->groupBy(DB: : raw("YEAR(created_at) DESC"))->sum("amount");
goto f69b166dded4a461;
b7e89daee794735a: $C608686a947c09a9=DB: : table("billing")->get();
goto f9c645d42b40a517;
f9c645d42b40a517: return view("admin.billing.index", ["invoices"=> Invoice: : orderBy("id", "desc")->where("reason", "=", "Top up Credit")->paginate(25), "this_month_income"=> $C07340c14b2492f7, "this_year_income"=> $ff8ae068c2adb21d, "user_accounts"=> $Ece1918ff0751218, "latest_version"=> $C5cdad72d300aefe, "this_version"=> $f1f33c28fd34f77d, "billing"=> $C608686a947c09a9]);
goto Cbec2f72a9c90d4e;
Cbec2f72a9c90d4e:
}
public function new(Request $d15748061725e21f) {
return view("admin.billing.new");
}
public function categories_edit($c303a5bcaf2f10a4) {
$Ff0969d8d4f7d9be=DB: : table("categories")->where("id", "=", $c303a5bcaf2f10a4)->get();
return view("admin.billing.categories.edit", ["category"=> $Ff0969d8d4f7d9be]);
}
public function categories_edit_store($c303a5bcaf2f10a4, Request $cf96453270734230) {
goto Cb9197b3c008248c;
be6fe2cc08630ddf: DB: : table("categories")->where("id", "=", $c303a5bcaf2f10a4)->update(["name"=> $cf96453270734230->name, "description"=> $cf96453270734230->description, "priority"=> $cf96453270734230->priority, "visible"=> $cf96453270734230->visible]);
goto D2d9b01153e71ec3;
Cb9197b3c008248c: $cf96453270734230->validate(["name"=> "required", "description"=> "required", "priority"=> "required", "visible"=> "required"]);
goto be6fe2cc08630ddf;
D2d9b01153e71ec3: return redirect(route("admin.billing.categories"));
goto C3cbcc864d436817;
C3cbcc864d436817:
}
public function tos() {
$bc46ce063222c0f0=DB: : table("billing")->get();
return view("admin.billing.tos.index", ["tos"=> $bc46ce063222c0f0]);
}
public function tos_update(Request $cf96453270734230) {
DB: : table("billing")->update(["tos"=> $cf96453270734230->tos]);
return redirect()->back();
}
public function submit(Request $d15748061725e21f) {
goto c86aa09fff8ead68;
B139f88f6d5c9e70: $c1fa68ba9d14f0b1->addBalance($d15748061725e21f->amount);
goto B2e18018611ce8b8;
B2e18018611ce8b8: return redirect()->back();
goto D04e942fcac0684e;
c86aa09fff8ead68: $d15748061725e21f->validate(["user_id"=> "required|exists:users,id", "amount"=> "required|numeric|min:-500|max:500"]);
goto f5128c6735aa3364;
f5128c6735aa3364: $c1fa68ba9d14f0b1=User: : find($d15748061725e21f->user_id);
goto B139f88f6d5c9e70;
D04e942fcac0684e:
}
public function pdf(Request $d15748061725e21f) {
return Invoice: : find($d15748061725e21f->id)->downloadPdf();
}
public function categories(): View {
goto ad8c0f21aa4b1ac4;
B0fe7dd53bb8e7a5: return view("admin.billing.categories.index", ["categories"=> $Aa2f907d2fdf4e6d]);
goto C02715d48497ae20;
E7ff6b0ce8c49b97: $C608686a947c09a9=DB: : table("billing")->get();
goto B0fe7dd53bb8e7a5;
ad8c0f21aa4b1ac4: $Aa2f907d2fdf4e6d=DB: : table("categories")->get();
goto E7ff6b0ce8c49b97;
C02715d48497ae20:
}
public function categories_new(): View {
goto B6d1ecf131643433;
d8846af48e9d4908: return view("admin.billing.categories.new", ["categories"=> $Aa2f907d2fdf4e6d]);
goto e115d5cc134cd115;
dbea0e9a7e8cbaa1: $Aa2f907d2fdf4e6d=DB: : table("categories")->get();
goto d8846af48e9d4908;
B6d1ecf131643433: $C608686a947c09a9=DB: : table("billing")->get();
goto dbea0e9a7e8cbaa1;
e115d5cc134cd115:
}
public function settings(Request $cf96453270734230) {
goto E850ce17c3478250;
ee879b2369a3bfdf: $Ef86fa9cd5165df6=$cf96453270734230->use_categories;
goto E14bb7e8cd097fea;
E850ce17c3478250: $Cebb842dee4e9220=$cf96453270734230->currency;
goto ee879b2369a3bfdf;
Db68508967326c74: return redirect()->back();
goto C338558bc78f4040;
E14bb7e8cd097fea: DB: : table("billing")->update(["currency"=> $Cebb842dee4e9220, "use_categories"=> $Ef86fa9cd5165df6]);
goto Db68508967326c74;
C338558bc78f4040:
}
public function categories_store(Request $cf96453270734230) {
goto d5e81b855b7c9758;
e59c666e8734e021: $bd408da246d679a9=$cf96453270734230->name;
goto c451dd768a9aa454;
Cc681d458d68ddd8: $D120ac18a3053022=$cf96453270734230->description;
goto C209886f86ea3f8e;
d5e81b855b7c9758: $cf96453270734230->validate(["name"=> "required", "priority"=> "required", "description"=> "required", "visible"=> "required"]);
goto e59c666e8734e021;
b1b020ce5397a6f9: DB: : table("categories")->insert(["name"=> $bd408da246d679a9, "priority"=> $c5778f76c55ac68d, "description"=> $D120ac18a3053022, "visible"=> $F2db12d3166993f2]);
goto a6ab94fe403771ce;
c451dd768a9aa454: $c5778f76c55ac68d=$cf96453270734230->priority;
goto Cc681d458d68ddd8;
a6ab94fe403771ce: return redirect(route("admin.billing.categories"));
goto Bca67a4072536e43;
C209886f86ea3f8e: $F2db12d3166993f2=$cf96453270734230->visible;
goto b1b020ce5397a6f9;
Bca67a4072536e43:
}
public function products(): View {
goto Eda109ca96ea0b16;
Af96c2a9891c0754: return view("admin.billing.products.index", ["products"=> $Caa6c4c97c79d48d, "billing"=> $C608686a947c09a9]);
goto A47e0274580e601b;
Eda109ca96ea0b16: $C608686a947c09a9=DB: : table("billing")->get();
goto a58b2b1724665609;
a58b2b1724665609: $Caa6c4c97c79d48d=DB: : select("select * from products");
goto Af96c2a9891c0754;
A47e0274580e601b:
}
public function payoptions(): View {
goto a7c0993183a657a6;
d29f3ff27284ebad: return view("admin.billing.gateways.gateways", ["gateways"=> $f68ca3a8437b6cef, "paypal"=> $c36b63ce555797f3, "paygol"=> $A6a88ef8afbe5f3c, "mollie"=> $C7a082a79e63a37a]);
goto F2e2d27680e2a2cc;
C2022325359aed54: $c36b63ce555797f3=0;
goto cfb1a09b9edae130;
ea142c64c0f4cc98: $C7a082a79e63a37a=0;
goto C1ef8965b4ceb386;
bb9309ed8364c491: $f68ca3a8437b6cef=DB: : table("gateways")->get();
goto C2022325359aed54;
a7c0993183a657a6: $C608686a947c09a9=DB: : table("billing")->get();
goto bb9309ed8364c491;
db636ad9e9c78d6b: ed0861b050a9a66f: goto d29f3ff27284ebad;
C1ef8965b4ceb386: if (!(count($f68ca3a8437b6cef)==0)) {
goto ed0861b050a9a66f;
}
goto a2e73bf621cd8d90;
a2e73bf621cd8d90: $f68ca3a8437b6cef=="none";
goto db636ad9e9c78d6b;
cfb1a09b9edae130: $A6a88ef8afbe5f3c=0;
goto ea142c64c0f4cc98;
F2e2d27680e2a2cc:
}
public function paypal(): View {
goto D6c8454e1fcf0ffe;
D9bf3c329b8da0d9: $eb4debb679a34872=DB: : table("gateways")->where("gateway", "=", "paypal")->get();
goto eb766f2e62dca645;
Ee857605470ba734: if (strpos($f68ca3a8437b6cef, "paypal")) {
goto Ad855873d7e1fb37;
}
goto ce73102b33f9bc2e;
eb766f2e62dca645: return view("admin.billing.gateways.paypal", ["gateways"=> $f68ca3a8437b6cef, "paypal"=> $c36b63ce555797f3, "gateway_paypal"=> $eb4debb679a34872]);
goto D4b2c15f247210d6;
D4b2c15f247210d6: c47c9fc42080ad48: goto C9714e63281f7e7a;
A86c5aedeb8b8c4f: fa9823d383651471: goto Aedbaaa720a3b211;
ce73102b33f9bc2e: return view("admin.billing.gateways.paypal", ["gateways"=> $f68ca3a8437b6cef, "paypal"=> $c36b63ce555797f3, "gateway_paypal"=> "none"]);
goto f4080b6d71a5e9c4;
f1121cf89347a2f0: B7ef501cad86385c: goto A5b3c032c75f2a76;
C9714e63281f7e7a: goto B7ef501cad86385c;
goto A86c5aedeb8b8c4f;
D6c8454e1fcf0ffe: $f68ca3a8437b6cef=DB::table("gateways")->get();
goto D11a128492447ab8;
E34c088e5902f14a: if (count($f68ca3a8437b6cef)==0) {
goto fa9823d383651471;
}
goto Ee857605470ba734;
D11a128492447ab8: $c36b63ce555797f3=0;
goto E34c088e5902f14a;
f4080b6d71a5e9c4: goto c47c9fc42080ad48;
goto a294234c63934ba7;
Aedbaaa720a3b211: $f68ca3a8437b6cef=="none";
goto C4faa46ad05e027b;
C4faa46ad05e027b: return view("admin.billing.gateways.paypal", ["gateways"=> $f68ca3a8437b6cef, "paypal"=> $c36b63ce555797f3, "gateway_paypal"=> "none"]);
goto f1121cf89347a2f0;
a294234c63934ba7: Ad855873d7e1fb37: goto a92f47a6cb2b1e2d;
a92f47a6cb2b1e2d: $c36b63ce555797f3=1;
goto D9bf3c329b8da0d9;
A5b3c032c75f2a76:
}
public function paypal_store() {
goto d213e05849ccc8a1;
A9d104e9bf810d12: $C416d5dc98d5bb4b=$_REQUEST["amount_gateway"];
goto c3c72172886454b5;
d213e05849ccc8a1: $Ba2bcff869f9fd03=$_REQUEST["email"];
goto E3a3bd43dc59931f;
cc338e35c4b935b4: $ad0a4dc015f0910c=$_REQUEST["percentage_gateway"];
goto A9d104e9bf810d12;
E3a3bd43dc59931f: $Bc38738ef7892f87=$_REQUEST["min_basket"];
goto fb84d09dc1ea6824;
b24df940d9eeb296: return redirect(route("admin.billing.payoptions"));
goto cb3095254d3c8617;
c3c72172886454b5: DB: : table("gateways")->insert(["email"=> $Ba2bcff869f9fd03, "gateway"=> "paypal", "enabled"=> 1, "api"=> "none", "private_key"=> "none", "name"=> "none", "min_basket"=> $Bc38738ef7892f87, "max_basket"=> $C5f2eb044dfec685, "percentage"=> $ad0a4dc015f0910c, "amount"=> $C416d5dc98d5bb4b, "service_id"=> "none"]);
goto b24df940d9eeb296;
fb84d09dc1ea6824: $C5f2eb044dfec685=$_REQUEST["max_basket"];
goto cc338e35c4b935b4;
cb3095254d3c8617:
}
public function paypal_edit() {
goto c524b6114ba68033;
ff5c0d3c133b64e9: $C416d5dc98d5bb4b=$_REQUEST["amount_gateway"];
goto E3d426b4a50afbe1;
Ea7a6c03be21f4f1: $ad0a4dc015f0910c=$_REQUEST["percentage_gateway"];
goto ff5c0d3c133b64e9;
b02bad9a8ef32279: $Bc38738ef7892f87=$_REQUEST["min_basket"];
goto ec8d652e7b8be658;
Ca3dc0fdf22e8700: return redirect(route("admin.billing.payoptions"));
goto f9b36c4e2dee60c4;
E3d426b4a50afbe1: DB: : table("gateways")->where("gateway", "=", "paypal")->update(["email"=> $Ba2bcff869f9fd03, "gateway"=> "paypal", "api"=> "none", "private_key"=> "none", "name"=> "none", "min_basket"=> $Bc38738ef7892f87, "max_basket"=> $C5f2eb044dfec685, "percentage"=> $ad0a4dc015f0910c, "amount"=> $C416d5dc98d5bb4b, "service_id"=> "none"]);
goto Ca3dc0fdf22e8700;
ec8d652e7b8be658: $C5f2eb044dfec685=$_REQUEST["max_basket"];
goto Ea7a6c03be21f4f1;
c524b6114ba68033: $Ba2bcff869f9fd03=$_REQUEST["email"];
goto b02bad9a8ef32279;
f9b36c4e2dee60c4:
}
public function paypal_activate() {
DB: : table("gateways")->where("gateway", "=", "paypal")->update(["enabled"=> 1]);
return redirect(route("admin.billing.payoptions"));
}
public function paypal_deactivate() {
DB: : table("gateways")->where("gateway", "=", "paypal")->update(["enabled"=> 0]);
return redirect(route("admin.billing.payoptions"));
}
public function paypal_delete() {
DB: : table("gateways")->where("gateway", "=", "paypal")->delete();
return redirect(route("admin.billing.payoptions"));
}
public function paygol(): View {
goto Cc3f1cc775a0170a;
bc7aa3328b811b25: A521bb7a998d3d95: goto E3fd66e8f95c4323;
da68456832bd1b2d: return view("admin.billing.gateways.paygol", ["gateways"=> $f68ca3a8437b6cef, "paygol"=> $A6a88ef8afbe5f3c, "gateway_paygol"=> "none"]);
goto F4c1fd3549dca27a;
C374cbf9811efff7: F3480d526b874afc: goto fd1dba3378bab647;
fcddf6c36360d4f5: return view("admin.billing.gateways.paygol", ["gateways"=> $f68ca3a8437b6cef, "paygol"=> $A6a88ef8afbe5f3c, "gateway_paygol"=> "none"]);
goto B66f3c271127b466;
fd1dba3378bab647: goto b4ebe248588a1c06;
goto E0464795582a17bb;
E3fd66e8f95c4323: $A6a88ef8afbe5f3c=1;
goto b0ad6625f0bc3a67;
b0ad6625f0bc3a67: $b759a0aae459f787=DB: : table("gateways")->where("gateway", "=", "paygol")->get();
goto dd1d66ed95de80e0;
dd1d66ed95de80e0: return view("admin.billing.gateways.paygol", ["gateways"=> $f68ca3a8437b6cef, "paygol"=> $A6a88ef8afbe5f3c, "gateway_paygol"=> $b759a0aae459f787]);
goto C374cbf9811efff7;
B66f3c271127b466: goto F3480d526b874afc;
goto bc7aa3328b811b25;
d140a77810d76827: $A6a88ef8afbe5f3c=0;
goto a755edd18d532601;
f6d528ffc89628fe: if (strpos($f68ca3a8437b6cef, "paygol")) {
goto A521bb7a998d3d95;
}
goto fcddf6c36360d4f5;
a755edd18d532601: if (count($f68ca3a8437b6cef)==0) {
goto a3a3222cb6080dd6;
}
goto f6d528ffc89628fe;
F1d004fbace1fc42: $f68ca3a8437b6cef=="none";
goto da68456832bd1b2d;
Cc3f1cc775a0170a: $f68ca3a8437b6cef=DB::table("gateways")->get();
goto d140a77810d76827;
E0464795582a17bb: a3a3222cb6080dd6: goto F1d004fbace1fc42;
F4c1fd3549dca27a: b4ebe248588a1c06: goto e1a9627f8287a3d9;
e1a9627f8287a3d9:
}
public function paygol_store() {
goto E0c304bf373a421d;
f09ad2ceed27bbcf: $C5f2eb044dfec685=$_REQUEST["max_basket"];
goto feb51ca0f29bdba9;
caebeb6e311a6537: $cc309c9110920b52=$_REQUEST["private_key"];
goto f9baa9d778eba15a;
B9e29daa39e573c0: DB: : table("gateways")->insert(["email"=> "none", "gateway"=> "paygol", "enabled"=> 1, "api"=> "none", "private_key"=> $cc309c9110920b52, "name"=> "none", "min_basket"=> $Bc38738ef7892f87, "max_basket"=> $C5f2eb044dfec685, "percentage"=> $ad0a4dc015f0910c, "amount"=> $C416d5dc98d5bb4b, "service_id"=> $b4135c96f1181f40]);
goto Ca0a250de0abe388;
feb51ca0f29bdba9: $ad0a4dc015f0910c=$_REQUEST["percentage_gateway"];
goto A5cbdf8652ef2b0b;
E0c304bf373a421d: $b4135c96f1181f40=$_REQUEST["service_id"];
goto caebeb6e311a6537;
Ca0a250de0abe388: return redirect(route("admin.billing.payoptions"));
goto Df445c012668a0aa;
f9baa9d778eba15a: $Bc38738ef7892f87=$_REQUEST["min_basket"];
goto f09ad2ceed27bbcf;
A5cbdf8652ef2b0b: $C416d5dc98d5bb4b=$_REQUEST["amount_gateway"];
goto B9e29daa39e573c0;
Df445c012668a0aa:
}
public function paygol_edit() {
goto eec0755e5e781f4c;
A2effecd95b3f347: $Bc38738ef7892f87=$_REQUEST["min_basket"];
goto A82bfcd4926eb50a;
eec0755e5e781f4c: $b4135c96f1181f40=$_REQUEST["service_id"];
goto ed147a53fc74c8d4;
A82bfcd4926eb50a: $C5f2eb044dfec685=$_REQUEST["max_basket"];
goto ca724c10b8077037;
Ba3e6d4beb9c5bad: DB: : table("gateways")->where("gateway", "=", "paygol")->update(["email"=> "none", "gateway"=> "paygol", "api"=> "none", "private_key"=> $cc309c9110920b52, "name"=> "none", "min_basket"=> $Bc38738ef7892f87, "max_basket"=> $C5f2eb044dfec685, "percentage"=> $ad0a4dc015f0910c, "amount"=> $C416d5dc98d5bb4b, "service_id"=> $b4135c96f1181f40]);
goto e5c80fd900404dac;
ed147a53fc74c8d4: $cc309c9110920b52=$_REQUEST["private_key"];
goto A2effecd95b3f347;
E2296232731e4169: $C416d5dc98d5bb4b=$_REQUEST["amount_gateway"];
goto Ba3e6d4beb9c5bad;
e5c80fd900404dac: return redirect(route("admin.billing.payoptions"));
goto Ece3b7ca896f422a;
ca724c10b8077037: $ad0a4dc015f0910c=$_REQUEST["percentage_gateway"];
goto E2296232731e4169;
Ece3b7ca896f422a:
}
public function paygol_activate() {
DB: : table("gateways")->where("gateway", "=", "paygol")->update(["enabled"=> 1]);
return redirect(route("admin.billing.payoptions"));
}
public function paygol_deactivate() {
DB: : table("gateways")->where("gateway", "=", "paygol")->update(["enabled"=> 0]);
return redirect(route("admin.billing.payoptions"));
}
public function paygol_delete() {
DB: : table("gateways")->where("gateway", "=", "paygol")->delete();
return redirect(route("admin.billing.payoptions"));
}
public function mollie(): View {
goto cfb3c60fd710ecec;
d423b5d7fff20647: goto d4da64b7478c4406;
goto e4cf328bdf945842;
a7f530f5e1925bc0: B56fec3be9b83f2f: goto d423b5d7fff20647;
cc475f5303ea7337: return view("admin.billing.gateways.mollie", ["gateways"=> $f68ca3a8437b6cef, "mollie"=> $C7a082a79e63a37a, "gateway_mollie"=> $dba676f4e7e0c122]);
goto a7f530f5e1925bc0;
c2fde402f6d235ca: $C7a082a79e63a37a=1;
goto Fa86343d954edef7;
d902b39dec3d2b90: $C7a082a79e63a37a=0;
goto E1866d4a104f6756;
e8b2a022768c20da: return view("admin.billing.gateways.mollie", ["gateways"=> $f68ca3a8437b6cef, "mollie"=> $C7a082a79e63a37a, "gateway_mollie"=> "none"]);
goto c01614ef5a5b1bac;
c01614ef5a5b1bac: d4da64b7478c4406: goto C0ce870910cf5837;
Ee661f4e4d73c618: return view("admin.billing.gateways.mollie", ["gateways"=> $f68ca3a8437b6cef, "mollie"=> $C7a082a79e63a37a, "gateway_mollie"=> "none"]);
goto C8bb33f5e6fbb6f0;
E1866d4a104f6756: if (count($f68ca3a8437b6cef)==0) {
goto Ff1cec9aa792ec92;
}
goto Eb7ad1391b1e22cc;
Fa86343d954edef7: $dba676f4e7e0c122=DB::table("gateways")->where("gateway", "=", "mollie")->get();
goto cc475f5303ea7337;
Eb7ad1391b1e22cc: if (strpos($f68ca3a8437b6cef, "mollie")) {
goto aafc38dc954199d8;
}
goto Ee661f4e4d73c618;
cfb3c60fd710ecec: $f68ca3a8437b6cef=DB::table("gateways")->get();
goto d902b39dec3d2b90;
e011fa8b787d7b05: $f68ca3a8437b6cef=="none";
goto e8b2a022768c20da;
C8bb33f5e6fbb6f0: goto B56fec3be9b83f2f;
goto Cfb44131ff5bf400;
Cfb44131ff5bf400: aafc38dc954199d8: goto c2fde402f6d235ca;
e4cf328bdf945842: Ff1cec9aa792ec92: goto e011fa8b787d7b05;
C0ce870910cf5837:
}
public function mollie_store() {
goto f6bc9ca0f3e1c670;
Aca8bbb1b8bb443f: $ad0a4dc015f0910c=$_REQUEST["percentage_gateway"];
goto d94ab649fc623508;
Dee359b4ddde2f4e: return redirect(route("admin.billing.payoptions"));
goto D555033507f7f366;
d94ab649fc623508: $C416d5dc98d5bb4b=$_REQUEST["amount_gateway"];
goto Bbaa077044519ead;
c63d70bedaae4dc2: $C5f2eb044dfec685=$_REQUEST["max_basket"];
goto Aca8bbb1b8bb443f;
Bbaa077044519ead: DB: : table("gateways")->insert(["email"=> "none", "gateway"=> "mollie", "api"=> $Beece66176d354c7, "private_key"=> "none", "name"=> "none", "min_basket"=> $Bc38738ef7892f87, "max_basket"=> $C5f2eb044dfec685, "percentage"=> $ad0a4dc015f0910c, "amount"=> $C416d5dc98d5bb4b, "service_id"=> "none"]);
goto Dee359b4ddde2f4e;
Fc92b8ff40717070: $Beece66176d354c7=$_REQUEST["api_key"];
goto c63d70bedaae4dc2;
f6bc9ca0f3e1c670: $Bc38738ef7892f87=$_REQUEST["min_basket"];
goto Fc92b8ff40717070;
D555033507f7f366:
}
public function mollie_edit() {
goto C1c5ce77b3b105f2;
c55326e54b6d7a42: $C416d5dc98d5bb4b=$_REQUEST["amount_gateway"];
goto D408fe3f4725aedc;
Ea1c22417ce48aa2: $C5f2eb044dfec685=$_REQUEST["max_basket"];
goto Dabf07e8de347043;
b9fd6dcf11af281b: return redirect(route("admin.billing.payoptions"));
goto ca9ce82109398c6a;
ee366fd7b63f62ce: $Beece66176d354c7=$_REQUEST["api_key"];
goto Ea1c22417ce48aa2;
Dabf07e8de347043: $ad0a4dc015f0910c=$_REQUEST["percentage_gateway"];
goto c55326e54b6d7a42;
D408fe3f4725aedc: DB: : table("gateways")->where("gateway", "=", "mollie")->update(["email"=> "none", "gateway"=> "mollie", "enabled"=> 1, "api"=> $Beece66176d354c7, "private_key"=> "none", "name"=> "none", "min_basket"=> $Bc38738ef7892f87, "max_basket"=> $C5f2eb044dfec685, "percentage"=> $ad0a4dc015f0910c, "amount"=> $C416d5dc98d5bb4b, "service_id"=> "none"]);
goto b9fd6dcf11af281b;
C1c5ce77b3b105f2: $Bc38738ef7892f87=$_REQUEST["min_basket"];
goto ee366fd7b63f62ce;
ca9ce82109398c6a:
}
public function mollie_activate() {
DB: : table("gateways")->where("gateway", "=", "mollie")->update(["enabled"=> 1]);
return redirect(route("admin.billing.payoptions"));
}
public function mollie_deactivate() {
DB: : table("gateways")->where("gateway", "=", "mollie")->update(["enabled"=> 0]);
return redirect(route("admin.billing.payoptions"));
}
public function mollie_delete() {
DB: : table("gateways")->where("gateway", "=", "mollie")->delete();
return redirect(route("admin.billing.payoptions"));
}
public function products_new(): View {
goto F646b821405a4e3f;
B6d0ca552c7d1494: return view("admin.billing.products.new", ["nests"=> $D7ef0db9d1eb535b, "eggs"=> $B2fea9b82f5c2e5b, "nodes"=> $C8c3d7e668151c41, "categories"=> $Aa2f907d2fdf4e6d]);
goto a16221b8dd7715a0;
ff5ac18be9768ded: $Aa2f907d2fdf4e6d=DB: : select("select * from categories");
goto B6d0ca552c7d1494;
B558e37e9e11db65: $C8c3d7e668151c41=DB: : select("select * from nodes");
goto d8ae489ab7d2ae5a;
d8ae489ab7d2ae5a: $B2fea9b82f5c2e5b=DB: : select("select * from eggs");
goto ff5ac18be9768ded;
F646b821405a4e3f: $D7ef0db9d1eb535b=DB: : select("select * from nests");
goto B558e37e9e11db65;
a16221b8dd7715a0:
}
public function products_store() {
goto a633165161d7004a;
Faec6beb85362ba9: return redirect(route("admin.billing.products"));
goto E696e76b3403786d;
c38a1cfda3baf6ba: $D120ac18a3053022=$_REQUEST["description"];
goto a8efcf04a31de544;
C10048e52c8351a7: $Ddd077d69779f348=$_REQUEST["disk"];
goto A7b7f5ac2f7ec580;
Eccc1b3beffd2cde: $Caa6c4c97c79d48d=DB: : select("select * from products");
goto Faec6beb85362ba9;
f2f614d2914918e0: $Bb85f576e128d6e3=$_REQUEST["egg_id"];
goto D06bc0e7a4c4ccc4;
a8efcf04a31de544: $F2db12d3166993f2=$_REQUEST["visible"];
goto Dc3023cde1834c1a;
D9725e7d4b853c89: $cb2e16214ddc9c0b=$_REQUEST["allocation_limit"];
goto F4c93f8a08cd49a8;
a633165161d7004a: $bd408da246d679a9=$_REQUEST["name"];
goto Ff272f1317cc9c67;
beb8fbde6b7e13fb: $ca4fa0abc166d755=$_REQUEST["io"];
goto C10048e52c8351a7;
dd8f436a16c1baca: $Eb7f30e4d68da954=$_REQUEST["cpu"];
goto beb8fbde6b7e13fb;
A7b7f5ac2f7ec580: $B830491a34a9a66f=$_REQUEST["database_limit"];
goto D9725e7d4b853c89;
F4c93f8a08cd49a8: DB: : table("products")->insert(["name"=> $bd408da246d679a9, "price"=> $Eb70a199ab51c6f3, "description"=> $D120ac18a3053022, "category"=> $c303a5bcaf2f10a4, "egg_id"=> $Bb85f576e128d6e3, "visible"=> $F2db12d3166993f2, "node_id"=> $A62d4074bbb652b7, "memory"=> $Afb5c2108c94bccf, "cpu"=> $Eb7f30e4d68da954, "io"=> $ca4fa0abc166d755, "disk"=> $Ddd077d69779f348, "database_limit"=> $B830491a34a9a66f, "allocation_limit"=> $cb2e16214ddc9c0b]);
goto Eccc1b3beffd2cde;
Ff272f1317cc9c67: $Eb70a199ab51c6f3=$_REQUEST["price"];
goto c38a1cfda3baf6ba;
e0d58726a89a0c78: $Afb5c2108c94bccf=$_REQUEST["memory"];
goto dd8f436a16c1baca;
D06bc0e7a4c4ccc4: $A62d4074bbb652b7=$_REQUEST["node_id"];
goto e0d58726a89a0c78;
Dc3023cde1834c1a: $c303a5bcaf2f10a4=$_REQUEST["category"];
goto f2f614d2914918e0;
E696e76b3403786d:
}
public function products_edit($f9c3163cd41a43ae) {
goto Ba76c187892a60cb;
c4b6fadf016631c0: return view("admin.billing.products.edit", ["products"=> $Caa6c4c97c79d48d, "eggs"=> $B2fea9b82f5c2e5b, "nodes"=> $C8c3d7e668151c41, "categories"=> $Aa2f907d2fdf4e6d]);
goto Dc98504c61efd652;
e8955ce56f0085c4: Ae7b99dcd074f87a: goto A9fffdde70762dd7;
d49b3bb9cd470983: D97bd4e78d09649a: goto c1dd11bfc274b967;
Dc98504c61efd652: goto Ae7b99dcd074f87a;
goto d49b3bb9cd470983;
Ba76c187892a60cb: $Caa6c4c97c79d48d=DB: : table("products")->where("id", "=", $f9c3163cd41a43ae)->get();
goto cce9892a7c7206f8;
cce9892a7c7206f8: $B2fea9b82f5c2e5b=DB: : table("eggs")->get();
goto A557185b63788163;
A557185b63788163: $C8c3d7e668151c41=DB: : table("nodes")->get();
goto B8d66b2249a3085f;
c1dd11bfc274b967: abort(404);
goto e8955ce56f0085c4;
Af5e5528d766035c: if (count($Caa6c4c97c79d48d)==0) {
goto D97bd4e78d09649a;
}
goto c4b6fadf016631c0;
B8d66b2249a3085f: $Aa2f907d2fdf4e6d=DB::table("categories")->get();
goto Af5e5528d766035c;
A9fffdde70762dd7:
}
public function products_edit_store($f9c3163cd41a43ae) {
goto Abfd67a09510bd8a;
F1823fe25095a5c1: $Bb85f576e128d6e3=$_REQUEST["egg_id"];
goto F22b1e2eedec4887;
A5038c9f0370531f: $B830491a34a9a66f=$_REQUEST["database_limit"];
goto C4d5bc27336f6a2b;
C4d5bc27336f6a2b: $cb2e16214ddc9c0b=$_REQUEST["allocation_limit"];
goto cd9edafb9ee86cd6;
E874d2cd7682eca6: $Ddd077d69779f348=$_REQUEST["disk"];
goto A5038c9f0370531f;
Bba6d6aad39d6b92: $Eb70a199ab51c6f3=$_REQUEST["price"];
goto C057a182f442cd9f;
Abfd67a09510bd8a: $bd408da246d679a9=$_REQUEST["name"];
goto Bba6d6aad39d6b92;
e2d2d3099fc91db1: return redirect(route("admin.billing.products"));
goto b73043e583c89acc;
E6595b7136375ab6: $Eb7f30e4d68da954=$_REQUEST["cpu"];
goto c3e017f6c5667bc1;
C057a182f442cd9f: $D120ac18a3053022=$_REQUEST["description"];
goto cc9002a66a5356a7;
a6858e73c19d396a: $Afb5c2108c94bccf=$_REQUEST["memory"];
goto E6595b7136375ab6;
cd9edafb9ee86cd6: $Caa6c4c97c79d48d=DB: : table("products")->where("id", "=", $f9c3163cd41a43ae)->update(["name"=> $bd408da246d679a9, "price"=> $Eb70a199ab51c6f3, "description"=> $D120ac18a3053022, "category"=> $c303a5bcaf2f10a4, "egg_id"=> $Bb85f576e128d6e3, "visible"=> $F2db12d3166993f2, "node_id"=> $A62d4074bbb652b7, "memory"=> $Afb5c2108c94bccf, "cpu"=> $Eb7f30e4d68da954, "io"=> $ca4fa0abc166d755, "disk"=> $Ddd077d69779f348, "database_limit"=> $B830491a34a9a66f, "allocation_limit"=> $cb2e16214ddc9c0b]);
goto e2d2d3099fc91db1;
cc9002a66a5356a7: $F2db12d3166993f2=$_REQUEST["visible"];
goto b54167aab0c3aa10;
c3e017f6c5667bc1: $ca4fa0abc166d755=$_REQUEST["io"];
goto E874d2cd7682eca6;
F22b1e2eedec4887: $A62d4074bbb652b7=$_REQUEST["node_id"];
goto a6858e73c19d396a;
b54167aab0c3aa10: $c303a5bcaf2f10a4=$_REQUEST["category"];
goto F1823fe25095a5c1;
b73043e583c89acc:
}
public function promotional_codes() {
$ca04532af910f720=DB: : table("promotional_codes")->get();
return view("admin.billing.promotional-codes.index", ["promotional_codes"=> $ca04532af910f720]);
}
public function promotional_codes_new_post(Request $cf96453270734230) {
goto bb12b777ec5c9305;
bb12b777ec5c9305: $cf96453270734230->validate(["code"=> "required", "amount"=> "required|between:0,99.99", "percentage"=> "required|between:0,99.99", "min_amount"=> "required|between:0,99.99", "max_amount"=> "required|between:0,99.99"]);
goto d25001c3cc17ea4e;
d6902f13609cc0a7: goto a04a89d6965bac3d;
goto f1c36c1b3df0da99;
d25001c3cc17ea4e: if ($cf96453270734230->lasts_till==null) {
goto a039bcff0e6e1dca;
}
goto e3a5de08aa94ee82;
a0b25486c7e52934: a04a89d6965bac3d: goto ef696a391b8afc1b;
e3a5de08aa94ee82: DB::table("promotional_codes")->insert(["code"=> $cf96453270734230->code, "amount"=> $cf96453270734230->amount, "percentage"=> $cf96453270734230->percentage, "min_basket"=> $cf96453270734230->min_amount, "max_basket"=> $cf96453270734230->max_amount, "lasts_till"=> $cf96453270734230->lasts_till]);
goto d6902f13609cc0a7;
Cb2a0f92228b5fe7: DB::table("promotional_codes")->insert(["code"=> $cf96453270734230->code, "amount"=> $cf96453270734230->amount, "percentage"=> $cf96453270734230->percentage, "min_basket"=> $cf96453270734230->min_amount, "max_basket"=> $cf96453270734230->max_amount, "lasts_till"=> "2018-04-03 12:28:38"]);
goto a0b25486c7e52934;
ef696a391b8afc1b: return redirect(route("admin.billing.promotional-codes"));
goto f81b3e61156ab333;
f1c36c1b3df0da99: a039bcff0e6e1dca: goto Cb2a0f92228b5fe7;
f81b3e61156ab333:
}
public function promotional_codes_new() {
return view("admin.billing.promotional-codes.new");
}
public function promotional_codes_delete($Ef93eb3d7b4423dd) {
$Ef93eb3d7b4423dd=DB: : table("promotional_codes")->where("id", "=", $Ef93eb3d7b4423dd)->delete();
return redirect(route("admin.billing.promotional-codes"));
}
} ?>
Did this file decode correctly?
Original Code
<?php
namespace Pterodactyl\Http\Controllers\Admin;
use Illuminate\Http\Request;
use Illuminate\View\View;
use Pterodactyl\Http\Controllers\Controller;
use Pterodactyl\Models\Invoice;
use Pterodactyl\Models\User;
use Validator;
use DB;
class BillingController extends Controller {
public function licensing() {
goto Bb03f4edcd4e7fcc;
Fa23608edb617d59: c93b1cd25795ccff: goto e45d226579868b2a;
F5b710fb70dc6e4d: $D1ad3b3c848118f9=json_decode(curl_exec($eeafaeadb17a8410));
goto a1e6b9ff082add9c;
Cb0b31130c91a210: $d0a2b0cb92f97267=$_SERVER["\x48\x54\124\120\137\110\117\x53\124"];
goto B2bb64dc5f78e5ec;
b233867e02a59c08: return false;
goto Fa23608edb617d59;
B0e131e6cc8fd406: return false;
goto Eca977d444d0ac2b;
Eb309d47ae667acc: curl_setopt($eeafaeadb17a8410, CURLOPT_BINARYTRANSFER, true);
goto cc0c3c35c1ba7240;
cc0c3c35c1ba7240: curl_setopt($eeafaeadb17a8410, CURLOPT_RETURNTRANSFER, true);
goto F5b710fb70dc6e4d;
Bb03f4edcd4e7fcc: $eeafaeadb17a8410=curl_init();
goto af32a242e6a1af97;
Bc7013b1990e1e64: b60574e2dcc081bc: goto Ba97d25581d02201;
a1e6b9ff082add9c: curl_close($eeafaeadb17a8410);
goto Cb0b31130c91a210;
Cc7b2b95ee395c36: return $D1ad3b3c848118f9;
goto Bc7013b1990e1e64;
B2bb64dc5f78e5ec: if (!(env("\101\x50\x50\137\125\122\114", "\156\x6f\137\165\x72\154\x2e\143\x6f\x6d") !==$_SERVER["\110\x54\x54\x50\137\110\117\x53\124"])) {
goto E898e4c20a392b09;
}
goto B0e131e6cc8fd406;
Eca977d444d0ac2b: E898e4c20a392b09: goto f9b2555142d2ce3c;
f9b2555142d2ce3c: if (!($D1ad3b3c848118f9->code=="\x6b\x61\x2d\x30\61")) {
goto b60574e2dcc081bc;
}
goto Cc7b2b95ee395c36;
Ba97d25581d02201: if (!($D1ad3b3c848118f9->code=="\x6b\x61\55\x30\62")) {
goto c93b1cd25795ccff;
}
goto b233867e02a59c08;
af32a242e6a1af97: curl_setopt($eeafaeadb17a8410, CURLOPT_URL, "\150\164\x74\160\x3a\x2f\x2f\x6c\151\143\x65\156\x73\x69\x6e\x67\56\x6d\x72\153\145\166\153\157\56\156\154\x2f\143\150\x65\x63\153\x65\x72\x2f" . env("\x41\x50\120\137\125\122\x4c", "\x6e\157\137\x75\162\154\x2e\143\x6f\x6d"));
goto Eb309d47ae667acc;
e45d226579868b2a:
}
public function index(Request $d15748061725e21f) {
goto Ee1704e63791301b;
A5765e25ddd082d4: $f1f33c28fd34f77d=env("\102\x49\114\x4c\111\116\x47\137\126\x45\122\123\111\117\116");
goto b7e89daee794735a;
Ee1704e63791301b: $C07340c14b2492f7=DB: : table("\x69\156\x76\x6f\x69\x63\145\163")->select(DB: : raw("\x53\x55\x4d\50\141\x6d\157\x75\x6e\x74\51\40\x61\x73\40\x74\x6f\x74\x61\x6c\x5f\x61\x6d\157\x75\156\x74"))->where("\x72\x65\x61\x73\157\x6e", "\x3d", "\x54\157\160\40\x75\160\40\103\162\145\x64\151\164")->groupBy(DB: : raw("\131\105\x41\x52\50\143\162\x65\x61\x74\x65\144\x5f\x61\x74\51\40\x44\105\123\103\54\x20\115\x4f\116\124\110\50\143\x72\x65\x61\x74\145\144\137\x61\x74\51\40\x44\x45\123\x43"))->sum("\141\155\x6f\165\156\164");
goto E599a682ec14f393;
f69b166dded4a461: $Ece1918ff0751218=DB: : table("\165\163\x65\x72\163")->sum("\x62\x61\x6c\x61\156\143\x65");
goto C39a5347bd4d4a7a;
C39a5347bd4d4a7a: $C5cdad72d300aefe="\x31\x2e\x30\56\61";
goto A5765e25ddd082d4;
E599a682ec14f393: $ff8ae068c2adb21d=DB: : table("\151\156\x76\157\x69\x63\x65\163")->select(DB: : raw("\123\125\115\x28\x61\x6d\157\x75\156\164\51\40\x61\x73\x20\164\x6f\x74\x61\154\137\x61\x6d\157\165\156\164"))->where("\x72\145\141\x73\157\x6e", "\x3d", "\124\x6f\160\x20\x75\x70\x20\103\162\x65\144\x69\164")->groupBy(DB: : raw("\131\x45\x41\x52\50\143\x72\145\x61\x74\x65\144\137\x61\x74\51\40\x44\x45\123\103"))->sum("\141\x6d\157\165\156\164");
goto f69b166dded4a461;
b7e89daee794735a: $C608686a947c09a9=DB: : table("\x62\x69\154\154\x69\156\x67")->get();
goto f9c645d42b40a517;
f9c645d42b40a517: return view("\x61\x64\155\151\156\56\142\x69\154\154\151\x6e\x67\56\x69\156\x64\x65\170", ["\151\156\x76\x6f\151\143\145\x73"=> Invoice: : orderBy("\x69\144", "\144\x65\163\143")->where("\162\x65\141\163\157\x6e", "\75", "\x54\157\160\40\165\x70\x20\103\x72\x65\x64\x69\164")->paginate(25), "\164\150\x69\x73\x5f\155\x6f\156\x74\150\x5f\151\x6e\x63\x6f\x6d\x65"=> $C07340c14b2492f7, "\164\x68\151\163\x5f\x79\x65\141\162\x5f\x69\156\x63\x6f\x6d\145"=> $ff8ae068c2adb21d, "\165\163\x65\x72\x5f\x61\143\x63\x6f\165\156\164\163"=> $Ece1918ff0751218, "\x6c\x61\x74\x65\x73\x74\x5f\166\x65\x72\x73\x69\x6f\x6e"=> $C5cdad72d300aefe, "\x74\150\151\163\x5f\x76\145\x72\x73\151\157\156"=> $f1f33c28fd34f77d, "\142\x69\x6c\x6c\x69\x6e\x67"=> $C608686a947c09a9]);
goto Cbec2f72a9c90d4e;
Cbec2f72a9c90d4e:
}
public function new(Request $d15748061725e21f) {
return view("\x61\x64\155\151\156\x2e\x62\151\x6c\x6c\x69\x6e\147\x2e\x6e\x65\167");
}
public function categories_edit($c303a5bcaf2f10a4) {
$Ff0969d8d4f7d9be=DB: : table("\143\141\164\145\x67\x6f\162\151\x65\x73")->where("\x69\144", "\x3d", $c303a5bcaf2f10a4)->get();
return view("\141\144\x6d\x69\x6e\56\x62\x69\154\x6c\151\x6e\147\x2e\143\141\x74\145\147\157\x72\151\145\x73\x2e\x65\x64\151\x74", ["\143\x61\x74\x65\147\157\162\171"=> $Ff0969d8d4f7d9be]);
}
public function categories_edit_store($c303a5bcaf2f10a4, Request $cf96453270734230) {
goto Cb9197b3c008248c;
be6fe2cc08630ddf: DB: : table("\x63\141\164\145\147\157\x72\151\145\x73")->where("\151\x64", "\x3d", $c303a5bcaf2f10a4)->update(["\156\x61\x6d\x65"=> $cf96453270734230->name, "\144\x65\163\143\162\151\160\164\x69\x6f\x6e"=> $cf96453270734230->description, "\x70\162\151\x6f\162\x69\164\171"=> $cf96453270734230->priority, "\166\x69\x73\151\x62\x6c\x65"=> $cf96453270734230->visible]);
goto D2d9b01153e71ec3;
Cb9197b3c008248c: $cf96453270734230->validate(["\x6e\141\x6d\x65"=> "\x72\x65\161\165\x69\x72\145\144", "\x64\145\x73\143\162\151\160\164\151\157\x6e"=> "\162\145\x71\165\151\162\x65\x64", "\x70\162\151\x6f\x72\151\164\x79"=> "\x72\145\x71\165\x69\162\x65\x64", "\x76\151\x73\x69\142\154\145"=> "\x72\145\x71\165\x69\162\145\144"]);
goto be6fe2cc08630ddf;
D2d9b01153e71ec3: return redirect(route("\x61\144\155\x69\156\56\x62\151\154\x6c\x69\x6e\147\x2e\x63\141\164\145\147\157\162\x69\145\163"));
goto C3cbcc864d436817;
C3cbcc864d436817:
}
public function tos() {
$bc46ce063222c0f0=DB: : table("\142\151\x6c\154\151\x6e\x67")->get();
return view("\141\x64\x6d\151\x6e\56\x62\151\154\154\151\x6e\x67\x2e\164\x6f\163\x2e\151\156\144\145\170", ["\164\157\163"=> $bc46ce063222c0f0]);
}
public function tos_update(Request $cf96453270734230) {
DB: : table("\x62\x69\154\x6c\151\x6e\147")->update(["\164\157\x73"=> $cf96453270734230->tos]);
return redirect()->back();
}
public function submit(Request $d15748061725e21f) {
goto c86aa09fff8ead68;
B139f88f6d5c9e70: $c1fa68ba9d14f0b1->addBalance($d15748061725e21f->amount);
goto B2e18018611ce8b8;
B2e18018611ce8b8: return redirect()->back();
goto D04e942fcac0684e;
c86aa09fff8ead68: $d15748061725e21f->validate(["\165\163\x65\x72\137\151\x64"=> "\162\x65\161\x75\x69\162\x65\x64\x7c\x65\170\151\x73\x74\x73\x3a\165\x73\145\x72\163\x2c\151\x64", "\141\x6d\x6f\x75\156\x74"=> "\162\145\x71\x75\x69\x72\x65\x64\x7c\156\165\x6d\145\162\151\143\x7c\x6d\x69\x6e\x3a\55\x35\60\x30\174\x6d\x61\170\x3a\x35\x30\x30"]);
goto f5128c6735aa3364;
f5128c6735aa3364: $c1fa68ba9d14f0b1=User: : find($d15748061725e21f->user_id);
goto B139f88f6d5c9e70;
D04e942fcac0684e:
}
public function pdf(Request $d15748061725e21f) {
return Invoice: : find($d15748061725e21f->id)->downloadPdf();
}
public function categories(): View {
goto ad8c0f21aa4b1ac4;
B0fe7dd53bb8e7a5: return view("\141\x64\155\x69\156\56\x62\151\x6c\x6c\x69\x6e\x67\56\143\x61\164\145\147\157\162\151\145\163\56\151\x6e\x64\145\x78", ["\x63\141\x74\x65\147\x6f\x72\151\x65\163"=> $Aa2f907d2fdf4e6d]);
goto C02715d48497ae20;
E7ff6b0ce8c49b97: $C608686a947c09a9=DB: : table("\x62\x69\154\154\x69\156\x67")->get();
goto B0fe7dd53bb8e7a5;
ad8c0f21aa4b1ac4: $Aa2f907d2fdf4e6d=DB: : table("\x63\141\x74\x65\x67\x6f\x72\x69\x65\163")->get();
goto E7ff6b0ce8c49b97;
C02715d48497ae20:
}
public function categories_new(): View {
goto B6d1ecf131643433;
d8846af48e9d4908: return view("\x61\144\x6d\x69\156\56\142\151\x6c\x6c\151\156\x67\x2e\143\141\x74\x65\147\157\162\151\145\163\x2e\156\x65\167", ["\x63\x61\x74\145\x67\x6f\162\x69\145\163"=> $Aa2f907d2fdf4e6d]);
goto e115d5cc134cd115;
dbea0e9a7e8cbaa1: $Aa2f907d2fdf4e6d=DB: : table("\x63\141\x74\x65\x67\157\x72\x69\145\163")->get();
goto d8846af48e9d4908;
B6d1ecf131643433: $C608686a947c09a9=DB: : table("\142\x69\x6c\154\151\156\147")->get();
goto dbea0e9a7e8cbaa1;
e115d5cc134cd115:
}
public function settings(Request $cf96453270734230) {
goto E850ce17c3478250;
ee879b2369a3bfdf: $Ef86fa9cd5165df6=$cf96453270734230->use_categories;
goto E14bb7e8cd097fea;
E850ce17c3478250: $Cebb842dee4e9220=$cf96453270734230->currency;
goto ee879b2369a3bfdf;
Db68508967326c74: return redirect()->back();
goto C338558bc78f4040;
E14bb7e8cd097fea: DB: : table("\x62\x69\154\154\x69\x6e\x67")->update(["\143\165\x72\x72\145\x6e\x63\x79"=> $Cebb842dee4e9220, "\x75\163\145\x5f\143\x61\164\x65\x67\157\162\x69\145\x73"=> $Ef86fa9cd5165df6]);
goto Db68508967326c74;
C338558bc78f4040:
}
public function categories_store(Request $cf96453270734230) {
goto d5e81b855b7c9758;
e59c666e8734e021: $bd408da246d679a9=$cf96453270734230->name;
goto c451dd768a9aa454;
Cc681d458d68ddd8: $D120ac18a3053022=$cf96453270734230->description;
goto C209886f86ea3f8e;
d5e81b855b7c9758: $cf96453270734230->validate(["\x6e\141\x6d\x65"=> "\x72\145\x71\165\x69\162\145\144", "\x70\162\151\x6f\162\x69\x74\x79"=> "\162\145\161\x75\151\x72\x65\144", "\144\145\x73\143\x72\151\x70\164\x69\157\x6e"=> "\x72\x65\x71\x75\x69\162\x65\144", "\166\151\163\151\x62\x6c\x65"=> "\162\145\161\165\151\162\x65\144"]);
goto e59c666e8734e021;
b1b020ce5397a6f9: DB: : table("\143\x61\164\145\147\x6f\x72\x69\145\x73")->insert(["\x6e\x61\155\145"=> $bd408da246d679a9, "\x70\162\x69\157\x72\x69\164\x79"=> $c5778f76c55ac68d, "\x64\x65\163\x63\x72\151\x70\164\x69\157\156"=> $D120ac18a3053022, "\x76\x69\163\151\x62\154\145"=> $F2db12d3166993f2]);
goto a6ab94fe403771ce;
c451dd768a9aa454: $c5778f76c55ac68d=$cf96453270734230->priority;
goto Cc681d458d68ddd8;
a6ab94fe403771ce: return redirect(route("\x61\144\x6d\151\156\x2e\142\151\154\x6c\151\x6e\147\56\x63\x61\x74\x65\x67\157\162\x69\x65\x73"));
goto Bca67a4072536e43;
C209886f86ea3f8e: $F2db12d3166993f2=$cf96453270734230->visible;
goto b1b020ce5397a6f9;
Bca67a4072536e43:
}
public function products(): View {
goto Eda109ca96ea0b16;
Af96c2a9891c0754: return view("\x61\144\155\x69\x6e\56\142\x69\154\154\151\156\147\x2e\x70\x72\157\144\165\143\x74\163\56\x69\156\144\x65\x78", ["\x70\x72\x6f\144\165\143\x74\x73"=> $Caa6c4c97c79d48d, "\142\x69\154\x6c\151\156\x67"=> $C608686a947c09a9]);
goto A47e0274580e601b;
Eda109ca96ea0b16: $C608686a947c09a9=DB: : table("\142\x69\154\154\x69\x6e\x67")->get();
goto a58b2b1724665609;
a58b2b1724665609: $Caa6c4c97c79d48d=DB: : select("\x73\x65\x6c\145\143\x74\40\x2a\40\146\x72\157\155\x20\160\162\157\144\165\143\164\163");
goto Af96c2a9891c0754;
A47e0274580e601b:
}
public function payoptions(): View {
goto a7c0993183a657a6;
d29f3ff27284ebad: return view("\141\144\x6d\x69\156\x2e\142\x69\x6c\154\151\x6e\147\56\x67\x61\x74\x65\167\x61\171\163\56\147\x61\164\145\167\141\x79\x73", ["\147\141\x74\145\x77\141\171\163"=> $f68ca3a8437b6cef, "\x70\141\x79\x70\141\154"=> $c36b63ce555797f3, "\x70\141\171\147\157\154"=> $A6a88ef8afbe5f3c, "\x6d\157\x6c\x6c\151\145"=> $C7a082a79e63a37a]);
goto F2e2d27680e2a2cc;
C2022325359aed54: $c36b63ce555797f3=0;
goto cfb1a09b9edae130;
ea142c64c0f4cc98: $C7a082a79e63a37a=0;
goto C1ef8965b4ceb386;
bb9309ed8364c491: $f68ca3a8437b6cef=DB: : table("\x67\141\164\x65\x77\x61\x79\163")->get();
goto C2022325359aed54;
a7c0993183a657a6: $C608686a947c09a9=DB: : table("\x62\151\x6c\x6c\151\156\x67")->get();
goto bb9309ed8364c491;
db636ad9e9c78d6b: ed0861b050a9a66f: goto d29f3ff27284ebad;
C1ef8965b4ceb386: if (!(count($f68ca3a8437b6cef)==0)) {
goto ed0861b050a9a66f;
}
goto a2e73bf621cd8d90;
a2e73bf621cd8d90: $f68ca3a8437b6cef=="\156\157\x6e\x65";
goto db636ad9e9c78d6b;
cfb1a09b9edae130: $A6a88ef8afbe5f3c=0;
goto ea142c64c0f4cc98;
F2e2d27680e2a2cc:
}
public function paypal(): View {
goto D6c8454e1fcf0ffe;
D9bf3c329b8da0d9: $eb4debb679a34872=DB: : table("\x67\x61\x74\145\x77\141\x79\163")->where("\x67\x61\164\145\167\141\x79", "\x3d", "\160\141\x79\160\141\x6c")->get();
goto eb766f2e62dca645;
Ee857605470ba734: if (strpos($f68ca3a8437b6cef, "\x70\141\171\x70\x61\x6c")) {
goto Ad855873d7e1fb37;
}
goto ce73102b33f9bc2e;
eb766f2e62dca645: return view("\141\144\x6d\151\x6e\56\142\x69\x6c\154\151\x6e\147\x2e\147\x61\164\x65\x77\x61\171\163\x2e\160\x61\171\x70\x61\x6c", ["\x67\x61\164\145\167\141\x79\163"=> $f68ca3a8437b6cef, "\160\141\171\x70\x61\x6c"=> $c36b63ce555797f3, "\147\141\x74\x65\x77\141\171\x5f\160\x61\171\160\x61\x6c"=> $eb4debb679a34872]);
goto D4b2c15f247210d6;
D4b2c15f247210d6: c47c9fc42080ad48: goto C9714e63281f7e7a;
A86c5aedeb8b8c4f: fa9823d383651471: goto Aedbaaa720a3b211;
ce73102b33f9bc2e: return view("\141\x64\155\x69\156\x2e\142\151\154\154\x69\x6e\x67\56\x67\x61\x74\x65\x77\141\171\x73\56\160\141\171\x70\141\154", ["\147\141\x74\x65\167\141\x79\x73"=> $f68ca3a8437b6cef, "\160\x61\171\x70\x61\154"=> $c36b63ce555797f3, "\147\141\x74\x65\x77\141\171\x5f\160\x61\x79\x70\x61\154"=> "\x6e\157\x6e\145"]);
goto f4080b6d71a5e9c4;
f1121cf89347a2f0: B7ef501cad86385c: goto A5b3c032c75f2a76;
C9714e63281f7e7a: goto B7ef501cad86385c;
goto A86c5aedeb8b8c4f;
D6c8454e1fcf0ffe: $f68ca3a8437b6cef=DB::table("\x67\141\164\x65\167\141\171\x73")->get();
goto D11a128492447ab8;
E34c088e5902f14a: if (count($f68ca3a8437b6cef)==0) {
goto fa9823d383651471;
}
goto Ee857605470ba734;
D11a128492447ab8: $c36b63ce555797f3=0;
goto E34c088e5902f14a;
f4080b6d71a5e9c4: goto c47c9fc42080ad48;
goto a294234c63934ba7;
Aedbaaa720a3b211: $f68ca3a8437b6cef=="\156\x6f\156\x65";
goto C4faa46ad05e027b;
C4faa46ad05e027b: return view("\141\144\155\x69\x6e\56\x62\151\154\x6c\x69\156\147\56\147\x61\164\145\x77\141\171\163\x2e\x70\x61\x79\160\141\154", ["\147\141\164\145\x77\141\x79\x73"=> $f68ca3a8437b6cef, "\160\x61\171\x70\x61\x6c"=> $c36b63ce555797f3, "\147\141\164\145\167\141\x79\x5f\160\x61\x79\x70\x61\154"=> "\156\157\x6e\145"]);
goto f1121cf89347a2f0;
a294234c63934ba7: Ad855873d7e1fb37: goto a92f47a6cb2b1e2d;
a92f47a6cb2b1e2d: $c36b63ce555797f3=1;
goto D9bf3c329b8da0d9;
A5b3c032c75f2a76:
}
public function paypal_store() {
goto d213e05849ccc8a1;
A9d104e9bf810d12: $C416d5dc98d5bb4b=$_REQUEST["\141\155\x6f\x75\x6e\164\137\x67\x61\164\x65\167\141\x79"];
goto c3c72172886454b5;
d213e05849ccc8a1: $Ba2bcff869f9fd03=$_REQUEST["\145\155\141\x69\x6c"];
goto E3a3bd43dc59931f;
cc338e35c4b935b4: $ad0a4dc015f0910c=$_REQUEST["\160\x65\x72\x63\x65\x6e\x74\x61\147\x65\137\147\141\164\x65\167\x61\171"];
goto A9d104e9bf810d12;
E3a3bd43dc59931f: $Bc38738ef7892f87=$_REQUEST["\x6d\151\156\137\x62\x61\163\x6b\x65\x74"];
goto fb84d09dc1ea6824;
b24df940d9eeb296: return redirect(route("\x61\144\x6d\x69\156\56\142\151\154\x6c\x69\156\x67\56\x70\141\x79\157\x70\164\151\157\x6e\x73"));
goto cb3095254d3c8617;
c3c72172886454b5: DB: : table("\x67\141\x74\145\x77\141\x79\163")->insert(["\x65\x6d\x61\151\154"=> $Ba2bcff869f9fd03, "\x67\x61\164\145\167\x61\171"=> "\x70\x61\171\x70\141\x6c", "\x65\x6e\141\142\154\145\144"=> 1, "\141\x70\x69"=> "\156\x6f\x6e\145", "\x70\162\151\x76\141\x74\x65\137\153\145\x79"=> "\156\x6f\156\145", "\156\141\x6d\145"=> "\x6e\157\156\x65", "\x6d\x69\156\137\x62\141\163\153\145\164"=> $Bc38738ef7892f87, "\x6d\x61\170\x5f\142\x61\x73\x6b\x65\164"=> $C5f2eb044dfec685, "\160\x65\x72\143\x65\x6e\164\141\x67\x65"=> $ad0a4dc015f0910c, "\141\155\x6f\165\x6e\164"=> $C416d5dc98d5bb4b, "\x73\145\x72\166\151\143\145\137\151\144"=> "\156\x6f\156\x65"]);
goto b24df940d9eeb296;
fb84d09dc1ea6824: $C5f2eb044dfec685=$_REQUEST["\x6d\141\x78\x5f\x62\x61\x73\153\145\164"];
goto cc338e35c4b935b4;
cb3095254d3c8617:
}
public function paypal_edit() {
goto c524b6114ba68033;
ff5c0d3c133b64e9: $C416d5dc98d5bb4b=$_REQUEST["\141\x6d\x6f\165\x6e\x74\x5f\x67\141\x74\x65\167\x61\x79"];
goto E3d426b4a50afbe1;
Ea7a6c03be21f4f1: $ad0a4dc015f0910c=$_REQUEST["\x70\x65\x72\143\x65\156\x74\141\x67\145\137\147\141\x74\145\x77\x61\x79"];
goto ff5c0d3c133b64e9;
b02bad9a8ef32279: $Bc38738ef7892f87=$_REQUEST["\x6d\x69\156\x5f\142\141\163\153\x65\164"];
goto ec8d652e7b8be658;
Ca3dc0fdf22e8700: return redirect(route("\x61\x64\x6d\x69\x6e\x2e\142\151\154\154\151\x6e\x67\x2e\160\x61\171\157\160\x74\x69\x6f\x6e\x73"));
goto f9b36c4e2dee60c4;
E3d426b4a50afbe1: DB: : table("\x67\141\x74\145\167\x61\x79\163")->where("\x67\x61\x74\x65\x77\x61\x79", "\75", "\x70\141\171\x70\x61\154")->update(["\x65\x6d\x61\x69\x6c"=> $Ba2bcff869f9fd03, "\x67\141\164\145\167\x61\171"=> "\160\x61\x79\160\141\154", "\141\x70\x69"=> "\156\x6f\156\145", "\160\162\151\166\141\164\145\x5f\153\x65\x79"=> "\x6e\157\156\x65", "\x6e\x61\155\x65"=> "\156\x6f\156\x65", "\x6d\151\x6e\137\x62\141\x73\153\145\164"=> $Bc38738ef7892f87, "\155\141\x78\137\142\x61\163\153\x65\164"=> $C5f2eb044dfec685, "\160\x65\162\143\x65\x6e\x74\x61\x67\145"=> $ad0a4dc015f0910c, "\x61\x6d\x6f\x75\156\x74"=> $C416d5dc98d5bb4b, "\163\x65\162\166\x69\x63\x65\137\151\144"=> "\x6e\157\156\145"]);
goto Ca3dc0fdf22e8700;
ec8d652e7b8be658: $C5f2eb044dfec685=$_REQUEST["\x6d\141\x78\137\142\x61\163\153\x65\164"];
goto Ea7a6c03be21f4f1;
c524b6114ba68033: $Ba2bcff869f9fd03=$_REQUEST["\145\155\x61\x69\154"];
goto b02bad9a8ef32279;
f9b36c4e2dee60c4:
}
public function paypal_activate() {
DB: : table("\x67\x61\x74\145\x77\x61\x79\163")->where("\x67\141\164\145\167\x61\171", "\x3d", "\x70\141\171\160\141\x6c")->update(["\145\x6e\141\x62\x6c\145\x64"=> 1]);
return redirect(route("\141\x64\x6d\x69\156\x2e\142\x69\x6c\x6c\151\156\147\56\160\141\171\x6f\x70\x74\x69\157\x6e\163"));
}
public function paypal_deactivate() {
DB: : table("\x67\x61\x74\x65\167\141\x79\x73")->where("\147\141\x74\145\167\x61\171", "\x3d", "\x70\x61\171\x70\x61\x6c")->update(["\145\x6e\141\x62\154\x65\x64"=> 0]);
return redirect(route("\x61\x64\155\x69\156\56\x62\x69\x6c\x6c\151\156\x67\56\160\x61\171\157\x70\x74\151\x6f\x6e\x73"));
}
public function paypal_delete() {
DB: : table("\147\x61\x74\145\167\141\171\163")->where("\147\141\x74\x65\167\x61\x79", "\x3d", "\160\x61\x79\x70\141\x6c")->delete();
return redirect(route("\x61\x64\155\x69\156\56\x62\151\x6c\x6c\x69\x6e\x67\56\x70\x61\x79\x6f\160\164\151\x6f\x6e\163"));
}
public function paygol(): View {
goto Cc3f1cc775a0170a;
bc7aa3328b811b25: A521bb7a998d3d95: goto E3fd66e8f95c4323;
da68456832bd1b2d: return view("\141\x64\155\151\156\56\142\151\154\154\151\x6e\147\56\147\141\164\x65\167\141\171\163\x2e\160\141\x79\147\x6f\154", ["\147\x61\x74\x65\x77\x61\x79\163"=> $f68ca3a8437b6cef, "\160\141\171\x67\x6f\154"=> $A6a88ef8afbe5f3c, "\x67\141\x74\x65\x77\x61\171\137\160\141\x79\x67\157\x6c"=> "\156\x6f\x6e\x65"]);
goto F4c1fd3549dca27a;
C374cbf9811efff7: F3480d526b874afc: goto fd1dba3378bab647;
fcddf6c36360d4f5: return view("\x61\144\x6d\x69\156\56\142\x69\154\x6c\151\x6e\x67\56\x67\x61\x74\145\167\141\171\163\56\x70\x61\171\147\157\x6c", ["\x67\x61\x74\x65\x77\141\171\163"=> $f68ca3a8437b6cef, "\x70\141\x79\147\x6f\x6c"=> $A6a88ef8afbe5f3c, "\147\x61\164\x65\167\x61\x79\x5f\x70\141\171\x67\x6f\154"=> "\156\x6f\156\x65"]);
goto B66f3c271127b466;
fd1dba3378bab647: goto b4ebe248588a1c06;
goto E0464795582a17bb;
E3fd66e8f95c4323: $A6a88ef8afbe5f3c=1;
goto b0ad6625f0bc3a67;
b0ad6625f0bc3a67: $b759a0aae459f787=DB: : table("\147\141\x74\145\x77\141\171\x73")->where("\x67\x61\x74\x65\167\x61\x79", "\75", "\160\x61\171\147\157\154")->get();
goto dd1d66ed95de80e0;
dd1d66ed95de80e0: return view("\141\144\x6d\x69\156\x2e\x62\151\154\x6c\x69\x6e\147\56\147\x61\164\x65\x77\141\171\x73\56\160\141\x79\x67\x6f\154", ["\147\x61\164\x65\167\x61\x79\x73"=> $f68ca3a8437b6cef, "\x70\141\x79\147\x6f\154"=> $A6a88ef8afbe5f3c, "\147\x61\x74\145\x77\x61\171\137\160\141\171\x67\x6f\154"=> $b759a0aae459f787]);
goto C374cbf9811efff7;
B66f3c271127b466: goto F3480d526b874afc;
goto bc7aa3328b811b25;
d140a77810d76827: $A6a88ef8afbe5f3c=0;
goto a755edd18d532601;
f6d528ffc89628fe: if (strpos($f68ca3a8437b6cef, "\x70\141\171\x67\x6f\x6c")) {
goto A521bb7a998d3d95;
}
goto fcddf6c36360d4f5;
a755edd18d532601: if (count($f68ca3a8437b6cef)==0) {
goto a3a3222cb6080dd6;
}
goto f6d528ffc89628fe;
F1d004fbace1fc42: $f68ca3a8437b6cef=="\156\157\x6e\x65";
goto da68456832bd1b2d;
Cc3f1cc775a0170a: $f68ca3a8437b6cef=DB::table("\147\x61\164\145\x77\x61\x79\163")->get();
goto d140a77810d76827;
E0464795582a17bb: a3a3222cb6080dd6: goto F1d004fbace1fc42;
F4c1fd3549dca27a: b4ebe248588a1c06: goto e1a9627f8287a3d9;
e1a9627f8287a3d9:
}
public function paygol_store() {
goto E0c304bf373a421d;
f09ad2ceed27bbcf: $C5f2eb044dfec685=$_REQUEST["\155\x61\170\137\x62\141\163\x6b\x65\164"];
goto feb51ca0f29bdba9;
caebeb6e311a6537: $cc309c9110920b52=$_REQUEST["\160\162\x69\x76\x61\164\145\137\x6b\x65\171"];
goto f9baa9d778eba15a;
B9e29daa39e573c0: DB: : table("\147\141\164\x65\167\141\171\x73")->insert(["\x65\x6d\141\151\154"=> "\156\x6f\x6e\x65", "\147\141\164\145\x77\141\x79"=> "\160\141\x79\x67\157\x6c", "\145\x6e\x61\142\x6c\x65\144"=> 1, "\x61\x70\x69"=> "\x6e\157\x6e\x65", "\160\x72\151\166\x61\x74\x65\137\153\x65\x79"=> $cc309c9110920b52, "\x6e\141\155\145"=> "\x6e\x6f\x6e\145", "\155\x69\x6e\137\142\x61\163\153\x65\x74"=> $Bc38738ef7892f87, "\155\x61\170\137\142\x61\x73\153\x65\164"=> $C5f2eb044dfec685, "\160\x65\162\x63\145\x6e\164\x61\147\x65"=> $ad0a4dc015f0910c, "\141\x6d\157\x75\x6e\x74"=> $C416d5dc98d5bb4b, "\x73\145\162\166\x69\143\x65\x5f\151\x64"=> $b4135c96f1181f40]);
goto Ca0a250de0abe388;
feb51ca0f29bdba9: $ad0a4dc015f0910c=$_REQUEST["\x70\145\x72\143\x65\156\164\x61\x67\145\x5f\147\141\x74\145\167\x61\171"];
goto A5cbdf8652ef2b0b;
E0c304bf373a421d: $b4135c96f1181f40=$_REQUEST["\x73\x65\x72\166\x69\143\x65\x5f\x69\144"];
goto caebeb6e311a6537;
Ca0a250de0abe388: return redirect(route("\141\x64\155\x69\156\x2e\x62\151\x6c\154\151\x6e\x67\56\x70\141\171\157\160\x74\151\157\156\163"));
goto Df445c012668a0aa;
f9baa9d778eba15a: $Bc38738ef7892f87=$_REQUEST["\155\x69\x6e\x5f\142\x61\x73\x6b\145\164"];
goto f09ad2ceed27bbcf;
A5cbdf8652ef2b0b: $C416d5dc98d5bb4b=$_REQUEST["\x61\x6d\157\165\x6e\x74\x5f\x67\x61\x74\x65\x77\141\x79"];
goto B9e29daa39e573c0;
Df445c012668a0aa:
}
public function paygol_edit() {
goto eec0755e5e781f4c;
A2effecd95b3f347: $Bc38738ef7892f87=$_REQUEST["\155\x69\156\137\x62\141\163\153\145\x74"];
goto A82bfcd4926eb50a;
eec0755e5e781f4c: $b4135c96f1181f40=$_REQUEST["\x73\x65\x72\166\x69\x63\x65\137\x69\144"];
goto ed147a53fc74c8d4;
A82bfcd4926eb50a: $C5f2eb044dfec685=$_REQUEST["\x6d\141\x78\137\x62\141\x73\x6b\x65\x74"];
goto ca724c10b8077037;
Ba3e6d4beb9c5bad: DB: : table("\147\141\x74\145\x77\141\171\x73")->where("\x67\x61\x74\145\x77\141\x79", "\x3d", "\160\141\171\x67\157\x6c")->update(["\145\x6d\x61\151\154"=> "\x6e\157\156\145", "\x67\141\x74\x65\167\x61\171"=> "\x70\141\x79\147\x6f\154", "\x61\160\x69"=> "\x6e\157\x6e\145", "\160\x72\151\166\141\164\145\x5f\153\145\x79"=> $cc309c9110920b52, "\x6e\141\155\x65"=> "\x6e\157\x6e\x65", "\155\x69\156\137\x62\x61\x73\x6b\145\164"=> $Bc38738ef7892f87, "\x6d\x61\170\137\x62\141\163\x6b\145\x74"=> $C5f2eb044dfec685, "\160\145\162\x63\x65\156\x74\x61\x67\x65"=> $ad0a4dc015f0910c, "\141\155\x6f\165\x6e\164"=> $C416d5dc98d5bb4b, "\x73\x65\162\166\x69\143\145\137\151\144"=> $b4135c96f1181f40]);
goto e5c80fd900404dac;
ed147a53fc74c8d4: $cc309c9110920b52=$_REQUEST["\160\162\151\166\x61\164\x65\x5f\x6b\x65\x79"];
goto A2effecd95b3f347;
E2296232731e4169: $C416d5dc98d5bb4b=$_REQUEST["\x61\x6d\x6f\165\156\164\137\x67\x61\x74\x65\167\x61\x79"];
goto Ba3e6d4beb9c5bad;
e5c80fd900404dac: return redirect(route("\141\x64\155\x69\156\x2e\x62\x69\154\154\151\x6e\147\x2e\160\x61\x79\x6f\160\164\151\157\x6e\x73"));
goto Ece3b7ca896f422a;
ca724c10b8077037: $ad0a4dc015f0910c=$_REQUEST["\x70\145\x72\x63\x65\x6e\164\141\147\145\x5f\147\x61\x74\x65\167\x61\171"];
goto E2296232731e4169;
Ece3b7ca896f422a:
}
public function paygol_activate() {
DB: : table("\x67\x61\x74\x65\167\141\171\x73")->where("\x67\141\164\x65\167\141\x79", "\x3d", "\x70\x61\171\x67\157\x6c")->update(["\145\x6e\x61\142\154\x65\144"=> 1]);
return redirect(route("\141\144\x6d\x69\x6e\x2e\x62\151\x6c\x6c\151\156\x67\56\160\x61\171\157\160\164\x69\157\156\x73"));
}
public function paygol_deactivate() {
DB: : table("\x67\141\164\145\x77\141\x79\x73")->where("\x67\x61\x74\x65\x77\x61\x79", "\75", "\x70\x61\x79\x67\x6f\x6c")->update(["\x65\156\x61\x62\x6c\x65\x64"=> 0]);
return redirect(route("\x61\x64\x6d\x69\x6e\x2e\142\151\154\x6c\x69\x6e\147\x2e\160\x61\x79\x6f\x70\164\151\157\156\x73"));
}
public function paygol_delete() {
DB: : table("\147\x61\164\145\167\x61\x79\163")->where("\147\x61\164\145\x77\x61\171", "\x3d", "\x70\x61\x79\x67\x6f\154")->delete();
return redirect(route("\141\144\155\151\156\x2e\x62\x69\154\154\151\156\x67\56\x70\141\x79\157\160\x74\151\x6f\156\x73"));
}
public function mollie(): View {
goto cfb3c60fd710ecec;
d423b5d7fff20647: goto d4da64b7478c4406;
goto e4cf328bdf945842;
a7f530f5e1925bc0: B56fec3be9b83f2f: goto d423b5d7fff20647;
cc475f5303ea7337: return view("\141\x64\x6d\x69\x6e\56\x62\x69\154\154\x69\156\x67\56\147\x61\x74\145\x77\141\x79\163\x2e\x6d\x6f\154\x6c\151\145", ["\147\x61\x74\x65\167\141\171\x73"=> $f68ca3a8437b6cef, "\155\157\154\154\151\145"=> $C7a082a79e63a37a, "\x67\141\x74\145\x77\x61\x79\x5f\x6d\x6f\154\x6c\151\145"=> $dba676f4e7e0c122]);
goto a7f530f5e1925bc0;
c2fde402f6d235ca: $C7a082a79e63a37a=1;
goto Fa86343d954edef7;
d902b39dec3d2b90: $C7a082a79e63a37a=0;
goto E1866d4a104f6756;
e8b2a022768c20da: return view("\141\x64\x6d\x69\156\56\x62\151\154\x6c\x69\x6e\x67\56\x67\141\164\x65\167\x61\171\163\56\155\157\x6c\154\151\145", ["\x67\141\x74\x65\167\141\171\x73"=> $f68ca3a8437b6cef, "\x6d\157\x6c\x6c\x69\145"=> $C7a082a79e63a37a, "\147\x61\164\145\167\141\x79\137\155\157\x6c\154\x69\145"=> "\x6e\x6f\x6e\x65"]);
goto c01614ef5a5b1bac;
c01614ef5a5b1bac: d4da64b7478c4406: goto C0ce870910cf5837;
Ee661f4e4d73c618: return view("\141\144\x6d\x69\156\56\x62\151\154\x6c\x69\x6e\147\x2e\x67\141\x74\145\x77\x61\171\163\x2e\155\x6f\154\x6c\151\145", ["\x67\141\x74\145\167\141\x79\x73"=> $f68ca3a8437b6cef, "\155\x6f\x6c\x6c\x69\145"=> $C7a082a79e63a37a, "\x67\x61\x74\x65\167\x61\171\137\155\157\x6c\154\151\x65"=> "\156\157\x6e\145"]);
goto C8bb33f5e6fbb6f0;
E1866d4a104f6756: if (count($f68ca3a8437b6cef)==0) {
goto Ff1cec9aa792ec92;
}
goto Eb7ad1391b1e22cc;
Fa86343d954edef7: $dba676f4e7e0c122=DB::table("\x67\x61\x74\x65\x77\141\171\x73")->where("\147\x61\x74\x65\167\141\171", "\x3d", "\155\x6f\x6c\154\x69\x65")->get();
goto cc475f5303ea7337;
Eb7ad1391b1e22cc: if (strpos($f68ca3a8437b6cef, "\155\157\x6c\x6c\151\145")) {
goto aafc38dc954199d8;
}
goto Ee661f4e4d73c618;
cfb3c60fd710ecec: $f68ca3a8437b6cef=DB::table("\x67\141\164\x65\x77\141\171\163")->get();
goto d902b39dec3d2b90;
e011fa8b787d7b05: $f68ca3a8437b6cef=="\156\x6f\x6e\145";
goto e8b2a022768c20da;
C8bb33f5e6fbb6f0: goto B56fec3be9b83f2f;
goto Cfb44131ff5bf400;
Cfb44131ff5bf400: aafc38dc954199d8: goto c2fde402f6d235ca;
e4cf328bdf945842: Ff1cec9aa792ec92: goto e011fa8b787d7b05;
C0ce870910cf5837:
}
public function mollie_store() {
goto f6bc9ca0f3e1c670;
Aca8bbb1b8bb443f: $ad0a4dc015f0910c=$_REQUEST["\x70\145\162\143\x65\156\x74\x61\x67\x65\137\x67\x61\164\x65\167\141\x79"];
goto d94ab649fc623508;
Dee359b4ddde2f4e: return redirect(route("\x61\x64\155\151\156\56\142\x69\154\x6c\151\x6e\147\x2e\x70\x61\171\157\x70\x74\x69\x6f\156\163"));
goto D555033507f7f366;
d94ab649fc623508: $C416d5dc98d5bb4b=$_REQUEST["\x61\x6d\x6f\x75\156\164\137\x67\141\x74\145\167\141\x79"];
goto Bbaa077044519ead;
c63d70bedaae4dc2: $C5f2eb044dfec685=$_REQUEST["\155\141\170\x5f\142\x61\x73\153\145\164"];
goto Aca8bbb1b8bb443f;
Bbaa077044519ead: DB: : table("\147\141\164\x65\x77\141\171\x73")->insert(["\x65\x6d\141\x69\x6c"=> "\156\157\156\x65", "\x67\141\x74\x65\x77\x61\171"=> "\155\x6f\x6c\154\x69\145", "\141\x70\151"=> $Beece66176d354c7, "\x70\162\x69\166\x61\164\x65\137\153\145\x79"=> "\156\x6f\x6e\x65", "\156\x61\x6d\145"=> "\156\x6f\156\145", "\x6d\151\156\x5f\142\x61\163\x6b\x65\164"=> $Bc38738ef7892f87, "\x6d\x61\x78\137\142\x61\x73\x6b\x65\x74"=> $C5f2eb044dfec685, "\x70\x65\162\143\145\156\x74\141\147\145"=> $ad0a4dc015f0910c, "\x61\x6d\x6f\x75\156\164"=> $C416d5dc98d5bb4b, "\163\145\162\166\x69\143\145\x5f\151\144"=> "\x6e\x6f\x6e\x65"]);
goto Dee359b4ddde2f4e;
Fc92b8ff40717070: $Beece66176d354c7=$_REQUEST["\x61\160\151\x5f\153\x65\x79"];
goto c63d70bedaae4dc2;
f6bc9ca0f3e1c670: $Bc38738ef7892f87=$_REQUEST["\155\x69\x6e\x5f\x62\x61\163\x6b\x65\x74"];
goto Fc92b8ff40717070;
D555033507f7f366:
}
public function mollie_edit() {
goto C1c5ce77b3b105f2;
c55326e54b6d7a42: $C416d5dc98d5bb4b=$_REQUEST["\141\155\x6f\x75\x6e\164\x5f\x67\141\x74\145\167\141\x79"];
goto D408fe3f4725aedc;
Ea1c22417ce48aa2: $C5f2eb044dfec685=$_REQUEST["\155\x61\x78\x5f\142\141\x73\153\x65\164"];
goto Dabf07e8de347043;
b9fd6dcf11af281b: return redirect(route("\141\x64\x6d\x69\x6e\x2e\x62\x69\x6c\154\151\x6e\147\x2e\160\141\x79\157\160\x74\151\157\156\x73"));
goto ca9ce82109398c6a;
ee366fd7b63f62ce: $Beece66176d354c7=$_REQUEST["\141\x70\x69\137\153\145\171"];
goto Ea1c22417ce48aa2;
Dabf07e8de347043: $ad0a4dc015f0910c=$_REQUEST["\x70\x65\x72\143\145\156\164\x61\147\x65\x5f\147\x61\x74\x65\x77\x61\x79"];
goto c55326e54b6d7a42;
D408fe3f4725aedc: DB: : table("\x67\x61\x74\145\x77\141\171\163")->where("\147\141\164\145\x77\141\x79", "\x3d", "\x6d\x6f\x6c\x6c\151\145")->update(["\145\x6d\x61\151\x6c"=> "\156\157\156\x65", "\147\x61\x74\x65\167\x61\x79"=> "\x6d\x6f\x6c\x6c\151\145", "\145\156\x61\x62\x6c\145\x64"=> 1, "\x61\x70\151"=> $Beece66176d354c7, "\x70\x72\x69\x76\141\164\x65\x5f\x6b\x65\171"=> "\x6e\157\156\145", "\156\141\x6d\x65"=> "\x6e\x6f\x6e\145", "\155\x69\156\137\x62\141\163\153\x65\164"=> $Bc38738ef7892f87, "\x6d\x61\170\x5f\x62\x61\x73\x6b\x65\164"=> $C5f2eb044dfec685, "\x70\145\162\x63\x65\156\x74\x61\x67\x65"=> $ad0a4dc015f0910c, "\141\x6d\x6f\x75\x6e\164"=> $C416d5dc98d5bb4b, "\163\145\162\x76\x69\x63\x65\137\151\x64"=> "\156\x6f\156\145"]);
goto b9fd6dcf11af281b;
C1c5ce77b3b105f2: $Bc38738ef7892f87=$_REQUEST["\155\151\x6e\x5f\142\141\x73\x6b\145\164"];
goto ee366fd7b63f62ce;
ca9ce82109398c6a:
}
public function mollie_activate() {
DB: : table("\147\141\164\x65\167\x61\x79\x73")->where("\x67\141\x74\x65\167\141\x79", "\75", "\155\157\154\154\x69\145")->update(["\x65\156\141\x62\154\145\144"=> 1]);
return redirect(route("\141\x64\155\151\156\56\x62\x69\x6c\154\151\x6e\x67\x2e\x70\141\x79\x6f\x70\164\x69\x6f\156\x73"));
}
public function mollie_deactivate() {
DB: : table("\147\x61\x74\145\167\141\x79\163")->where("\147\x61\164\145\x77\x61\171", "\75", "\x6d\x6f\154\154\151\x65")->update(["\145\x6e\x61\x62\154\x65\x64"=> 0]);
return redirect(route("\x61\144\155\151\x6e\56\x62\x69\154\x6c\151\x6e\147\x2e\160\x61\x79\x6f\x70\164\151\x6f\x6e\x73"));
}
public function mollie_delete() {
DB: : table("\147\x61\164\145\x77\141\171\x73")->where("\x67\141\164\145\x77\x61\x79", "\x3d", "\155\157\x6c\x6c\151\x65")->delete();
return redirect(route("\141\x64\155\x69\156\56\x62\151\x6c\x6c\x69\x6e\147\56\x70\141\x79\x6f\x70\164\x69\157\156\163"));
}
public function products_new(): View {
goto F646b821405a4e3f;
B6d0ca552c7d1494: return view("\141\x64\x6d\x69\156\56\142\x69\x6c\154\x69\x6e\147\56\x70\x72\x6f\144\165\x63\164\x73\56\x6e\145\x77", ["\156\145\x73\x74\x73"=> $D7ef0db9d1eb535b, "\145\x67\x67\163"=> $B2fea9b82f5c2e5b, "\x6e\x6f\144\x65\163"=> $C8c3d7e668151c41, "\143\141\x74\145\x67\x6f\162\x69\145\x73"=> $Aa2f907d2fdf4e6d]);
goto a16221b8dd7715a0;
ff5ac18be9768ded: $Aa2f907d2fdf4e6d=DB: : select("\x73\x65\x6c\145\x63\164\40\52\40\x66\x72\x6f\155\x20\143\141\x74\145\x67\x6f\x72\x69\x65\x73");
goto B6d0ca552c7d1494;
B558e37e9e11db65: $C8c3d7e668151c41=DB: : select("\x73\145\x6c\x65\x63\164\x20\52\x20\x66\x72\x6f\155\40\x6e\x6f\144\145\x73");
goto d8ae489ab7d2ae5a;
d8ae489ab7d2ae5a: $B2fea9b82f5c2e5b=DB: : select("\163\145\x6c\145\x63\x74\x20\52\x20\146\x72\157\155\40\145\147\147\163");
goto ff5ac18be9768ded;
F646b821405a4e3f: $D7ef0db9d1eb535b=DB: : select("\163\x65\x6c\x65\x63\x74\x20\x2a\x20\x66\162\157\x6d\x20\x6e\145\163\164\x73");
goto B558e37e9e11db65;
a16221b8dd7715a0:
}
public function products_store() {
goto a633165161d7004a;
Faec6beb85362ba9: return redirect(route("\141\144\x6d\151\x6e\x2e\x62\x69\154\154\151\x6e\147\56\160\x72\157\x64\165\x63\x74\163"));
goto E696e76b3403786d;
c38a1cfda3baf6ba: $D120ac18a3053022=$_REQUEST["\x64\x65\163\143\162\x69\x70\x74\151\x6f\x6e"];
goto a8efcf04a31de544;
C10048e52c8351a7: $Ddd077d69779f348=$_REQUEST["\144\151\163\153"];
goto A7b7f5ac2f7ec580;
Eccc1b3beffd2cde: $Caa6c4c97c79d48d=DB: : select("\163\145\x6c\x65\143\x74\x20\x2a\x20\x66\x72\x6f\x6d\x20\160\162\x6f\144\x75\x63\x74\163");
goto Faec6beb85362ba9;
f2f614d2914918e0: $Bb85f576e128d6e3=$_REQUEST["\x65\x67\x67\137\151\x64"];
goto D06bc0e7a4c4ccc4;
a8efcf04a31de544: $F2db12d3166993f2=$_REQUEST["\166\x69\x73\x69\142\x6c\x65"];
goto Dc3023cde1834c1a;
D9725e7d4b853c89: $cb2e16214ddc9c0b=$_REQUEST["\x61\x6c\154\157\143\x61\x74\151\x6f\x6e\137\x6c\151\x6d\151\x74"];
goto F4c93f8a08cd49a8;
a633165161d7004a: $bd408da246d679a9=$_REQUEST["\156\141\x6d\145"];
goto Ff272f1317cc9c67;
beb8fbde6b7e13fb: $ca4fa0abc166d755=$_REQUEST["\151\x6f"];
goto C10048e52c8351a7;
dd8f436a16c1baca: $Eb7f30e4d68da954=$_REQUEST["\x63\160\x75"];
goto beb8fbde6b7e13fb;
A7b7f5ac2f7ec580: $B830491a34a9a66f=$_REQUEST["\x64\141\164\141\142\x61\163\145\x5f\154\x69\155\x69\164"];
goto D9725e7d4b853c89;
F4c93f8a08cd49a8: DB: : table("\160\x72\x6f\144\165\x63\164\163")->insert(["\156\x61\x6d\145"=> $bd408da246d679a9, "\160\162\151\x63\x65"=> $Eb70a199ab51c6f3, "\x64\145\x73\x63\162\151\160\x74\x69\157\x6e"=> $D120ac18a3053022, "\143\x61\x74\145\x67\x6f\162\171"=> $c303a5bcaf2f10a4, "\145\x67\147\137\x69\144"=> $Bb85f576e128d6e3, "\x76\x69\163\151\142\x6c\145"=> $F2db12d3166993f2, "\x6e\x6f\144\145\137\x69\144"=> $A62d4074bbb652b7, "\155\145\x6d\157\162\x79"=> $Afb5c2108c94bccf, "\143\160\165"=> $Eb7f30e4d68da954, "\x69\x6f"=> $ca4fa0abc166d755, "\144\151\163\153"=> $Ddd077d69779f348, "\144\x61\164\141\142\x61\163\145\x5f\x6c\151\x6d\x69\x74"=> $B830491a34a9a66f, "\141\x6c\x6c\x6f\143\141\x74\151\157\156\x5f\x6c\x69\155\151\x74"=> $cb2e16214ddc9c0b]);
goto Eccc1b3beffd2cde;
Ff272f1317cc9c67: $Eb70a199ab51c6f3=$_REQUEST["\x70\162\x69\x63\x65"];
goto c38a1cfda3baf6ba;
e0d58726a89a0c78: $Afb5c2108c94bccf=$_REQUEST["\x6d\x65\155\x6f\x72\x79"];
goto dd8f436a16c1baca;
D06bc0e7a4c4ccc4: $A62d4074bbb652b7=$_REQUEST["\x6e\157\144\x65\x5f\151\144"];
goto e0d58726a89a0c78;
Dc3023cde1834c1a: $c303a5bcaf2f10a4=$_REQUEST["\x63\x61\x74\145\147\157\162\x79"];
goto f2f614d2914918e0;
E696e76b3403786d:
}
public function products_edit($f9c3163cd41a43ae) {
goto Ba76c187892a60cb;
c4b6fadf016631c0: return view("\x61\144\x6d\x69\156\56\142\x69\154\154\151\156\x67\x2e\x70\162\x6f\x64\165\143\164\163\x2e\x65\x64\x69\164", ["\160\x72\157\x64\x75\143\x74\x73"=> $Caa6c4c97c79d48d, "\x65\x67\x67\x73"=> $B2fea9b82f5c2e5b, "\156\157\144\x65\163"=> $C8c3d7e668151c41, "\143\141\164\145\147\x6f\162\151\145\163"=> $Aa2f907d2fdf4e6d]);
goto Dc98504c61efd652;
e8955ce56f0085c4: Ae7b99dcd074f87a: goto A9fffdde70762dd7;
d49b3bb9cd470983: D97bd4e78d09649a: goto c1dd11bfc274b967;
Dc98504c61efd652: goto Ae7b99dcd074f87a;
goto d49b3bb9cd470983;
Ba76c187892a60cb: $Caa6c4c97c79d48d=DB: : table("\x70\162\x6f\x64\165\143\x74\x73")->where("\x69\144", "\75", $f9c3163cd41a43ae)->get();
goto cce9892a7c7206f8;
cce9892a7c7206f8: $B2fea9b82f5c2e5b=DB: : table("\145\x67\x67\x73")->get();
goto A557185b63788163;
A557185b63788163: $C8c3d7e668151c41=DB: : table("\x6e\157\144\x65\x73")->get();
goto B8d66b2249a3085f;
c1dd11bfc274b967: abort(404);
goto e8955ce56f0085c4;
Af5e5528d766035c: if (count($Caa6c4c97c79d48d)==0) {
goto D97bd4e78d09649a;
}
goto c4b6fadf016631c0;
B8d66b2249a3085f: $Aa2f907d2fdf4e6d=DB::table("\143\x61\x74\x65\147\157\162\x69\x65\163")->get();
goto Af5e5528d766035c;
A9fffdde70762dd7:
}
public function products_edit_store($f9c3163cd41a43ae) {
goto Abfd67a09510bd8a;
F1823fe25095a5c1: $Bb85f576e128d6e3=$_REQUEST["\x65\x67\147\137\151\144"];
goto F22b1e2eedec4887;
A5038c9f0370531f: $B830491a34a9a66f=$_REQUEST["\144\141\164\141\142\141\163\145\x5f\x6c\151\155\151\164"];
goto C4d5bc27336f6a2b;
C4d5bc27336f6a2b: $cb2e16214ddc9c0b=$_REQUEST["\x61\154\154\157\x63\x61\x74\x69\157\x6e\x5f\x6c\151\x6d\151\164"];
goto cd9edafb9ee86cd6;
E874d2cd7682eca6: $Ddd077d69779f348=$_REQUEST["\x64\x69\x73\x6b"];
goto A5038c9f0370531f;
Bba6d6aad39d6b92: $Eb70a199ab51c6f3=$_REQUEST["\x70\162\x69\x63\x65"];
goto C057a182f442cd9f;
Abfd67a09510bd8a: $bd408da246d679a9=$_REQUEST["\x6e\141\155\145"];
goto Bba6d6aad39d6b92;
e2d2d3099fc91db1: return redirect(route("\x61\x64\x6d\x69\x6e\56\142\151\154\x6c\x69\156\147\56\160\162\x6f\144\165\x63\x74\163"));
goto b73043e583c89acc;
E6595b7136375ab6: $Eb7f30e4d68da954=$_REQUEST["\143\x70\165"];
goto c3e017f6c5667bc1;
C057a182f442cd9f: $D120ac18a3053022=$_REQUEST["\x64\145\163\x63\162\151\x70\164\151\157\156"];
goto cc9002a66a5356a7;
a6858e73c19d396a: $Afb5c2108c94bccf=$_REQUEST["\x6d\145\x6d\x6f\162\x79"];
goto E6595b7136375ab6;
cd9edafb9ee86cd6: $Caa6c4c97c79d48d=DB: : table("\160\162\x6f\144\165\143\x74\x73")->where("\151\144", "\x3d", $f9c3163cd41a43ae)->update(["\x6e\141\155\x65"=> $bd408da246d679a9, "\160\x72\151\x63\145"=> $Eb70a199ab51c6f3, "\x64\x65\x73\143\162\x69\160\164\x69\x6f\156"=> $D120ac18a3053022, "\143\x61\x74\145\147\x6f\x72\171"=> $c303a5bcaf2f10a4, "\x65\147\x67\x5f\x69\144"=> $Bb85f576e128d6e3, "\x76\151\x73\x69\x62\x6c\x65"=> $F2db12d3166993f2, "\156\x6f\144\145\137\x69\x64"=> $A62d4074bbb652b7, "\155\x65\x6d\157\162\x79"=> $Afb5c2108c94bccf, "\x63\160\x75"=> $Eb7f30e4d68da954, "\x69\x6f"=> $ca4fa0abc166d755, "\x64\151\163\x6b"=> $Ddd077d69779f348, "\144\x61\164\x61\x62\x61\x73\x65\x5f\154\151\155\x69\164"=> $B830491a34a9a66f, "\x61\154\154\157\143\x61\164\x69\x6f\156\x5f\154\151\x6d\151\x74"=> $cb2e16214ddc9c0b]);
goto e2d2d3099fc91db1;
cc9002a66a5356a7: $F2db12d3166993f2=$_REQUEST["\x76\x69\163\x69\142\154\145"];
goto b54167aab0c3aa10;
c3e017f6c5667bc1: $ca4fa0abc166d755=$_REQUEST["\151\x6f"];
goto E874d2cd7682eca6;
F22b1e2eedec4887: $A62d4074bbb652b7=$_REQUEST["\x6e\157\144\x65\137\x69\144"];
goto a6858e73c19d396a;
b54167aab0c3aa10: $c303a5bcaf2f10a4=$_REQUEST["\143\141\x74\x65\147\157\x72\171"];
goto F1823fe25095a5c1;
b73043e583c89acc:
}
public function promotional_codes() {
$ca04532af910f720=DB: : table("\160\x72\x6f\155\157\x74\151\x6f\156\141\154\137\x63\x6f\x64\x65\163")->get();
return view("\141\x64\155\151\156\x2e\142\x69\x6c\x6c\x69\156\x67\56\x70\162\x6f\155\157\x74\151\157\x6e\141\x6c\x2d\x63\157\x64\145\x73\56\151\x6e\144\145\x78", ["\160\x72\x6f\155\157\164\x69\157\x6e\141\154\x5f\143\157\x64\145\x73"=> $ca04532af910f720]);
}
public function promotional_codes_new_post(Request $cf96453270734230) {
goto bb12b777ec5c9305;
bb12b777ec5c9305: $cf96453270734230->validate(["\143\157\144\x65"=> "\162\145\161\165\151\162\x65\144", "\x61\155\x6f\x75\156\x74"=> "\162\145\x71\x75\x69\x72\x65\x64\x7c\142\145\164\x77\x65\145\156\x3a\60\54\71\x39\x2e\71\71", "\160\145\x72\x63\x65\156\164\141\x67\145"=> "\162\145\x71\x75\151\162\145\144\174\142\145\x74\x77\145\145\x6e\x3a\x30\x2c\x39\x39\56\x39\x39", "\155\x69\x6e\137\x61\x6d\157\x75\156\164"=> "\162\145\x71\x75\x69\162\145\144\x7c\142\x65\164\167\x65\x65\156\x3a\60\54\71\71\56\71\x39", "\155\141\170\137\141\155\157\165\x6e\164"=> "\x72\x65\161\165\x69\162\145\x64\174\142\x65\x74\167\145\145\156\72\x30\x2c\71\x39\x2e\x39\x39"]);
goto d25001c3cc17ea4e;
d6902f13609cc0a7: goto a04a89d6965bac3d;
goto f1c36c1b3df0da99;
d25001c3cc17ea4e: if ($cf96453270734230->lasts_till==null) {
goto a039bcff0e6e1dca;
}
goto e3a5de08aa94ee82;
a0b25486c7e52934: a04a89d6965bac3d: goto ef696a391b8afc1b;
e3a5de08aa94ee82: DB::table("\160\x72\157\x6d\157\164\151\157\x6e\141\154\137\x63\157\144\x65\x73")->insert(["\143\x6f\144\x65"=> $cf96453270734230->code, "\x61\155\x6f\165\156\x74"=> $cf96453270734230->amount, "\x70\x65\162\x63\x65\x6e\x74\141\147\145"=> $cf96453270734230->percentage, "\x6d\151\156\137\x62\141\x73\x6b\x65\x74"=> $cf96453270734230->min_amount, "\155\x61\170\x5f\x62\141\x73\x6b\145\164"=> $cf96453270734230->max_amount, "\154\x61\163\x74\x73\137\x74\151\x6c\154"=> $cf96453270734230->lasts_till]);
goto d6902f13609cc0a7;
Cb2a0f92228b5fe7: DB::table("\x70\x72\x6f\x6d\x6f\x74\151\x6f\x6e\x61\154\x5f\143\x6f\x64\145\x73")->insert(["\x63\x6f\144\145"=> $cf96453270734230->code, "\x61\155\157\165\x6e\x74"=> $cf96453270734230->amount, "\160\145\x72\x63\145\x6e\164\141\x67\x65"=> $cf96453270734230->percentage, "\155\151\x6e\x5f\142\141\x73\153\145\164"=> $cf96453270734230->min_amount, "\155\141\x78\x5f\142\141\163\153\145\164"=> $cf96453270734230->max_amount, "\154\141\163\164\163\137\x74\x69\x6c\x6c"=> "\62\60\x31\x38\x2d\x30\x34\x2d\60\63\40\x31\62\72\62\x38\x3a\x33\x38"]);
goto a0b25486c7e52934;
ef696a391b8afc1b: return redirect(route("\141\144\x6d\151\x6e\x2e\x62\151\x6c\x6c\151\156\x67\56\x70\162\157\155\x6f\x74\151\157\156\141\154\x2d\143\157\x64\145\x73"));
goto f81b3e61156ab333;
f1c36c1b3df0da99: a039bcff0e6e1dca: goto Cb2a0f92228b5fe7;
f81b3e61156ab333:
}
public function promotional_codes_new() {
return view("\x61\x64\155\x69\x6e\x2e\142\x69\x6c\x6c\x69\156\x67\56\x70\162\157\155\157\x74\x69\x6f\x6e\x61\x6c\x2d\x63\157\x64\145\163\x2e\x6e\x65\x77");
}
public function promotional_codes_delete($Ef93eb3d7b4423dd) {
$Ef93eb3d7b4423dd=DB: : table("\160\x72\157\155\157\x74\151\157\x6e\x61\154\x5f\143\157\x64\x65\163")->where("\151\144", "\x3d", $Ef93eb3d7b4423dd)->delete();
return redirect(route("\141\144\155\x69\156\x2e\x62\151\154\154\151\x6e\x67\x2e\x70\162\x6f\x6d\157\x74\x69\x6f\x6e\141\x6c\x2d\x63\157\x64\x65\163"));
}
}
Function Calls
None |
Stats
MD5 | ea42bfa50b51e0983fbefaf812506185 |
Eval Count | 0 |
Decode Time | 152 ms |