From 47afb157f7a6b2d949bc3625a4bce435615456bb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 6 Sep 2025 11:07:40 +0000 Subject: [PATCH 1/2] Initial plan From 290fbd22189c215f4b462167c6bb66f7a98eebbe Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 6 Sep 2025 11:12:58 +0000 Subject: [PATCH 2/2] Move PHP files from _website to modules/billing with unique website_ prefix Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com> --- .../billing/website_adminserverlist.php | 0 _website/ai.php => modules/billing/website_ai.php | 0 _website/cart.php => modules/billing/website_cart.php | 2 +- _website/db.php => modules/billing/website_db.php | 0 _website/index.php => modules/billing/website_index.php | 0 _website/order.php => modules/billing/website_order.php | 2 +- .../serverlist.php => modules/billing/website_serverlist.php | 2 +- 7 files changed, 3 insertions(+), 3 deletions(-) rename _website/adminserverlist.php => modules/billing/website_adminserverlist.php (100%) rename _website/ai.php => modules/billing/website_ai.php (100%) rename _website/cart.php => modules/billing/website_cart.php (99%) rename _website/db.php => modules/billing/website_db.php (100%) rename _website/index.php => modules/billing/website_index.php (100%) rename _website/order.php => modules/billing/website_order.php (99%) rename _website/serverlist.php => modules/billing/website_serverlist.php (99%) diff --git a/_website/adminserverlist.php b/modules/billing/website_adminserverlist.php similarity index 100% rename from _website/adminserverlist.php rename to modules/billing/website_adminserverlist.php diff --git a/_website/ai.php b/modules/billing/website_ai.php similarity index 100% rename from _website/ai.php rename to modules/billing/website_ai.php diff --git a/_website/cart.php b/modules/billing/website_cart.php similarity index 99% rename from _website/cart.php rename to modules/billing/website_cart.php index 5e4c5c9a..b247acb8 100644 --- a/_website/cart.php +++ b/modules/billing/website_cart.php @@ -4,7 +4,7 @@ ini_set('display_startup_errors', 1); error_reporting(E_ALL); global $db, $view, $settings; -include "panel/_db.php"; +include "website_db.php"; $user_id=$_SESSION['user_id'] ?? 0; diff --git a/_website/db.php b/modules/billing/website_db.php similarity index 100% rename from _website/db.php rename to modules/billing/website_db.php diff --git a/_website/index.php b/modules/billing/website_index.php similarity index 100% rename from _website/index.php rename to modules/billing/website_index.php diff --git a/_website/order.php b/modules/billing/website_order.php similarity index 99% rename from _website/order.php rename to modules/billing/website_order.php index 9b132731..9ad0e61b 100644 --- a/_website/order.php +++ b/modules/billing/website_order.php @@ -11,7 +11,7 @@ In our website, we are setting "post" pages with a "Tag". The first tag in our p There are other methods that might be better to get the info. But all we need is the "service_ID" in the "ogp_billing_services" table This method means we can use one code block in every game page and fill in the data dynamically. */ -include "panel/_db.php"; +include "website_db.php"; if (isset($_POST['save']) AND !empty($_POST['description'])) diff --git a/_website/serverlist.php b/modules/billing/website_serverlist.php similarity index 99% rename from _website/serverlist.php rename to modules/billing/website_serverlist.php index 8e82ec2f..80b78fb4 100644 --- a/_website/serverlist.php +++ b/modules/billing/website_serverlist.php @@ -4,7 +4,7 @@ ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); -include "db.php"; +include "website_db.php"; // Save new description if admin