prepare("SELECT * FROM packages WHERE id = ?"); $stmt->execute([$package_id]); return $stmt->fetch(PDO::FETCH_ASSOC); } catch (PDOException $e) { error_log("Error getting package details: " . $e->getMessage()); return false; } } // Function to get all packages function getAllPackages() { global $pdo; try { $stmt = $pdo->prepare("SELECT * FROM packages ORDER BY min_investment ASC"); $stmt->execute(); return $stmt->fetchAll(PDO::FETCH_ASSOC); } catch (PDOException $e) { error_log("Error getting all packages: " . $e->getMessage()); return []; } } // Function to get user's active investment function getUserActiveInvestment($user_id) { global $pdo; try { $stmt = $pdo->prepare(" SELECT ui.*, p.name as package_name, p.daily_return, p.duration_days FROM user_investments ui JOIN packages p ON ui.package_id = p.id WHERE ui.user_id = ? AND ui.status = 'active' AND ui.end_date > NOW() ORDER BY ui.amount DESC LIMIT 1 "); $stmt->execute([$user_id]); return $stmt->fetch(PDO::FETCH_ASSOC); } catch (PDOException $e) { error_log("Error getting user active investment: " . $e->getMessage()); return false; } } // Get user data from session $username = $_SESSION['username']; $email = $_SESSION['email']; $tier = $_SESSION['tier']; $package = $_SESSION['package']; $balance = $_SESSION['balance']; $total_deposits = $_SESSION['total_deposits']; $total_withdrawals = $_SESSION['total_withdrawals']; $rewards = $_SESSION['rewards']; $earnings = $total_deposits - $total_withdrawals; $user_id = $_SESSION['user_id']; // Get currency settings (default to KES if not set) $currency = isset($_SESSION['currency']) ? $_SESSION['currency'] : 'KES'; $currency_symbol = 'KSh'; $exchange_rate = 1; // Set exchange rates and symbols based on currency if ($currency === 'USD') { $currency_symbol = '$'; $exchange_rate = 0.0078; // 1 KES = 0.0078 USD } elseif ($currency === 'EUR') { $currency_symbol = '€'; $exchange_rate = 0.0072; // 1 KES = 0.0072 EUR } elseif ($currency === 'GBP') { $currency_symbol = '£'; $exchange_rate = 0.0062; // 1 KES = 0.0062 GBP } // Package configurations $package_configs = [ 'Nova' => [ 'min_investment' => 1000, 'max_investment' => 50000, 'daily_return' => 5, 'duration_days' => 7, 'features' => 'Basic Support,2% Referral Bonus' ], 'Superior' => [ 'min_investment' => 2500, 'max_investment' => 100000, 'daily_return' => 7, 'duration_days' => 14, 'features' => 'Standard Support,3% Referral Bonus,Priority Withdrawal' ], 'Gold' => [ 'min_investment' => 5500, 'max_investment' => 250000, 'daily_return' => 10, 'duration_days' => 21, 'features' => 'Priority Support,5% Referral Bonus,Instant Withdrawal,Advanced Tools' ], 'Diamond' => [ 'min_investment' => 10000, 'max_investment' => 500000, 'daily_return' => 15, 'duration_days' => 30, 'features' => '24/7 Dedicated Support,7% Referral Bonus,Instant Withdrawal,All Advanced Tools' ] ]; // Convert package amounts to selected currency foreach ($package_configs as $name => $config) { $package_configs[$name]['min_investment'] = $config['min_investment'] * $exchange_rate; $package_configs[$name]['max_investment'] = $config['max_investment'] * $exchange_rate; } // Get all available packages from database $packages = getAllPackages(); // Get user's active investment $active_investment = getUserActiveInvestment($user_id); // Map package names to IDs for JavaScript $package_ids = []; foreach ($packages as $pkg) { $package_ids[strtolower($pkg['name'])] = $pkg['id']; } ?> Japanese Motors — Packages
Jmotors

Active Investment:

Amount: | Daily Earnings:

Ends on:

All Packages
Nova
Superior
Gold
Diamond
$config): ?>

Minimum Investment
  • % Daily Earnings
  • Day Duration
  • Priority Support
  • Advanced Tools
  • Advanced Tools
Total Return

Package Comparison

Feature Nova Superior Gold Diamond
Daily Return 5% 7% 10% 15%
Contract Duration 7 days 14 days 21 days 30 days
Referral Bonus 2% 3% 5% 7%
Withdrawal Speed 24-48 hours 12-24 hours Instant Instant
Support Basic Standard Priority 24/7 Dedicated
Minimum Investment

Packages FAQ

How do I earn from these packages?

When you invest in a package, you earn daily returns based on the percentage for that package. For example, if you invest 5,000 KES in the Standard package with 7% daily returns, you'll earn 350 KES per day. Earnings are credited to your account daily and can be withdrawn or reinvested.

When can I withdraw my earnings?

You can withdraw your earnings anytime after they are credited to your account. However, your initial investment is locked for the duration of the package contract. Higher-tier packages offer faster withdrawal processing times.

What happens when my package expires?

When your package contract expires, your initial investment is returned to your account balance along with any remaining earnings. You can then withdraw the full amount or reinvest in a new package to continue earning.

Can I upgrade my package?

Yes, you can upgrade your package at any time by investing additional funds. The new investment will be treated as a separate package contract with its own terms and earning schedule. You can have multiple packages active simultaneously.