<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Agent Panel — RAJ365</title>
  <link rel="stylesheet" href="style.css">
</head>
<body>
<?php $__cur = basename($_SERVER['PHP_SELF']); ?>
<div class="al-topbar">
  <a href="dashboard.php" class="al-brand"><span class="hex">⚡</span>AGENT ARENA</a>
  <div class="al-topbar-right">
    <span class="al-topbar-mobile">স্বাগতম, <b><?php echo htmlspecialchars($agent_mobile); ?></b></span>
    <span class="al-balance-chip mono">৳<?php echo number_format($agent_balance,2); ?></span>
    <a href="logout.php" class="al-link danger">লগআউট</a>
  </div>
</div>
<div class="al-nav">
  <a href="dashboard.php" class="<?php echo $__cur==='dashboard.php'?'active':''; ?>">🏠 Dashboard</a>
  <a href="agent_business_overview.php" class="<?php echo $__cur==='agent_business_overview.php'?'active':''; ?>">📊 Overview</a>
  <a href="agent_activity_feed.php" class="<?php echo $__cur==='agent_activity_feed.php'?'active':''; ?>">🔔 Activity</a>
  <a href="agent_wallet_setup.php" class="<?php echo $__cur==='agent_wallet_setup.php'?'active':''; ?>">💳 Wallet</a>
  <a href="agent_messages_view.php" class="<?php echo $__cur==='agent_messages_view.php'?'active':''; ?>">📝 Messages</a>
  <a href="downline_users.php" class="<?php echo $__cur==='downline_users.php'?'active':''; ?>">👥 My Users</a>
  <a href="give_coin.php" class="<?php echo $__cur==='give_coin.php'?'active':''; ?>">💸 Give Coin</a>
  <a href="deposit_requests.php" class="<?php echo $__cur==='deposit_requests.php'?'active':''; ?>">📥 Deposit</a>
  <a href="withdraw_requests.php" class="<?php echo $__cur==='withdraw_requests.php'?'active':''; ?>">📤 Withdraw</a>
  <a href="agent_ggr_commission.php" class="<?php echo $__cur==='agent_ggr_commission.php'?'active':''; ?>">💰 GGR Commission</a>
  <a href="agent_mission.php" class="<?php echo $__cur==='agent_mission.php'?'active':''; ?>">🎯 Mission</a>
  <a href="history.php" class="<?php echo $__cur==='history.php'?'active':''; ?>">📋 History</a>
  <a href="change_mobile.php" class="<?php echo $__cur==='change_mobile.php'?'active':''; ?>">📱 Mobile</a>
</div>
