<?php 
include "includes/header.php";
include "config.php"; 

// Fetching Broker Rankings Data
try {
    $stmt = $dbh->prepare("SELECT * FROM broker_rankings ORDER BY profitability_score DESC");
    $stmt->execute();
    $brokers = $stmt->fetchAll(PDO::FETCH_ASSOC);
} catch (PDOException $e) {
    echo "Error: " . $e->getMessage();
    die();
}
?>

<style>
  /* ==========================================================
     PERFECT LAYOUT & PREMIUM TABLE DESIGN
     ========================================================== */
  
  /* Centered Wrapper for Left/Right Margins */
  .ranking-page-wrapper {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
      width: 100%;
  }

  /* Breadcrumb & Nav alignment fix */
  .comm-sub-nav .nav {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
  }

  /* Modern Premium Table Container */
  .modern-table-container {
      background: #ffffff;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      padding: 25px;
      margin-top: 40px;
      margin-bottom: 40px;
      overflow-x: auto; /* Scrollable on small screens */
      border: 1px solid #f0f2f5;
  }

  .table-title {
      font-size: 22px;
      color: #2e3440;
      font-weight: 700;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .table-title::before {
      content: '';
      display: inline-block;
      width: 5px;
      height: 22px;
      background: #fcd734;
      border-radius: 4px;
  }

  /* The Table itself */
  .modern-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      white-space: nowrap;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .modern-table th {
      background-color: #f8f9fa;
      color: #333;
      font-weight: 600;
      padding: 16px;
      text-align: left;
      border-bottom: 2px solid #eaeaea;
      font-size: 14px;
  }

  /* Rounded corners for table header */
  .modern-table th:first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
  .modern-table th:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }

  .modern-table td {
      padding: 16px;
      border-bottom: 1px solid #f0f0f0;
      color: #555;
      font-size: 14px;
      vertical-align: middle;
      font-weight: 500;
  }

  .modern-table tr:last-child td { border-bottom: none; }

  /* Table Row Hover Effect */
  .modern-table tbody tr { transition: all 0.2s ease; }
  .modern-table tbody tr:hover { 
      background-color: #fcfcfc; 
      transform: translateY(-1px); 
      box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
  }

  /* Visit Button Design */
  .visit-btn {
      background: #e6c12e;
      color: #1e222d;
      padding: 6px 18px;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 700;
      font-size: 13px;
      transition: all 0.3s ease;
      display: inline-block;
      box-shadow: 0 2px 6px rgba(230, 193, 46, 0.3);
  }

  .visit-btn:hover {
      background: #2e3440;
      color: #fcd734;
      box-shadow: 0 4px 10px rgba(46, 52, 64, 0.3);
  }

  /* Highlight specific columns for better readability */
  .col-highlight { color: #2CB250 !important; font-weight: 600; } /* Green for Profit */
  .col-score { color: #D39A57 !important; font-weight: 700; font-size: 15px !important; } /* Gold for Score */
</style>

<section class="google-login"></section>

<div class="rankings">
    <section class="comm-sub-nav">
        <div class="nav" style="align-items:center;height:58px;">
            <div class="nav-box" style="background-color:none;padding:0;">
                <div class="nav-list">
                    <a href="/en/" target="_blank" class="nuxt-link-active" style="color:#3D3D3D;">Home</a> 
                    <i style="color:#3D3D3D;">-</i>
                </div>
                <div class="nav-list">
                    <span style="color:#3D3D3D;">Brokers Guide</span> 
                    <i style="color:#3D3D3D;">-</i>
                </div>
            </div>
        </div>
    </section> 

    <div class="ranking-page-wrapper">
        <div class="ranking-comp">
            <div class="rankings-content-m">
                <div class="tab-box">
                    <div class="home-tab home-tab-new">
                        <nav class="wiki-nav-wrap">
                            <ul class="wiki-nav-list">
                                <h3 data-idx="0" class="wiki-nav-item home-tab-active">By Countries</h3>
                                <h3 data-idx="1" class="wiki-nav-item">By Regulations</h3>
                                <h3 data-idx="2" class="wiki-nav-item">To Platforms</h3>
                                <h3 data-idx="3" class="wiki-nav-item">To Assets</h3>
                                <h3 data-idx="4" class="wiki-nav-item">To Accounts</h3>
                                <h3 data-idx="5" class="wiki-nav-item">By Trading Strategies</h3>
                                <h3 data-idx="6" class="wiki-nav-item">Others</h3>
                            </ul>
                        </nav>
                    </div>
                </div> 
                
                <div class="list-box">
                    <a target="_blank" href="/en/best/best-platforms-for-copy-trading-in-india.html" class="item">
                        <div class="item-left">
                            <div class="title title01000 overhide2">7 Best Platforms for Copy Trading in India 2025</div> 
                            <div class="text overhide">India's leading copy trading platforms allows you to automatically copy the trades of top performers, enhancing profitbility.</div>
                        </div> 
                        <img src="https://img.fx696.com/texttrader/638454259758679248/TXTR638454259758679248_362009.jpg_wikilogo" alt="" class="item-right">
                    </a>
                    <a target="_blank" href="/en/best/best-stock-brokers-in-the-US.html" class="item">
                        <div class="item-left">
                            <div class="title title01001 overhide">Best Stock Brokers in the US for 2025</div> 
                            <div class="text overhide2">When choosing an online broker, finding the platform that best fits your investment needs is crucial. With the rise in popularity of online trading, more brokers are offering free stock trading and commission-free transactions for various assets. It has become a challenge for users to select suitable brokers.</div>
                        </div> 
                        <img src="https://img.fx696.com/texttrader/638598375382253834/TXTR638598375382253834_132633.png_wikilogo" alt="" class="item-right">
                    </a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-the-world.html" class="item">
                        <div class="item-left">
                            <div class="title title01002 overhide">Best Forex Brokers in the World in 2025</div> 
                            <div class="text overhide2">Best Forex brokers as rated by WikiFX offer low spreads, solid trading platforms, and excellent client service for traders worldwide.</div>
                        </div> 
                        <img src="https://img.fx696.com/texttrader/638454221598877171/TXTR638454221598877171_856990.jpg_wikilogo" alt="" class="item-right">
                    </a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-malaysia.html" class="item">
                        <div class="item-left">
                            <div class="title title01003 overhide">Best Forex Brokers in Malaysia for 2025</div> 
                            <div class="text overhide2">Selecting the best forex brokers in Malaysia is not a daunting task, and this list makes it simpler for traders.</div>
                        </div> 
                        <img src="https://img.fx696.com/texttrader/638454268189841115/TXTR638454268189841115_328745.jpg_wikilogo" alt="" class="item-right">
                    </a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-india.html" class="item">
                        <div class="item-left">
                            <div class="title title01004 overhide">Best Forex Brokers in India for 2025</div> 
                            <div class="text overhide2">Discover top regulated forex brokers, trading platforms and broker reviews for reliable trading in India.</div>
                        </div> 
                        <img src="https://img.fx696.com/texttrader/638454261787877030/TXTR638454261787877030_869435.jpg_wikilogo" alt="" class="item-right">
                    </a>
                    <a target="_blank" href="/en/best/best-australian-forex-brokers.html" class="item">
                        <div class="item-left">
                            <div class="title title01005 overhide2">10 Best Australian Forex Brokers for 2025</div> 
                            <div class="text overhide">Traders trading with Australian brokers can enjoy a safe trading environment, guaranteed client funds security, and a higher leverage.</div>
                        </div> 
                        <img src="https://img.fx696.com/texttrader/638454232329369576/TXTR638454232329369576_532641.jpg_wikilogo" alt="" class="item-right">
                    </a>
                    
                    <a target="_blank" href="/en/best/philippines-best-forex-brokers.html" class="item" style="display: none;"><div class="item-left"><div class="title title01006 overhide2">Best Forex Brokers in the Philippines for 2025</div> <div class="text overhide">Selecting the best forex brokers in Phlippines is not a daunting task, and this list makes it simpler for traders.</div></div> <img src="https://img.fx696.com/texttrader/638454278647476912/TXTR638454278647476912_677276.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-trading-time-in-india.html" class="item" style="display: none;"><div class="item-left"><div class="title title01007 overhide2">Best Forex Trading Time in India  2025</div> <div class="text overhide">Optimize your Forex trading in India by understanding prime trading times and exploring broker options.</div></div> <img src="https://img.fx696.com/texttrader/638454345302375120/TXTR638454345302375120_259349.png_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/philippines-bsp-regulated-forex-brokers.html" class="item" style="display: none;"><div class="item-left"><div class="title title01008 overhide2">BSP Regulated Forex Brokers in the Philippines for 2025</div> <div class="text overhide">Talking about the operation of Forex transactions and BSP Regulated Forex Brokers in the Philippines.</div></div> <img src="https://img.fx696.com/texttrader/638454279983947343/TXTR638454279983947343_973538.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/nigeria-best-forex-brokers-for-beginners.html" class="item" style="display: none;"><div class="item-left"><div class="title title01009 overhide2">Best Forex Brokers for Beginners in Nigeria for 2025</div> <div class="text overhide">Select the top forex brokers for beginners in Nigeria from many companies to ensure a safe trading environment.</div></div> <img src="https://img.fx696.com/texttrader/638454274963365666/TXTR638454274963365666_299197.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-nigeria.html" class="item" style="display: none;"><div class="item-left"><div class="title title01010 overhide2">Best Forex Brokers in Nigeria for 2025</div> <div class="text overhide">Identify the most recommended forex brokers in Nigeria, providing excellent trading assurance for retail traders here.</div></div> <img src="https://img.fx696.com/texttrader/638454273709472287/TXTR638454273709472287_344723.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-austria.html" class="item" style="display: none;"><div class="item-left"><div class="title title01011 overhide2">Best Forex Brokers  in Austria for 2025</div> <div class="text overhide">Compare top forex brokers in Austria with robust regulation, excellent platforms and broker reviews for secure trading.</div></div> <img src="https://img.fx696.com/texttrader/638454250638773839/TXTR638454250638773839_521974.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-uk-forex-brokers.html" class="item" style="display: none;"><div class="item-left"><div class="title title01012 overhide2">Best UK Forex Brokers for 2025</div> <div class="text overhide">Review the top 10 forex brokers in UK, evaluating their trading pros and cons to provide traders with helpful guidance.</div></div> <img src="https://img.fx696.com/texttrader/638454295576649844/TXTR638454295576649844_473190.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-france.html" class="item" style="display: none;"><div class="item-left"><div class="title title01013 overhide2">Best Forex Brokers in France for 2025</div> <div class="text overhide">Compare top forex brokers in France with robust regulation, excellent platforms and broker reviews for secure trading.</div></div> <img src="https://img.fx696.com/texttrader/638454247288310548/TXTR638454247288310548_108221.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-europe.html" class="item" style="display: none;"><div class="item-left"><div class="title title01014 overhide2">Best Forex Brokers in Europe for 2025</div> <div class="text overhide">Featuring strict regulations, Europe is a trading hub with solid reputation. Discover the best forex brokers in Europe.</div></div> <img src="https://img.fx696.com/texttrader/638454240359700597/TXTR638454240359700597_686799.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-thailand.html" class="item" style="display: none;"><div class="item-left"><div class="title title01015 overhide2">Best Forex Brokers in Thailand for 2025</div> <div class="text overhide">Use this list of top forex brokers in Thailand to launch your trading career and find the most reliable partner.</div></div> <img src="https://img.fx696.com/texttrader/638454292688380111/TXTR638454292688380111_437641.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/sc-investor-alert-list-in-malaysia.html" class="item" style="display: none;"><div class="item-left"><div class="title title01016 overhide2">TOP 7 SC INVESTOR ALERT LIST in MALAYSIA 2025</div> <div class="text overhide">Check the top 7 brokers on Malaysia's SC Investor Alert List to avoid scams in your forex trading journey.</div></div> <img src="https://img.fx696.com/texttrader/638454239247979408/TXTR638454239247979408_226994.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/philippines-best-forex-broker-for-beginners.html" class="item" style="display: none;"><div class="item-left"><div class="title title01017 overhide2">Best Forex Broker for Beginners in the Philippines 2025</div> <div class="text overhide">Select the top forex brokers for beginners in the Philippines from the many available to ensure a safe trading environment.</div></div> <img src="https://img.fx696.com/texttrader/638454280246747505/TXTR638454280246747505_501455.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-indonesia.html" class="item" style="display: none;"><div class="item-left"><div class="title title01018 overhide2">Best Forex Brokers in Indonesia for 2025</div> <div class="text overhide">Compare top forex brokers in Indoneisa with robust regulation, excellent platforms and broker reviews for secure trading.</div></div> <img src="https://img.fx696.com/texttrader/638454262430526612/TXTR638454262430526612_953231.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-finland.html" class="item" style="display: none;"><div class="item-left"><div class="title title01019 overhide2">Best Forex Brokers in Finland for 2025</div> <div class="text overhide">Discover top regulated forex brokers, trading platforms and broker reviews for reliable trading in Finland.</div></div> <img src="https://img.fx696.com/texttrader/638454241633766088/TXTR638454241633766088_963489.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-portugal.html" class="item" style="display: none;"><div class="item-left"><div class="title title01020 overhide2">Best Forex Brokers in Portugal for 2025</div> <div class="text overhide">Explore top 10 forex brokers in Portugal,elevating their trading pros and cons to give traders more useful guidance.</div></div> <img src="https://img.fx696.com/texttrader/638454280883147148/TXTR638454280883147148_900381.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-norway.html" class="item" style="display: none;"><div class="item-left"><div class="title title01021 overhide2">Best Forex Brokers in Norway for 2025</div> <div class="text overhide">Discover top regulated forex brokers, trading platforms and broker reviews for reliable trading in India.</div></div> <img src="https://img.fx696.com/texttrader/638454276312101430/TXTR638454276312101430_997263.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-trading-apps-in-india.html" class="item" style="display: none;"><div class="item-left"><div class="title title01022 overhide2">Best Forex Trading Apps in India 2025</div> <div class="text overhide">Forex trading apps makes trading more accessible than ever, finding the best forex trading apps in India.</div></div> <img src="https://img.fx696.com/texttrader/638454260507109165/TXTR638454260507109165_718189.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/forex-brokers-in-vietnam.html" class="item" style="display: none;"><div class="item-left"><div class="title title01023 overhide2">Best Forex Brokers in Vietnam for 2025</div> <div class="text overhide">Selecting the best forex brokers in Vietnam is not a daunting task, and this list makes it simpler for traders.</div></div> <img src="https://img.fx696.com/texttrader/638454297088987015/TXTR638454297088987015_336216.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-cyprus.html" class="item" style="display: none;"><div class="item-left"><div class="title title01024 overhide2">Best Forex Brokers in Cyprus in 2025</div> <div class="text overhide">Cyprus is prized by forex traders for its CYSEC rules and trading-friendly policies. Check the top 8 of 100+ licensed brokers here.</div></div> <img src="https://img.fx696.com/texttrader/638454237725475865/TXTR638454237725475865_732101.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-kenya.html" class="item" style="display: none;"><div class="item-left"><div class="title title01025 overhide2">Best Forex Brokers Kenya for 2025</div> <div class="text overhide">Discover top regulated forex brokers, trading platforms and broker reviews for reliable trading in Kenya.</div></div> <img src="https://img.fx696.com/texttrader/638454267317818730/TXTR638454267317818730_557760.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/south-africa-best-fsca-forex-brokers.html" class="item" style="display: none;"><div class="item-left"><div class="title title01026 overhide2">Best FSCA/FSB Regulated Forex Brokers in South Africa for 2025</div> <div class="text overhide">FSCA Regulation in South Africa gives traders more confidence when choosing a broker. Explore the best FSCA-regulated brokers here.</div></div> <img src="https://img.fx696.com/texttrader/638454235894221484/TXTR638454235894221484_253412.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-for-beginners-in-canada.html" class="item" style="display: none;"><div class="item-left"><div class="title title01027 overhide2">Best Forex Brokers for Beginners in Canada in 2025</div> <div class="text overhide">Canada owes its success to the robust regulation from IIROC, with hundreds of licensed brokers available for traders.</div></div> <img src="https://img.fx696.com/texttrader/638454233049371313/TXTR638454233049371313_335171.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-turkey.html" class="item" style="display: none;"><div class="item-left"><div class="title title01028 overhide2">Best Forex Brokers in Turkey for 2025</div> <div class="text overhide">Review top 9 forex brokers in Turkey, elevating their trading pros and cons to give traders more useful guidance.</div></div> <img src="https://img.fx696.com/texttrader/638454293260877829/TXTR638454293260877829_965290.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-switzerland.html" class="item" style="display: none;"><div class="item-left"><div class="title title01029 overhide2">Best Swiss Forex Brokers for 2025</div> <div class="text overhide">Explore top 10 forex brokers in Switzerland, elevating their trading pros and cons to give traders more useful guidance.</div></div> <img src="https://img.fx696.com/texttrader/638454291763852716/TXTR638454291763852716_240792.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-pakistan.html" class="item" style="display: none;"><div class="item-left"><div class="title title01030 overhide2">Best Forex Brokers in Pakistan for 2025</div> <div class="text overhide">Review top 10 forex brokers in Pakistan, knowing their trading pros and cons to gain more trading confidence.</div></div> <img src="https://img.fx696.com/texttrader/638454277813491703/TXTR638454277813491703_656123.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-denmark.html" class="item" style="display: none;"><div class="item-left"><div class="title title01031 overhide2">Best Forex Brokers in Denmark for 2025</div> <div class="text overhide">Discover top regulated forex brokers, trading platforms and broker reviews for reliable trading in Denmark.</div></div> <img src="https://img.fx696.com/texttrader/638454238552977950/TXTR638454238552977950_330777.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-netherlands.html" class="item" style="display: none;"><div class="item-left"><div class="title title01032 overhide2">Best Forex Brokers in Netherlands for 2025</div> <div class="text overhide">Compare top forex brokers in Netherland with robust regulation, excellent platforms and broker reviews for reliable trading.</div></div> <img src="https://img.fx696.com/texttrader/638454270421537362/TXTR638454270421537362_687674.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-new-zealands.html" class="item" style="display: none;"><div class="item-left"><div class="title title01033 overhide2">Best Forex Brokers in New Zealand for 2025</div> <div class="text overhide">Find top forex brokers in New Zealand with robust regulation, excellent platforms and broker reviews for reliable trading.</div></div> <img src="https://img.fx696.com/texttrader/638454271935427968/TXTR638454271935427968_174002.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-sweden.html" class="item" style="display: none;"><div class="item-left"><div class="title title01034 overhide2">7 Best Forex Brokers in Sweden for 2025</div> <div class="text overhide">Explore top 7 forex brokers in Sweden, elevating their trading pros and cons to give traders more useful guidance.</div></div> <img src="https://img.fx696.com/texttrader/638454290968700009/TXTR638454290968700009_244987.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-ukraine.html" class="item" style="display: none;"><div class="item-left"><div class="title title01035 overhide2">Best Forex Brokers in Ukraine for 2025</div> <div class="text overhide">Review the top 7 forex brokers in UKraine, evaluating their trading pros and cons to provide traders with helpful guidance.</div></div> <img src="https://img.fx696.com/texttrader/638454296018835160/TXTR638454296018835160_729737.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-germany.html" class="item" style="display: none;"><div class="item-left"><div class="title title01036 overhide2">Best Forex Brokers in Germany for 2025</div> <div class="text overhide">Compare top forex brokers in Germany with robust regulation, excellent platforms and broker reviews for secure trading.</div></div> <img src="https://img.fx696.com/texttrader/638454249805657398/TXTR638454249805657398_603304.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-spain.html" class="item" style="display: none;"><div class="item-left"><div class="title title01037 overhide2">Best Forex Brokers in Spain for 2025</div> <div class="text overhide">Explore top 7 forex brokers in Spain, elevating their trading pros and cons to give traders more useful guidance.</div></div> <img src="https://img.fx696.com/texttrader/638454289733080509/TXTR638454289733080509_575334.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-accepting-us-traders.html" class="item" style="display: none;"><div class="item-left"><div class="title title01038 overhide2">4 Best Forex Brokers Accepting US Traders in 2025</div> <div class="text overhide">Discover top forex brokers accepting US traders, assessing their pros and cons to provide helpful guidance.</div></div> <img src="https://img.fx696.com/texttrader/638454296507739430/TXTR638454296507739430_258099.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-singapore.html" class="item" style="display: none;"><div class="item-left"><div class="title title01039 overhide2">Best Forex Brokers in Singapore for 2025</div> <div class="text overhide">Review top 10 forex brokers in Singapore, knowing their trading pros and cons to gain more trading confidence.</div></div> <img src="https://img.fx696.com/texttrader/638454282435318791/TXTR638454282435318791_980107.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/south-africa-best-forex-brokers.html" class="item" style="display: none;"><div class="item-left"><div class="title title01040 overhide2">Best Forex Brokers in South Africa for 2025</div> <div class="text overhide">With great popularity and a reliable trading environment under FSCA regulation in South Africa, best forex brokers are here to explore.</div></div> <img src="https://img.fx696.com/texttrader/638454235136094951/TXTR638454235136094951_176651.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-canada.html" class="item" style="display: none;"><div class="item-left"><div class="title title01041 overhide2">Best Forex Brokers in Canada for 2025</div> <div class="text overhide">Discover top regulated forex brokers, trading platforms and broker reviews for reliable trading in Canada.</div></div> <img src="https://img.fx696.com/texttrader/638454255029041010/TXTR638454255029041010_506852.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-mexico.html" class="item" style="display: none;"><div class="item-left"><div class="title title01042 overhide2">Best Forex Brokers in Mexico for 2025</div> <div class="text overhide">Selecting the best forex brokers in Mexico is not a daunting task, and this list makes it simpler for traders.</div></div> <img src="https://img.fx696.com/texttrader/638454269856387066/TXTR638454269856387066_642706.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-italy.html" class="item" style="display: none;"><div class="item-left"><div class="title title01043 overhide2">Best Forex Brokers in Italy for 2025</div> <div class="text overhide">Compare top forex brokers in Italy with robust regulation, excellent platforms and broker reviews for secure trading.</div></div> <img src="https://img.fx696.com/texttrader/638454266660325957/TXTR638454266660325957_222617.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-ireland.html" class="item" style="display: none;"><div class="item-left"><div class="title title01044 overhide2">Best Forex Brokers Ireland in 2025</div> <div class="text overhide">Compare top forex brokers in Ireland with robust regulation, excellent platforms and broker reviews for secure trading.</div></div> <img src="https://img.fx696.com/texttrader/638454264051915693/TXTR638454264051915693_452193.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-banks-in-south-africa.html" class="item" style="display: none;"><div class="item-left"><div class="title title01045 overhide2">Focusing: Best Forex Banks in South Africa in 2025</div> <div class="text overhide">Explore the Best forex banks in South Africa to get a more secure solution to trade forex.</div></div> <img src="https://img.fx696.com/texttrader/638454282885157851/TXTR638454282885157851_319962.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/10-fake-forex-brokers-in-the-uk.html" class="item" style="display: none;"><div class="item-left"><div class="title title01046 overhide2">Beware: 10 Fake Forex Brokers in the UK in 2025</div> <div class="text overhide">With the need for caution in the UK's flourishing forex market, this article points out 10 fake brokers to avoid amidst numerous reputable entities.</div></div> <img src="https://img.fx696.com/texttrader/638454295357119205/TXTR638454295357119205_575784.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-for-beginners-in-uae.html" class="item" style="display: none;"><div class="item-left"><div class="title title01047 overhide2">Best Forex Brokers for Beginners in the United Arab Emirates for 2025</div> <div class="text overhide">Select the top forex brokers for beginners in UAE from the many available to ensure a safe trading environment.</div></div> <img src="https://img.fx696.com/texttrader/638454294088218228/TXTR638454294088218228_199653.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-tax-friendly-forex-brokers-in-south-africa.html" class="item" style="display: none;"><div class="item-left"><div class="title title01048 overhide2">Best Tax-Friendly Forex Broker in South Africa for 2025</div> <div class="text overhide">Find the tax-friendly forex brokers in South Africa based on regulation, transparent trading fees, professional tax instructions.</div></div> <img src="https://img.fx696.com/texttrader/638454283930772172/TXTR638454283930772172_671939.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-brazil.html" class="item" style="display: none;"><div class="item-left"><div class="title title01049 overhide2">Best Forex Brokers in Brazil in 2025</div> <div class="text overhide">Discover top regulated forex brokers, trading platforms and broker reviews for reliable trading in Brazil.</div></div> <img src="https://img.fx696.com/texttrader/638454254161549552/TXTR638454254161549552_946025.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-dubai.html" class="item" style="display: none;"><div class="item-left"><div class="title title01050 overhide2">Best Forex Brokers in UAE, Dubai for 2025</div> <div class="text overhide">Explore top 10 forex brokers in UAE, Dubai, elevating their trading pros and cons to give traders more useful guidance.</div></div> <img src="https://img.fx696.com/texttrader/638454294713840591/TXTR638454294713840591_303396.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-us-forex-brokers-for-2022.html" class="item" style="display: none;"><div class="item-left"><div class="title title01051 overhide2">Best US Forex Brokers in 2025</div> <div class="text overhide">Discover best forex brokers in the U.S, known for tight regulation, low costs, safety of funds, and excellent trading platforms.</div></div> <img src="https://img.fx696.com/texttrader/638454225105133899/TXTR638454225105133899_444091.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/worst-scam-and-fake-forex-brokers-in-nigeria.html" class="item" style="display: none;"><div class="item-left"><div class="title title01052 overhide2">10 Worst Scam And Fake Forex Brokers In Nigeria (2025)</div> <div class="text overhide">Stay ahead of other traders by detecting top 10 scam forex brokers in Nigeria first, ensuring the safety your hard-earned money.</div></div> <img src="https://img.fx696.com/texttrader/638454274164623963/TXTR638454274164623963_588409.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-israel.html" class="item" style="display: none;"><div class="item-left"><div class="title title01053 overhide2">Best Forex Brokers in Israel in 2025</div> <div class="text overhide">Compare top forex brokers in Israel with robust regulation, excellent platforms and broker reviews for secure trading.</div></div> <img src="https://img.fx696.com/texttrader/638454266088456696/TXTR638454266088456696_713679.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-russia.html" class="item" style="display: none;"><div class="item-left"><div class="title title01054 overhide2">Best Forex Brokers in Russia for 2025</div> <div class="text overhide">Explore top 8 forex brokers in Russia, elevating their trading pros and cons to give traders more useful guidance.</div></div> <img src="https://img.fx696.com/texttrader/638454281332361277/TXTR638454281332361277_332718.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-no-deposit-forex-brokers.html" class="item" style="display: none;"><div class="item-left"><div class="title title01055 overhide2">6 Best No Deposit Bonus Forex Brokers in Malaysia in 2025</div> <div class="text overhide">Start Forex trading risk-free in Malaysia! Discover the six top brokers, featuring attractive no-deposit bonuses.</div></div> <img src="https://img.fx696.com/texttrader/638454319129830388/TXTR638454319129830388_877906.png_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/best-forex-brokers-in-saudi-arabia.html" class="item" style="display: none;"><div class="item-left"><div class="title title01056 overhide2">Best Forex Brokers in Saudi Arabia for 2025</div> <div class="text overhide">Explore top 8 forex brokers in Saudi Arabia,elevating their trading pros and cons to give traders more useful guidance.</div></div> <img src="https://img.fx696.com/texttrader/638454281792825290/TXTR638454281792825290_166265.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/what-time-the-forex-market-opens-in-south-africa.html" class="item" style="display: none;"><div class="item-left"><div class="title title01057 overhide2">What Time the Forex Market Opens in South Africa</div> <div class="text overhide">Boost your Forex trading in South Africa with our guide on peak market hours for optimal trade activity!</div></div> <img src="https://img.fx696.com/texttrader/638454338026733243/TXTR638454338026733243_340445.png_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/worst-and-fake-forex-brokers-in-south-africa.html" class="item" style="display: none;"><div class="item-left"><div class="title title01058 overhide2">10 Worst and Fake Forex Brokers in South Africa</div> <div class="text overhide">Highlighting the rise of forex scams in South Africa with a list of the worst/fake brokers for caution and recommending their reliable alternatives.</div></div> <img src="https://img.fx696.com/texttrader/638454283706242831/TXTR638454283706242831_858899.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/forex-scam-broker-blacklist-in-malaysia.html" class="item" style="display: none;"><div class="item-left"><div class="title title01059 overhide2">Forex Scam Broker Blacklist in Malaysia</div> <div class="text overhide">Beware of Forex scams in Malaysia. Learn how to spot scam brokers and safeguard your money with this guide. Stay safe!</div></div> <img src="https://img.fx696.com/texttrader/638454248863939096/TXTR638454248863939096_302156.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/scam-forex-brokers-in-brazil.html" class="item" style="display: none;"><div class="item-left"><div class="title title01060 overhide2">10 Scam/Fake Forex Brokers In Brazil</div> <div class="text overhide">Stay ahead of 90% traders by detecting Brazil's top 10 scam forex brokers first, ensuring the safety your hard-earned money.</div></div> <img src="https://img.fx696.com/texttrader/638454251327203707/TXTR638454251327203707_279889.jpg_wikilogo" alt="" class="item-right"></a>
                    <a target="_blank" href="/en/best/trading-platform-beginners-australia.html" class="item" style="display: none;"><div class="item-left"><div class="title title01061 overhide2">Best Forex Trading Platform for Beginners in Australia</div> <div class="text overhide">Forex trading enjoys significant popularity in Australia, with nearly 70 forex brokers under ASIC regulation to choose from.</div></div> <img src="https://img.fx696.com/texttrader/638454226460762107/TXTR638454226460762107_636862.jpg_wikilogo" alt="" class="item-right"></a>
                </div>
                
                <div class="rankings-content-more">
                    View More<span class="icon-arrow-down iconfont"></span>
                </div>
            </div>
        </div>

        <div class="modern-table-container">
            <div class="table-title">Live Broker Analytics 2025</div>
            <div style="overflow-x: auto;">
                <table class="modern-table">
                    <thead>
                        <tr>
                            <th>Broker Name</th>
                            <th>Total Margin</th>
                            <th>Active Trading</th>
                            <th>Total Lots</th>
                            <th>Stop Outs</th>
                            <th>Profitable Orders</th>
                            <th>Profitability Score</th>
                            <th>New Users</th>
                            <th>Spread Cost</th>
                            <th>Rollover Cost</th>
                            <th>Net Deposit</th>
                            <th>Net Withdrawal</th>
                            <th>Active Funds</th>
                            <th>Action</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($brokers as $broker): ?>
                            <tr>
                                <td style="font-weight: 700; color: #2e3440;"><?= htmlspecialchars($broker['broker_name']) ?></td>
                                <td>$<?= number_format($broker['total_margin'], 2) ?></td>
                                <td><?= $broker['active_trading'] ?></td>
                                <td><?= number_format($broker['total_lots'], 2) ?></td>
                                <td><?= $broker['stop_outs'] ?></td>
                                <td class="col-highlight"><?= number_format($broker['profitable_orders'], 2) ?>%</td>
                                <td class="col-score"><?= number_format($broker['profitability_score'], 2) ?></td>
                                <td><?= $broker['new_users'] ?></td>
                                <td><?= number_format($broker['spread_cost'], 4) ?></td>
                                <td>$<?= number_format($broker['rollover_cost'], 2) ?></td>
                                <td>$<?= number_format($broker['net_deposit'], 2) ?></td>
                                <td>$<?= number_format($broker['net_withdrawal'], 2) ?></td>
                                <td>$<?= number_format($broker['active_funds'], 2) ?></td>
                                <td><a href="<?= htmlspecialchars($broker['broker_website']) ?>" target="_blank" class="visit-btn">Visit Broker</a></td>
                            </tr>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div> </div>

<section style="padding-bottom:0;"></section>
<?php include "includes/footer.php";?>