<?php include('common/header.php'); ?>
                <div class="content">
                    
                    <!-- Start Content-->
                    <div class="container-fluid">
                        
                        <!-- start page title -->
                        <div class="row">
                            <div class="col-12">
                                <div class="page-title-box">
                                    <div class="page-title-right">
                                        <ol class="breadcrumb m-0">
                                            <li class="breadcrumb-item"><a href="javascript: void(0);"><?= $base_name;?></a></li>
                                            <li class="breadcrumb-item active">Dashboard</li>
                                        </ol>
                                    </div>
                                    <h4 class="page-title text-uppercase">Dashboard</h4>
                                </div>
                            </div>
                        </div>     
                        <!-- end page title --> 

                        <div class="row">
                            <div class="col-xl-3 col-md-6">
                                <div class="card-box tilebox-two">
                                    <i class="icon-map float-right text-info"></i>
                                    <h6 class="text-body mt-0 text-uppercase">Top Category</h6>
                                    <h3><span data-plugin="counterup"><?php if(!empty($top_category)){ echo $top_category;}?></span></h3>
                                </div>
                            </div>
                            
                            <div class="col-xl-3 col-md-6">
                                <div class="card-box tilebox-two">
                                    <i class="icon-map float-right text-danger"></i>
                                    <h6 class="text-body mt-0 text-uppercase">Mid Category</h6>
                                    <h3><span data-plugin="counterup"><?php if(!empty($mid_category)){ echo $mid_category;}?></span></h3>
                                </div>
                            </div>
                            
                            <div class="col-xl-3 col-md-6">
                                <div class="card-box tilebox-two">
                                    <i class="icon-map float-right text-info"></i>
                                    <h6 class="text-body mt-0 text-uppercase">End Category</h6>
                                    <h3><span data-plugin="counterup"><?php if(!empty($end_category)){ echo $end_category;}?></span></h3>
                                </div>
                            </div>
                            
                      
                            <div class="col-xl-3 col-md-6">
                                <div class="card-box tilebox-two">
                                    <i class="icon-handbag float-right text-info"></i>
                                    <h6 class="text-body mt-0 text-uppercase">Products</h6>
                                    <h3><span data-plugin="counterup"><?php if(!empty($product)){ echo $product;}?></span></h3>
                                </div>
                            </div>
                            
                            <div class="col-xl-3 col-md-6">
                                <div class="card-box tilebox-two">
                                    <i class="icon-layers float-right text-danger"></i>
                                    <h6 class="text-body mt-0 text-uppercase">Orders</h6>
                                    <h3><span data-plugin="counterup"><?php if(!empty($order)){ echo $order;}?></span></h3>
                                </div>
                            </div>
                            
                            <div class="col-xl-3 col-md-6">
                                <div class="card-box tilebox-two">
                                    <i class="icon-rocket float-right text-primary"></i>
                                    <h6 class="text-body mt-0 text-uppercase">Complete Order</h6>
                                    <h3><span data-plugin="counterup"><?php if(!empty($product_sold)){ echo $product_sold;}?></span></h3>
                                </div>
                            </div>
                            
                            
                            <div class="col-xl-3 col-md-6">
                                <div class="card-box tilebox-two">
                                    <i class="icon-wallet float-right text-danger"></i>
                                    <h6 class="text-body mt-0 text-uppercase">Stock Amount</h6>
                                    <h3><span class="fa fa-rupee-sign"></span> <span data-plugin="counterup"><?php if(!empty($stock_amt)){ echo $stock_amt;}?></span></h3>
                                </div>
                            </div>
                            
                            
                            <div class="col-xl-3 col-md-6">
                                <div class="card-box tilebox-two">
                                    <i class="icon-credit-card float-right text-primary"></i>
                                    <h6 class="text-body mt-0 text-uppercase">Sold Amount</h6>
                                    <h3><span class="fa fa-rupee-sign"></span> <span data-plugin="counterup"><?php if(!empty($sold_amt)){ echo $sold_amt;}?></span></h3>
                                </div>
                            </div>
                            
                           
                        
                        </div>
                        <!-- end row -->

                        
                    </div> <!-- end container-fluid -->

                </div> <!-- end content -->
<?php include('common/footer.php'); ?>
