From 426b32b74798023232ba2840fff86e02552ca136 Mon Sep 17 00:00:00 2001 From: Frank Harris Date: Thu, 23 Oct 2025 19:25:29 -0400 Subject: [PATCH] Changes to be committed: modified: modules/billing/admin.php modified: modules/billing/cart.php modified: modules/billing/css/header.css renamed: modules/billing/includes/config.inc.php -> modules/billing/includes/config.inc.php.orig modified: modules/billing/includes/menu.php modified: modules/billing/order.php modified: modules/billing/privacy.php modified: modules/billing/serverlist.php modified: modules/billing/tos.php --- modules/billing/admin.php | 6 +- modules/billing/cart.php | 4 +- modules/billing/css/header.css | 33 +++--- .../{config.inc.php => config.inc.php.orig} | 2 +- modules/billing/includes/menu.php | 100 +++++++++--------- modules/billing/order.php | 24 +++-- modules/billing/privacy.php | 44 +++++++- modules/billing/serverlist.php | 14 ++- modules/billing/tos.php | 53 +++++++++- 9 files changed, 195 insertions(+), 85 deletions(-) rename modules/billing/includes/{config.inc.php => config.inc.php.orig} (97%) diff --git a/modules/billing/admin.php b/modules/billing/admin.php index 529fa897..0dadc653 100644 --- a/modules/billing/admin.php +++ b/modules/billing/admin.php @@ -22,9 +22,9 @@ function h($s){ return htmlspecialchars((string)$s, ENT_QUOTES, 'UTF-8'); }

Welcome to the admin area. From here you can manage servers, payments, and site settings.

- Manage Servers & Services - Invoice History - Edit Site Config + Manage Servers & Services + Invoice History + Edit Site Config

diff --git a/modules/billing/cart.php b/modules/billing/cart.php index 2dd9abb9..893e9523 100644 --- a/modules/billing/cart.php +++ b/modules/billing/cart.php @@ -322,11 +322,11 @@ if ($db){ // Use the previously resolved $is_admin (computed once above) $is_free = ((float)$row['price'] == 0.0); ?> - +
- +
Admin: force-create a paid record for testing.
diff --git a/modules/billing/css/header.css b/modules/billing/css/header.css index 1e90c970..35401f87 100644 --- a/modules/billing/css/header.css +++ b/modules/billing/css/header.css @@ -3,18 +3,20 @@ .gsw-top .gsw-site-name{font-weight:700;font-size:1.1rem;color:#333} @media(max-width:480px){.gsw-top{padding:10px}.gsw-top img{height:32px}.gsw-top .gsw-site-name{font-size:1rem}} -.gsw-header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:#0b3b6f;backdrop-filter:blur(6px);margin-bottom:18px;box-shadow:0 2px 6px rgba(0,0,0,0.18);} -.gsw-header-left{display:flex;align-items:center;font-weight:700;font-size:1.1rem;color:#fff;} -.gsw-logo{height:36px;width:auto;margin-right:10px;display:block} -.gsw-logo-link{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none} +.gsw-header{display:flex;flex-direction:column;align-items:stretch;padding:0;background:transparent;margin-bottom:18px;} +.gsw-header-top{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:#0b3b6f;backdrop-filter:blur(6px);box-shadow:0 2px 6px rgba(0,0,0,0.18);} +.gsw-header-left{display:flex;align-items:center;font-weight:700;font-size:1.4rem;color:#fff;padding-left:8px;} +.gsw-logo{height:48px;width:auto;margin-right:12px;display:block} +.gsw-logo-link{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none} .gsw-header-left a{color:#fff;text-decoration:none;} -.gsw-header-nav{display:flex;gap:18px;align-items:center;} -.gsw-nav-link{color:#fff;text-decoration:none;font-size:0.95rem;transition:opacity 0.2s;} -.gsw-nav-link:hover{opacity:0.85;text-decoration:underline;} -.gsw-header-right{display:flex;gap:12px;align-items:center;} -.gsw-user-info{color:#fff;font-size:0.95rem;} -.gsw-header-btn{padding:8px 16px;background:#fff;color:#0b3b6f;border-radius:6px;text-decoration:none;font-weight:600;transition:transform 0.2s;} -.gsw-header-btn:hover{transform:translateY(-2px);} +.gsw-header-bottom{display:flex;justify-content:center;padding:10px 20px;background:#0b3b6f;} +.gsw-header-nav{display:flex;gap:22px;align-items:center;} +.gsw-nav-link{color:#fff;text-decoration:none;font-size:0.98rem;transition:opacity 0.2s;padding:6px 8px;border-radius:6px;} +.gsw-nav-link:hover{opacity:0.9;text-decoration:underline;background:rgba(255,255,255,0.03);} +.gsw-header-right{display:flex;gap:12px;align-items:center;padding-right:8px;} +.gsw-user-info{color:#fff;font-size:0.95rem;margin-right:8px;} +.gsw-header-btn{padding:10px 18px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:8px;text-decoration:none;font-weight:700;transition:transform 0.2s;border:none;display:inline-block;} +.gsw-header-btn:hover{transform:translateY(-2px);} @media(max-width:768px){ .gsw-header{flex-direction:column;gap:12px;} .gsw-header-nav{flex-wrap:wrap;justify-content:center;} @@ -25,8 +27,8 @@ .gsw-banner img{max-width:100%;height:auto;display:inline-block} /* Footer styles */ -footer.gsw-footer{background:#000;color:#fff;padding:18px 12px;text-align:center;margin-top:28px} -footer.gsw-footer a{color:#4aa3ff;text-decoration:none} +footer.gsw-footer{background:#0b3b6f;color:#fff;padding:18px 12px;text-align:center;margin-top:28px} +footer.gsw-footer a{color:#cfe6ff;text-decoration:none} footer.gsw-footer a:hover{text-decoration:underline} /* Page color scheme: prefer dark text on light backgrounds by default */ @@ -56,7 +58,10 @@ input, textarea, select, button { color: #fff; background: #11141f; border: 1px .center{text-align:center} .pad-40{padding:40px} .btn-danger{background:#ef4444;color:#fff;border:none;padding:6px 10px;border-radius:6px} -.btn-primary{background:#06b6d4;color:#fff;border:none;padding:6px 10px;border-radius:6px} +.btn-primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;padding:8px 14px;border-radius:8px;font-weight:700} +.gsw-btn{display:inline-block;padding:12px 24px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:white;text-decoration:none;border-radius:8px;font-weight:600;transition:transform 0.2s;} +.gsw-btn:hover{transform:translateY(-2px)} +.gsw-btn-secondary{display:inline-block;padding:10px 16px;background:rgba(255,255,255,0.06);color:#fff;text-decoration:none;border-radius:8px;border:1px solid rgba(255,255,255,0.06);} .float-left{float:left} .clearfix::after{content:"";display:table;clear:both} .table-compact th,.table-compact td{padding:0.5rem} diff --git a/modules/billing/includes/config.inc.php b/modules/billing/includes/config.inc.php.orig similarity index 97% rename from modules/billing/includes/config.inc.php rename to modules/billing/includes/config.inc.php.orig index 3849a5aa..41a6df6b 100644 --- a/modules/billing/includes/config.inc.php +++ b/modules/billing/includes/config.inc.php.orig @@ -9,7 +9,7 @@ ############################################### $db_host="localhost"; $db_user="localuser"; -$db_pass="Pkloyn7yvpht!"; +$db_pass="password123"; $db_name="panel"; $table_prefix="ogp_"; $db_type="mysql"; diff --git a/modules/billing/includes/menu.php b/modules/billing/includes/menu.php index 59ac3db4..d3a369ab 100644 --- a/modules/billing/includes/menu.php +++ b/modules/billing/includes/menu.php @@ -58,58 +58,54 @@ if ($is_logged_in) {
-
- - - GameServers.World - +
+ +
+ + + + + + Logout + + Login + +
- - diff --git a/modules/billing/order.php b/modules/billing/order.php index 8c532427..9f169362 100644 --- a/modules/billing/order.php +++ b/modules/billing/order.php @@ -278,19 +278,25 @@ if ($row['price_monthly'] == 0.0) { - - - - - + + + + + + + +
Please login to order
- - - + + +
- +
diff --git a/modules/billing/privacy.php b/modules/billing/privacy.php index 0fbc4b5e..9eab30d3 100644 --- a/modules/billing/privacy.php +++ b/modules/billing/privacy.php @@ -1,6 +1,48 @@

Privacy

-

This is the privacy page placeholder.

+

+ + +Last updated: 2025/10/23 + +What we collect +- Basic account info (name, email), billing-related details, and server usage info (like IPs and logs for security/diagnostics). + +Why we collect it +- To create and run your servers, process payments, fight fraud/abuse, and send renewal or service emails. + +What we don’t do +- We do NOT sell your personal information. Ever. + +Who sees your data +- Only our team and trusted providers that help us run the service (e.g., payment processors, hosting, email). They only get what’s needed to do their job. + +Cookies & analytics +- We use simple cookies for login sessions and basic analytics to improve the service. + +Security +- We take reasonable steps to protect data. No system is perfect, so keep strong passwords and don’t share them. + +Retention +- We keep data only as long as needed for the service, operations, or legal requirements. You can ask us to delete your account. + +Your choices +- You can request a copy of your data, ask us to correct it, or delete it. Contact {PRIVACY_EMAIL}. + +Legal requests +- We only share info if required by law or to prevent harm/abuse. + +Minors +- Our services are for users 13+ (or your local equivalent). Parents/guardians—contact us if you need help with a minor’s account. + +Updates +- If we change this policy, we’ll update the date above. Keep using the service only if you agree with the updates. + +Contact +- Privacy questions? + + +

diff --git a/modules/billing/serverlist.php b/modules/billing/serverlist.php index 0055e275..47e1f882 100644 --- a/modules/billing/serverlist.php +++ b/modules/billing/serverlist.php @@ -59,7 +59,7 @@ include(__DIR__ . '/includes/menu.php'); ?>
- Order Now + Order Now
@@ -102,7 +102,17 @@ include(__DIR__ . '/includes/menu.php'); - + + + + +
Please login to order
+ + diff --git a/modules/billing/tos.php b/modules/billing/tos.php index 653d9cfe..1b8f161f 100644 --- a/modules/billing/tos.php +++ b/modules/billing/tos.php @@ -1,6 +1,57 @@

Terms of Service

-

This is the terms of service placeholder.

+

+ +Last updated: 2025/10/23 + +Who we are +- We host game servers. That’s it. We try hard to keep them fast, stable, and easy to use. + +What you’re buying +- You’re renting server time and resources for your games and mods. +- We’ll do our best to keep your server online and help you when something breaks. + +Refunds & downtime +- First month: Ask for a refund anytime in the first 30 days—full refund, no questions asked. +- After that: If your server has downtime, tell us. We’ll credit or refund a fair, pro-rated amount for the time affected. + +Billing & renewals +- No automatic billing. No surprise charges. +- You must log in to renew. We’ll email you when your service is coming due. + +What we expect from you +- Use your server for legal, non-abusive stuff. No DDoS, malware, crypto mining, harassment, or anything illegal. +- Respect game/mod licenses and EULAs. You’re responsible for the content you upload and run. +- Keep your passwords safe. You’re responsible for activity on your account. + +Backups & data +- We do our best, but backups are not guaranteed. Keep your own copies of anything important. + +Fair use +- Don’t hog shared resources in ways that ruin performance for others. We may throttle or move a server to keep things stable. + +Support +- We provide best-effort support via {SUPPORT_EMAIL or PORTAL}. Share logs or details so we can help faster. + +Service changes +- We may update software, move you to a better node, or make tweaks to improve reliability. + +Suspension +- We can suspend or terminate a service that breaks these rules or harms the network. We’ll try to contact you first unless it’s urgent. + +Liability (kept simple) +- Technology breaks sometimes. We’ll make it right with refunds/credits, but we’re not responsible for indirect losses. + +Updates to this page +- If we change these terms, we’ll update the date above. Keep using the service only if you agree with the updates. + +Contact +- Questions or issues? + + + + +