<div class="page-body">
          <div class="container-fluid">
            <div class="page-title">
              <div class="row">
                <div class="col-6">
                  <h4>
                     E-Commerce</h4>
                </div>
                <div class="col-6">
                  <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="index.html">
                        <svg class="stroke-icon">
                          <use href="../assets/svg/icon-sprite.svg#stroke-home"></use>
                        </svg></a></li>
                    <li class="breadcrumb-item">Dashboard</li>
                    <li class="breadcrumb-item active">E-Commerce</li>
                  </ol>
                </div>
              </div>
            </div>
          </div>
          <!-- Container-fluid starts-->
          <div class="container-fluid">
            <div class="row size-column">
              <div class="col-xxl-10 col-md-12 box-col-8 grid-ed-12">
                <div class="row">
                  <div class="col-xxl-5 col-md-7 box-col-7">
                    <div class="row"> 
                      <div class="col-sm-12"> 
                        <div class="card o-hidden">             
                          <div class="card-body balance-widget"><span class="f-w-500 f-light">Total Balance</span>
                            <h4 class="mb-3 mt-1 f-w-500 mb-0 f-22">Rp <? echo number_format($data_user['balance'],0,',','.'); ?><span class="f-light f-14 f-w-400 ms-1"></span></h4><a class="purchase-btn btn btn-primary btn-hover-effect f-w-500" href="#">Top Up Balance</a>
                            <div class="mobile-right-img"><img class="left-mobile-img" src="../assets/images/dashboard-2/widget-img.png" alt=""><img class="mobile-img" src="../assets/images/dashboard-2/mobile.gif" alt="mobile with coin"></div>
                          </div>
                        </div>
                      </div>
                      <div class="col-6"> 
                        <div class="card small-widget"> 
                          <div class="card-body warning"><span class="f-light">Orders Pending</span>
                            <div class="d-flex align-items-end gap-1">
                              <h4><?= $data_total_order_status['Pending'] ?></h4>
                            </div>
                            <div class="bg-gradient"> 
                              <svg class="stroke-icon svg-fill">
                                <use href="../assets/svg/icon-sprite.svg#cart"></use>
                              </svg>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="col-6"> 
                        <div class="card small-widget"> 
                          <div class="card-body primary"> <span class="f-light">Orders Procesing</span>
                            <div class="d-flex align-items-end gap-1">
                              <h4><?= $data_total_order_status['Processing'] ?></h4>
                            </div>
                            <div class="bg-gradient"> 
                              <svg class="stroke-icon svg-fill">
                                <use href="../assets/svg/icon-sprite.svg#new-order"></use>
                              </svg>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="col-6"> 
                        <div class="card small-widget"> 
                          <div class="card-body success"><span class="f-light">Orders Success</span>
                            <div class="d-flex align-items-end gap-1">
                              <h4><?= $data_total_order_status['Success'] ?></h4>
                            </div>
                            <div class="bg-gradient"> 
                              <svg class="stroke-icon svg-fill">
                                <use href="../assets/svg/icon-sprite.svg#profit"></use>
                              </svg>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="col-6"> 
                        <div class="card small-widget"> 
                          <div class="card-body secondary"><span class="f-light">Orders Error/Partial</span>
                            <div class="d-flex align-items-end gap-1">
                              <h4><?= $data_total_order_status['Error/Partial'] ?></h4>
                            </div>
                            <div class="bg-gradient"> 
                              <svg class="stroke-icon svg-fill">
                                <use href="../assets/svg/icon-sprite.svg#sale"></use>
                              </svg>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                  <div class="col-xxl-7 col-md-7 box-col-12">
                    <div class="card">
                                <div class="col-xl-12">
                                    <div id="chart">
                                      <div id="timeline-chart"></div>
                        </div>
                      </div>
                    </div>
                  </div>
  <div class="col-xxl-12">
  <div class="card">
    <div class="card-body">
      <h4 class="card-title">News</h4>
      <div class="table-responsive">
        <table class="table table-hover" id="order-table">
          <!-- Tabel data akan dimuat secara dinamis menggunakan JavaScript -->
        </table>
      </div>
      <br>
      <div class="d-flex justify-content-center">
        <ul class="pagination" id="pagination">
          <!-- Navigasi halaman akan dimuat secara dinamis menggunakan JavaScript -->
        </ul>
      </div>
    </div>
  </div>
</div>
  
                </div>
              </div>
            </div>
          </div>
          <!-- Container-fluid Ends-->
        </div>