diff --git a/pay.php b/pay.php index fe6755a2..d0b05955 100644 --- a/pay.php +++ b/pay.php @@ -777,12 +777,7 @@ function updateTotalPrice(selectedPlan) { }); - - + diff --git a/pay2.php b/pay2.php index 03b5bccb..f3375dc7 100644 --- a/pay2.php +++ b/pay2.php @@ -2,6 +2,14 @@ session_start(); require 'config.php'; // Include your database configuration file +require __DIR__ . '/vendor/autoload.php'; // Include the Composer autoloader + + + +use PHPMailer\PHPMailer\PHPMailer; +use PHPMailer\PHPMailer\Exception; +use PHPMailer\PHPMailer\SMTP; + // Define the plans and their corresponding prices for each cycle $plans = [ 'starter' => ['monthly' => 5], @@ -331,7 +339,7 @@ function savePayment($amount, $method, $status, $extraData = []) { /* Header Styling */ header { background-color: lightgoldenrodyellow; /* Bright Blue */ - color: lightgreen; + color: blue; padding: 30px; text-align: center; } @@ -411,16 +419,16 @@ function savePayment($amount, $method, $status, $extraData = []) { } .buy-btn:hover { - background-color: red; + background-color: blue; } .buy-btn.selected { - background-color: red; /* Keep the color red when selected */ + background-color: blue; /* Keep the color red when selected */ } .buy-btn:active { - background-color: red; /* Color stays on click */ + background-color: blue; /* Color stays on click */ } diff --git a/sign-up.php b/sign-up.php index d1cb9727..dc8545bd 100644 --- a/sign-up.php +++ b/sign-up.php @@ -5,7 +5,9 @@ } require __DIR__ . '/vendor/autoload.php'; // Include the Composer autoloader - +require '../../PHPMailer/src/PHPMailer.php'; +require '../../PHPMailer/src/SMTP.php'; +require '../../PHPMailer/src/Exception.php'; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception;